2025-12-29 02:23:33,800 - INFO - Domain Default found not creating 2025-12-29 02:23:33,975 - INFO - Project ctest-TestRouters-03993040 not found, creating it 2025-12-29 02:23:34,465 - INFO - Created Project:ctest-TestRouters-03993040, ID : 8ba18ca1-1b37-40ff-bb7e-c5233bbd3b99 2025-12-29 02:23:35,966 - INFO - ================================================================================ 2025-12-29 02:23:35,967 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-29 02:23:35,967 - 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-12-29 02:23:36,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.249': '0'}} with 2025-12-29 02:23:36,228 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:23:36,228 - INFO - 2025-12-29 02:23:36,829 - DEBUG - Response for create_network : {'network': {'id': '5350b92b-f1c3-4a85-af66-a14853176e83', 'name': 'ctest-vn1-11293787', 'tenant_id': '8ba18ca11b3740ffbb7ec5233bbd3b99', 'project_id': '8ba18ca11b3740ffbb7ec5233bbd3b99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03993040', 'ctest-vn1-11293787'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:23:37,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e1ba3ad-8412-40da-8df2-c2bf9f86139d', 'name': '', 'tenant_id': '8ba18ca11b3740ffbb7ec5233bbd3b99', 'network_id': '5350b92b-f1c3-4a85-af66-a14853176e83', 'ip_version': 4, 'cidr': '154.3.81.192/26', 'allocation_pools': [{'start': '154.3.81.194', 'end': '154.3.81.254'}], 'gateway_ip': '154.3.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.3.81.194', 'tags': [], 'project_id': '8ba18ca11b3740ffbb7ec5233bbd3b99'}} 2025-12-29 02:23:37,035 - INFO - Created VN ctest-vn1-11293787 2025-12-29 02:23:37,093 - DEBUG - VN ctest-vn1-11293787 UUID is 5350b92b-f1c3-4a85-af66-a14853176e83 2025-12-29 02:23:37,466 - DEBUG - Response for create_network : {'network': {'id': '93150622-c0ef-4dd5-9f29-b0ee2dc734e6', 'name': 'ctest-vn2-11477795', 'tenant_id': '8ba18ca11b3740ffbb7ec5233bbd3b99', 'project_id': '8ba18ca11b3740ffbb7ec5233bbd3b99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03993040', 'ctest-vn2-11477795'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:23:37,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '253d5805-6fd1-4feb-8c81-17296b1bdc34', 'name': '', 'tenant_id': '8ba18ca11b3740ffbb7ec5233bbd3b99', 'network_id': '93150622-c0ef-4dd5-9f29-b0ee2dc734e6', 'ip_version': 4, 'cidr': '199.11.14.192/26', 'allocation_pools': [{'start': '199.11.14.194', 'end': '199.11.14.254'}], 'gateway_ip': '199.11.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.11.14.194', 'tags': [], 'project_id': '8ba18ca11b3740ffbb7ec5233bbd3b99'}} 2025-12-29 02:23:37,712 - INFO - Created VN ctest-vn2-11477795 2025-12-29 02:23:37,769 - DEBUG - VN ctest-vn2-11477795 UUID is 93150622-c0ef-4dd5-9f29-b0ee2dc734e6 2025-12-29 02:23:37,977 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:23:39,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4933-1) 2025-12-29 02:23:40,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4933-1) 2025-12-29 02:23:40,295 - INFO - Adding interface with subnet_id 3e1ba3ad-8412-40da-8df2-c2bf9f86139d, port_id None to router 762430ae-ac56-47bd-9989-bbcfc2770cf5 2025-12-29 02:23:40,564 - INFO - Waiting for VM ctest-vn1-vm1-10006899 to be up.. 2025-12-29 02:23:40,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:23:45,746 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:23:45,746 - INFO - VM name : ctest-vn1-vm1-10006899 2025-12-29 02:23:45,813 - DEBUG - VM ctest-vn1-vm1-10006899 ID is 7bc90046-2517-4ad5-8a35-165b7d807555 2025-12-29 02:23:45,830 - DEBUG - VM ctest-vn1-vm1-10006899 launched on Node cn-jenkins-deploy-platform-ansible-os-4933-1 2025-12-29 02:23:45,918 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/7bc90046-2517-4ad5-8a35-165b7d807555 2025-12-29 02:23:46,211 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/7bc90046-2517-4ad5-8a35-165b7d807555 2025-12-29 02:23:46,240 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/926be9ed-6919-4b24-81d7-d4eaab0e6fc7 2025-12-29 02:23:49,477 - 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 1007ms') 2025-12-29 02:23:49,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10006899 failed! 2025-12-29 02:23:49,533 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-03993040:ctest-vn1-11293787 is 154.3.81.193 and allocation pool is NOT set 2025-12-29 02:23:51,594 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.907/3.368/1.460 ms') 2025-12-29 02:23:51,594 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10006899 passed 2025-12-29 02:23:51,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:23:51,741 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10006899, IP 154.3.81.195, Port 22 2025-12-29 02:23:51,897 - DEBUG - VM ctest-vn1-vm1-10006899 is ready for SSH connections 2025-12-29 02:23:51,897 - INFO - Waiting for VM ctest-vn2-vm1-05791222 to be up.. 2025-12-29 02:23:51,982 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:23:51,983 - INFO - VM name : ctest-vn2-vm1-05791222 2025-12-29 02:23:52,060 - DEBUG - VM ctest-vn2-vm1-05791222 ID is 17a83cdb-e269-4b20-b842-7d3ca8cc2f59 2025-12-29 02:23:52,060 - DEBUG - VM ctest-vn2-vm1-05791222 launched on Node cn-jenkins-deploy-platform-ansible-os-4933-1 2025-12-29 02:23:52,133 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/17a83cdb-e269-4b20-b842-7d3ca8cc2f59 2025-12-29 02:23:52,140 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/493b8f62-8bbd-4788-8547-25cf884f7bf5 2025-12-29 02:23:53,375 - 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=4.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.76 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 = 1.757/3.070/4.383/1.313 ms') 2025-12-29 02:23:53,376 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-05791222 passed 2025-12-29 02:23:53,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:23:53,525 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05791222, IP 199.11.14.195, Port 22 2025-12-29 02:23:53,580 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-29 02:23:53,647 - DEBUG - VM ctest-vn2-vm1-05791222 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-29 02:23:58,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:23:58,648 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05791222, IP 199.11.14.195, Port 22 2025-12-29 02:23:58,822 - DEBUG - VM ctest-vn2-vm1-05791222 is ready for SSH connections 2025-12-29 02:23:58,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:23:58,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.11.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:23:58,822 - DEBUG - ping -s 56 -c 3 -W 1 199.11.14.195 2025-12-29 02:24:03,806 - DEBUG - PING 199.11.14.195 (199.11.14.195): 56 data bytes --- 199.11.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 02:24:03,806 - WARNING - Ping to IP 199.11.14.195 from VM ctest-vn1-vm1-10006899 failed 2025-12-29 02:24:03,806 - INFO - Adding interface with subnet_id 253d5805-6fd1-4feb-8c81-17296b1bdc34, port_id None to router 762430ae-ac56-47bd-9989-bbcfc2770cf5 2025-12-29 02:24:04,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:04,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.11.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:24:04,150 - DEBUG - ping -s 56 -c 3 -W 1 199.11.14.195 2025-12-29 02:24:07,364 - DEBUG - PING 199.11.14.195 (199.11.14.195): 56 data bytes 64 bytes from 199.11.14.195: seq=1 ttl=63 time=3.439 ms 64 bytes from 199.11.14.195: seq=2 ttl=63 time=0.994 ms --- 199.11.14.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.994/2.216/3.439 ms 2025-12-29 02:24:07,364 - WARNING - Ping to IP 199.11.14.195 from VM ctest-vn1-vm1-10006899 failed 2025-12-29 02:24:08,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.11.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:24:08,365 - DEBUG - ping -s 56 -c 3 -W 1 199.11.14.195 2025-12-29 02:24:10,573 - DEBUG - PING 199.11.14.195 (199.11.14.195): 56 data bytes 64 bytes from 199.11.14.195: seq=0 ttl=63 time=1.544 ms 64 bytes from 199.11.14.195: seq=1 ttl=63 time=0.959 ms 64 bytes from 199.11.14.195: seq=2 ttl=63 time=1.608 ms --- 199.11.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/1.370/1.608 ms 2025-12-29 02:24:10,573 - INFO - Ping to IP 199.11.14.195 from VM ctest-vn1-vm1-10006899 passed 2025-12-29 02:24:10,573 - INFO - Deleting interface with subnet_id 3e1ba3ad-8412-40da-8df2-c2bf9f86139d, port_id None from router 762430ae-ac56-47bd-9989-bbcfc2770cf5 2025-12-29 02:24:10,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:10,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.11.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:24:10,710 - DEBUG - ping -s 56 -c 3 -W 1 199.11.14.195 2025-12-29 02:24:13,918 - DEBUG - PING 199.11.14.195 (199.11.14.195): 56 data bytes --- 199.11.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 02:24:13,918 - WARNING - Ping to IP 199.11.14.195 from VM ctest-vn1-vm1-10006899 failed 2025-12-29 02:24:13,918 - INFO - Adding interface with subnet_id 3e1ba3ad-8412-40da-8df2-c2bf9f86139d, port_id None to router 762430ae-ac56-47bd-9989-bbcfc2770cf5 2025-12-29 02:24:14,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:14,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.11.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:24:14,116 - DEBUG - ping -s 56 -c 3 -W 1 199.11.14.195 2025-12-29 02:24:16,323 - DEBUG - PING 199.11.14.195 (199.11.14.195): 56 data bytes 64 bytes from 199.11.14.195: seq=0 ttl=63 time=1.299 ms 64 bytes from 199.11.14.195: seq=1 ttl=63 time=1.047 ms 64 bytes from 199.11.14.195: seq=2 ttl=63 time=1.088 ms --- 199.11.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.047/1.144/1.299 ms 2025-12-29 02:24:16,323 - INFO - Ping to IP 199.11.14.195 from VM ctest-vn1-vm1-10006899 passed 2025-12-29 02:24:16,323 - INFO - Deleting interface with subnet_id 253d5805-6fd1-4feb-8c81-17296b1bdc34, port_id None from router 762430ae-ac56-47bd-9989-bbcfc2770cf5 2025-12-29 02:24:16,419 - INFO - Deleting interface with subnet_id 3e1ba3ad-8412-40da-8df2-c2bf9f86139d, port_id None from router 762430ae-ac56-47bd-9989-bbcfc2770cf5 2025-12-29 02:24:16,584 - INFO - Deleting VM ctest-vn2-vm1-05791222 2025-12-29 02:24:16,660 - INFO - Deleting VM ctest-vn1-vm1-10006899 2025-12-29 02:24:16,733 - INFO - Deleting VN ctest-vn2-11477795 2025-12-29 02:24:16,766 - DEBUG - VN 93150622-c0ef-4dd5-9f29-b0ee2dc734e6 still in use: Unable to complete operation on network 93150622-c0ef-4dd5-9f29-b0ee2dc734e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc1c0898-0c4f-4817-b206-ff80dae9b6c5'] 2025-12-29 02:24:16,766 - WARNING - Deleting VN ctest-vn2-11477795 failed..Will retry 2025-12-29 02:24:18,874 - DEBUG - Response for deleting network () 2025-12-29 02:24:18,875 - INFO - Deleting VN ctest-vn1-11293787 2025-12-29 02:24:18,970 - DEBUG - Response for deleting network () 2025-12-29 02:24:19,226 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 02:24:19,226 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-12-29 02:24:19,226 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:24:19,889 - INFO - Deleted project: ctest-TestRouters-03993040, ID : 8ba18ca1-1b37-40ff-bb7e-c5233bbd3b99