2025-11-10 16:11:32,573 - INFO - Domain Default found not creating 2025-11-10 16:11:32,756 - INFO - Project ctest-TestRouters-78737929 not found, creating it 2025-11-10 16:11:33,294 - INFO - Created Project:ctest-TestRouters-78737929, ID : 1beffa4e-17e4-4908-9879-5a1d4f73271f 2025-11-10 16:11:35,105 - INFO - ================================================================================ 2025-11-10 16:11:35,105 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-10 16:11:35,105 - 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-11-10 16:11:35,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-10 16:11:35,398 - INFO - Initial checks done. Running the testcase now 2025-11-10 16:11:35,398 - INFO - 2025-11-10 16:11:36,127 - DEBUG - Response for create_network : {'network': {'id': '26fd663a-2b96-424e-b405-1f77fb5a651c', 'name': 'ctest-vn1-45299764', 'tenant_id': '1beffa4e17e4490898795a1d4f73271f', 'project_id': '1beffa4e17e4490898795a1d4f73271f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78737929', 'ctest-vn1-45299764'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 16:11:36,308 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e52811c3-5f21-4eea-a9c3-760fa231a1ea', 'name': '', 'tenant_id': '1beffa4e17e4490898795a1d4f73271f', 'network_id': '26fd663a-2b96-424e-b405-1f77fb5a651c', 'ip_version': 4, 'cidr': '151.248.27.0/26', 'allocation_pools': [{'start': '151.248.27.2', 'end': '151.248.27.62'}], 'gateway_ip': '151.248.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.248.27.2', 'tags': [], 'project_id': '1beffa4e17e4490898795a1d4f73271f'}} 2025-11-10 16:11:36,335 - INFO - Created VN ctest-vn1-45299764 2025-11-10 16:11:36,386 - DEBUG - VN ctest-vn1-45299764 UUID is 26fd663a-2b96-424e-b405-1f77fb5a651c 2025-11-10 16:11:36,801 - DEBUG - Response for create_network : {'network': {'id': 'f4bce3a9-7e9d-4f0c-931b-daffcd240eea', 'name': 'ctest-vn2-66636783', 'tenant_id': '1beffa4e17e4490898795a1d4f73271f', 'project_id': '1beffa4e17e4490898795a1d4f73271f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78737929', 'ctest-vn2-66636783'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 16:11:37,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f7ee903-2188-43c5-8a69-afe976b57c90', 'name': '', 'tenant_id': '1beffa4e17e4490898795a1d4f73271f', 'network_id': 'f4bce3a9-7e9d-4f0c-931b-daffcd240eea', 'ip_version': 4, 'cidr': '172.231.222.0/26', 'allocation_pools': [{'start': '172.231.222.2', 'end': '172.231.222.62'}], 'gateway_ip': '172.231.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.231.222.2', 'tags': [], 'project_id': '1beffa4e17e4490898795a1d4f73271f'}} 2025-11-10 16:11:37,025 - INFO - Created VN ctest-vn2-66636783 2025-11-10 16:11:37,078 - DEBUG - VN ctest-vn2-66636783 UUID is f4bce3a9-7e9d-4f0c-931b-daffcd240eea 2025-11-10 16:11:37,309 - DEBUG - Services list from nova: [, , ] 2025-11-10 16:11:38,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4681-1) 2025-11-10 16:11:40,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4681-1) 2025-11-10 16:11:40,155 - INFO - Adding interface with subnet_id e52811c3-5f21-4eea-a9c3-760fa231a1ea, port_id None to router f358618b-ab11-48b9-ad76-8c95db1b2af0 2025-11-10 16:11:40,428 - INFO - Waiting for VM ctest-vn1-vm1-58414042 to be up.. 2025-11-10 16:11:40,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 16:11:45,617 - DEBUG - VM is in ACTIVE state now 2025-11-10 16:11:45,617 - INFO - VM name : ctest-vn1-vm1-58414042 2025-11-10 16:11:45,695 - DEBUG - VM ctest-vn1-vm1-58414042 ID is 5036d7e9-d894-4f84-b715-a09dcbdcf9b1 2025-11-10 16:11:45,720 - DEBUG - VM ctest-vn1-vm1-58414042 launched on Node cn-jenkins-deploy-platform-ansible-os-4681-1 2025-11-10 16:11:45,817 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5036d7e9-d894-4f84-b715-a09dcbdcf9b1 2025-11-10 16:11:46,133 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5036d7e9-d894-4f84-b715-a09dcbdcf9b1 2025-11-10 16:11:46,174 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/696d85a0-f456-4153-a7b7-fc66584cc2e6 2025-11-10 16:11:49,467 - 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-11-10 16:11:49,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58414042 failed! 2025-11-10 16:11:49,534 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-78737929:ctest-vn1-45299764 is 151.248.27.1 and allocation pool is NOT set 2025-11-10 16:11:51,601 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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 = 2.953/3.873/4.794/0.920 ms') 2025-11-10 16:11:51,602 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58414042 passed 2025-11-10 16:11:51,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:51,767 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58414042, IP 151.248.27.3, Port 22 2025-11-10 16:11:51,837 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-10 16:11:51,991 - DEBUG - VM ctest-vn1-vm1-58414042 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 16:11:56,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:56,991 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58414042, IP 151.248.27.3, Port 22 2025-11-10 16:11:57,168 - DEBUG - VM ctest-vn1-vm1-58414042 is ready for SSH connections 2025-11-10 16:11:57,168 - INFO - Waiting for VM ctest-vn2-vm1-96385894 to be up.. 2025-11-10 16:11:57,271 - DEBUG - VM is in ACTIVE state now 2025-11-10 16:11:57,271 - INFO - VM name : ctest-vn2-vm1-96385894 2025-11-10 16:11:57,381 - DEBUG - VM ctest-vn2-vm1-96385894 ID is 7289b94c-b71f-4b38-bc06-1f1217f0d298 2025-11-10 16:11:57,382 - DEBUG - VM ctest-vn2-vm1-96385894 launched on Node cn-jenkins-deploy-platform-ansible-os-4681-1 2025-11-10 16:11:57,513 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7289b94c-b71f-4b38-bc06-1f1217f0d298 2025-11-10 16:11:57,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/70e2a3e2-2bb6-402b-9757-2748f2612bb0 2025-11-10 16:11:58,831 - 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=11.4 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.756 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.756/6.074/11.393/5.318 ms') 2025-11-10 16:11:58,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-96385894 passed 2025-11-10 16:11:59,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:59,012 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-96385894, IP 172.231.222.3, Port 22 2025-11-10 16:11:59,202 - DEBUG - VM ctest-vn2-vm1-96385894 is ready for SSH connections 2025-11-10 16:11:59,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:59,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.231.222.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-10 16:11:59,203 - DEBUG - ping -s 56 -c 3 -W 1 172.231.222.3 2025-11-10 16:12:04,591 - DEBUG - PING 172.231.222.3 (172.231.222.3): 56 data bytes --- 172.231.222.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 16:12:04,591 - WARNING - Ping to IP 172.231.222.3 from VM ctest-vn1-vm1-58414042 failed 2025-11-10 16:12:04,591 - INFO - Adding interface with subnet_id 0f7ee903-2188-43c5-8a69-afe976b57c90, port_id None to router f358618b-ab11-48b9-ad76-8c95db1b2af0 2025-11-10 16:12:04,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:12:04,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.231.222.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-10 16:12:04,934 - DEBUG - ping -s 56 -c 3 -W 1 172.231.222.3 2025-11-10 16:12:07,209 - DEBUG - PING 172.231.222.3 (172.231.222.3): 56 data bytes 64 bytes from 172.231.222.3: seq=0 ttl=63 time=3.579 ms 64 bytes from 172.231.222.3: seq=1 ttl=63 time=1.897 ms 64 bytes from 172.231.222.3: seq=2 ttl=63 time=1.574 ms --- 172.231.222.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.574/2.350/3.579 ms 2025-11-10 16:12:07,209 - INFO - Ping to IP 172.231.222.3 from VM ctest-vn1-vm1-58414042 passed 2025-11-10 16:12:07,209 - INFO - Deleting interface with subnet_id e52811c3-5f21-4eea-a9c3-760fa231a1ea, port_id None from router f358618b-ab11-48b9-ad76-8c95db1b2af0 2025-11-10 16:12:07,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:12:07,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.231.222.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-10 16:12:07,446 - DEBUG - ping -s 56 -c 3 -W 1 172.231.222.3 2025-11-10 16:12:10,728 - DEBUG - PING 172.231.222.3 (172.231.222.3): 56 data bytes --- 172.231.222.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 16:12:10,729 - WARNING - Ping to IP 172.231.222.3 from VM ctest-vn1-vm1-58414042 failed 2025-11-10 16:12:10,729 - INFO - Adding interface with subnet_id e52811c3-5f21-4eea-a9c3-760fa231a1ea, port_id None to router f358618b-ab11-48b9-ad76-8c95db1b2af0 2025-11-10 16:12:11,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:12:11,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.231.222.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-10 16:12:11,054 - DEBUG - ping -s 56 -c 3 -W 1 172.231.222.3 2025-11-10 16:12:13,328 - DEBUG - PING 172.231.222.3 (172.231.222.3): 56 data bytes 64 bytes from 172.231.222.3: seq=0 ttl=63 time=2.122 ms 64 bytes from 172.231.222.3: seq=1 ttl=63 time=1.852 ms 64 bytes from 172.231.222.3: seq=2 ttl=63 time=1.795 ms --- 172.231.222.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.795/1.923/2.122 ms 2025-11-10 16:12:13,328 - INFO - Ping to IP 172.231.222.3 from VM ctest-vn1-vm1-58414042 passed 2025-11-10 16:12:13,329 - INFO - Deleting interface with subnet_id 0f7ee903-2188-43c5-8a69-afe976b57c90, port_id None from router f358618b-ab11-48b9-ad76-8c95db1b2af0 2025-11-10 16:12:13,538 - INFO - Deleting interface with subnet_id e52811c3-5f21-4eea-a9c3-760fa231a1ea, port_id None from router f358618b-ab11-48b9-ad76-8c95db1b2af0 2025-11-10 16:12:13,734 - INFO - Deleting VM ctest-vn2-vm1-96385894 2025-11-10 16:12:13,816 - INFO - Deleting VM ctest-vn1-vm1-58414042 2025-11-10 16:12:13,908 - INFO - Deleting VN ctest-vn2-66636783 2025-11-10 16:12:13,967 - DEBUG - VN f4bce3a9-7e9d-4f0c-931b-daffcd240eea still in use: Unable to complete operation on network f4bce3a9-7e9d-4f0c-931b-daffcd240eea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dfdaf208-8b0b-4ce6-a7fe-c438b42f4984'] 2025-11-10 16:12:13,968 - WARNING - Deleting VN ctest-vn2-66636783 failed..Will retry 2025-11-10 16:12:16,184 - DEBUG - Response for deleting network () 2025-11-10 16:12:16,185 - INFO - Deleting VN ctest-vn1-45299764 2025-11-10 16:12:16,340 - DEBUG - Response for deleting network () 2025-11-10 16:12:16,618 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 16:12:16,618 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41] 2025-11-10 16:12:16,618 - INFO - -------------------------------------------------------------------------------- 2025-11-10 16:12:17,422 - INFO - Deleted project: ctest-TestRouters-78737929, ID : 1beffa4e-17e4-4908-9879-5a1d4f73271f