2026-04-27 17:48:14,499 - INFO - Domain Default found not creating 2026-04-27 17:48:14,709 - INFO - Project ctest-TestRouters-48484902 not found, creating it 2026-04-27 17:48:15,263 - INFO - Created Project:ctest-TestRouters-48484902, ID : 13bbb10c-5148-4365-bb27-d8e088a561b8 2026-04-27 17:48:16,882 - INFO - ================================================================================ 2026-04-27 17:48:16,882 - INFO - STARTING TEST : test_basic_router_behavior 2026-04-27 17:48:16,882 - 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-04-27 17:48:17,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-27 17:48:17,138 - INFO - Initial checks done. Running the testcase now 2026-04-27 17:48:17,138 - INFO - 2026-04-27 17:48:17,761 - DEBUG - Response for create_network : {'network': {'id': '6c5f1f1c-8bc6-476a-b565-12a16e4cbd9f', 'name': 'ctest-vn1-34596443', 'tenant_id': '13bbb10c51484365bb27d8e088a561b8', 'project_id': '13bbb10c51484365bb27d8e088a561b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48484902', 'ctest-vn1-34596443'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:48:17,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f690dbe-614a-489f-a198-ac7ba853cde5', 'name': '', 'tenant_id': '13bbb10c51484365bb27d8e088a561b8', 'network_id': '6c5f1f1c-8bc6-476a-b565-12a16e4cbd9f', 'ip_version': 4, 'cidr': '158.58.127.192/26', 'allocation_pools': [{'start': '158.58.127.194', 'end': '158.58.127.254'}], 'gateway_ip': '158.58.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.58.127.194', 'tags': [], 'project_id': '13bbb10c51484365bb27d8e088a561b8'}} 2026-04-27 17:48:17,991 - INFO - Created VN ctest-vn1-34596443 2026-04-27 17:48:18,047 - DEBUG - VN ctest-vn1-34596443 UUID is 6c5f1f1c-8bc6-476a-b565-12a16e4cbd9f 2026-04-27 17:48:18,402 - DEBUG - Response for create_network : {'network': {'id': '31506f27-c419-4f39-8038-00a50c7146f9', 'name': 'ctest-vn2-96361104', 'tenant_id': '13bbb10c51484365bb27d8e088a561b8', 'project_id': '13bbb10c51484365bb27d8e088a561b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48484902', 'ctest-vn2-96361104'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:48:18,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e86fd33-4598-4cd5-b97a-40c146760bf1', 'name': '', 'tenant_id': '13bbb10c51484365bb27d8e088a561b8', 'network_id': '31506f27-c419-4f39-8038-00a50c7146f9', 'ip_version': 4, 'cidr': '111.145.2.64/26', 'allocation_pools': [{'start': '111.145.2.66', 'end': '111.145.2.126'}], 'gateway_ip': '111.145.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.145.2.66', 'tags': [], 'project_id': '13bbb10c51484365bb27d8e088a561b8'}} 2026-04-27 17:48:18,611 - INFO - Created VN ctest-vn2-96361104 2026-04-27 17:48:18,663 - DEBUG - VN ctest-vn2-96361104 UUID is 31506f27-c419-4f39-8038-00a50c7146f9 2026-04-27 17:48:18,841 - DEBUG - Services list from nova: [, , ] 2026-04-27 17:48:20,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1) 2026-04-27 17:48:21,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1) 2026-04-27 17:48:21,402 - INFO - Adding interface with subnet_id 8f690dbe-614a-489f-a198-ac7ba853cde5, port_id None to router ae403499-ee5a-4811-b8c3-aca87dccffb9 2026-04-27 17:48:21,822 - INFO - Waiting for VM ctest-vn1-vm1-01201108 to be up.. 2026-04-27 17:48:21,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 17:48:27,063 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:48:27,063 - INFO - VM name : ctest-vn1-vm1-01201108 2026-04-27 17:48:27,156 - DEBUG - VM ctest-vn1-vm1-01201108 ID is 9a02a246-162f-4cf6-bf73-94739451aa4b 2026-04-27 17:48:27,179 - DEBUG - VM ctest-vn1-vm1-01201108 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1 2026-04-27 17:48:27,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a02a246-162f-4cf6-bf73-94739451aa4b 2026-04-27 17:48:27,577 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a02a246-162f-4cf6-bf73-94739451aa4b 2026-04-27 17:48:27,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/560c802b-f681-454b-b340-8afaac810df3 2026-04-27 17:48:30,896 - 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 1013ms') 2026-04-27 17:48:30,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01201108 failed! 2026-04-27 17:48:30,959 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48484902:ctest-vn1-34596443 is 158.58.127.193 and allocation pool is NOT set 2026-04-27 17:48:33,026 - 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=8.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.03 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 = 2.029/5.248/8.467/3.219 ms') 2026-04-27 17:48:33,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01201108 passed 2026-04-27 17:48:33,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:48:33,187 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01201108, IP 158.58.127.195, Port 22 2026-04-27 17:48:33,253 - 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-04-27 17:48:33,344 - DEBUG - VM ctest-vn1-vm1-01201108 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-27 17:48:38,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:48:38,345 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01201108, IP 158.58.127.195, Port 22 2026-04-27 17:48:38,513 - DEBUG - VM ctest-vn1-vm1-01201108 is ready for SSH connections 2026-04-27 17:48:38,513 - INFO - Waiting for VM ctest-vn2-vm1-62716718 to be up.. 2026-04-27 17:48:38,603 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:48:38,604 - INFO - VM name : ctest-vn2-vm1-62716718 2026-04-27 17:48:38,695 - DEBUG - VM ctest-vn2-vm1-62716718 ID is da997d83-eb43-498a-9955-ce84a5498f02 2026-04-27 17:48:38,696 - DEBUG - VM ctest-vn2-vm1-62716718 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1 2026-04-27 17:48:38,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/da997d83-eb43-498a-9955-ce84a5498f02 2026-04-27 17:48:38,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/846a5fdb-746d-4abb-bf20-3f91fc87c6d5 2026-04-27 17:48:40,060 - 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=3.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.464/1.809/3.155/1.345 ms') 2026-04-27 17:48:40,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-62716718 passed 2026-04-27 17:48:40,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:48:40,215 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-62716718, IP 111.145.2.67, Port 22 2026-04-27 17:48:40,382 - DEBUG - VM ctest-vn2-vm1-62716718 is ready for SSH connections 2026-04-27 17:48:40,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:48:40,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.145.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:48:40,382 - DEBUG - ping -s 56 -c 3 -W 1 111.145.2.67 2026-04-27 17:48:45,462 - DEBUG - PING 111.145.2.67 (111.145.2.67): 56 data bytes --- 111.145.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-27 17:48:45,462 - WARNING - Ping to IP 111.145.2.67 from VM ctest-vn1-vm1-01201108 failed 2026-04-27 17:48:45,462 - INFO - Adding interface with subnet_id 1e86fd33-4598-4cd5-b97a-40c146760bf1, port_id None to router ae403499-ee5a-4811-b8c3-aca87dccffb9 2026-04-27 17:48:45,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:48:45,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.145.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:48:45,738 - DEBUG - ping -s 56 -c 3 -W 1 111.145.2.67 2026-04-27 17:48:48,954 - DEBUG - PING 111.145.2.67 (111.145.2.67): 56 data bytes 64 bytes from 111.145.2.67: seq=1 ttl=63 time=3.650 ms 64 bytes from 111.145.2.67: seq=2 ttl=63 time=1.282 ms --- 111.145.2.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.282/2.466/3.650 ms 2026-04-27 17:48:48,954 - WARNING - Ping to IP 111.145.2.67 from VM ctest-vn1-vm1-01201108 failed 2026-04-27 17:48:49,955 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.145.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:48:49,955 - DEBUG - ping -s 56 -c 3 -W 1 111.145.2.67 2026-04-27 17:48:52,174 - DEBUG - PING 111.145.2.67 (111.145.2.67): 56 data bytes 64 bytes from 111.145.2.67: seq=0 ttl=63 time=2.732 ms 64 bytes from 111.145.2.67: seq=1 ttl=63 time=1.066 ms 64 bytes from 111.145.2.67: seq=2 ttl=63 time=1.111 ms --- 111.145.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.066/1.636/2.732 ms 2026-04-27 17:48:52,175 - INFO - Ping to IP 111.145.2.67 from VM ctest-vn1-vm1-01201108 passed 2026-04-27 17:48:52,175 - INFO - Deleting interface with subnet_id 8f690dbe-614a-489f-a198-ac7ba853cde5, port_id None from router ae403499-ee5a-4811-b8c3-aca87dccffb9 2026-04-27 17:48:52,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:48:52,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.145.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:48:52,366 - DEBUG - ping -s 56 -c 3 -W 1 111.145.2.67 2026-04-27 17:48:55,593 - DEBUG - PING 111.145.2.67 (111.145.2.67): 56 data bytes --- 111.145.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-27 17:48:55,593 - WARNING - Ping to IP 111.145.2.67 from VM ctest-vn1-vm1-01201108 failed 2026-04-27 17:48:55,593 - INFO - Adding interface with subnet_id 8f690dbe-614a-489f-a198-ac7ba853cde5, port_id None to router ae403499-ee5a-4811-b8c3-aca87dccffb9 2026-04-27 17:48:55,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:48:55,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.145.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:48:55,837 - DEBUG - ping -s 56 -c 3 -W 1 111.145.2.67 2026-04-27 17:48:58,049 - DEBUG - PING 111.145.2.67 (111.145.2.67): 56 data bytes 64 bytes from 111.145.2.67: seq=0 ttl=63 time=1.817 ms 64 bytes from 111.145.2.67: seq=1 ttl=63 time=1.164 ms 64 bytes from 111.145.2.67: seq=2 ttl=63 time=0.911 ms --- 111.145.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/1.297/1.817 ms 2026-04-27 17:48:58,050 - INFO - Ping to IP 111.145.2.67 from VM ctest-vn1-vm1-01201108 passed 2026-04-27 17:48:58,050 - INFO - Deleting interface with subnet_id 1e86fd33-4598-4cd5-b97a-40c146760bf1, port_id None from router ae403499-ee5a-4811-b8c3-aca87dccffb9 2026-04-27 17:48:58,186 - INFO - Deleting interface with subnet_id 8f690dbe-614a-489f-a198-ac7ba853cde5, port_id None from router ae403499-ee5a-4811-b8c3-aca87dccffb9 2026-04-27 17:48:58,392 - INFO - Deleting VM ctest-vn2-vm1-62716718 2026-04-27 17:48:58,475 - INFO - Deleting VM ctest-vn1-vm1-01201108 2026-04-27 17:48:58,620 - INFO - Deleting VN ctest-vn2-96361104 2026-04-27 17:48:58,668 - DEBUG - VN 31506f27-c419-4f39-8038-00a50c7146f9 still in use: Unable to complete operation on network 31506f27-c419-4f39-8038-00a50c7146f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbea1272-73d2-4bc0-b9d9-13a8637b0fa0'] 2026-04-27 17:48:58,668 - WARNING - Deleting VN ctest-vn2-96361104 failed..Will retry 2026-04-27 17:49:00,799 - DEBUG - Response for deleting network () 2026-04-27 17:49:00,799 - INFO - Deleting VN ctest-vn1-34596443 2026-04-27 17:49:00,937 - DEBUG - Response for deleting network () 2026-04-27 17:49:01,211 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 17:49:01,212 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2026-04-27 17:49:01,212 - INFO - -------------------------------------------------------------------------------- 2026-04-27 17:49:01,981 - INFO - Deleted project: ctest-TestRouters-48484902, ID : 13bbb10c-5148-4365-bb27-d8e088a561b8