2025-10-09 20:28:15,642 - INFO - Domain Default found not creating 2025-10-09 20:28:15,881 - INFO - Project ctest-TestRouters-81441689 not found, creating it 2025-10-09 20:28:16,440 - INFO - Created Project:ctest-TestRouters-81441689, ID : 2e29ab1a-b110-4f12-978d-5c4f877ab7d5 2025-10-09 20:28:18,384 - INFO - ================================================================================ 2025-10-09 20:28:18,385 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 20:28:18,385 - 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-09 20:28:18,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-09 20:28:18,699 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:28:18,699 - INFO - 2025-10-09 20:28:19,393 - DEBUG - Response for create_network : {'network': {'id': '3b1212de-0ac3-46c1-a7f1-0f1cd3d493b9', 'name': 'ctest-vn1-53201807', 'tenant_id': '2e29ab1ab1104f12978d5c4f877ab7d5', 'project_id': '2e29ab1ab1104f12978d5c4f877ab7d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81441689', 'ctest-vn1-53201807'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:28:19,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aa1d65a-ff3d-4a60-91ea-6deca78166f6', 'name': '', 'tenant_id': '2e29ab1ab1104f12978d5c4f877ab7d5', 'network_id': '3b1212de-0ac3-46c1-a7f1-0f1cd3d493b9', 'ip_version': 4, 'cidr': '119.111.164.192/26', 'allocation_pools': [{'start': '119.111.164.194', 'end': '119.111.164.254'}], 'gateway_ip': '119.111.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.111.164.194', 'tags': [], 'project_id': '2e29ab1ab1104f12978d5c4f877ab7d5'}} 2025-10-09 20:28:19,634 - INFO - Created VN ctest-vn1-53201807 2025-10-09 20:28:19,686 - DEBUG - VN ctest-vn1-53201807 UUID is 3b1212de-0ac3-46c1-a7f1-0f1cd3d493b9 2025-10-09 20:28:20,083 - DEBUG - Response for create_network : {'network': {'id': 'f153ee38-fa8c-43a7-a3f0-def00657fc23', 'name': 'ctest-vn2-83083178', 'tenant_id': '2e29ab1ab1104f12978d5c4f877ab7d5', 'project_id': '2e29ab1ab1104f12978d5c4f877ab7d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81441689', 'ctest-vn2-83083178'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:28:20,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '7346a211-23aa-48b1-b3be-417ee804c90f', 'name': '', 'tenant_id': '2e29ab1ab1104f12978d5c4f877ab7d5', 'network_id': 'f153ee38-fa8c-43a7-a3f0-def00657fc23', 'ip_version': 4, 'cidr': '44.8.221.0/26', 'allocation_pools': [{'start': '44.8.221.2', 'end': '44.8.221.62'}], 'gateway_ip': '44.8.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.8.221.2', 'tags': [], 'project_id': '2e29ab1ab1104f12978d5c4f877ab7d5'}} 2025-10-09 20:28:20,246 - INFO - Created VN ctest-vn2-83083178 2025-10-09 20:28:20,298 - DEBUG - VN ctest-vn2-83083178 UUID is f153ee38-fa8c-43a7-a3f0-def00657fc23 2025-10-09 20:28:20,482 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:28:21,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:28:23,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:28:23,117 - INFO - Adding interface with subnet_id 4aa1d65a-ff3d-4a60-91ea-6deca78166f6, port_id None to router ce270ce8-c076-4e14-8be3-f589982a84e9 2025-10-09 20:28:23,443 - INFO - Waiting for VM ctest-vn1-vm1-57559818 to be up.. 2025-10-09 20:28:23,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:28:28,667 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:28:28,667 - INFO - VM name : ctest-vn1-vm1-57559818 2025-10-09 20:28:28,799 - DEBUG - VM ctest-vn1-vm1-57559818 ID is 70e06d66-7757-4af7-85f2-cb6575fc4628 2025-10-09 20:28:28,847 - DEBUG - VM ctest-vn1-vm1-57559818 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:28:28,997 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/70e06d66-7757-4af7-85f2-cb6575fc4628 2025-10-09 20:28:29,335 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/70e06d66-7757-4af7-85f2-cb6575fc4628 2025-10-09 20:28:29,387 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a3cdb0da-4882-457c-8e67-17f50680fc17 2025-10-09 20:28:32,714 - 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 1016ms') 2025-10-09 20:28:32,714 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57559818 failed! 2025-10-09 20:28:32,774 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-81441689:ctest-vn1-53201807 is 119.111.164.193 and allocation pool is NOT set 2025-10-09 20:28:34,851 - 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=8.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.68 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 = 1.684/5.050/8.417/3.366 ms') 2025-10-09 20:28:34,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57559818 passed 2025-10-09 20:28:35,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:35,023 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57559818, IP 119.111.164.195, Port 22 2025-10-09 20:28:35,094 - 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-10-09 20:28:35,225 - DEBUG - VM ctest-vn1-vm1-57559818 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 20:28:40,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:40,226 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57559818, IP 119.111.164.195, Port 22 2025-10-09 20:28:40,429 - DEBUG - VM ctest-vn1-vm1-57559818 is ready for SSH connections 2025-10-09 20:28:40,429 - INFO - Waiting for VM ctest-vn2-vm1-79169266 to be up.. 2025-10-09 20:28:40,588 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:28:40,588 - INFO - VM name : ctest-vn2-vm1-79169266 2025-10-09 20:28:40,728 - DEBUG - VM ctest-vn2-vm1-79169266 ID is 403581c8-3892-4582-a089-e26aca9000c2 2025-10-09 20:28:40,728 - DEBUG - VM ctest-vn2-vm1-79169266 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:28:40,845 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/403581c8-3892-4582-a089-e26aca9000c2 2025-10-09 20:28:40,855 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c0257347-bc51-4f84-84ee-4ca601cde453 2025-10-09 20:28:42,135 - 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=6.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.778 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.778/3.505/6.233/2.727 ms') 2025-10-09 20:28:42,136 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-79169266 passed 2025-10-09 20:28:42,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:42,323 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-79169266, IP 44.8.221.3, Port 22 2025-10-09 20:28:42,528 - DEBUG - VM ctest-vn2-vm1-79169266 is ready for SSH connections 2025-10-09 20:28:42,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:42,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.8.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:28:42,528 - DEBUG - ping -s 56 -c 3 -W 1 44.8.221.3 2025-10-09 20:28:47,969 - DEBUG - PING 44.8.221.3 (44.8.221.3): 56 data bytes --- 44.8.221.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:28:47,969 - WARNING - Ping to IP 44.8.221.3 from VM ctest-vn1-vm1-57559818 failed 2025-10-09 20:28:47,970 - INFO - Adding interface with subnet_id 7346a211-23aa-48b1-b3be-417ee804c90f, port_id None to router ce270ce8-c076-4e14-8be3-f589982a84e9 2025-10-09 20:28:48,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:48,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.8.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:28:48,323 - DEBUG - ping -s 56 -c 3 -W 1 44.8.221.3 2025-10-09 20:28:50,660 - DEBUG - PING 44.8.221.3 (44.8.221.3): 56 data bytes 64 bytes from 44.8.221.3: seq=0 ttl=63 time=3.850 ms 64 bytes from 44.8.221.3: seq=1 ttl=63 time=2.261 ms 64 bytes from 44.8.221.3: seq=2 ttl=63 time=2.370 ms --- 44.8.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.261/2.827/3.850 ms 2025-10-09 20:28:50,660 - INFO - Ping to IP 44.8.221.3 from VM ctest-vn1-vm1-57559818 passed 2025-10-09 20:28:50,661 - INFO - Deleting interface with subnet_id 4aa1d65a-ff3d-4a60-91ea-6deca78166f6, port_id None from router ce270ce8-c076-4e14-8be3-f589982a84e9 2025-10-09 20:28:50,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:50,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.8.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:28:50,905 - DEBUG - ping -s 56 -c 3 -W 1 44.8.221.3 2025-10-09 20:28:54,149 - DEBUG - PING 44.8.221.3 (44.8.221.3): 56 data bytes --- 44.8.221.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:28:54,149 - WARNING - Ping to IP 44.8.221.3 from VM ctest-vn1-vm1-57559818 failed 2025-10-09 20:28:54,150 - INFO - Adding interface with subnet_id 4aa1d65a-ff3d-4a60-91ea-6deca78166f6, port_id None to router ce270ce8-c076-4e14-8be3-f589982a84e9 2025-10-09 20:28:54,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:54,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.8.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:28:54,533 - DEBUG - ping -s 56 -c 3 -W 1 44.8.221.3 2025-10-09 20:28:56,758 - DEBUG - PING 44.8.221.3 (44.8.221.3): 56 data bytes 64 bytes from 44.8.221.3: seq=0 ttl=63 time=1.920 ms 64 bytes from 44.8.221.3: seq=1 ttl=63 time=1.353 ms 64 bytes from 44.8.221.3: seq=2 ttl=63 time=1.418 ms --- 44.8.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.353/1.563/1.920 ms 2025-10-09 20:28:56,758 - INFO - Ping to IP 44.8.221.3 from VM ctest-vn1-vm1-57559818 passed 2025-10-09 20:28:56,758 - INFO - Deleting interface with subnet_id 7346a211-23aa-48b1-b3be-417ee804c90f, port_id None from router ce270ce8-c076-4e14-8be3-f589982a84e9 2025-10-09 20:28:56,965 - INFO - Deleting interface with subnet_id 4aa1d65a-ff3d-4a60-91ea-6deca78166f6, port_id None from router ce270ce8-c076-4e14-8be3-f589982a84e9 2025-10-09 20:28:57,187 - INFO - Deleting VM ctest-vn2-vm1-79169266 2025-10-09 20:28:57,262 - INFO - Deleting VM ctest-vn1-vm1-57559818 2025-10-09 20:28:57,339 - INFO - Deleting VN ctest-vn2-83083178 2025-10-09 20:28:57,384 - DEBUG - VN f153ee38-fa8c-43a7-a3f0-def00657fc23 still in use: Unable to complete operation on network f153ee38-fa8c-43a7-a3f0-def00657fc23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-128c9a29-67a0-4f7b-b9a0-fe9b4b5472b1'] 2025-10-09 20:28:57,384 - WARNING - Deleting VN ctest-vn2-83083178 failed..Will retry 2025-10-09 20:28:59,550 - DEBUG - Response for deleting network () 2025-10-09 20:28:59,550 - INFO - Deleting VN ctest-vn1-53201807 2025-10-09 20:28:59,681 - DEBUG - Response for deleting network () 2025-10-09 20:28:59,999 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 20:28:59,999 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41] 2025-10-09 20:28:59,999 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:29:00,749 - INFO - Deleted project: ctest-TestRouters-81441689, ID : 2e29ab1a-b110-4f12-978d-5c4f877ab7d5