2026-10-23 19:53:07,134 - INFO - Domain Default found not creating 2026-10-23 19:53:07,371 - INFO - Project ctest-TestRouters-71938220 not found, creating it 2026-10-23 19:53:07,939 - INFO - Created Project:ctest-TestRouters-71938220, ID : 484b31ad-d318-4bd1-a112-5963e2273427 2026-10-23 19:53:09,990 - INFO - ================================================================================ 2026-10-23 19:53:09,990 - INFO - STARTING TEST : test_basic_router_behavior 2026-10-23 19:53:09,990 - 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-10-23 19:53:10,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-23 19:53:10,275 - INFO - Initial checks done. Running the testcase now 2026-10-23 19:53:10,275 - INFO - 2026-10-23 19:53:11,067 - DEBUG - Response for create_network : {'network': {'id': 'f45dd4df-72a1-4270-bd2a-d971944437ca', 'name': 'ctest-vn1-46795365', 'tenant_id': '484b31add3184bd1a1125963e2273427', 'project_id': '484b31add3184bd1a1125963e2273427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71938220', 'ctest-vn1-46795365'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 19:53:11,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '136928c1-15ae-428e-8303-305bc113112c', 'name': '', 'tenant_id': '484b31add3184bd1a1125963e2273427', 'network_id': 'f45dd4df-72a1-4270-bd2a-d971944437ca', 'ip_version': 4, 'cidr': '11.181.56.64/26', 'allocation_pools': [{'start': '11.181.56.66', 'end': '11.181.56.126'}], 'gateway_ip': '11.181.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.181.56.66', 'tags': [], 'project_id': '484b31add3184bd1a1125963e2273427'}} 2026-10-23 19:53:11,402 - INFO - Created VN ctest-vn1-46795365 2026-10-23 19:53:11,461 - DEBUG - VN ctest-vn1-46795365 UUID is f45dd4df-72a1-4270-bd2a-d971944437ca 2026-10-23 19:53:11,859 - DEBUG - Response for create_network : {'network': {'id': '3c690503-a189-4fb2-ab46-80d80b9cd2a7', 'name': 'ctest-vn2-44185712', 'tenant_id': '484b31add3184bd1a1125963e2273427', 'project_id': '484b31add3184bd1a1125963e2273427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71938220', 'ctest-vn2-44185712'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 19:53:12,067 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b05900df-9a5b-41fd-a1fb-1c89c15044a3', 'name': '', 'tenant_id': '484b31add3184bd1a1125963e2273427', 'network_id': '3c690503-a189-4fb2-ab46-80d80b9cd2a7', 'ip_version': 4, 'cidr': '24.18.111.192/26', 'allocation_pools': [{'start': '24.18.111.194', 'end': '24.18.111.254'}], 'gateway_ip': '24.18.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.18.111.194', 'tags': [], 'project_id': '484b31add3184bd1a1125963e2273427'}} 2026-10-23 19:53:12,094 - INFO - Created VN ctest-vn2-44185712 2026-10-23 19:53:12,149 - DEBUG - VN ctest-vn2-44185712 UUID is 3c690503-a189-4fb2-ab46-80d80b9cd2a7 2026-10-23 19:53:12,671 - DEBUG - Services list from nova: [, , ] 2026-10-23 19:53:13,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6398-1) 2026-10-23 19:53:13,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6398-1) 2026-10-23 19:53:13,873 - INFO - Adding interface with subnet_id 136928c1-15ae-428e-8303-305bc113112c, port_id None to router e82fa6da-ed43-40ac-ae58-180a4c40f9fa 2026-10-23 19:53:14,179 - INFO - Waiting for VM ctest-vn1-vm1-73824561 to be up.. 2026-10-23 19:53:14,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:19,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:24,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:29,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:34,769 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:39,925 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:45,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:50,152 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:53:55,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:54:00,351 - DEBUG - VM is in ACTIVE state now 2026-10-23 19:54:00,352 - INFO - VM name : ctest-vn1-vm1-73824561 2026-10-23 19:54:00,469 - DEBUG - VM ctest-vn1-vm1-73824561 ID is 174e2787-a08d-46bc-865d-f9bf8df02c52 2026-10-23 19:54:00,503 - DEBUG - VM ctest-vn1-vm1-73824561 launched on Node cn-jenkins-deploy-platform-ansible-os-6398-1 2026-10-23 19:54:00,616 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/174e2787-a08d-46bc-865d-f9bf8df02c52 2026-10-23 19:54:01,020 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/174e2787-a08d-46bc-865d-f9bf8df02c52 2026-10-23 19:54:01,071 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/221f1f08-a7ed-4de1-8af3-510606b2b18d 2026-10-23 19:54:04,379 - 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 1023ms') 2026-10-23 19:54:04,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73824561 failed! 2026-10-23 19:54:04,446 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71938220:ctest-vn1-46795365 is 11.181.56.65 and allocation pool is NOT set 2026-10-23 19:54:06,510 - 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=4.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.721 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.721/2.545/4.369/1.824 ms') 2026-10-23 19:54:06,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73824561 passed 2026-10-23 19:54:06,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:54:06,682 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73824561, IP 11.181.56.67, Port 22 2026-10-23 19:54:06,865 - DEBUG - VM ctest-vn1-vm1-73824561 is ready for SSH connections 2026-10-23 19:54:06,865 - INFO - Waiting for VM ctest-vn2-vm1-94372149 to be up.. 2026-10-23 19:54:06,992 - DEBUG - VM is in ACTIVE state now 2026-10-23 19:54:06,992 - INFO - VM name : ctest-vn2-vm1-94372149 2026-10-23 19:54:07,087 - DEBUG - VM ctest-vn2-vm1-94372149 ID is 23bb3197-8c57-40af-b041-93287569f3e0 2026-10-23 19:54:07,088 - DEBUG - VM ctest-vn2-vm1-94372149 launched on Node cn-jenkins-deploy-platform-ansible-os-6398-1 2026-10-23 19:54:07,195 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/23bb3197-8c57-40af-b041-93287569f3e0 2026-10-23 19:54:07,210 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/bd2c3f1c-5b7a-4130-9cd8-376ff7da67d2 2026-10-23 19:54:10,519 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms') 2026-10-23 19:54:10,520 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94372149 failed! 2026-10-23 19:54:10,586 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71938220:ctest-vn2-44185712 is 24.18.111.193 and allocation pool is NOT set 2026-10-23 19:54:12,657 - 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=22.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.46 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 = 2.457/12.333/22.209/9.876 ms') 2026-10-23 19:54:12,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94372149 passed 2026-10-23 19:54:12,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:54:12,818 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94372149, IP 24.18.111.195, Port 22 2026-10-23 19:54:12,884 - 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-10-23 19:54:13,033 - DEBUG - VM ctest-vn2-vm1-94372149 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-23 19:54:18,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:54:18,033 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94372149, IP 24.18.111.195, Port 22 2026-10-23 19:54:18,215 - DEBUG - VM ctest-vn2-vm1-94372149 is ready for SSH connections 2026-10-23 19:54:18,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:54:18,215 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.18.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-23 19:54:18,215 - DEBUG - ping -s 56 -c 3 -W 1 24.18.111.195 2026-10-23 19:54:23,509 - DEBUG - PING 24.18.111.195 (24.18.111.195): 56 data bytes --- 24.18.111.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-10-23 19:54:23,509 - WARNING - Ping to IP 24.18.111.195 from VM ctest-vn1-vm1-73824561 failed 2026-10-23 19:54:23,509 - INFO - Adding interface with subnet_id b05900df-9a5b-41fd-a1fb-1c89c15044a3, port_id None to router e82fa6da-ed43-40ac-ae58-180a4c40f9fa 2026-10-23 19:54:23,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:54:23,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.18.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-23 19:54:23,861 - DEBUG - ping -s 56 -c 3 -W 1 24.18.111.195 2026-10-23 19:54:27,045 - DEBUG - PING 24.18.111.195 (24.18.111.195): 56 data bytes 64 bytes from 24.18.111.195: seq=1 ttl=63 time=3.483 ms 64 bytes from 24.18.111.195: seq=2 ttl=63 time=1.038 ms --- 24.18.111.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.038/2.260/3.483 ms 2026-10-23 19:54:27,045 - WARNING - Ping to IP 24.18.111.195 from VM ctest-vn1-vm1-73824561 failed 2026-10-23 19:54:28,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.18.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-23 19:54:28,047 - DEBUG - ping -s 56 -c 3 -W 1 24.18.111.195 2026-10-23 19:54:30,203 - DEBUG - PING 24.18.111.195 (24.18.111.195): 56 data bytes 64 bytes from 24.18.111.195: seq=0 ttl=63 time=2.127 ms 64 bytes from 24.18.111.195: seq=1 ttl=63 time=1.244 ms 64 bytes from 24.18.111.195: seq=2 ttl=63 time=1.423 ms --- 24.18.111.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.244/1.598/2.127 ms 2026-10-23 19:54:30,203 - INFO - Ping to IP 24.18.111.195 from VM ctest-vn1-vm1-73824561 passed 2026-10-23 19:54:30,203 - INFO - Deleting interface with subnet_id 136928c1-15ae-428e-8303-305bc113112c, port_id None from router e82fa6da-ed43-40ac-ae58-180a4c40f9fa 2026-10-23 19:54:30,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:54:30,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.18.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-23 19:54:30,372 - DEBUG - ping -s 56 -c 3 -W 1 24.18.111.195 2026-10-23 19:54:33,556 - DEBUG - PING 24.18.111.195 (24.18.111.195): 56 data bytes --- 24.18.111.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-10-23 19:54:33,557 - WARNING - Ping to IP 24.18.111.195 from VM ctest-vn1-vm1-73824561 failed 2026-10-23 19:54:33,557 - INFO - Adding interface with subnet_id 136928c1-15ae-428e-8303-305bc113112c, port_id None to router e82fa6da-ed43-40ac-ae58-180a4c40f9fa 2026-10-23 19:54:33,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:54:33,916 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.18.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-23 19:54:33,916 - DEBUG - ping -s 56 -c 3 -W 1 24.18.111.195 2026-10-23 19:54:36,094 - DEBUG - PING 24.18.111.195 (24.18.111.195): 56 data bytes 64 bytes from 24.18.111.195: seq=0 ttl=63 time=1.881 ms 64 bytes from 24.18.111.195: seq=1 ttl=63 time=1.722 ms 64 bytes from 24.18.111.195: seq=2 ttl=63 time=1.117 ms --- 24.18.111.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.117/1.573/1.881 ms 2026-10-23 19:54:36,095 - INFO - Ping to IP 24.18.111.195 from VM ctest-vn1-vm1-73824561 passed 2026-10-23 19:54:36,095 - INFO - Deleting interface with subnet_id b05900df-9a5b-41fd-a1fb-1c89c15044a3, port_id None from router e82fa6da-ed43-40ac-ae58-180a4c40f9fa 2026-10-23 19:54:36,319 - INFO - Deleting interface with subnet_id 136928c1-15ae-428e-8303-305bc113112c, port_id None from router e82fa6da-ed43-40ac-ae58-180a4c40f9fa 2026-10-23 19:54:36,722 - INFO - Deleting VM ctest-vn2-vm1-94372149 2026-10-23 19:54:36,872 - INFO - Deleting VM ctest-vn1-vm1-73824561 2026-10-23 19:54:37,011 - INFO - Deleting VN ctest-vn2-44185712 2026-10-23 19:54:37,066 - DEBUG - VN 3c690503-a189-4fb2-ab46-80d80b9cd2a7 still in use: Unable to complete operation on network 3c690503-a189-4fb2-ab46-80d80b9cd2a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ee51241-4d66-4f05-8793-ef2bb3a2b00b'] 2026-10-23 19:54:37,067 - WARNING - Deleting VN ctest-vn2-44185712 failed..Will retry 2026-10-23 19:54:39,141 - DEBUG - VN 3c690503-a189-4fb2-ab46-80d80b9cd2a7 still in use: Unable to complete operation on network 3c690503-a189-4fb2-ab46-80d80b9cd2a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa8bc67c-53dd-460c-8ca6-963ff1348919'] 2026-10-23 19:54:39,141 - WARNING - Deleting VN ctest-vn2-44185712 failed..Will retry 2026-10-23 19:54:41,312 - DEBUG - Response for deleting network () 2026-10-23 19:54:41,312 - INFO - Deleting VN ctest-vn1-46795365 2026-10-23 19:54:41,505 - DEBUG - Response for deleting network () 2026-10-23 19:54:41,804 - DEBUG - No XMPP flaps were noticed during the test
2026-10-23 19:54:41,805 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:32]
2026-10-23 19:54:41,805 - INFO - -------------------------------------------------------------------------------- 2026-10-23 19:54:42,799 - INFO - Deleted project: ctest-TestRouters-71938220, ID : 484b31ad-d318-4bd1-a112-5963e2273427