2025-10-21 11:59:41,099 - INFO - Domain Default found not creating 2025-10-21 11:59:41,228 - INFO - Project ctest-TestRouters-53066235 not found, creating it 2025-10-21 11:59:41,680 - INFO - Created Project:ctest-TestRouters-53066235, ID : 163a4bc7-0ee8-44e0-ba5a-673db6b163db 2025-10-21 11:59:43,183 - INFO - ================================================================================ 2025-10-21 11:59:43,183 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 11:59:43,183 - 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 11:59:43,435 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 11:59:43,435 - INFO - Initial checks done. Running the testcase now 2025-10-21 11:59:43,435 - INFO - 2025-10-21 11:59:43,948 - DEBUG - Response for create_network : {'network': {'id': '18189b24-d2cc-4ec6-b1b3-9c1ac98007a1', 'name': 'ctest-vn1-25119701', 'tenant_id': '163a4bc70ee844e0ba5a673db6b163db', 'project_id': '163a4bc70ee844e0ba5a673db6b163db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53066235', 'ctest-vn1-25119701'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:59:44,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b6256f7-a367-4b58-b2a9-0fa33a8bef4c', 'name': '', 'tenant_id': '163a4bc70ee844e0ba5a673db6b163db', 'network_id': '18189b24-d2cc-4ec6-b1b3-9c1ac98007a1', 'ip_version': 4, 'cidr': '166.103.70.0/26', 'allocation_pools': [{'start': '166.103.70.2', 'end': '166.103.70.62'}], 'gateway_ip': '166.103.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.103.70.2', 'tags': [], 'project_id': '163a4bc70ee844e0ba5a673db6b163db'}} 2025-10-21 11:59:44,148 - INFO - Created VN ctest-vn1-25119701 2025-10-21 11:59:44,198 - DEBUG - VN ctest-vn1-25119701 UUID is 18189b24-d2cc-4ec6-b1b3-9c1ac98007a1 2025-10-21 11:59:44,527 - DEBUG - Response for create_network : {'network': {'id': '46b9573d-6f24-4e14-ad5c-fa4756b0cc7e', 'name': 'ctest-vn2-16616149', 'tenant_id': '163a4bc70ee844e0ba5a673db6b163db', 'project_id': '163a4bc70ee844e0ba5a673db6b163db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53066235', 'ctest-vn2-16616149'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:59:44,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e2e6b46-8055-46b0-a6a3-414b29e81986', 'name': '', 'tenant_id': '163a4bc70ee844e0ba5a673db6b163db', 'network_id': '46b9573d-6f24-4e14-ad5c-fa4756b0cc7e', 'ip_version': 4, 'cidr': '95.32.19.192/26', 'allocation_pools': [{'start': '95.32.19.194', 'end': '95.32.19.254'}], 'gateway_ip': '95.32.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.32.19.194', 'tags': [], 'project_id': '163a4bc70ee844e0ba5a673db6b163db'}} 2025-10-21 11:59:44,773 - INFO - Created VN ctest-vn2-16616149 2025-10-21 11:59:44,834 - DEBUG - VN ctest-vn2-16616149 UUID is 46b9573d-6f24-4e14-ad5c-fa4756b0cc7e 2025-10-21 11:59:45,081 - DEBUG - Services list from nova: [, , ] 2025-10-21 11:59:46,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4393-1) 2025-10-21 11:59:47,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4393-1) 2025-10-21 11:59:47,313 - INFO - Adding interface with subnet_id 6b6256f7-a367-4b58-b2a9-0fa33a8bef4c, port_id None to router 8aa7af0f-38c5-4fc9-8c6b-ef8bd7e9b865 2025-10-21 11:59:47,561 - INFO - Waiting for VM ctest-vn1-vm1-79164357 to be up.. 2025-10-21 11:59:47,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 11:59:52,710 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:59:52,710 - INFO - VM name : ctest-vn1-vm1-79164357 2025-10-21 11:59:52,784 - DEBUG - VM ctest-vn1-vm1-79164357 ID is 5864f89f-c7cb-42ca-a2a4-54cb21d565a2 2025-10-21 11:59:52,800 - DEBUG - VM ctest-vn1-vm1-79164357 launched on Node cn-jenkins-deploy-platform-ansible-os-4393-1 2025-10-21 11:59:52,861 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5864f89f-c7cb-42ca-a2a4-54cb21d565a2 2025-10-21 11:59:53,151 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5864f89f-c7cb-42ca-a2a4-54cb21d565a2 2025-10-21 11:59:53,178 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ae4522d6-029d-4bcf-a55e-5995720cf12b 2025-10-21 11:59:56,449 - 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 1031ms') 2025-10-21 11:59:56,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79164357 failed! 2025-10-21 11:59:56,502 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-53066235:ctest-vn1-25119701 is 166.103.70.1 and allocation pool is NOT set 2025-10-21 11:59:58,565 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.439/2.087/3.736/1.648 ms') 2025-10-21 11:59:58,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79164357 passed 2025-10-21 11:59:58,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:59:58,714 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79164357, IP 166.103.70.3, Port 22 2025-10-21 11:59:58,869 - DEBUG - VM ctest-vn1-vm1-79164357 is ready for SSH connections 2025-10-21 11:59:58,870 - INFO - Waiting for VM ctest-vn2-vm1-02918563 to be up.. 2025-10-21 11:59:58,939 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:59:58,940 - INFO - VM name : ctest-vn2-vm1-02918563 2025-10-21 11:59:59,006 - DEBUG - VM ctest-vn2-vm1-02918563 ID is 04f0166a-09c6-41c5-bc2e-e8681f0a569e 2025-10-21 11:59:59,006 - DEBUG - VM ctest-vn2-vm1-02918563 launched on Node cn-jenkins-deploy-platform-ansible-os-4393-1 2025-10-21 11:59:59,070 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/04f0166a-09c6-41c5-bc2e-e8681f0a569e 2025-10-21 11:59:59,078 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/218ad638-a436-4edb-86a9-516f1076f2af 2025-10-21 12:00:00,311 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.629/2.804/1.174 ms') 2025-10-21 12:00:00,311 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-02918563 passed 2025-10-21 12:00:00,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:00:00,462 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02918563, IP 95.32.19.195, Port 22 2025-10-21 12:00:00,618 - DEBUG - VM ctest-vn2-vm1-02918563 is ready for SSH connections 2025-10-21 12:00:00,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:00:00,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.32.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 12:00:00,618 - DEBUG - ping -s 56 -c 3 -W 1 95.32.19.195 2025-10-21 12:00:05,284 - DEBUG - PING 95.32.19.195 (95.32.19.195): 56 data bytes --- 95.32.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 12:00:05,284 - WARNING - Ping to IP 95.32.19.195 from VM ctest-vn1-vm1-79164357 failed 2025-10-21 12:00:05,284 - INFO - Adding interface with subnet_id 6e2e6b46-8055-46b0-a6a3-414b29e81986, port_id None to router 8aa7af0f-38c5-4fc9-8c6b-ef8bd7e9b865 2025-10-21 12:00:05,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:00:05,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.32.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 12:00:05,554 - DEBUG - ping -s 56 -c 3 -W 1 95.32.19.195 2025-10-21 12:00:07,756 - DEBUG - PING 95.32.19.195 (95.32.19.195): 56 data bytes 64 bytes from 95.32.19.195: seq=0 ttl=63 time=2.598 ms 64 bytes from 95.32.19.195: seq=1 ttl=63 time=1.024 ms 64 bytes from 95.32.19.195: seq=2 ttl=63 time=0.834 ms --- 95.32.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.485/2.598 ms 2025-10-21 12:00:07,757 - INFO - Ping to IP 95.32.19.195 from VM ctest-vn1-vm1-79164357 passed 2025-10-21 12:00:07,757 - INFO - Deleting interface with subnet_id 6b6256f7-a367-4b58-b2a9-0fa33a8bef4c, port_id None from router 8aa7af0f-38c5-4fc9-8c6b-ef8bd7e9b865 2025-10-21 12:00:07,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:00:07,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.32.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 12:00:07,877 - DEBUG - ping -s 56 -c 3 -W 1 95.32.19.195 2025-10-21 12:00:11,112 - DEBUG - PING 95.32.19.195 (95.32.19.195): 56 data bytes --- 95.32.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 12:00:11,112 - WARNING - Ping to IP 95.32.19.195 from VM ctest-vn1-vm1-79164357 failed 2025-10-21 12:00:11,112 - INFO - Adding interface with subnet_id 6b6256f7-a367-4b58-b2a9-0fa33a8bef4c, port_id None to router 8aa7af0f-38c5-4fc9-8c6b-ef8bd7e9b865 2025-10-21 12:00:11,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 12:00:11,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.32.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 12:00:11,316 - DEBUG - ping -s 56 -c 3 -W 1 95.32.19.195 2025-10-21 12:00:14,516 - DEBUG - PING 95.32.19.195 (95.32.19.195): 56 data bytes 64 bytes from 95.32.19.195: seq=1 ttl=63 time=1.596 ms 64 bytes from 95.32.19.195: seq=2 ttl=63 time=0.947 ms --- 95.32.19.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.947/1.271/1.596 ms 2025-10-21 12:00:14,516 - WARNING - Ping to IP 95.32.19.195 from VM ctest-vn1-vm1-79164357 failed 2025-10-21 12:00:15,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.32.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 12:00:15,517 - DEBUG - ping -s 56 -c 3 -W 1 95.32.19.195 2025-10-21 12:00:17,768 - DEBUG - PING 95.32.19.195 (95.32.19.195): 56 data bytes 64 bytes from 95.32.19.195: seq=0 ttl=63 time=1.412 ms 64 bytes from 95.32.19.195: seq=1 ttl=63 time=0.818 ms 64 bytes from 95.32.19.195: seq=2 ttl=63 time=0.799 ms --- 95.32.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.009/1.412 ms 2025-10-21 12:00:17,768 - INFO - Ping to IP 95.32.19.195 from VM ctest-vn1-vm1-79164357 passed 2025-10-21 12:00:17,768 - INFO - Deleting interface with subnet_id 6e2e6b46-8055-46b0-a6a3-414b29e81986, port_id None from router 8aa7af0f-38c5-4fc9-8c6b-ef8bd7e9b865 2025-10-21 12:00:17,874 - INFO - Deleting interface with subnet_id 6b6256f7-a367-4b58-b2a9-0fa33a8bef4c, port_id None from router 8aa7af0f-38c5-4fc9-8c6b-ef8bd7e9b865 2025-10-21 12:00:18,037 - INFO - Deleting VM ctest-vn2-vm1-02918563 2025-10-21 12:00:18,115 - INFO - Deleting VM ctest-vn1-vm1-79164357 2025-10-21 12:00:18,190 - INFO - Deleting VN ctest-vn2-16616149 2025-10-21 12:00:18,225 - DEBUG - VN 46b9573d-6f24-4e14-ad5c-fa4756b0cc7e still in use: Unable to complete operation on network 46b9573d-6f24-4e14-ad5c-fa4756b0cc7e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e07fbec9-95dc-4c6d-9a02-b3335b7a90c8'] 2025-10-21 12:00:18,225 - WARNING - Deleting VN ctest-vn2-16616149 failed..Will retry 2025-10-21 12:00:20,326 - DEBUG - Response for deleting network () 2025-10-21 12:00:20,326 - INFO - Deleting VN ctest-vn1-25119701 2025-10-21 12:00:20,426 - DEBUG - Response for deleting network () 2025-10-21 12:00:20,680 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 12:00:20,680 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-10-21 12:00:20,680 - INFO - -------------------------------------------------------------------------------- 2025-10-21 12:00:21,379 - INFO - Deleted project: ctest-TestRouters-53066235, ID : 163a4bc7-0ee8-44e0-ba5a-673db6b163db