2026-07-29 18:11:45,524 - INFO - Domain Default found not creating 2026-07-29 18:11:45,734 - INFO - Project ctest-TestRouters-54886207 not found, creating it 2026-07-29 18:11:46,325 - INFO - Created Project:ctest-TestRouters-54886207, ID : af497c93-f055-4d0c-ab6a-b173a3116213 2026-07-29 18:11:48,219 - INFO - ================================================================================ 2026-07-29 18:11:48,219 - INFO - STARTING TEST : test_basic_router_behavior 2026-07-29 18:11:48,219 - 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-07-29 18:11:48,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-29 18:11:48,501 - INFO - Initial checks done. Running the testcase now 2026-07-29 18:11:48,501 - INFO - 2026-07-29 18:11:49,212 - DEBUG - Response for create_network : {'network': {'id': '002ee78c-2b4d-4bf7-a20f-1fbfb3bc2dee', 'name': 'ctest-vn1-23384882', 'tenant_id': 'af497c93f0554d0cab6ab173a3116213', 'project_id': 'af497c93f0554d0cab6ab173a3116213', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54886207', 'ctest-vn1-23384882'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 18:11:49,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '65db6c66-0e61-412b-aecf-e8e2331fc9df', 'name': '', 'tenant_id': 'af497c93f0554d0cab6ab173a3116213', 'network_id': '002ee78c-2b4d-4bf7-a20f-1fbfb3bc2dee', 'ip_version': 4, 'cidr': '156.198.195.0/26', 'allocation_pools': [{'start': '156.198.195.2', 'end': '156.198.195.62'}], 'gateway_ip': '156.198.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.198.195.2', 'tags': [], 'project_id': 'af497c93f0554d0cab6ab173a3116213'}} 2026-07-29 18:11:49,460 - INFO - Created VN ctest-vn1-23384882 2026-07-29 18:11:49,519 - DEBUG - VN ctest-vn1-23384882 UUID is 002ee78c-2b4d-4bf7-a20f-1fbfb3bc2dee 2026-07-29 18:11:49,870 - DEBUG - Response for create_network : {'network': {'id': '97aa3c66-1a9a-465f-bcd1-bab8a2c7aab9', 'name': 'ctest-vn2-00691570', 'tenant_id': 'af497c93f0554d0cab6ab173a3116213', 'project_id': 'af497c93f0554d0cab6ab173a3116213', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54886207', 'ctest-vn2-00691570'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 18:11:50,078 - DEBUG - Response for create_subnet : {'subnet': {'id': '13a0f5fb-b910-4c00-80ac-7b222a234f5a', 'name': '', 'tenant_id': 'af497c93f0554d0cab6ab173a3116213', 'network_id': '97aa3c66-1a9a-465f-bcd1-bab8a2c7aab9', 'ip_version': 4, 'cidr': '123.251.116.128/26', 'allocation_pools': [{'start': '123.251.116.130', 'end': '123.251.116.190'}], 'gateway_ip': '123.251.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.251.116.130', 'tags': [], 'project_id': 'af497c93f0554d0cab6ab173a3116213'}} 2026-07-29 18:11:50,098 - INFO - Created VN ctest-vn2-00691570 2026-07-29 18:11:50,151 - DEBUG - VN ctest-vn2-00691570 UUID is 97aa3c66-1a9a-465f-bcd1-bab8a2c7aab9 2026-07-29 18:11:50,455 - DEBUG - Services list from nova: [, , ] 2026-07-29 18:11:51,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6121-1) 2026-07-29 18:11:51,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6121-1) 2026-07-29 18:11:51,888 - INFO - Adding interface with subnet_id 65db6c66-0e61-412b-aecf-e8e2331fc9df, port_id None to router cbd83888-b1ea-4ede-b8aa-ad3ff5705a0e 2026-07-29 18:11:52,275 - INFO - Waiting for VM ctest-vn1-vm1-05358358 to be up.. 2026-07-29 18:11:52,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:11:57,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:12:02,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:12:07,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:12:12,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:12:17,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:12:22,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:12:28,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 18:12:33,147 - DEBUG - VM is in ACTIVE state now 2026-07-29 18:12:33,147 - INFO - VM name : ctest-vn1-vm1-05358358 2026-07-29 18:12:33,244 - DEBUG - VM ctest-vn1-vm1-05358358 ID is f1bfb19d-85f6-4a72-9d86-b94905755776 2026-07-29 18:12:33,275 - DEBUG - VM ctest-vn1-vm1-05358358 launched on Node cn-jenkins-deploy-platform-ansible-os-6121-1 2026-07-29 18:12:33,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1bfb19d-85f6-4a72-9d86-b94905755776 2026-07-29 18:12:33,766 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1bfb19d-85f6-4a72-9d86-b94905755776 2026-07-29 18:12:33,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c70093d3-0725-4c41-9138-cb04a06f1cc5 2026-07-29 18:12:37,088 - 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 1003ms') 2026-07-29 18:12:37,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05358358 failed! 2026-07-29 18:12:37,147 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-54886207:ctest-vn1-23384882 is 156.198.195.1 and allocation pool is NOT set 2026-07-29 18:12:39,221 - 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=18.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.749 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.749/9.575/18.401/8.826 ms') 2026-07-29 18:12:39,221 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05358358 passed 2026-07-29 18:12:39,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 18:12:39,375 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05358358, IP 156.198.195.3, Port 22 2026-07-29 18:12:39,445 - 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-07-29 18:12:39,543 - DEBUG - VM ctest-vn1-vm1-05358358 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-29 18:12:44,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 18:12:44,544 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05358358, IP 156.198.195.3, Port 22 2026-07-29 18:12:44,722 - DEBUG - VM ctest-vn1-vm1-05358358 is ready for SSH connections 2026-07-29 18:12:44,722 - INFO - Waiting for VM ctest-vn2-vm1-84520445 to be up.. 2026-07-29 18:12:44,823 - DEBUG - VM is in ACTIVE state now 2026-07-29 18:12:44,823 - INFO - VM name : ctest-vn2-vm1-84520445 2026-07-29 18:12:44,914 - DEBUG - VM ctest-vn2-vm1-84520445 ID is 87697178-86a1-463e-8b63-e6fa26b360e0 2026-07-29 18:12:44,914 - DEBUG - VM ctest-vn2-vm1-84520445 launched on Node cn-jenkins-deploy-platform-ansible-os-6121-1 2026-07-29 18:12:45,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/87697178-86a1-463e-8b63-e6fa26b360e0 2026-07-29 18:12:45,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5de167e4-ceed-4dbb-9d66-ca5528a39fff 2026-07-29 18:12:46,282 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.587 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.587/2.298/4.010/1.711 ms') 2026-07-29 18:12:46,282 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84520445 passed 2026-07-29 18:12:46,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 18:12:46,439 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84520445, IP 123.251.116.131, Port 22 2026-07-29 18:12:46,609 - DEBUG - VM ctest-vn2-vm1-84520445 is ready for SSH connections 2026-07-29 18:12:46,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 18:12:46,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.251.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-29 18:12:46,609 - DEBUG - ping -s 56 -c 3 -W 1 123.251.116.131 2026-07-29 18:12:51,849 - DEBUG - PING 123.251.116.131 (123.251.116.131): 56 data bytes --- 123.251.116.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-29 18:12:51,849 - WARNING - Ping to IP 123.251.116.131 from VM ctest-vn1-vm1-05358358 failed 2026-07-29 18:12:51,849 - INFO - Adding interface with subnet_id 13a0f5fb-b910-4c00-80ac-7b222a234f5a, port_id None to router cbd83888-b1ea-4ede-b8aa-ad3ff5705a0e 2026-07-29 18:12:52,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 18:12:52,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.251.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-29 18:12:52,269 - DEBUG - ping -s 56 -c 3 -W 1 123.251.116.131 2026-07-29 18:12:55,464 - DEBUG - PING 123.251.116.131 (123.251.116.131): 56 data bytes 64 bytes from 123.251.116.131: seq=1 ttl=63 time=3.654 ms 64 bytes from 123.251.116.131: seq=2 ttl=63 time=1.889 ms --- 123.251.116.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.889/2.771/3.654 ms 2026-07-29 18:12:55,464 - WARNING - Ping to IP 123.251.116.131 from VM ctest-vn1-vm1-05358358 failed 2026-07-29 18:12:56,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.251.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-29 18:12:56,466 - DEBUG - ping -s 56 -c 3 -W 1 123.251.116.131 2026-07-29 18:12:58,616 - DEBUG - PING 123.251.116.131 (123.251.116.131): 56 data bytes 64 bytes from 123.251.116.131: seq=0 ttl=63 time=2.798 ms 64 bytes from 123.251.116.131: seq=1 ttl=63 time=1.239 ms 64 bytes from 123.251.116.131: seq=2 ttl=63 time=1.475 ms --- 123.251.116.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.239/1.837/2.798 ms 2026-07-29 18:12:58,616 - INFO - Ping to IP 123.251.116.131 from VM ctest-vn1-vm1-05358358 passed 2026-07-29 18:12:58,616 - INFO - Deleting interface with subnet_id 65db6c66-0e61-412b-aecf-e8e2331fc9df, port_id None from router cbd83888-b1ea-4ede-b8aa-ad3ff5705a0e 2026-07-29 18:12:58,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 18:12:58,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.251.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-29 18:12:58,800 - DEBUG - ping -s 56 -c 3 -W 1 123.251.116.131 2026-07-29 18:13:01,951 - DEBUG - PING 123.251.116.131 (123.251.116.131): 56 data bytes --- 123.251.116.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-29 18:13:01,951 - WARNING - Ping to IP 123.251.116.131 from VM ctest-vn1-vm1-05358358 failed 2026-07-29 18:13:01,951 - INFO - Adding interface with subnet_id 65db6c66-0e61-412b-aecf-e8e2331fc9df, port_id None to router cbd83888-b1ea-4ede-b8aa-ad3ff5705a0e 2026-07-29 18:13:02,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 18:13:02,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.251.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-29 18:13:02,294 - DEBUG - ping -s 56 -c 3 -W 1 123.251.116.131 2026-07-29 18:13:04,468 - DEBUG - PING 123.251.116.131 (123.251.116.131): 56 data bytes 64 bytes from 123.251.116.131: seq=0 ttl=63 time=2.321 ms 64 bytes from 123.251.116.131: seq=1 ttl=63 time=1.249 ms 64 bytes from 123.251.116.131: seq=2 ttl=63 time=1.614 ms --- 123.251.116.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.249/1.728/2.321 ms 2026-07-29 18:13:04,468 - INFO - Ping to IP 123.251.116.131 from VM ctest-vn1-vm1-05358358 passed 2026-07-29 18:13:04,468 - INFO - Deleting interface with subnet_id 13a0f5fb-b910-4c00-80ac-7b222a234f5a, port_id None from router cbd83888-b1ea-4ede-b8aa-ad3ff5705a0e 2026-07-29 18:13:04,640 - INFO - Deleting interface with subnet_id 65db6c66-0e61-412b-aecf-e8e2331fc9df, port_id None from router cbd83888-b1ea-4ede-b8aa-ad3ff5705a0e 2026-07-29 18:13:04,912 - INFO - Deleting VM ctest-vn2-vm1-84520445 2026-07-29 18:13:05,018 - INFO - Deleting VM ctest-vn1-vm1-05358358 2026-07-29 18:13:05,119 - INFO - Deleting VN ctest-vn2-00691570 2026-07-29 18:13:05,162 - DEBUG - VN 97aa3c66-1a9a-465f-bcd1-bab8a2c7aab9 still in use: Unable to complete operation on network 97aa3c66-1a9a-465f-bcd1-bab8a2c7aab9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5014017c-5b9a-4b07-b8b5-b7cf83ab8958'] 2026-07-29 18:13:05,162 - WARNING - Deleting VN ctest-vn2-00691570 failed..Will retry 2026-07-29 18:13:07,217 - DEBUG - VN 97aa3c66-1a9a-465f-bcd1-bab8a2c7aab9 still in use: Unable to complete operation on network 97aa3c66-1a9a-465f-bcd1-bab8a2c7aab9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27a45c5c-aa5f-45b0-ab2e-ba56d0b11a6b'] 2026-07-29 18:13:07,217 - WARNING - Deleting VN ctest-vn2-00691570 failed..Will retry 2026-07-29 18:13:09,348 - DEBUG - Response for deleting network () 2026-07-29 18:13:09,348 - INFO - Deleting VN ctest-vn1-23384882 2026-07-29 18:13:09,511 - DEBUG - Response for deleting network () 2026-07-29 18:13:09,794 - DEBUG - No XMPP flaps were noticed during the test
2026-07-29 18:13:09,794 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:21]
2026-07-29 18:13:09,794 - INFO - -------------------------------------------------------------------------------- 2026-07-29 18:13:10,672 - INFO - Deleted project: ctest-TestRouters-54886207, ID : af497c93-f055-4d0c-ab6a-b173a3116213