2025-08-31 04:49:14,998 - INFO - Domain Default found not creating 2025-08-31 04:49:15,133 - INFO - Project ctest-TestRouters-90313241 not found, creating it 2025-08-31 04:49:15,576 - INFO - Created Project:ctest-TestRouters-90313241, ID : 543608e8-f226-40eb-82ea-1618d8dd112f 2025-08-31 04:49:17,011 - INFO - ================================================================================ 2025-08-31 04:49:17,011 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-31 04:49:17,011 - 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-31 04:49:17,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 04:49:17,265 - INFO - Initial checks done. Running the testcase now 2025-08-31 04:49:17,265 - INFO - 2025-08-31 04:49:17,800 - DEBUG - Response for create_network : {'network': {'id': '04cf8fb3-692f-472b-ade7-54d15ee84a59', 'name': 'ctest-vn1-56050890', 'tenant_id': '543608e8f22640eb82ea1618d8dd112f', 'project_id': '543608e8f22640eb82ea1618d8dd112f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90313241', 'ctest-vn1-56050890'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:49:17,974 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abbd0a74-46e9-40b6-8008-1c91899d956a', 'name': '', 'tenant_id': '543608e8f22640eb82ea1618d8dd112f', 'network_id': '04cf8fb3-692f-472b-ade7-54d15ee84a59', 'ip_version': 4, 'cidr': '12.99.13.192/26', 'allocation_pools': [{'start': '12.99.13.194', 'end': '12.99.13.254'}], 'gateway_ip': '12.99.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.99.13.194', 'tags': [], 'project_id': '543608e8f22640eb82ea1618d8dd112f'}} 2025-08-31 04:49:17,989 - INFO - Created VN ctest-vn1-56050890 2025-08-31 04:49:18,041 - DEBUG - VN ctest-vn1-56050890 UUID is 04cf8fb3-692f-472b-ade7-54d15ee84a59 2025-08-31 04:49:18,342 - DEBUG - Response for create_network : {'network': {'id': '32c07af3-7882-4e78-bed1-18b88a5fe572', 'name': 'ctest-vn2-56898475', 'tenant_id': '543608e8f22640eb82ea1618d8dd112f', 'project_id': '543608e8f22640eb82ea1618d8dd112f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90313241', 'ctest-vn2-56898475'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:49:18,557 - DEBUG - Response for create_subnet : {'subnet': {'id': '45e272b9-7675-4e91-8d95-75f855b9016e', 'name': '', 'tenant_id': '543608e8f22640eb82ea1618d8dd112f', 'network_id': '32c07af3-7882-4e78-bed1-18b88a5fe572', 'ip_version': 4, 'cidr': '44.28.105.0/26', 'allocation_pools': [{'start': '44.28.105.2', 'end': '44.28.105.62'}], 'gateway_ip': '44.28.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.28.105.2', 'tags': [], 'project_id': '543608e8f22640eb82ea1618d8dd112f'}} 2025-08-31 04:49:18,572 - INFO - Created VN ctest-vn2-56898475 2025-08-31 04:49:18,625 - DEBUG - VN ctest-vn2-56898475 UUID is 32c07af3-7882-4e78-bed1-18b88a5fe572 2025-08-31 04:49:18,832 - DEBUG - Services list from nova: [, , ] 2025-08-31 04:49:19,912 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1) 2025-08-31 04:49:20,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1) 2025-08-31 04:49:21,021 - INFO - Adding interface with subnet_id abbd0a74-46e9-40b6-8008-1c91899d956a, port_id None to router 5f0cdbbf-0e09-4bd0-9fca-ad8c5d299bf9 2025-08-31 04:49:21,281 - INFO - Waiting for VM ctest-vn1-vm1-79940863 to be up.. 2025-08-31 04:49:21,379 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 04:49:26,444 - DEBUG - VM is in ACTIVE state now 2025-08-31 04:49:26,445 - INFO - VM name : ctest-vn1-vm1-79940863 2025-08-31 04:49:26,526 - DEBUG - VM ctest-vn1-vm1-79940863 ID is feb0e093-59c8-4fca-9064-972b25c69366 2025-08-31 04:49:26,545 - DEBUG - VM ctest-vn1-vm1-79940863 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1 2025-08-31 04:49:26,621 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/feb0e093-59c8-4fca-9064-972b25c69366 2025-08-31 04:49:26,915 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/feb0e093-59c8-4fca-9064-972b25c69366 2025-08-31 04:49:26,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4a7b02e6-1bde-4195-b6b5-6902f027ba71 2025-08-31 04:49:30,215 - 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 1035ms') 2025-08-31 04:49:30,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79940863 failed! 2025-08-31 04:49:30,273 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-90313241:ctest-vn1-56050890 is 12.99.13.193 and allocation pool is NOT set 2025-08-31 04:49:32,332 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.782 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.782/2.385/3.989/1.603 ms') 2025-08-31 04:49:32,332 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79940863 passed 2025-08-31 04:49:32,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:32,481 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79940863, IP 12.99.13.195, Port 22 2025-08-31 04:49:32,647 - DEBUG - VM ctest-vn1-vm1-79940863 is ready for SSH connections 2025-08-31 04:49:32,647 - INFO - Waiting for VM ctest-vn2-vm1-42549779 to be up.. 2025-08-31 04:49:32,723 - DEBUG - VM is in ACTIVE state now 2025-08-31 04:49:32,723 - INFO - VM name : ctest-vn2-vm1-42549779 2025-08-31 04:49:32,792 - DEBUG - VM ctest-vn2-vm1-42549779 ID is 9a76f8f5-438e-4418-8ca4-4d8a76d10055 2025-08-31 04:49:32,792 - DEBUG - VM ctest-vn2-vm1-42549779 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1 2025-08-31 04:49:32,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a76f8f5-438e-4418-8ca4-4d8a76d10055 2025-08-31 04:49:32,871 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9bdc8938-68b6-41f3-8ade-6e17b4ccdb81 2025-08-31 04:49:34,100 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.498/2.643/1.145 ms') 2025-08-31 04:49:34,100 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-42549779 passed 2025-08-31 04:49:34,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:34,250 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42549779, IP 44.28.105.3, Port 22 2025-08-31 04:49:34,416 - DEBUG - VM ctest-vn2-vm1-42549779 is ready for SSH connections 2025-08-31 04:49:34,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:34,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.28.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:49:34,416 - DEBUG - ping -s 56 -c 3 -W 1 44.28.105.3 2025-08-31 04:49:39,144 - DEBUG - PING 44.28.105.3 (44.28.105.3): 56 data bytes --- 44.28.105.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 04:49:39,144 - WARNING - Ping to IP 44.28.105.3 from VM ctest-vn1-vm1-79940863 failed 2025-08-31 04:49:39,144 - INFO - Adding interface with subnet_id 45e272b9-7675-4e91-8d95-75f855b9016e, port_id None to router 5f0cdbbf-0e09-4bd0-9fca-ad8c5d299bf9 2025-08-31 04:49:39,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:39,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.28.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:49:39,388 - DEBUG - ping -s 56 -c 3 -W 1 44.28.105.3 2025-08-31 04:49:41,592 - DEBUG - PING 44.28.105.3 (44.28.105.3): 56 data bytes 64 bytes from 44.28.105.3: seq=0 ttl=63 time=2.684 ms 64 bytes from 44.28.105.3: seq=1 ttl=63 time=1.008 ms 64 bytes from 44.28.105.3: seq=2 ttl=63 time=0.980 ms --- 44.28.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/1.557/2.684 ms 2025-08-31 04:49:41,592 - INFO - Ping to IP 44.28.105.3 from VM ctest-vn1-vm1-79940863 passed 2025-08-31 04:49:41,592 - INFO - Deleting interface with subnet_id abbd0a74-46e9-40b6-8008-1c91899d956a, port_id None from router 5f0cdbbf-0e09-4bd0-9fca-ad8c5d299bf9 2025-08-31 04:49:41,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:41,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.28.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:49:41,713 - DEBUG - ping -s 56 -c 3 -W 1 44.28.105.3 2025-08-31 04:49:44,917 - DEBUG - PING 44.28.105.3 (44.28.105.3): 56 data bytes --- 44.28.105.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 04:49:44,917 - WARNING - Ping to IP 44.28.105.3 from VM ctest-vn1-vm1-79940863 failed 2025-08-31 04:49:44,917 - INFO - Adding interface with subnet_id abbd0a74-46e9-40b6-8008-1c91899d956a, port_id None to router 5f0cdbbf-0e09-4bd0-9fca-ad8c5d299bf9 2025-08-31 04:49:45,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:45,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.28.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:49:45,112 - DEBUG - ping -s 56 -c 3 -W 1 44.28.105.3 2025-08-31 04:49:48,312 - DEBUG - PING 44.28.105.3 (44.28.105.3): 56 data bytes 64 bytes from 44.28.105.3: seq=1 ttl=63 time=1.850 ms 64 bytes from 44.28.105.3: seq=2 ttl=63 time=0.818 ms --- 44.28.105.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.818/1.334/1.850 ms 2025-08-31 04:49:48,312 - WARNING - Ping to IP 44.28.105.3 from VM ctest-vn1-vm1-79940863 failed 2025-08-31 04:49:49,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.28.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:49:49,313 - DEBUG - ping -s 56 -c 3 -W 1 44.28.105.3 2025-08-31 04:49:51,514 - DEBUG - PING 44.28.105.3 (44.28.105.3): 56 data bytes 64 bytes from 44.28.105.3: seq=0 ttl=63 time=1.512 ms 64 bytes from 44.28.105.3: seq=1 ttl=63 time=0.986 ms 64 bytes from 44.28.105.3: seq=2 ttl=63 time=0.936 ms --- 44.28.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/1.144/1.512 ms 2025-08-31 04:49:51,514 - INFO - Ping to IP 44.28.105.3 from VM ctest-vn1-vm1-79940863 passed 2025-08-31 04:49:51,514 - INFO - Deleting interface with subnet_id 45e272b9-7675-4e91-8d95-75f855b9016e, port_id None from router 5f0cdbbf-0e09-4bd0-9fca-ad8c5d299bf9 2025-08-31 04:49:51,663 - INFO - Deleting interface with subnet_id abbd0a74-46e9-40b6-8008-1c91899d956a, port_id None from router 5f0cdbbf-0e09-4bd0-9fca-ad8c5d299bf9 2025-08-31 04:49:51,836 - INFO - Deleting VM ctest-vn2-vm1-42549779 2025-08-31 04:49:51,900 - INFO - Deleting VM ctest-vn1-vm1-79940863 2025-08-31 04:49:51,965 - INFO - Deleting VN ctest-vn2-56898475 2025-08-31 04:49:52,010 - DEBUG - VN 32c07af3-7882-4e78-bed1-18b88a5fe572 still in use: Unable to complete operation on network 32c07af3-7882-4e78-bed1-18b88a5fe572. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-98b5baa8-c052-428c-bf76-2f7f4c23346c'] 2025-08-31 04:49:52,011 - WARNING - Deleting VN ctest-vn2-56898475 failed..Will retry 2025-08-31 04:49:54,105 - DEBUG - Response for deleting network () 2025-08-31 04:49:54,105 - INFO - Deleting VN ctest-vn1-56050890 2025-08-31 04:49:54,201 - DEBUG - Response for deleting network () 2025-08-31 04:49:54,464 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 04:49:54,464 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-31 04:49:54,464 - INFO - -------------------------------------------------------------------------------- 2025-08-31 04:49:55,125 - INFO - Deleted project: ctest-TestRouters-90313241, ID : 543608e8-f226-40eb-82ea-1618d8dd112f