2026-04-24 17:06:53,803 - INFO - Domain Default found not creating 2026-04-24 17:06:54,006 - INFO - Project ctest-TestRouters-70100271 not found, creating it 2026-04-24 17:06:54,522 - INFO - Created Project:ctest-TestRouters-70100271, ID : e0b09eb7-3b5a-4cd2-bba0-a6911428e953 2026-04-24 17:06:56,189 - INFO - ================================================================================ 2026-04-24 17:06:56,189 - INFO - STARTING TEST : test_basic_router_behavior 2026-04-24 17:06:56,190 - 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 2026-04-24 17:06:56,463 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-24 17:06:56,463 - INFO - Initial checks done. Running the testcase now 2026-04-24 17:06:56,464 - INFO - 2026-04-24 17:06:57,054 - DEBUG - Response for create_network : {'network': {'id': '71af173a-3c23-4a77-8129-ded6a9df2300', 'name': 'ctest-vn1-68777717', 'tenant_id': 'e0b09eb73b5a4cd2bba0a6911428e953', 'project_id': 'e0b09eb73b5a4cd2bba0a6911428e953', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-70100271', 'ctest-vn1-68777717'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 17:06:57,260 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1d6922f-d32c-4729-a22b-de70be64da12', 'name': '', 'tenant_id': 'e0b09eb73b5a4cd2bba0a6911428e953', 'network_id': '71af173a-3c23-4a77-8129-ded6a9df2300', 'ip_version': 4, 'cidr': '1.170.240.0/26', 'allocation_pools': [{'start': '1.170.240.2', 'end': '1.170.240.62'}], 'gateway_ip': '1.170.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.170.240.2', 'tags': [], 'project_id': 'e0b09eb73b5a4cd2bba0a6911428e953'}} 2026-04-24 17:06:57,282 - INFO - Created VN ctest-vn1-68777717 2026-04-24 17:06:57,340 - DEBUG - VN ctest-vn1-68777717 UUID is 71af173a-3c23-4a77-8129-ded6a9df2300 2026-04-24 17:06:57,682 - DEBUG - Response for create_network : {'network': {'id': '3f1a2b5b-d765-4463-ad0c-de0fa572d05a', 'name': 'ctest-vn2-42322741', 'tenant_id': 'e0b09eb73b5a4cd2bba0a6911428e953', 'project_id': 'e0b09eb73b5a4cd2bba0a6911428e953', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-70100271', 'ctest-vn2-42322741'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 17:06:57,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '448294b9-4cf5-4468-97de-28a3deb084c1', 'name': '', 'tenant_id': 'e0b09eb73b5a4cd2bba0a6911428e953', 'network_id': '3f1a2b5b-d765-4463-ad0c-de0fa572d05a', 'ip_version': 4, 'cidr': '172.124.45.0/26', 'allocation_pools': [{'start': '172.124.45.2', 'end': '172.124.45.62'}], 'gateway_ip': '172.124.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.124.45.2', 'tags': [], 'project_id': 'e0b09eb73b5a4cd2bba0a6911428e953'}} 2026-04-24 17:06:57,927 - INFO - Created VN ctest-vn2-42322741 2026-04-24 17:06:57,980 - DEBUG - VN ctest-vn2-42322741 UUID is 3f1a2b5b-d765-4463-ad0c-de0fa572d05a 2026-04-24 17:06:58,198 - DEBUG - Services list from nova: [, , ] 2026-04-24 17:06:59,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5683-1) 2026-04-24 17:07:00,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5683-1) 2026-04-24 17:07:00,700 - INFO - Adding interface with subnet_id c1d6922f-d32c-4729-a22b-de70be64da12, port_id None to router 3ad7dff6-f6b1-48e0-96d8-ccb4c336f987 2026-04-24 17:07:01,001 - INFO - Waiting for VM ctest-vn1-vm1-21066630 to be up.. 2026-04-24 17:07:01,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 17:07:06,205 - DEBUG - VM is in ACTIVE state now 2026-04-24 17:07:06,206 - INFO - VM name : ctest-vn1-vm1-21066630 2026-04-24 17:07:06,305 - DEBUG - VM ctest-vn1-vm1-21066630 ID is fb0a1917-fc1d-45b0-9786-bbc5644e0cc0 2026-04-24 17:07:06,331 - DEBUG - VM ctest-vn1-vm1-21066630 launched on Node cn-jenkins-deploy-platform-ansible-os-5683-1 2026-04-24 17:07:06,438 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fb0a1917-fc1d-45b0-9786-bbc5644e0cc0 2026-04-24 17:07:06,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fb0a1917-fc1d-45b0-9786-bbc5644e0cc0 2026-04-24 17:07:06,800 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5a2e0004-7067-4957-ba4e-0ef594225d15 2026-04-24 17:07:10,074 - 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 1028ms') 2026-04-24 17:07:10,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21066630 failed! 2026-04-24 17:07:10,132 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-70100271:ctest-vn1-68777717 is 1.170.240.1 and allocation pool is NOT set 2026-04-24 17:07:12,193 - 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=5.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.727 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.727/3.249/5.772/2.522 ms') 2026-04-24 17:07:12,193 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21066630 passed 2026-04-24 17:07:12,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:07:12,348 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21066630, IP 1.170.240.3, Port 22 2026-04-24 17:07:12,522 - DEBUG - VM ctest-vn1-vm1-21066630 is ready for SSH connections 2026-04-24 17:07:12,522 - INFO - Waiting for VM ctest-vn2-vm1-34319839 to be up.. 2026-04-24 17:07:12,612 - DEBUG - VM is in ACTIVE state now 2026-04-24 17:07:12,612 - INFO - VM name : ctest-vn2-vm1-34319839 2026-04-24 17:07:12,697 - DEBUG - VM ctest-vn2-vm1-34319839 ID is 0151c687-6575-4f07-b605-be61633a9836 2026-04-24 17:07:12,697 - DEBUG - VM ctest-vn2-vm1-34319839 launched on Node cn-jenkins-deploy-platform-ansible-os-5683-1 2026-04-24 17:07:12,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0151c687-6575-4f07-b605-be61633a9836 2026-04-24 17:07:12,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d6c9e66f-28ab-40b8-aea3-6629c5506c2b 2026-04-24 17:07:14,051 - 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=5.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 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 = 2.062/3.861/5.661/1.799 ms') 2026-04-24 17:07:14,052 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34319839 passed 2026-04-24 17:07:14,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:07:14,204 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34319839, IP 172.124.45.3, Port 22 2026-04-24 17:07:14,270 - 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': ''} 2026-04-24 17:07:14,351 - DEBUG - VM ctest-vn2-vm1-34319839 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-24 17:07:19,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:07:19,352 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34319839, IP 172.124.45.3, Port 22 2026-04-24 17:07:19,523 - DEBUG - VM ctest-vn2-vm1-34319839 is ready for SSH connections 2026-04-24 17:07:19,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:07:19,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.124.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 17:07:19,523 - DEBUG - ping -s 56 -c 3 -W 1 172.124.45.3 2026-04-24 17:07:24,621 - DEBUG - PING 172.124.45.3 (172.124.45.3): 56 data bytes --- 172.124.45.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-24 17:07:24,622 - WARNING - Ping to IP 172.124.45.3 from VM ctest-vn1-vm1-21066630 failed 2026-04-24 17:07:24,622 - INFO - Adding interface with subnet_id 448294b9-4cf5-4468-97de-28a3deb084c1, port_id None to router 3ad7dff6-f6b1-48e0-96d8-ccb4c336f987 2026-04-24 17:07:24,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:07:24,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.124.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 17:07:24,914 - DEBUG - ping -s 56 -c 3 -W 1 172.124.45.3 2026-04-24 17:07:28,141 - DEBUG - PING 172.124.45.3 (172.124.45.3): 56 data bytes 64 bytes from 172.124.45.3: seq=1 ttl=63 time=3.132 ms 64 bytes from 172.124.45.3: seq=2 ttl=63 time=0.832 ms --- 172.124.45.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.832/1.982/3.132 ms 2026-04-24 17:07:28,141 - WARNING - Ping to IP 172.124.45.3 from VM ctest-vn1-vm1-21066630 failed 2026-04-24 17:07:29,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.124.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 17:07:29,142 - DEBUG - ping -s 56 -c 3 -W 1 172.124.45.3 2026-04-24 17:07:31,368 - DEBUG - PING 172.124.45.3 (172.124.45.3): 56 data bytes 64 bytes from 172.124.45.3: seq=0 ttl=63 time=1.550 ms 64 bytes from 172.124.45.3: seq=1 ttl=63 time=0.953 ms 64 bytes from 172.124.45.3: seq=2 ttl=63 time=0.956 ms --- 172.124.45.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/1.153/1.550 ms 2026-04-24 17:07:31,368 - INFO - Ping to IP 172.124.45.3 from VM ctest-vn1-vm1-21066630 passed 2026-04-24 17:07:31,368 - INFO - Deleting interface with subnet_id c1d6922f-d32c-4729-a22b-de70be64da12, port_id None from router 3ad7dff6-f6b1-48e0-96d8-ccb4c336f987 2026-04-24 17:07:31,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:07:31,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.124.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 17:07:31,513 - DEBUG - ping -s 56 -c 3 -W 1 172.124.45.3 2026-04-24 17:07:34,729 - DEBUG - PING 172.124.45.3 (172.124.45.3): 56 data bytes --- 172.124.45.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-24 17:07:34,729 - WARNING - Ping to IP 172.124.45.3 from VM ctest-vn1-vm1-21066630 failed 2026-04-24 17:07:34,730 - INFO - Adding interface with subnet_id c1d6922f-d32c-4729-a22b-de70be64da12, port_id None to router 3ad7dff6-f6b1-48e0-96d8-ccb4c336f987 2026-04-24 17:07:34,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:07:34,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.124.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 17:07:34,967 - DEBUG - ping -s 56 -c 3 -W 1 172.124.45.3 2026-04-24 17:07:37,186 - DEBUG - PING 172.124.45.3 (172.124.45.3): 56 data bytes 64 bytes from 172.124.45.3: seq=0 ttl=63 time=1.360 ms 64 bytes from 172.124.45.3: seq=1 ttl=63 time=1.192 ms 64 bytes from 172.124.45.3: seq=2 ttl=63 time=0.889 ms --- 172.124.45.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.147/1.360 ms 2026-04-24 17:07:37,186 - INFO - Ping to IP 172.124.45.3 from VM ctest-vn1-vm1-21066630 passed 2026-04-24 17:07:37,186 - INFO - Deleting interface with subnet_id 448294b9-4cf5-4468-97de-28a3deb084c1, port_id None from router 3ad7dff6-f6b1-48e0-96d8-ccb4c336f987 2026-04-24 17:07:37,315 - INFO - Deleting interface with subnet_id c1d6922f-d32c-4729-a22b-de70be64da12, port_id None from router 3ad7dff6-f6b1-48e0-96d8-ccb4c336f987 2026-04-24 17:07:37,525 - INFO - Deleting VM ctest-vn2-vm1-34319839 2026-04-24 17:07:37,611 - INFO - Deleting VM ctest-vn1-vm1-21066630 2026-04-24 17:07:37,696 - INFO - Deleting VN ctest-vn2-42322741 2026-04-24 17:07:37,740 - DEBUG - VN 3f1a2b5b-d765-4463-ad0c-de0fa572d05a still in use: Unable to complete operation on network 3f1a2b5b-d765-4463-ad0c-de0fa572d05a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e9fb048-dd8e-4c53-8ea3-df1221a12d95'] 2026-04-24 17:07:37,740 - WARNING - Deleting VN ctest-vn2-42322741 failed..Will retry 2026-04-24 17:07:39,852 - DEBUG - Response for deleting network () 2026-04-24 17:07:39,852 - INFO - Deleting VN ctest-vn1-68777717 2026-04-24 17:07:39,958 - DEBUG - Response for deleting network () 2026-04-24 17:07:40,222 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 17:07:40,222 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2026-04-24 17:07:40,222 - INFO - -------------------------------------------------------------------------------- 2026-04-24 17:07:40,945 - INFO - Deleted project: ctest-TestRouters-70100271, ID : e0b09eb7-3b5a-4cd2-bba0-a6911428e953