2026-06-05 11:58:38,503 - INFO - Domain Default found not creating 2026-06-05 11:58:38,700 - INFO - Project ctest-TestRouters-47427675 not found, creating it 2026-06-05 11:58:39,277 - INFO - Created Project:ctest-TestRouters-47427675, ID : c99d6f74-dd8e-4efd-a6d7-c0a4bd8c9399 2026-06-05 11:58:41,007 - INFO - ================================================================================ 2026-06-05 11:58:41,007 - INFO - STARTING TEST : test_basic_router_behavior 2026-06-05 11:58:41,007 - 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-06-05 11:58:42,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.200': '0', '10.20.0.192': '0'}, '10.0.0.141': {'10.20.0.192': '0', '10.20.0.200': '0'}} with 2026-06-05 11:58:42,342 - INFO - Initial checks done. Running the testcase now 2026-06-05 11:58:42,345 - INFO - 2026-06-05 11:58:43,583 - DEBUG - Response for create_network : {'network': {'id': '932be4d0-9a5f-405f-a4d6-e2a4beb8fd5d', 'name': 'ctest-vn1-02969712', 'tenant_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399', 'project_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47427675', 'ctest-vn1-02969712'], 'port_security_enabled': True, 'description': ''}} 2026-06-05 11:58:44,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a595da91-86a8-4826-a905-154740b607cc', 'name': '', 'tenant_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399', 'network_id': '932be4d0-9a5f-405f-a4d6-e2a4beb8fd5d', 'ip_version': 4, 'cidr': '159.117.111.192/26', 'allocation_pools': [{'start': '159.117.111.194', 'end': '159.117.111.254'}], 'gateway_ip': '159.117.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.117.111.194', 'tags': [], 'project_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399'}} 2026-06-05 11:58:44,160 - INFO - Created VN ctest-vn1-02969712 2026-06-05 11:58:44,175 - DEBUG - VN ctest-vn1-02969712 UUID is 932be4d0-9a5f-405f-a4d6-e2a4beb8fd5d 2026-06-05 11:58:44,595 - DEBUG - Response for create_network : {'network': {'id': 'a1d90d90-1578-4fc0-88b7-fa087acecd08', 'name': 'ctest-vn2-40721085', 'tenant_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399', 'project_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47427675', 'ctest-vn2-40721085'], 'port_security_enabled': True, 'description': ''}} 2026-06-05 11:58:44,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5a7ffc5-7d36-4fb2-8d4c-7849c1280804', 'name': '', 'tenant_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399', 'network_id': 'a1d90d90-1578-4fc0-88b7-fa087acecd08', 'ip_version': 4, 'cidr': '120.23.66.64/26', 'allocation_pools': [{'start': '120.23.66.66', 'end': '120.23.66.126'}], 'gateway_ip': '120.23.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.23.66.66', 'tags': [], 'project_id': 'c99d6f74dd8e4efda6d7c0a4bd8c9399'}} 2026-06-05 11:58:44,957 - INFO - Created VN ctest-vn2-40721085 2026-06-05 11:58:44,971 - DEBUG - VN ctest-vn2-40721085 UUID is a1d90d90-1578-4fc0-88b7-fa087acecd08 2026-06-05 11:58:45,117 - DEBUG - Services list from nova: [, , , ] 2026-06-05 11:58:46,291 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5895-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5895-1) 2026-06-05 11:58:47,779 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5895-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5895-2) 2026-06-05 11:58:47,941 - INFO - Adding interface with subnet_id a595da91-86a8-4826-a905-154740b607cc, port_id None to router 5969497b-2b9d-4600-a776-3d9acb613656 2026-06-05 11:58:48,413 - INFO - Waiting for VM ctest-vn1-vm1-22395122 to be up.. 2026-06-05 11:58:48,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-05 11:58:53,731 - DEBUG - VM is in ACTIVE state now 2026-06-05 11:58:53,732 - INFO - VM name : ctest-vn1-vm1-22395122 2026-06-05 11:58:53,838 - DEBUG - VM ctest-vn1-vm1-22395122 ID is 19df8f31-43fb-4ece-9f30-25f2baf9cb7d 2026-06-05 11:58:53,878 - DEBUG - VM ctest-vn1-vm1-22395122 launched on Node an-jenkins-deploy-platform-ansible-os-5895-1 2026-06-05 11:58:53,989 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/19df8f31-43fb-4ece-9f30-25f2baf9cb7d 2026-06-05 11:58:54,311 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/19df8f31-43fb-4ece-9f30-25f2baf9cb7d 2026-06-05 11:58:54,355 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/7003fc20-0d82-4488-a7ce-ba4ac82c5027 2026-06-05 11:58:57,533 - 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 1015ms') 2026-06-05 11:58:57,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22395122 failed! 2026-06-05 11:58:57,547 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-47427675:ctest-vn1-02969712 is 159.117.111.193 and allocation pool is NOT set 2026-06-05 11:58:59,608 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 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 = 1.309/2.435/3.561/1.126 ms') 2026-06-05 11:58:59,608 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22395122 passed 2026-06-05 11:58:59,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:58:59,684 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22395122, IP 159.117.111.195, Port 22 2026-06-05 11:58:59,750 - 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-06-05 11:58:59,862 - DEBUG - VM ctest-vn1-vm1-22395122 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-05 11:59:04,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:59:04,863 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22395122, IP 159.117.111.195, Port 22 2026-06-05 11:59:05,024 - DEBUG - VM ctest-vn1-vm1-22395122 is ready for SSH connections 2026-06-05 11:59:05,024 - INFO - Waiting for VM ctest-vn2-vm1-63370708 to be up.. 2026-06-05 11:59:05,129 - DEBUG - VM is in ACTIVE state now 2026-06-05 11:59:05,129 - INFO - VM name : ctest-vn2-vm1-63370708 2026-06-05 11:59:05,231 - DEBUG - VM ctest-vn2-vm1-63370708 ID is c43df2b1-f423-4fd2-a0fa-d85083af2f32 2026-06-05 11:59:05,231 - DEBUG - VM ctest-vn2-vm1-63370708 launched on Node an-jenkins-deploy-platform-ansible-os-5895-2 2026-06-05 11:59:05,319 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c43df2b1-f423-4fd2-a0fa-d85083af2f32 2026-06-05 11:59:05,331 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/0f4995e1-9066-48f9-b6e8-6564e406cc6f 2026-06-05 11:59:06,528 - 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=9.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 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 = 1.730/5.810/9.890/4.080 ms') 2026-06-05 11:59:06,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-63370708 passed 2026-06-05 11:59:06,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:59:06,601 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63370708, IP 120.23.66.67, Port 22 2026-06-05 11:59:06,692 - 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-06-05 11:59:06,798 - DEBUG - VM ctest-vn2-vm1-63370708 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-05 11:59:11,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:59:11,798 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63370708, IP 120.23.66.67, Port 22 2026-06-05 11:59:11,989 - DEBUG - VM ctest-vn2-vm1-63370708 is ready for SSH connections 2026-06-05 11:59:11,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:59:11,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.23.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-05 11:59:11,990 - DEBUG - ping -s 56 -c 3 -W 1 120.23.66.67 2026-06-05 11:59:16,011 - DEBUG - PING 120.23.66.67 (120.23.66.67): 56 data bytes --- 120.23.66.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-05 11:59:16,011 - WARNING - Ping to IP 120.23.66.67 from VM ctest-vn1-vm1-22395122 failed 2026-06-05 11:59:16,011 - INFO - Adding interface with subnet_id c5a7ffc5-7d36-4fb2-8d4c-7849c1280804, port_id None to router 5969497b-2b9d-4600-a776-3d9acb613656 2026-06-05 11:59:16,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:59:16,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.23.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-05 11:59:16,628 - DEBUG - ping -s 56 -c 3 -W 1 120.23.66.67 2026-06-05 11:59:19,844 - DEBUG - PING 120.23.66.67 (120.23.66.67): 56 data bytes 64 bytes from 120.23.66.67: seq=1 ttl=63 time=6.008 ms 64 bytes from 120.23.66.67: seq=2 ttl=63 time=1.705 ms --- 120.23.66.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.705/3.856/6.008 ms 2026-06-05 11:59:19,844 - WARNING - Ping to IP 120.23.66.67 from VM ctest-vn1-vm1-22395122 failed 2026-06-05 11:59:20,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.23.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-05 11:59:20,844 - DEBUG - ping -s 56 -c 3 -W 1 120.23.66.67 2026-06-05 11:59:23,044 - DEBUG - PING 120.23.66.67 (120.23.66.67): 56 data bytes 64 bytes from 120.23.66.67: seq=0 ttl=63 time=4.642 ms 64 bytes from 120.23.66.67: seq=1 ttl=63 time=1.557 ms 64 bytes from 120.23.66.67: seq=2 ttl=63 time=1.682 ms --- 120.23.66.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.557/2.627/4.642 ms 2026-06-05 11:59:23,044 - INFO - Ping to IP 120.23.66.67 from VM ctest-vn1-vm1-22395122 passed 2026-06-05 11:59:23,045 - INFO - Deleting interface with subnet_id a595da91-86a8-4826-a905-154740b607cc, port_id None from router 5969497b-2b9d-4600-a776-3d9acb613656 2026-06-05 11:59:23,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:59:23,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.23.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-05 11:59:23,353 - DEBUG - ping -s 56 -c 3 -W 1 120.23.66.67 2026-06-05 11:59:26,549 - DEBUG - PING 120.23.66.67 (120.23.66.67): 56 data bytes --- 120.23.66.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-05 11:59:26,549 - WARNING - Ping to IP 120.23.66.67 from VM ctest-vn1-vm1-22395122 failed 2026-06-05 11:59:26,549 - INFO - Adding interface with subnet_id a595da91-86a8-4826-a905-154740b607cc, port_id None to router 5969497b-2b9d-4600-a776-3d9acb613656 2026-06-05 11:59:27,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:59:27,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.23.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-05 11:59:27,033 - DEBUG - ping -s 56 -c 3 -W 1 120.23.66.67 2026-06-05 11:59:29,236 - DEBUG - PING 120.23.66.67 (120.23.66.67): 56 data bytes 64 bytes from 120.23.66.67: seq=0 ttl=63 time=3.671 ms 64 bytes from 120.23.66.67: seq=1 ttl=63 time=1.563 ms 64 bytes from 120.23.66.67: seq=2 ttl=63 time=1.482 ms --- 120.23.66.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.482/2.238/3.671 ms 2026-06-05 11:59:29,236 - INFO - Ping to IP 120.23.66.67 from VM ctest-vn1-vm1-22395122 passed 2026-06-05 11:59:29,236 - INFO - Deleting interface with subnet_id c5a7ffc5-7d36-4fb2-8d4c-7849c1280804, port_id None from router 5969497b-2b9d-4600-a776-3d9acb613656 2026-06-05 11:59:29,533 - INFO - Deleting interface with subnet_id a595da91-86a8-4826-a905-154740b607cc, port_id None from router 5969497b-2b9d-4600-a776-3d9acb613656 2026-06-05 11:59:29,931 - INFO - Deleting VM ctest-vn2-vm1-63370708 2026-06-05 11:59:30,035 - INFO - Deleting VM ctest-vn1-vm1-22395122 2026-06-05 11:59:30,114 - INFO - Deleting VN ctest-vn2-40721085 2026-06-05 11:59:30,165 - DEBUG - VN a1d90d90-1578-4fc0-88b7-fa087acecd08 still in use: Unable to complete operation on network a1d90d90-1578-4fc0-88b7-fa087acecd08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-101535bd-8fe4-427c-9890-b9ccc1efd35c'] 2026-06-05 11:59:30,165 - WARNING - Deleting VN ctest-vn2-40721085 failed..Will retry 2026-06-05 11:59:32,371 - DEBUG - Response for deleting network () 2026-06-05 11:59:32,371 - INFO - Deleting VN ctest-vn1-02969712 2026-06-05 11:59:32,608 - DEBUG - Response for deleting network () 2026-06-05 11:59:33,893 - DEBUG - No XMPP flaps were noticed during the test
2026-06-05 11:59:33,893 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:52]
2026-06-05 11:59:33,893 - INFO - -------------------------------------------------------------------------------- 2026-06-05 11:59:34,663 - INFO - Deleted project: ctest-TestRouters-47427675, ID : c99d6f74-dd8e-4efd-a6d7-c0a4bd8c9399