2026-03-24 08:43:33,095 - INFO - Domain Default found not creating 2026-03-24 08:43:33,267 - INFO - Project ctest-TestRouters-27571306 not found, creating it 2026-03-24 08:43:33,790 - INFO - Created Project:ctest-TestRouters-27571306, ID : 0c313b78-5dda-41e5-a2ea-4202522ae47d 2026-03-24 08:43:35,405 - INFO - ================================================================================ 2026-03-24 08:43:35,405 - INFO - STARTING TEST : test_basic_router_behavior 2026-03-24 08:43:35,406 - 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-03-24 08:43:35,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-03-24 08:43:35,665 - INFO - Initial checks done. Running the testcase now 2026-03-24 08:43:35,665 - INFO - 2026-03-24 08:43:36,272 - DEBUG - Response for create_network : {'network': {'id': '24b2d431-4986-49d3-8a36-fa5ed1aeaf29', 'name': 'ctest-vn1-10888068', 'tenant_id': '0c313b785dda41e5a2ea4202522ae47d', 'project_id': '0c313b785dda41e5a2ea4202522ae47d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27571306', 'ctest-vn1-10888068'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 08:43:36,528 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b58bcb6-f762-4275-bc0e-6066af76e00b', 'name': '', 'tenant_id': '0c313b785dda41e5a2ea4202522ae47d', 'network_id': '24b2d431-4986-49d3-8a36-fa5ed1aeaf29', 'ip_version': 4, 'cidr': '19.87.99.0/26', 'allocation_pools': [{'start': '19.87.99.2', 'end': '19.87.99.62'}], 'gateway_ip': '19.87.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.87.99.2', 'tags': [], 'project_id': '0c313b785dda41e5a2ea4202522ae47d'}} 2026-03-24 08:43:36,549 - INFO - Created VN ctest-vn1-10888068 2026-03-24 08:43:36,603 - DEBUG - VN ctest-vn1-10888068 UUID is 24b2d431-4986-49d3-8a36-fa5ed1aeaf29 2026-03-24 08:43:36,916 - DEBUG - Response for create_network : {'network': {'id': '5ce68060-2b28-4f2c-bbfd-8ae7793f57f7', 'name': 'ctest-vn2-01646737', 'tenant_id': '0c313b785dda41e5a2ea4202522ae47d', 'project_id': '0c313b785dda41e5a2ea4202522ae47d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27571306', 'ctest-vn2-01646737'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 08:43:37,152 - DEBUG - Response for create_subnet : {'subnet': {'id': '56c3b654-cd73-4c93-b65c-63e8a46f2003', 'name': '', 'tenant_id': '0c313b785dda41e5a2ea4202522ae47d', 'network_id': '5ce68060-2b28-4f2c-bbfd-8ae7793f57f7', 'ip_version': 4, 'cidr': '176.228.6.128/26', 'allocation_pools': [{'start': '176.228.6.130', 'end': '176.228.6.190'}], 'gateway_ip': '176.228.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.228.6.130', 'tags': [], 'project_id': '0c313b785dda41e5a2ea4202522ae47d'}} 2026-03-24 08:43:37,170 - INFO - Created VN ctest-vn2-01646737 2026-03-24 08:43:37,224 - DEBUG - VN ctest-vn2-01646737 UUID is 5ce68060-2b28-4f2c-bbfd-8ae7793f57f7 2026-03-24 08:43:37,422 - DEBUG - Services list from nova: [, , ] 2026-03-24 08:43:38,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5525-1) 2026-03-24 08:43:39,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5525-1) 2026-03-24 08:43:39,902 - INFO - Adding interface with subnet_id 4b58bcb6-f762-4275-bc0e-6066af76e00b, port_id None to router f7d3ab7d-b135-46dd-af7e-1917a4a2d93d 2026-03-24 08:43:40,194 - INFO - Waiting for VM ctest-vn1-vm1-41382706 to be up.. 2026-03-24 08:43:40,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-24 08:43:45,374 - DEBUG - VM is in ACTIVE state now 2026-03-24 08:43:45,374 - INFO - VM name : ctest-vn1-vm1-41382706 2026-03-24 08:43:45,449 - DEBUG - VM ctest-vn1-vm1-41382706 ID is 8301a7c8-9172-4265-b71b-63c0d2fc0b60 2026-03-24 08:43:45,469 - DEBUG - VM ctest-vn1-vm1-41382706 launched on Node cn-jenkins-deploy-platform-ansible-os-5525-1 2026-03-24 08:43:45,543 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8301a7c8-9172-4265-b71b-63c0d2fc0b60 2026-03-24 08:43:45,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8301a7c8-9172-4265-b71b-63c0d2fc0b60 2026-03-24 08:43:45,893 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0cabcddc-fc4f-4456-895b-79848cd2f212 2026-03-24 08:43:49,169 - 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=2 ttl=63 time=6.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 6.885/6.885/6.885/0.000 ms') 2026-03-24 08:43:49,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41382706 passed 2026-03-24 08:43:49,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:43:49,372 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41382706, IP 19.87.99.3, Port 22 2026-03-24 08:43:49,452 - 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': ''} 2026-03-24 08:43:49,585 - DEBUG - VM ctest-vn1-vm1-41382706 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-24 08:43:54,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:43:54,586 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41382706, IP 19.87.99.3, Port 22 2026-03-24 08:43:54,756 - DEBUG - VM ctest-vn1-vm1-41382706 is ready for SSH connections 2026-03-24 08:43:54,757 - INFO - Waiting for VM ctest-vn2-vm1-74672906 to be up.. 2026-03-24 08:43:54,847 - DEBUG - VM is in ACTIVE state now 2026-03-24 08:43:54,847 - INFO - VM name : ctest-vn2-vm1-74672906 2026-03-24 08:43:54,925 - DEBUG - VM ctest-vn2-vm1-74672906 ID is 62d6f284-c939-48be-b9ff-9ef53c9e5f05 2026-03-24 08:43:54,925 - DEBUG - VM ctest-vn2-vm1-74672906 launched on Node cn-jenkins-deploy-platform-ansible-os-5525-1 2026-03-24 08:43:55,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/62d6f284-c939-48be-b9ff-9ef53c9e5f05 2026-03-24 08:43:55,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30a65a9a-acd4-4ae8-a048-d358e631a871 2026-03-24 08:43:56,274 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/2.349/4.177/1.828 ms') 2026-03-24 08:43:56,275 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74672906 passed 2026-03-24 08:43:56,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:43:56,424 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74672906, IP 176.228.6.131, Port 22 2026-03-24 08:43:56,606 - DEBUG - VM ctest-vn2-vm1-74672906 is ready for SSH connections 2026-03-24 08:43:56,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:43:56,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.228.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 08:43:56,606 - DEBUG - ping -s 56 -c 3 -W 1 176.228.6.131 2026-03-24 08:44:01,590 - DEBUG - PING 176.228.6.131 (176.228.6.131): 56 data bytes --- 176.228.6.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 08:44:01,590 - WARNING - Ping to IP 176.228.6.131 from VM ctest-vn1-vm1-41382706 failed 2026-03-24 08:44:01,590 - INFO - Adding interface with subnet_id 56c3b654-cd73-4c93-b65c-63e8a46f2003, port_id None to router f7d3ab7d-b135-46dd-af7e-1917a4a2d93d 2026-03-24 08:44:01,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:44:01,858 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.228.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 08:44:01,858 - DEBUG - ping -s 56 -c 3 -W 1 176.228.6.131 2026-03-24 08:44:04,987 - DEBUG - PING 176.228.6.131 (176.228.6.131): 56 data bytes 64 bytes from 176.228.6.131: seq=1 ttl=63 time=2.879 ms 64 bytes from 176.228.6.131: seq=2 ttl=63 time=0.942 ms --- 176.228.6.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.942/1.910/2.879 ms 2026-03-24 08:44:04,988 - WARNING - Ping to IP 176.228.6.131 from VM ctest-vn1-vm1-41382706 failed 2026-03-24 08:44:05,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.228.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 08:44:05,989 - DEBUG - ping -s 56 -c 3 -W 1 176.228.6.131 2026-03-24 08:44:08,114 - DEBUG - PING 176.228.6.131 (176.228.6.131): 56 data bytes 64 bytes from 176.228.6.131: seq=0 ttl=63 time=1.326 ms 64 bytes from 176.228.6.131: seq=1 ttl=63 time=0.834 ms 64 bytes from 176.228.6.131: seq=2 ttl=63 time=1.280 ms --- 176.228.6.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.146/1.326 ms 2026-03-24 08:44:08,114 - INFO - Ping to IP 176.228.6.131 from VM ctest-vn1-vm1-41382706 passed 2026-03-24 08:44:08,114 - INFO - Deleting interface with subnet_id 4b58bcb6-f762-4275-bc0e-6066af76e00b, port_id None from router f7d3ab7d-b135-46dd-af7e-1917a4a2d93d 2026-03-24 08:44:08,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:44:08,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.228.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 08:44:08,264 - DEBUG - ping -s 56 -c 3 -W 1 176.228.6.131 2026-03-24 08:44:11,391 - DEBUG - PING 176.228.6.131 (176.228.6.131): 56 data bytes --- 176.228.6.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 08:44:11,392 - WARNING - Ping to IP 176.228.6.131 from VM ctest-vn1-vm1-41382706 failed 2026-03-24 08:44:11,392 - INFO - Adding interface with subnet_id 4b58bcb6-f762-4275-bc0e-6066af76e00b, port_id None to router f7d3ab7d-b135-46dd-af7e-1917a4a2d93d 2026-03-24 08:44:11,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:44:11,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.228.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 08:44:11,644 - DEBUG - ping -s 56 -c 3 -W 1 176.228.6.131 2026-03-24 08:44:13,779 - DEBUG - PING 176.228.6.131 (176.228.6.131): 56 data bytes 64 bytes from 176.228.6.131: seq=0 ttl=63 time=1.707 ms 64 bytes from 176.228.6.131: seq=1 ttl=63 time=1.088 ms 64 bytes from 176.228.6.131: seq=2 ttl=63 time=0.930 ms --- 176.228.6.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/1.241/1.707 ms 2026-03-24 08:44:13,780 - INFO - Ping to IP 176.228.6.131 from VM ctest-vn1-vm1-41382706 passed 2026-03-24 08:44:13,780 - INFO - Deleting interface with subnet_id 56c3b654-cd73-4c93-b65c-63e8a46f2003, port_id None from router f7d3ab7d-b135-46dd-af7e-1917a4a2d93d 2026-03-24 08:44:13,901 - INFO - Deleting interface with subnet_id 4b58bcb6-f762-4275-bc0e-6066af76e00b, port_id None from router f7d3ab7d-b135-46dd-af7e-1917a4a2d93d 2026-03-24 08:44:14,071 - INFO - Deleting VM ctest-vn2-vm1-74672906 2026-03-24 08:44:14,153 - INFO - Deleting VM ctest-vn1-vm1-41382706 2026-03-24 08:44:14,251 - INFO - Deleting VN ctest-vn2-01646737 2026-03-24 08:44:14,300 - DEBUG - VN 5ce68060-2b28-4f2c-bbfd-8ae7793f57f7 still in use: Unable to complete operation on network 5ce68060-2b28-4f2c-bbfd-8ae7793f57f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35c4773f-43af-498c-b2a4-9858d1cddf08'] 2026-03-24 08:44:14,300 - WARNING - Deleting VN ctest-vn2-01646737 failed..Will retry 2026-03-24 08:44:16,404 - DEBUG - Response for deleting network () 2026-03-24 08:44:16,404 - INFO - Deleting VN ctest-vn1-10888068 2026-03-24 08:44:16,514 - DEBUG - Response for deleting network () 2026-03-24 08:44:16,775 - DEBUG - No XMPP flaps were noticed during the test
2026-03-24 08:44:16,775 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41]
2026-03-24 08:44:16,775 - INFO - -------------------------------------------------------------------------------- 2026-03-24 08:44:17,506 - INFO - Deleted project: ctest-TestRouters-27571306, ID : 0c313b78-5dda-41e5-a2ea-4202522ae47d