2025-08-27 17:22:13,559 - INFO - Domain Default found not creating 2025-08-27 17:22:13,695 - INFO - Project ctest-TestRouters-68690165 not found, creating it 2025-08-27 17:22:14,143 - INFO - Created Project:ctest-TestRouters-68690165, ID : 5644f65c-aa58-4644-aa49-ad969c178559 2025-08-27 17:22:15,625 - INFO - ================================================================================ 2025-08-27 17:22:15,625 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-27 17:22:15,625 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-08-27 17:22:15,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 17:22:15,879 - INFO - Initial checks done. Running the testcase now 2025-08-27 17:22:15,879 - INFO - 2025-08-27 17:22:16,412 - DEBUG - Response for create_network : {'network': {'id': '14395224-9c65-4a78-ad1c-0a536a0d9225', 'name': 'ctest-vn1-98282171', 'tenant_id': '5644f65caa584644aa49ad969c178559', 'project_id': '5644f65caa584644aa49ad969c178559', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68690165', 'ctest-vn1-98282171'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 17:22:16,585 - DEBUG - Response for create_subnet : {'subnet': {'id': '35cc133f-66c5-4c03-83ba-6fe22a957178', 'name': '', 'tenant_id': '5644f65caa584644aa49ad969c178559', 'network_id': '14395224-9c65-4a78-ad1c-0a536a0d9225', 'ip_version': 4, 'cidr': '132.104.39.192/26', 'allocation_pools': [{'start': '132.104.39.194', 'end': '132.104.39.254'}], 'gateway_ip': '132.104.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.104.39.194', 'tags': [], 'project_id': '5644f65caa584644aa49ad969c178559'}} 2025-08-27 17:22:16,603 - INFO - Created VN ctest-vn1-98282171 2025-08-27 17:22:16,657 - DEBUG - VN ctest-vn1-98282171 UUID is 14395224-9c65-4a78-ad1c-0a536a0d9225 2025-08-27 17:22:16,973 - DEBUG - Response for create_network : {'network': {'id': '396f211c-fa23-4b52-a706-526f9ae0f9e9', 'name': 'ctest-vn2-03968595', 'tenant_id': '5644f65caa584644aa49ad969c178559', 'project_id': '5644f65caa584644aa49ad969c178559', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68690165', 'ctest-vn2-03968595'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 17:22:17,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '64467706-9893-4719-a91a-326b5dd2e00b', 'name': '', 'tenant_id': '5644f65caa584644aa49ad969c178559', 'network_id': '396f211c-fa23-4b52-a706-526f9ae0f9e9', 'ip_version': 4, 'cidr': '112.15.154.128/26', 'allocation_pools': [{'start': '112.15.154.130', 'end': '112.15.154.190'}], 'gateway_ip': '112.15.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.15.154.130', 'tags': [], 'project_id': '5644f65caa584644aa49ad969c178559'}} 2025-08-27 17:22:17,210 - INFO - Created VN ctest-vn2-03968595 2025-08-27 17:22:17,265 - DEBUG - VN ctest-vn2-03968595 UUID is 396f211c-fa23-4b52-a706-526f9ae0f9e9 2025-08-27 17:22:17,473 - DEBUG - Services list from nova: [, , ] 2025-08-27 17:22:18,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3951-1) 2025-08-27 17:22:19,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3951-1) 2025-08-27 17:22:19,728 - INFO - Adding interface with subnet_id 35cc133f-66c5-4c03-83ba-6fe22a957178, port_id None to router 86610097-a1ad-404f-877b-eaa86c6ee3b4 2025-08-27 17:22:19,975 - INFO - Waiting for VM ctest-vn1-vm1-63620694 to be up.. 2025-08-27 17:22:20,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-27 17:22:25,155 - DEBUG - VM is in ACTIVE state now 2025-08-27 17:22:25,155 - INFO - VM name : ctest-vn1-vm1-63620694 2025-08-27 17:22:25,226 - DEBUG - VM ctest-vn1-vm1-63620694 ID is 96557528-5eb3-40c3-81c1-4bcfa398a98a 2025-08-27 17:22:25,248 - DEBUG - VM ctest-vn1-vm1-63620694 launched on Node cn-jenkins-deploy-platform-ansible-os-3951-1 2025-08-27 17:22:25,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/96557528-5eb3-40c3-81c1-4bcfa398a98a 2025-08-27 17:22:25,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/96557528-5eb3-40c3-81c1-4bcfa398a98a 2025-08-27 17:22:25,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0303b3c9-5c95-47b2-8d98-5afa14aedacc 2025-08-27 17:22:29,164 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2025-08-27 17:22:29,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63620694 failed! 2025-08-27 17:22:29,217 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-68690165:ctest-vn1-98282171 is 132.104.39.193 and allocation pool is NOT set 2025-08-27 17:22:31,274 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=1.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.512 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.512/1.229/1.947/0.717 ms') 2025-08-27 17:22:31,274 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63620694 passed 2025-08-27 17:22:31,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:31,421 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63620694, IP 132.104.39.195, Port 22 2025-08-27 17:22:31,573 - DEBUG - VM ctest-vn1-vm1-63620694 is ready for SSH connections 2025-08-27 17:22:31,573 - INFO - Waiting for VM ctest-vn2-vm1-78443668 to be up.. 2025-08-27 17:22:31,651 - DEBUG - VM is in ACTIVE state now 2025-08-27 17:22:31,651 - INFO - VM name : ctest-vn2-vm1-78443668 2025-08-27 17:22:31,717 - DEBUG - VM ctest-vn2-vm1-78443668 ID is 990c00d0-0427-4ab1-9ca5-fe1ad925efe0 2025-08-27 17:22:31,717 - DEBUG - VM ctest-vn2-vm1-78443668 launched on Node cn-jenkins-deploy-platform-ansible-os-3951-1 2025-08-27 17:22:31,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/990c00d0-0427-4ab1-9ca5-fe1ad925efe0 2025-08-27 17:22:31,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a8e87535-1512-442d-b473-2e434ff485bf 2025-08-27 17:22:33,026 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.374/1.530/2.686/1.156 ms') 2025-08-27 17:22:33,026 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-78443668 passed 2025-08-27 17:22:33,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:33,182 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78443668, IP 112.15.154.131, Port 22 2025-08-27 17:22:33,337 - DEBUG - VM ctest-vn2-vm1-78443668 is ready for SSH connections 2025-08-27 17:22:33,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:33,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.15.154.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-27 17:22:33,338 - DEBUG - ping -s 56 -c 3 -W 1 112.15.154.131 2025-08-27 17:22:38,002 - DEBUG - PING 112.15.154.131 (112.15.154.131): 56 data bytes --- 112.15.154.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-27 17:22:38,002 - WARNING - Ping to IP 112.15.154.131 from VM ctest-vn1-vm1-63620694 failed 2025-08-27 17:22:38,002 - INFO - Adding interface with subnet_id 64467706-9893-4719-a91a-326b5dd2e00b, port_id None to router 86610097-a1ad-404f-877b-eaa86c6ee3b4 2025-08-27 17:22:38,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:38,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.15.154.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-27 17:22:38,242 - DEBUG - ping -s 56 -c 3 -W 1 112.15.154.131 2025-08-27 17:22:40,442 - DEBUG - PING 112.15.154.131 (112.15.154.131): 56 data bytes 64 bytes from 112.15.154.131: seq=0 ttl=63 time=2.289 ms 64 bytes from 112.15.154.131: seq=1 ttl=63 time=0.905 ms 64 bytes from 112.15.154.131: seq=2 ttl=63 time=0.922 ms --- 112.15.154.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/1.372/2.289 ms 2025-08-27 17:22:40,442 - INFO - Ping to IP 112.15.154.131 from VM ctest-vn1-vm1-63620694 passed 2025-08-27 17:22:40,442 - INFO - Deleting interface with subnet_id 35cc133f-66c5-4c03-83ba-6fe22a957178, port_id None from router 86610097-a1ad-404f-877b-eaa86c6ee3b4 2025-08-27 17:22:40,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:40,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.15.154.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-27 17:22:40,541 - DEBUG - ping -s 56 -c 3 -W 1 112.15.154.131 2025-08-27 17:22:43,743 - DEBUG - PING 112.15.154.131 (112.15.154.131): 56 data bytes --- 112.15.154.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-27 17:22:43,743 - WARNING - Ping to IP 112.15.154.131 from VM ctest-vn1-vm1-63620694 failed 2025-08-27 17:22:43,743 - INFO - Adding interface with subnet_id 35cc133f-66c5-4c03-83ba-6fe22a957178, port_id None to router 86610097-a1ad-404f-877b-eaa86c6ee3b4 2025-08-27 17:22:43,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:22:43,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.15.154.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-27 17:22:43,957 - DEBUG - ping -s 56 -c 3 -W 1 112.15.154.131 2025-08-27 17:22:47,171 - DEBUG - PING 112.15.154.131 (112.15.154.131): 56 data bytes 64 bytes from 112.15.154.131: seq=1 ttl=63 time=1.425 ms 64 bytes from 112.15.154.131: seq=2 ttl=63 time=0.815 ms --- 112.15.154.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.815/1.120/1.425 ms 2025-08-27 17:22:47,171 - WARNING - Ping to IP 112.15.154.131 from VM ctest-vn1-vm1-63620694 failed 2025-08-27 17:22:48,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.15.154.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-27 17:22:48,172 - DEBUG - ping -s 56 -c 3 -W 1 112.15.154.131 2025-08-27 17:22:50,368 - DEBUG - PING 112.15.154.131 (112.15.154.131): 56 data bytes 64 bytes from 112.15.154.131: seq=0 ttl=63 time=1.290 ms 64 bytes from 112.15.154.131: seq=1 ttl=63 time=0.784 ms 64 bytes from 112.15.154.131: seq=2 ttl=63 time=0.928 ms --- 112.15.154.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.000/1.290 ms 2025-08-27 17:22:50,368 - INFO - Ping to IP 112.15.154.131 from VM ctest-vn1-vm1-63620694 passed 2025-08-27 17:22:50,368 - INFO - Deleting interface with subnet_id 64467706-9893-4719-a91a-326b5dd2e00b, port_id None from router 86610097-a1ad-404f-877b-eaa86c6ee3b4 2025-08-27 17:22:50,473 - INFO - Deleting interface with subnet_id 35cc133f-66c5-4c03-83ba-6fe22a957178, port_id None from router 86610097-a1ad-404f-877b-eaa86c6ee3b4 2025-08-27 17:22:50,621 - INFO - Deleting VM ctest-vn2-vm1-78443668 2025-08-27 17:22:50,688 - INFO - Deleting VM ctest-vn1-vm1-63620694 2025-08-27 17:22:50,749 - INFO - Deleting VN ctest-vn2-03968595 2025-08-27 17:22:50,832 - DEBUG - VN 396f211c-fa23-4b52-a706-526f9ae0f9e9 still in use: Unable to complete operation on network 396f211c-fa23-4b52-a706-526f9ae0f9e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea1df58f-b41a-44b3-81d7-cb84ac02115f'] 2025-08-27 17:22:50,832 - WARNING - Deleting VN ctest-vn2-03968595 failed..Will retry 2025-08-27 17:22:52,915 - DEBUG - Response for deleting network () 2025-08-27 17:22:52,916 - INFO - Deleting VN ctest-vn1-98282171 2025-08-27 17:22:53,000 - DEBUG - Response for deleting network () 2025-08-27 17:22:53,255 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 17:22:53,256 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-27 17:22:53,256 - INFO - -------------------------------------------------------------------------------- 2025-08-27 17:22:53,938 - INFO - Deleted project: ctest-TestRouters-68690165, ID : 5644f65c-aa58-4644-aa49-ad969c178559