2025-08-20 09:16:05,647 - INFO - Domain Default found not creating 2025-08-20 09:16:05,790 - INFO - Project ctest-TestRouters-34426358 not found, creating it 2025-08-20 09:16:06,274 - INFO - Created Project:ctest-TestRouters-34426358, ID : e5a4def7-661c-4acf-967b-94d159c68bd2 2025-08-20 09:16:07,826 - INFO - ================================================================================ 2025-08-20 09:16:07,826 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-20 09:16:07,826 - 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-20 09:16:08,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-08-20 09:16:08,081 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:16:08,081 - INFO - 2025-08-20 09:16:08,683 - DEBUG - Response for create_network : {'network': {'id': 'e1f7515e-4e3a-45cb-b433-7aec072f388f', 'name': 'ctest-vn1-55057337', 'tenant_id': 'e5a4def7661c4acf967b94d159c68bd2', 'project_id': 'e5a4def7661c4acf967b94d159c68bd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34426358', 'ctest-vn1-55057337'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:16:08,852 - DEBUG - Response for create_subnet : {'subnet': {'id': '51730808-e059-4655-8e62-0a2358fc7a3e', 'name': '', 'tenant_id': 'e5a4def7661c4acf967b94d159c68bd2', 'network_id': 'e1f7515e-4e3a-45cb-b433-7aec072f388f', 'ip_version': 4, 'cidr': '198.31.253.192/26', 'allocation_pools': [{'start': '198.31.253.194', 'end': '198.31.253.254'}], 'gateway_ip': '198.31.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.31.253.194', 'tags': [], 'project_id': 'e5a4def7661c4acf967b94d159c68bd2'}} 2025-08-20 09:16:08,870 - INFO - Created VN ctest-vn1-55057337 2025-08-20 09:16:08,923 - DEBUG - VN ctest-vn1-55057337 UUID is e1f7515e-4e3a-45cb-b433-7aec072f388f 2025-08-20 09:16:09,263 - DEBUG - Response for create_network : {'network': {'id': '151e083d-0d49-4949-acc2-37ad6876a645', 'name': 'ctest-vn2-36283681', 'tenant_id': 'e5a4def7661c4acf967b94d159c68bd2', 'project_id': 'e5a4def7661c4acf967b94d159c68bd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34426358', 'ctest-vn2-36283681'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:16:09,449 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f85c92b0-d338-4fbe-a1bc-bf7cd9b61379', 'name': '', 'tenant_id': 'e5a4def7661c4acf967b94d159c68bd2', 'network_id': '151e083d-0d49-4949-acc2-37ad6876a645', 'ip_version': 4, 'cidr': '19.235.24.64/26', 'allocation_pools': [{'start': '19.235.24.66', 'end': '19.235.24.126'}], 'gateway_ip': '19.235.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.235.24.66', 'tags': [], 'project_id': 'e5a4def7661c4acf967b94d159c68bd2'}} 2025-08-20 09:16:09,467 - INFO - Created VN ctest-vn2-36283681 2025-08-20 09:16:09,519 - DEBUG - VN ctest-vn2-36283681 UUID is 151e083d-0d49-4949-acc2-37ad6876a645 2025-08-20 09:16:09,692 - DEBUG - Services list from nova: [, , ] 2025-08-20 09:16:10,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1) 2025-08-20 09:16:12,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1) 2025-08-20 09:16:12,214 - INFO - Adding interface with subnet_id 51730808-e059-4655-8e62-0a2358fc7a3e, port_id None to router e71c7ca4-312a-4f9e-9b5e-7fc39491e2e7 2025-08-20 09:16:12,512 - INFO - Waiting for VM ctest-vn1-vm1-00502729 to be up.. 2025-08-20 09:16:12,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 09:16:17,670 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:16:17,670 - INFO - VM name : ctest-vn1-vm1-00502729 2025-08-20 09:16:17,741 - DEBUG - VM ctest-vn1-vm1-00502729 ID is 3198b9cb-0926-47c5-baa2-ffb0ca17c4e0 2025-08-20 09:16:17,759 - DEBUG - VM ctest-vn1-vm1-00502729 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1 2025-08-20 09:16:17,828 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3198b9cb-0926-47c5-baa2-ffb0ca17c4e0 2025-08-20 09:16:18,158 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3198b9cb-0926-47c5-baa2-ffb0ca17c4e0 2025-08-20 09:16:18,188 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d7a050db-2f8c-4151-a647-394d7471b143 2025-08-20 09:16:21,461 - 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 1034ms') 2025-08-20 09:16:21,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00502729 failed! 2025-08-20 09:16:21,515 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34426358:ctest-vn1-55057337 is 198.31.253.193 and allocation pool is NOT set 2025-08-20 09:16:23,574 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/2.101/3.754/1.653 ms') 2025-08-20 09:16:23,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00502729 passed 2025-08-20 09:16:23,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:16:23,731 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00502729, IP 198.31.253.195, Port 22 2025-08-20 09:16:23,901 - DEBUG - VM ctest-vn1-vm1-00502729 is ready for SSH connections 2025-08-20 09:16:23,901 - INFO - Waiting for VM ctest-vn2-vm1-27512628 to be up.. 2025-08-20 09:16:23,975 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:16:23,975 - INFO - VM name : ctest-vn2-vm1-27512628 2025-08-20 09:16:24,050 - DEBUG - VM ctest-vn2-vm1-27512628 ID is f68a7042-bf80-4567-b2d5-fb3f3c259116 2025-08-20 09:16:24,051 - DEBUG - VM ctest-vn2-vm1-27512628 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1 2025-08-20 09:16:24,118 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f68a7042-bf80-4567-b2d5-fb3f3c259116 2025-08-20 09:16:24,126 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f9f50fdd-dc46-49eb-afc0-bb4943d14377 2025-08-20 09:16:25,363 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.750/3.057/1.306 ms') 2025-08-20 09:16:25,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-27512628 passed 2025-08-20 09:16:25,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:16:25,519 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-27512628, IP 19.235.24.67, Port 22 2025-08-20 09:16:25,674 - DEBUG - VM ctest-vn2-vm1-27512628 is ready for SSH connections 2025-08-20 09:16:25,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:16:25,675 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.235.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-20 09:16:25,675 - DEBUG - ping -s 56 -c 3 -W 1 19.235.24.67 2025-08-20 09:16:30,333 - DEBUG - PING 19.235.24.67 (19.235.24.67): 56 data bytes --- 19.235.24.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 09:16:30,334 - WARNING - Ping to IP 19.235.24.67 from VM ctest-vn1-vm1-00502729 failed 2025-08-20 09:16:30,334 - INFO - Adding interface with subnet_id f85c92b0-d338-4fbe-a1bc-bf7cd9b61379, port_id None to router e71c7ca4-312a-4f9e-9b5e-7fc39491e2e7 2025-08-20 09:16:30,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:16:30,595 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.235.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-20 09:16:30,595 - DEBUG - ping -s 56 -c 3 -W 1 19.235.24.67 2025-08-20 09:16:32,809 - DEBUG - PING 19.235.24.67 (19.235.24.67): 56 data bytes 64 bytes from 19.235.24.67: seq=0 ttl=63 time=2.450 ms 64 bytes from 19.235.24.67: seq=1 ttl=63 time=0.881 ms 64 bytes from 19.235.24.67: seq=2 ttl=63 time=0.782 ms --- 19.235.24.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.371/2.450 ms 2025-08-20 09:16:32,809 - INFO - Ping to IP 19.235.24.67 from VM ctest-vn1-vm1-00502729 passed 2025-08-20 09:16:32,809 - INFO - Deleting interface with subnet_id 51730808-e059-4655-8e62-0a2358fc7a3e, port_id None from router e71c7ca4-312a-4f9e-9b5e-7fc39491e2e7 2025-08-20 09:16:32,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:16:32,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.235.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-20 09:16:32,937 - DEBUG - ping -s 56 -c 3 -W 1 19.235.24.67 2025-08-20 09:16:36,147 - DEBUG - PING 19.235.24.67 (19.235.24.67): 56 data bytes --- 19.235.24.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 09:16:36,147 - WARNING - Ping to IP 19.235.24.67 from VM ctest-vn1-vm1-00502729 failed 2025-08-20 09:16:36,147 - INFO - Adding interface with subnet_id 51730808-e059-4655-8e62-0a2358fc7a3e, port_id None to router e71c7ca4-312a-4f9e-9b5e-7fc39491e2e7 2025-08-20 09:16:36,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:16:36,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.235.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-20 09:16:36,389 - DEBUG - ping -s 56 -c 3 -W 1 19.235.24.67 2025-08-20 09:16:38,612 - DEBUG - PING 19.235.24.67 (19.235.24.67): 56 data bytes 64 bytes from 19.235.24.67: seq=0 ttl=63 time=1.292 ms 64 bytes from 19.235.24.67: seq=1 ttl=63 time=0.870 ms 64 bytes from 19.235.24.67: seq=2 ttl=63 time=0.882 ms --- 19.235.24.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/1.014/1.292 ms 2025-08-20 09:16:38,613 - INFO - Ping to IP 19.235.24.67 from VM ctest-vn1-vm1-00502729 passed 2025-08-20 09:16:38,613 - INFO - Deleting interface with subnet_id f85c92b0-d338-4fbe-a1bc-bf7cd9b61379, port_id None from router e71c7ca4-312a-4f9e-9b5e-7fc39491e2e7 2025-08-20 09:16:38,753 - INFO - Deleting interface with subnet_id 51730808-e059-4655-8e62-0a2358fc7a3e, port_id None from router e71c7ca4-312a-4f9e-9b5e-7fc39491e2e7 2025-08-20 09:16:38,935 - INFO - Deleting VM ctest-vn2-vm1-27512628 2025-08-20 09:16:39,006 - INFO - Deleting VM ctest-vn1-vm1-00502729 2025-08-20 09:16:39,083 - INFO - Deleting VN ctest-vn2-36283681 2025-08-20 09:16:39,125 - DEBUG - VN 151e083d-0d49-4949-acc2-37ad6876a645 still in use: Unable to complete operation on network 151e083d-0d49-4949-acc2-37ad6876a645. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e26ecb1-115e-41d8-9a93-8fb352195717'] 2025-08-20 09:16:39,125 - WARNING - Deleting VN ctest-vn2-36283681 failed..Will retry 2025-08-20 09:16:41,240 - DEBUG - Response for deleting network () 2025-08-20 09:16:41,240 - INFO - Deleting VN ctest-vn1-55057337 2025-08-20 09:16:41,341 - DEBUG - Response for deleting network () 2025-08-20 09:16:41,597 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 09:16:41,597 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34] 2025-08-20 09:16:41,597 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:16:42,325 - INFO - Deleted project: ctest-TestRouters-34426358, ID : e5a4def7-661c-4acf-967b-94d159c68bd2