2025-10-21 16:23:45,739 - INFO - Domain Default found not creating 2025-10-21 16:23:45,859 - INFO - Project ctest-TestRouters-77511557 not found, creating it 2025-10-21 16:23:46,303 - INFO - Created Project:ctest-TestRouters-77511557, ID : a88f69d7-ca64-4a3c-a1b1-98816414fcaa 2025-10-21 16:23:47,672 - INFO - ================================================================================ 2025-10-21 16:23:47,672 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 16:23:47,672 - 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-21 16:23:47,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 16:23:47,932 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:23:47,932 - INFO - 2025-10-21 16:23:48,455 - DEBUG - Response for create_network : {'network': {'id': '19c92477-5379-4ae8-9c63-f2c216d2c8c2', 'name': 'ctest-vn1-34887866', 'tenant_id': 'a88f69d7ca644a3ca1b198816414fcaa', 'project_id': 'a88f69d7ca644a3ca1b198816414fcaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77511557', 'ctest-vn1-34887866'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:23:48,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '10e59b53-fac1-40b4-b72c-379812b7d285', 'name': '', 'tenant_id': 'a88f69d7ca644a3ca1b198816414fcaa', 'network_id': '19c92477-5379-4ae8-9c63-f2c216d2c8c2', 'ip_version': 4, 'cidr': '191.64.40.0/26', 'allocation_pools': [{'start': '191.64.40.2', 'end': '191.64.40.62'}], 'gateway_ip': '191.64.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.64.40.2', 'tags': [], 'project_id': 'a88f69d7ca644a3ca1b198816414fcaa'}} 2025-10-21 16:23:48,628 - INFO - Created VN ctest-vn1-34887866 2025-10-21 16:23:48,679 - DEBUG - VN ctest-vn1-34887866 UUID is 19c92477-5379-4ae8-9c63-f2c216d2c8c2 2025-10-21 16:23:48,982 - DEBUG - Response for create_network : {'network': {'id': '4ddf1891-1ac1-42f9-a8fb-668d4cd6aec0', 'name': 'ctest-vn2-53806968', 'tenant_id': 'a88f69d7ca644a3ca1b198816414fcaa', 'project_id': 'a88f69d7ca644a3ca1b198816414fcaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77511557', 'ctest-vn2-53806968'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:23:49,192 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4c42268-1581-4f82-adea-54374769c6f3', 'name': '', 'tenant_id': 'a88f69d7ca644a3ca1b198816414fcaa', 'network_id': '4ddf1891-1ac1-42f9-a8fb-668d4cd6aec0', 'ip_version': 4, 'cidr': '196.92.152.64/26', 'allocation_pools': [{'start': '196.92.152.66', 'end': '196.92.152.126'}], 'gateway_ip': '196.92.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.92.152.66', 'tags': [], 'project_id': 'a88f69d7ca644a3ca1b198816414fcaa'}} 2025-10-21 16:23:49,208 - INFO - Created VN ctest-vn2-53806968 2025-10-21 16:23:49,259 - DEBUG - VN ctest-vn2-53806968 UUID is 4ddf1891-1ac1-42f9-a8fb-668d4cd6aec0 2025-10-21 16:23:49,464 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:23:50,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4398-1) 2025-10-21 16:23:51,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4398-1) 2025-10-21 16:23:51,672 - INFO - Adding interface with subnet_id 10e59b53-fac1-40b4-b72c-379812b7d285, port_id None to router 46f28f23-dea1-4e6a-9c05-f49dafd3990c 2025-10-21 16:23:51,893 - INFO - Waiting for VM ctest-vn1-vm1-09889244 to be up.. 2025-10-21 16:23:52,028 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:23:57,090 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:23:57,090 - INFO - VM name : ctest-vn1-vm1-09889244 2025-10-21 16:23:57,165 - DEBUG - VM ctest-vn1-vm1-09889244 ID is 9dfeb654-4644-47a9-bc79-edc65b5c2e34 2025-10-21 16:23:57,190 - DEBUG - VM ctest-vn1-vm1-09889244 launched on Node cn-jenkins-deploy-platform-ansible-os-4398-1 2025-10-21 16:23:57,285 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9dfeb654-4644-47a9-bc79-edc65b5c2e34 2025-10-21 16:23:57,579 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9dfeb654-4644-47a9-bc79-edc65b5c2e34 2025-10-21 16:23:57,605 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c7d87d41-f7cb-4362-8f54-afe24e9ff7dd 2025-10-21 16:24:00,848 - 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 1012ms') 2025-10-21 16:24:00,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09889244 failed! 2025-10-21 16:24:00,899 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77511557:ctest-vn1-34887866 is 191.64.40.1 and allocation pool is NOT set 2025-10-21 16:24:02,968 - 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=4.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/2.478/4.566/2.087 ms') 2025-10-21 16:24:02,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09889244 passed 2025-10-21 16:24:03,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:24:03,119 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09889244, IP 191.64.40.3, Port 22 2025-10-21 16:24:03,279 - DEBUG - VM ctest-vn1-vm1-09889244 is ready for SSH connections 2025-10-21 16:24:03,279 - INFO - Waiting for VM ctest-vn2-vm1-75354916 to be up.. 2025-10-21 16:24:03,348 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:24:03,348 - INFO - VM name : ctest-vn2-vm1-75354916 2025-10-21 16:24:03,418 - DEBUG - VM ctest-vn2-vm1-75354916 ID is 9d7da34a-b0cd-4ea7-b47b-0c67a8fe6649 2025-10-21 16:24:03,418 - DEBUG - VM ctest-vn2-vm1-75354916 launched on Node cn-jenkins-deploy-platform-ansible-os-4398-1 2025-10-21 16:24:03,485 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9d7da34a-b0cd-4ea7-b47b-0c67a8fe6649 2025-10-21 16:24:03,492 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/631ec5ae-c3f8-45a4-8a40-ce92dd1c2093 2025-10-21 16:24:04,727 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.313 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.313/1.902/3.491/1.589 ms') 2025-10-21 16:24:04,727 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-75354916 passed 2025-10-21 16:24:04,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:24:04,875 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-75354916, IP 196.92.152.67, Port 22 2025-10-21 16:24:05,042 - DEBUG - VM ctest-vn2-vm1-75354916 is ready for SSH connections 2025-10-21 16:24:05,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:24:05,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:24:05,043 - DEBUG - ping -s 56 -c 3 -W 1 196.92.152.67 2025-10-21 16:24:09,746 - DEBUG - PING 196.92.152.67 (196.92.152.67): 56 data bytes --- 196.92.152.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 16:24:09,747 - WARNING - Ping to IP 196.92.152.67 from VM ctest-vn1-vm1-09889244 failed 2025-10-21 16:24:09,747 - INFO - Adding interface with subnet_id a4c42268-1581-4f82-adea-54374769c6f3, port_id None to router 46f28f23-dea1-4e6a-9c05-f49dafd3990c 2025-10-21 16:24:09,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:24:09,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:24:09,961 - DEBUG - ping -s 56 -c 3 -W 1 196.92.152.67 2025-10-21 16:24:12,247 - DEBUG - PING 196.92.152.67 (196.92.152.67): 56 data bytes 64 bytes from 196.92.152.67: seq=0 ttl=63 time=2.362 ms 64 bytes from 196.92.152.67: seq=1 ttl=63 time=0.786 ms 64 bytes from 196.92.152.67: seq=2 ttl=63 time=0.772 ms --- 196.92.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.306/2.362 ms 2025-10-21 16:24:12,247 - INFO - Ping to IP 196.92.152.67 from VM ctest-vn1-vm1-09889244 passed 2025-10-21 16:24:12,247 - INFO - Deleting interface with subnet_id 10e59b53-fac1-40b4-b72c-379812b7d285, port_id None from router 46f28f23-dea1-4e6a-9c05-f49dafd3990c 2025-10-21 16:24:12,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:24:12,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:24:12,345 - DEBUG - ping -s 56 -c 3 -W 1 196.92.152.67 2025-10-21 16:24:15,581 - DEBUG - PING 196.92.152.67 (196.92.152.67): 56 data bytes --- 196.92.152.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 16:24:15,581 - WARNING - Ping to IP 196.92.152.67 from VM ctest-vn1-vm1-09889244 failed 2025-10-21 16:24:15,582 - INFO - Adding interface with subnet_id 10e59b53-fac1-40b4-b72c-379812b7d285, port_id None to router 46f28f23-dea1-4e6a-9c05-f49dafd3990c 2025-10-21 16:24:15,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:24:15,782 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:24:15,782 - DEBUG - ping -s 56 -c 3 -W 1 196.92.152.67 2025-10-21 16:24:19,049 - DEBUG - PING 196.92.152.67 (196.92.152.67): 56 data bytes 64 bytes from 196.92.152.67: seq=1 ttl=63 time=1.790 ms 64 bytes from 196.92.152.67: seq=2 ttl=63 time=0.765 ms --- 196.92.152.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.765/1.277/1.790 ms 2025-10-21 16:24:19,049 - WARNING - Ping to IP 196.92.152.67 from VM ctest-vn1-vm1-09889244 failed 2025-10-21 16:24:20,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:24:20,050 - DEBUG - ping -s 56 -c 3 -W 1 196.92.152.67 2025-10-21 16:24:22,292 - DEBUG - PING 196.92.152.67 (196.92.152.67): 56 data bytes 64 bytes from 196.92.152.67: seq=0 ttl=63 time=1.364 ms 64 bytes from 196.92.152.67: seq=1 ttl=63 time=0.785 ms 64 bytes from 196.92.152.67: seq=2 ttl=63 time=0.818 ms --- 196.92.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/0.989/1.364 ms 2025-10-21 16:24:22,292 - INFO - Ping to IP 196.92.152.67 from VM ctest-vn1-vm1-09889244 passed 2025-10-21 16:24:22,292 - INFO - Deleting interface with subnet_id a4c42268-1581-4f82-adea-54374769c6f3, port_id None from router 46f28f23-dea1-4e6a-9c05-f49dafd3990c 2025-10-21 16:24:22,404 - INFO - Deleting interface with subnet_id 10e59b53-fac1-40b4-b72c-379812b7d285, port_id None from router 46f28f23-dea1-4e6a-9c05-f49dafd3990c 2025-10-21 16:24:22,578 - INFO - Deleting VM ctest-vn2-vm1-75354916 2025-10-21 16:24:22,651 - INFO - Deleting VM ctest-vn1-vm1-09889244 2025-10-21 16:24:22,718 - INFO - Deleting VN ctest-vn2-53806968 2025-10-21 16:24:22,747 - DEBUG - VN 4ddf1891-1ac1-42f9-a8fb-668d4cd6aec0 still in use: Unable to complete operation on network 4ddf1891-1ac1-42f9-a8fb-668d4cd6aec0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed70ef1c-154a-40af-a9c3-f8bbc5139cd2'] 2025-10-21 16:24:22,748 - WARNING - Deleting VN ctest-vn2-53806968 failed..Will retry 2025-10-21 16:24:24,836 - DEBUG - Response for deleting network () 2025-10-21 16:24:24,836 - INFO - Deleting VN ctest-vn1-34887866 2025-10-21 16:24:24,917 - DEBUG - Response for deleting network () 2025-10-21 16:24:25,167 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 16:24:25,167 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-21 16:24:25,167 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:24:25,807 - INFO - Deleted project: ctest-TestRouters-77511557, ID : a88f69d7-ca64-4a3c-a1b1-98816414fcaa