2025-10-13 16:46:44,272 - INFO - Domain Default found not creating 2025-10-13 16:46:44,413 - INFO - Project ctest-TestRouters-69417927 not found, creating it 2025-10-13 16:46:44,864 - INFO - Created Project:ctest-TestRouters-69417927, ID : 41b5bb73-d636-49e8-bae2-033c63cf1eaa 2025-10-13 16:46:46,400 - INFO - ================================================================================ 2025-10-13 16:46:46,400 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-13 16:46:46,400 - 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-10-13 16:46:46,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.210': '0'}} with 2025-10-13 16:46:46,655 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:46:46,655 - INFO - 2025-10-13 16:46:47,206 - DEBUG - Response for create_network : {'network': {'id': '4032e921-c877-42f1-9be2-cfbba02c66a5', 'name': 'ctest-vn1-98615093', 'tenant_id': '41b5bb73d63649e8bae2033c63cf1eaa', 'project_id': '41b5bb73d63649e8bae2033c63cf1eaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69417927', 'ctest-vn1-98615093'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:46:47,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '74fbd099-c084-4c49-91f0-9e269009e5a4', 'name': '', 'tenant_id': '41b5bb73d63649e8bae2033c63cf1eaa', 'network_id': '4032e921-c877-42f1-9be2-cfbba02c66a5', 'ip_version': 4, 'cidr': '187.58.213.192/26', 'allocation_pools': [{'start': '187.58.213.194', 'end': '187.58.213.254'}], 'gateway_ip': '187.58.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.58.213.194', 'tags': [], 'project_id': '41b5bb73d63649e8bae2033c63cf1eaa'}} 2025-10-13 16:46:47,432 - INFO - Created VN ctest-vn1-98615093 2025-10-13 16:46:47,482 - DEBUG - VN ctest-vn1-98615093 UUID is 4032e921-c877-42f1-9be2-cfbba02c66a5 2025-10-13 16:46:47,835 - DEBUG - Response for create_network : {'network': {'id': 'f31a2192-03bf-4541-825c-1e61ee0a4e2f', 'name': 'ctest-vn2-01617105', 'tenant_id': '41b5bb73d63649e8bae2033c63cf1eaa', 'project_id': '41b5bb73d63649e8bae2033c63cf1eaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69417927', 'ctest-vn2-01617105'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:46:48,064 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf246088-a89f-43bf-a192-59ecd9dbf131', 'name': '', 'tenant_id': '41b5bb73d63649e8bae2033c63cf1eaa', 'network_id': 'f31a2192-03bf-4541-825c-1e61ee0a4e2f', 'ip_version': 4, 'cidr': '173.25.166.0/26', 'allocation_pools': [{'start': '173.25.166.2', 'end': '173.25.166.62'}], 'gateway_ip': '173.25.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.25.166.2', 'tags': [], 'project_id': '41b5bb73d63649e8bae2033c63cf1eaa'}} 2025-10-13 16:46:48,087 - INFO - Created VN ctest-vn2-01617105 2025-10-13 16:46:48,138 - DEBUG - VN ctest-vn2-01617105 UUID is f31a2192-03bf-4541-825c-1e61ee0a4e2f 2025-10-13 16:46:48,366 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:46:49,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4309-1) 2025-10-13 16:46:50,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4309-1) 2025-10-13 16:46:50,748 - INFO - Adding interface with subnet_id 74fbd099-c084-4c49-91f0-9e269009e5a4, port_id None to router 9eec1a3d-1053-4728-a991-b437550e05d7 2025-10-13 16:46:51,082 - INFO - Waiting for VM ctest-vn1-vm1-71184651 to be up.. 2025-10-13 16:46:51,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:46:56,260 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:46:56,260 - INFO - VM name : ctest-vn1-vm1-71184651 2025-10-13 16:46:56,325 - DEBUG - VM ctest-vn1-vm1-71184651 ID is 03230266-328d-451c-ae3e-9102d226c138 2025-10-13 16:46:56,344 - DEBUG - VM ctest-vn1-vm1-71184651 launched on Node cn-jenkins-deploy-platform-ansible-os-4309-1 2025-10-13 16:46:56,420 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/03230266-328d-451c-ae3e-9102d226c138 2025-10-13 16:46:56,721 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/03230266-328d-451c-ae3e-9102d226c138 2025-10-13 16:46:56,754 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f5c22f7c-f7cf-43ae-9f19-b16a34df5d7d 2025-10-13 16:47:00,011 - 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 1019ms') 2025-10-13 16:47:00,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71184651 failed! 2025-10-13 16:47:00,066 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-69417927:ctest-vn1-98615093 is 187.58.213.193 and allocation pool is NOT set 2025-10-13 16:47:02,132 - 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=3.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/1.796/3.108/1.311 ms') 2025-10-13 16:47:02,132 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71184651 passed 2025-10-13 16:47:02,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:47:02,282 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71184651, IP 187.58.213.195, Port 22 2025-10-13 16:47:02,442 - DEBUG - VM ctest-vn1-vm1-71184651 is ready for SSH connections 2025-10-13 16:47:02,442 - INFO - Waiting for VM ctest-vn2-vm1-26816257 to be up.. 2025-10-13 16:47:02,516 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:47:02,516 - INFO - VM name : ctest-vn2-vm1-26816257 2025-10-13 16:47:02,588 - DEBUG - VM ctest-vn2-vm1-26816257 ID is 6b521a23-893f-48f0-b4e5-9995d69d1114 2025-10-13 16:47:02,588 - DEBUG - VM ctest-vn2-vm1-26816257 launched on Node cn-jenkins-deploy-platform-ansible-os-4309-1 2025-10-13 16:47:02,674 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6b521a23-893f-48f0-b4e5-9995d69d1114 2025-10-13 16:47:02,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/547892ad-a11b-49a1-a408-4cbd2d615357 2025-10-13 16:47:03,925 - 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=3.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.408/2.016/3.625/1.608 ms') 2025-10-13 16:47:03,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-26816257 passed 2025-10-13 16:47:04,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:47:04,078 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-26816257, IP 173.25.166.3, Port 22 2025-10-13 16:47:04,250 - DEBUG - VM ctest-vn2-vm1-26816257 is ready for SSH connections 2025-10-13 16:47:04,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:47:04,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.25.166.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:47:04,250 - DEBUG - ping -s 56 -c 3 -W 1 173.25.166.3 2025-10-13 16:47:09,295 - DEBUG - PING 173.25.166.3 (173.25.166.3): 56 data bytes --- 173.25.166.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 16:47:09,295 - WARNING - Ping to IP 173.25.166.3 from VM ctest-vn1-vm1-71184651 failed 2025-10-13 16:47:09,295 - INFO - Adding interface with subnet_id bf246088-a89f-43bf-a192-59ecd9dbf131, port_id None to router 9eec1a3d-1053-4728-a991-b437550e05d7 2025-10-13 16:47:09,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:47:09,532 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.25.166.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:47:09,532 - DEBUG - ping -s 56 -c 3 -W 1 173.25.166.3 2025-10-13 16:47:12,743 - DEBUG - PING 173.25.166.3 (173.25.166.3): 56 data bytes 64 bytes from 173.25.166.3: seq=1 ttl=63 time=2.676 ms 64 bytes from 173.25.166.3: seq=2 ttl=63 time=0.781 ms --- 173.25.166.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.781/1.728/2.676 ms 2025-10-13 16:47:12,743 - WARNING - Ping to IP 173.25.166.3 from VM ctest-vn1-vm1-71184651 failed 2025-10-13 16:47:13,744 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.25.166.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:47:13,744 - DEBUG - ping -s 56 -c 3 -W 1 173.25.166.3 2025-10-13 16:47:15,955 - DEBUG - PING 173.25.166.3 (173.25.166.3): 56 data bytes 64 bytes from 173.25.166.3: seq=0 ttl=63 time=1.224 ms 64 bytes from 173.25.166.3: seq=1 ttl=63 time=0.899 ms 64 bytes from 173.25.166.3: seq=2 ttl=63 time=0.865 ms --- 173.25.166.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/0.996/1.224 ms 2025-10-13 16:47:15,955 - INFO - Ping to IP 173.25.166.3 from VM ctest-vn1-vm1-71184651 passed 2025-10-13 16:47:15,955 - INFO - Deleting interface with subnet_id 74fbd099-c084-4c49-91f0-9e269009e5a4, port_id None from router 9eec1a3d-1053-4728-a991-b437550e05d7 2025-10-13 16:47:16,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:47:16,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.25.166.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:47:16,061 - DEBUG - ping -s 56 -c 3 -W 1 173.25.166.3 2025-10-13 16:47:19,286 - DEBUG - PING 173.25.166.3 (173.25.166.3): 56 data bytes --- 173.25.166.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 16:47:19,286 - WARNING - Ping to IP 173.25.166.3 from VM ctest-vn1-vm1-71184651 failed 2025-10-13 16:47:19,286 - INFO - Adding interface with subnet_id 74fbd099-c084-4c49-91f0-9e269009e5a4, port_id None to router 9eec1a3d-1053-4728-a991-b437550e05d7 2025-10-13 16:47:19,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:47:19,480 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.25.166.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:47:19,480 - DEBUG - ping -s 56 -c 3 -W 1 173.25.166.3 2025-10-13 16:47:21,688 - DEBUG - PING 173.25.166.3 (173.25.166.3): 56 data bytes 64 bytes from 173.25.166.3: seq=0 ttl=63 time=1.435 ms 64 bytes from 173.25.166.3: seq=1 ttl=63 time=0.798 ms 64 bytes from 173.25.166.3: seq=2 ttl=63 time=1.115 ms --- 173.25.166.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.116/1.435 ms 2025-10-13 16:47:21,688 - INFO - Ping to IP 173.25.166.3 from VM ctest-vn1-vm1-71184651 passed 2025-10-13 16:47:21,688 - INFO - Deleting interface with subnet_id bf246088-a89f-43bf-a192-59ecd9dbf131, port_id None from router 9eec1a3d-1053-4728-a991-b437550e05d7 2025-10-13 16:47:21,799 - INFO - Deleting interface with subnet_id 74fbd099-c084-4c49-91f0-9e269009e5a4, port_id None from router 9eec1a3d-1053-4728-a991-b437550e05d7 2025-10-13 16:47:21,969 - INFO - Deleting VM ctest-vn2-vm1-26816257 2025-10-13 16:47:22,046 - INFO - Deleting VM ctest-vn1-vm1-71184651 2025-10-13 16:47:22,132 - INFO - Deleting VN ctest-vn2-01617105 2025-10-13 16:47:22,165 - DEBUG - VN f31a2192-03bf-4541-825c-1e61ee0a4e2f still in use: Unable to complete operation on network f31a2192-03bf-4541-825c-1e61ee0a4e2f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14753616-faf9-4ff8-9ae1-c2fdd4b70aed'] 2025-10-13 16:47:22,165 - WARNING - Deleting VN ctest-vn2-01617105 failed..Will retry 2025-10-13 16:47:24,262 - DEBUG - Response for deleting network () 2025-10-13 16:47:24,262 - INFO - Deleting VN ctest-vn1-98615093 2025-10-13 16:47:24,370 - DEBUG - Response for deleting network () 2025-10-13 16:47:24,622 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 16:47:24,622 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-13 16:47:24,622 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:47:25,321 - INFO - Deleted project: ctest-TestRouters-69417927, ID : 41b5bb73-d636-49e8-bae2-033c63cf1eaa