2026-09-16 15:33:45,098 - INFO - Domain Default found not creating 2026-09-16 15:33:45,263 - INFO - Project ctest-TestRouters-10297743 not found, creating it 2026-09-16 15:33:45,749 - INFO - Created Project:ctest-TestRouters-10297743, ID : e0f4c490-34b5-41be-8e9d-44d1bad02842 2026-09-16 15:33:47,297 - INFO - ================================================================================ 2026-09-16 15:33:47,297 - INFO - STARTING TEST : test_basic_router_behavior 2026-09-16 15:33:47,297 - 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-09-16 15:33:47,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-09-16 15:33:47,566 - INFO - Initial checks done. Running the testcase now 2026-09-16 15:33:47,566 - INFO - 2026-09-16 15:33:48,169 - DEBUG - Response for create_network : {'network': {'id': 'c161fa86-bb3d-4efa-8e5e-3f45ab8b4c6c', 'name': 'ctest-vn1-28459904', 'tenant_id': 'e0f4c49034b541be8e9d44d1bad02842', 'project_id': 'e0f4c49034b541be8e9d44d1bad02842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10297743', 'ctest-vn1-28459904'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 15:33:48,334 - DEBUG - Response for create_subnet : {'subnet': {'id': '04f42d9a-42bf-4c65-9a64-f3a7a4d9b153', 'name': '', 'tenant_id': 'e0f4c49034b541be8e9d44d1bad02842', 'network_id': 'c161fa86-bb3d-4efa-8e5e-3f45ab8b4c6c', 'ip_version': 4, 'cidr': '63.210.145.64/26', 'allocation_pools': [{'start': '63.210.145.66', 'end': '63.210.145.126'}], 'gateway_ip': '63.210.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.210.145.66', 'tags': [], 'project_id': 'e0f4c49034b541be8e9d44d1bad02842'}} 2026-09-16 15:33:48,351 - INFO - Created VN ctest-vn1-28459904 2026-09-16 15:33:48,404 - DEBUG - VN ctest-vn1-28459904 UUID is c161fa86-bb3d-4efa-8e5e-3f45ab8b4c6c 2026-09-16 15:33:48,696 - DEBUG - Response for create_network : {'network': {'id': '2815f38d-22d0-4cea-9128-ab4e780c3323', 'name': 'ctest-vn2-29776332', 'tenant_id': 'e0f4c49034b541be8e9d44d1bad02842', 'project_id': 'e0f4c49034b541be8e9d44d1bad02842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10297743', 'ctest-vn2-29776332'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 15:33:48,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c2286e1-7fbc-42a4-9740-426fa74598a1', 'name': '', 'tenant_id': 'e0f4c49034b541be8e9d44d1bad02842', 'network_id': '2815f38d-22d0-4cea-9128-ab4e780c3323', 'ip_version': 4, 'cidr': '41.153.6.64/26', 'allocation_pools': [{'start': '41.153.6.66', 'end': '41.153.6.126'}], 'gateway_ip': '41.153.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.153.6.66', 'tags': [], 'project_id': 'e0f4c49034b541be8e9d44d1bad02842'}} 2026-09-16 15:33:48,924 - INFO - Created VN ctest-vn2-29776332 2026-09-16 15:33:48,976 - DEBUG - VN ctest-vn2-29776332 UUID is 2815f38d-22d0-4cea-9128-ab4e780c3323 2026-09-16 15:33:49,218 - DEBUG - Services list from nova: [, , ] 2026-09-16 15:33:49,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6295-1) 2026-09-16 15:33:50,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6295-1) 2026-09-16 15:33:50,264 - INFO - Adding interface with subnet_id 04f42d9a-42bf-4c65-9a64-f3a7a4d9b153, port_id None to router 430b0259-8ad7-4d0d-a3b1-227eb4f66522 2026-09-16 15:33:50,526 - INFO - Waiting for VM ctest-vn1-vm1-14483569 to be up.. 2026-09-16 15:33:50,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:33:55,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:34:00,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:34:05,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:34:10,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:34:15,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:34:21,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:34:26,169 - DEBUG - VM is in ACTIVE state now 2026-09-16 15:34:26,169 - INFO - VM name : ctest-vn1-vm1-14483569 2026-09-16 15:34:26,252 - DEBUG - VM ctest-vn1-vm1-14483569 ID is 561f857e-38f2-4481-8d92-85ec4ef4af89 2026-09-16 15:34:26,274 - DEBUG - VM ctest-vn1-vm1-14483569 launched on Node cn-jenkins-deploy-platform-ansible-os-6295-1 2026-09-16 15:34:26,352 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/561f857e-38f2-4481-8d92-85ec4ef4af89 2026-09-16 15:34:26,682 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/561f857e-38f2-4481-8d92-85ec4ef4af89 2026-09-16 15:34:26,716 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/14cb266c-a540-42f9-888f-c250ba5c2bda 2026-09-16 15:34:29,985 - 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 1022ms') 2026-09-16 15:34:29,985 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14483569 failed! 2026-09-16 15:34:30,040 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10297743:ctest-vn1-28459904 is 63.210.145.65 and allocation pool is NOT set 2026-09-16 15:34:32,101 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/1.909/3.239/1.329 ms') 2026-09-16 15:34:32,101 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14483569 passed 2026-09-16 15:34:32,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:34:32,252 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14483569, IP 63.210.145.67, Port 22 2026-09-16 15:34:32,417 - DEBUG - VM ctest-vn1-vm1-14483569 is ready for SSH connections 2026-09-16 15:34:32,417 - INFO - Waiting for VM ctest-vn2-vm1-88271013 to be up.. 2026-09-16 15:34:32,492 - DEBUG - VM is in ACTIVE state now 2026-09-16 15:34:32,492 - INFO - VM name : ctest-vn2-vm1-88271013 2026-09-16 15:34:32,566 - DEBUG - VM ctest-vn2-vm1-88271013 ID is 16e936fe-3545-4939-be07-bfc5e7931784 2026-09-16 15:34:32,566 - DEBUG - VM ctest-vn2-vm1-88271013 launched on Node cn-jenkins-deploy-platform-ansible-os-6295-1 2026-09-16 15:34:32,640 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/16e936fe-3545-4939-be07-bfc5e7931784 2026-09-16 15:34:32,648 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/a244fc3c-fa90-4939-a7a9-93eb869c8628 2026-09-16 15:34:35,900 - 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=2 ttl=63 time=13.0 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 13.021/13.021/13.021/0.000 ms') 2026-09-16 15:34:35,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-88271013 passed 2026-09-16 15:34:36,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:34:36,048 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88271013, IP 41.153.6.67, Port 22 2026-09-16 15:34:36,114 - 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-09-16 15:34:36,193 - DEBUG - VM ctest-vn2-vm1-88271013 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-16 15:34:41,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:34:41,194 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88271013, IP 41.153.6.67, Port 22 2026-09-16 15:34:41,360 - DEBUG - VM ctest-vn2-vm1-88271013 is ready for SSH connections 2026-09-16 15:34:41,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:34:41,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.153.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-16 15:34:41,360 - DEBUG - ping -s 56 -c 3 -W 1 41.153.6.67 2026-09-16 15:34:46,333 - DEBUG - PING 41.153.6.67 (41.153.6.67): 56 data bytes --- 41.153.6.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-09-16 15:34:46,333 - WARNING - Ping to IP 41.153.6.67 from VM ctest-vn1-vm1-14483569 failed 2026-09-16 15:34:46,333 - INFO - Adding interface with subnet_id 9c2286e1-7fbc-42a4-9740-426fa74598a1, port_id None to router 430b0259-8ad7-4d0d-a3b1-227eb4f66522 2026-09-16 15:34:46,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:34:46,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.153.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-16 15:34:46,608 - DEBUG - ping -s 56 -c 3 -W 1 41.153.6.67 2026-09-16 15:34:49,728 - DEBUG - PING 41.153.6.67 (41.153.6.67): 56 data bytes 64 bytes from 41.153.6.67: seq=1 ttl=63 time=3.149 ms 64 bytes from 41.153.6.67: seq=2 ttl=63 time=1.103 ms --- 41.153.6.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.103/2.126/3.149 ms 2026-09-16 15:34:49,728 - WARNING - Ping to IP 41.153.6.67 from VM ctest-vn1-vm1-14483569 failed 2026-09-16 15:34:50,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.153.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-16 15:34:50,729 - DEBUG - ping -s 56 -c 3 -W 1 41.153.6.67 2026-09-16 15:34:52,854 - DEBUG - PING 41.153.6.67 (41.153.6.67): 56 data bytes 64 bytes from 41.153.6.67: seq=0 ttl=63 time=1.740 ms 64 bytes from 41.153.6.67: seq=1 ttl=63 time=1.127 ms 64 bytes from 41.153.6.67: seq=2 ttl=63 time=1.174 ms --- 41.153.6.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.127/1.347/1.740 ms 2026-09-16 15:34:52,854 - INFO - Ping to IP 41.153.6.67 from VM ctest-vn1-vm1-14483569 passed 2026-09-16 15:34:52,854 - INFO - Deleting interface with subnet_id 04f42d9a-42bf-4c65-9a64-f3a7a4d9b153, port_id None from router 430b0259-8ad7-4d0d-a3b1-227eb4f66522 2026-09-16 15:34:52,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:34:52,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.153.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-16 15:34:52,981 - DEBUG - ping -s 56 -c 3 -W 1 41.153.6.67 2026-09-16 15:34:56,102 - DEBUG - PING 41.153.6.67 (41.153.6.67): 56 data bytes --- 41.153.6.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-09-16 15:34:56,102 - WARNING - Ping to IP 41.153.6.67 from VM ctest-vn1-vm1-14483569 failed 2026-09-16 15:34:56,102 - INFO - Adding interface with subnet_id 04f42d9a-42bf-4c65-9a64-f3a7a4d9b153, port_id None to router 430b0259-8ad7-4d0d-a3b1-227eb4f66522 2026-09-16 15:34:56,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:34:56,348 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.153.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-16 15:34:56,349 - DEBUG - ping -s 56 -c 3 -W 1 41.153.6.67 2026-09-16 15:34:58,482 - DEBUG - PING 41.153.6.67 (41.153.6.67): 56 data bytes 64 bytes from 41.153.6.67: seq=0 ttl=63 time=1.684 ms 64 bytes from 41.153.6.67: seq=1 ttl=63 time=1.265 ms 64 bytes from 41.153.6.67: seq=2 ttl=63 time=0.951 ms --- 41.153.6.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.300/1.684 ms 2026-09-16 15:34:58,483 - INFO - Ping to IP 41.153.6.67 from VM ctest-vn1-vm1-14483569 passed 2026-09-16 15:34:58,483 - INFO - Deleting interface with subnet_id 9c2286e1-7fbc-42a4-9740-426fa74598a1, port_id None from router 430b0259-8ad7-4d0d-a3b1-227eb4f66522 2026-09-16 15:34:58,615 - INFO - Deleting interface with subnet_id 04f42d9a-42bf-4c65-9a64-f3a7a4d9b153, port_id None from router 430b0259-8ad7-4d0d-a3b1-227eb4f66522 2026-09-16 15:34:58,818 - INFO - Deleting VM ctest-vn2-vm1-88271013 2026-09-16 15:34:58,896 - INFO - Deleting VM ctest-vn1-vm1-14483569 2026-09-16 15:34:58,965 - INFO - Deleting VN ctest-vn2-29776332 2026-09-16 15:34:58,999 - DEBUG - VN 2815f38d-22d0-4cea-9128-ab4e780c3323 still in use: Unable to complete operation on network 2815f38d-22d0-4cea-9128-ab4e780c3323. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-946f0330-1770-402c-a5f7-b2587dde4eea'] 2026-09-16 15:34:59,000 - WARNING - Deleting VN ctest-vn2-29776332 failed..Will retry 2026-09-16 15:35:01,163 - DEBUG - Response for deleting network () 2026-09-16 15:35:01,163 - INFO - Deleting VN ctest-vn1-28459904 2026-09-16 15:35:01,299 - DEBUG - Response for deleting network () 2026-09-16 15:35:01,570 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 15:35:01,570 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:14]
2026-09-16 15:35:01,570 - INFO - -------------------------------------------------------------------------------- 2026-09-16 15:35:02,323 - INFO - Deleted project: ctest-TestRouters-10297743, ID : e0f4c490-34b5-41be-8e9d-44d1bad02842