2025-09-11 19:17:18,702 - INFO - Domain Default found not creating 2025-09-11 19:17:18,855 - INFO - Project ctest-TestRouters-71688200 not found, creating it 2025-09-11 19:17:19,303 - INFO - Created Project:ctest-TestRouters-71688200, ID : ed55a693-7b6b-4d85-9f20-8dea062e0316 2025-09-11 19:17:20,860 - INFO - ================================================================================ 2025-09-11 19:17:20,860 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 19:17:20,860 - 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 2025-09-11 19:17:21,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 19:17:21,120 - INFO - Initial checks done. Running the testcase now 2025-09-11 19:17:21,120 - INFO - 2025-09-11 19:17:21,683 - DEBUG - Response for create_network : {'network': {'id': '74ebea6b-d579-4766-a951-f0bbc7458401', 'name': 'ctest-vn1-73508993', 'tenant_id': 'ed55a6937b6b4d859f208dea062e0316', 'project_id': 'ed55a6937b6b4d859f208dea062e0316', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71688200', 'ctest-vn1-73508993'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:17:21,849 - DEBUG - Response for create_subnet : {'subnet': {'id': '3de6738b-80a0-472e-a748-655e90c1a5d2', 'name': '', 'tenant_id': 'ed55a6937b6b4d859f208dea062e0316', 'network_id': '74ebea6b-d579-4766-a951-f0bbc7458401', 'ip_version': 4, 'cidr': '38.64.20.192/26', 'allocation_pools': [{'start': '38.64.20.194', 'end': '38.64.20.254'}], 'gateway_ip': '38.64.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.64.20.194', 'tags': [], 'project_id': 'ed55a6937b6b4d859f208dea062e0316'}} 2025-09-11 19:17:21,868 - INFO - Created VN ctest-vn1-73508993 2025-09-11 19:17:21,922 - DEBUG - VN ctest-vn1-73508993 UUID is 74ebea6b-d579-4766-a951-f0bbc7458401 2025-09-11 19:17:22,291 - DEBUG - Response for create_network : {'network': {'id': '57d4bf9e-9a9c-4ba7-861a-a53621f077b2', 'name': 'ctest-vn2-71883991', 'tenant_id': 'ed55a6937b6b4d859f208dea062e0316', 'project_id': 'ed55a6937b6b4d859f208dea062e0316', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71688200', 'ctest-vn2-71883991'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:17:22,534 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be3c86df-5030-4df3-a1ec-0c329e479a00', 'name': '', 'tenant_id': 'ed55a6937b6b4d859f208dea062e0316', 'network_id': '57d4bf9e-9a9c-4ba7-861a-a53621f077b2', 'ip_version': 4, 'cidr': '134.221.160.192/26', 'allocation_pools': [{'start': '134.221.160.194', 'end': '134.221.160.254'}], 'gateway_ip': '134.221.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.221.160.194', 'tags': [], 'project_id': 'ed55a6937b6b4d859f208dea062e0316'}} 2025-09-11 19:17:22,572 - INFO - Created VN ctest-vn2-71883991 2025-09-11 19:17:22,626 - DEBUG - VN ctest-vn2-71883991 UUID is 57d4bf9e-9a9c-4ba7-861a-a53621f077b2 2025-09-11 19:17:22,880 - DEBUG - Services list from nova: [, , ] 2025-09-11 19:17:23,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:17:25,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:17:25,243 - INFO - Adding interface with subnet_id 3de6738b-80a0-472e-a748-655e90c1a5d2, port_id None to router 1a9653e7-0216-48bd-a97d-5a17f6c8f8a9 2025-09-11 19:17:25,611 - INFO - Waiting for VM ctest-vn1-vm1-58140790 to be up.. 2025-09-11 19:17:25,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 19:17:30,825 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:17:30,826 - INFO - VM name : ctest-vn1-vm1-58140790 2025-09-11 19:17:30,947 - DEBUG - VM ctest-vn1-vm1-58140790 ID is 7526b3b6-9246-4fe5-a608-8d1d321abbb4 2025-09-11 19:17:30,970 - DEBUG - VM ctest-vn1-vm1-58140790 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:17:31,057 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7526b3b6-9246-4fe5-a608-8d1d321abbb4 2025-09-11 19:17:31,364 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7526b3b6-9246-4fe5-a608-8d1d321abbb4 2025-09-11 19:17:31,401 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/de6e94bb-563a-4e80-9bc9-d54971a82e97 2025-09-11 19:17:34,663 - 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') 2025-09-11 19:17:34,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58140790 failed! 2025-09-11 19:17:34,722 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71688200:ctest-vn1-73508993 is 38.64.20.193 and allocation pool is NOT set 2025-09-11 19:17:36,789 - 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=5.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 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.718/3.704/5.691/1.986 ms') 2025-09-11 19:17:36,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58140790 passed 2025-09-11 19:17:36,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:36,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58140790, IP 38.64.20.195, Port 22 2025-09-11 19:17:37,004 - 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': ''} 2025-09-11 19:17:37,090 - DEBUG - VM ctest-vn1-vm1-58140790 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 19:17:42,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:42,090 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58140790, IP 38.64.20.195, Port 22 2025-09-11 19:17:42,246 - DEBUG - VM ctest-vn1-vm1-58140790 is ready for SSH connections 2025-09-11 19:17:42,246 - INFO - Waiting for VM ctest-vn2-vm1-36754547 to be up.. 2025-09-11 19:17:42,321 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:17:42,321 - INFO - VM name : ctest-vn2-vm1-36754547 2025-09-11 19:17:42,395 - DEBUG - VM ctest-vn2-vm1-36754547 ID is 1a228899-5f49-4d60-a151-7ea4d85aba79 2025-09-11 19:17:42,395 - DEBUG - VM ctest-vn2-vm1-36754547 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:17:42,468 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1a228899-5f49-4d60-a151-7ea4d85aba79 2025-09-11 19:17:42,476 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/85f25970-4761-4ece-b61e-9b0fa40b9714 2025-09-11 19:17:43,716 - 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=2.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.442/1.616/2.790/1.174 ms') 2025-09-11 19:17:43,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-36754547 passed 2025-09-11 19:17:43,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:43,866 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-36754547, IP 134.221.160.195, Port 22 2025-09-11 19:17:44,025 - DEBUG - VM ctest-vn2-vm1-36754547 is ready for SSH connections 2025-09-11 19:17:44,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:44,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.221.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:17:44,026 - DEBUG - ping -s 56 -c 3 -W 1 134.221.160.195 2025-09-11 19:17:49,005 - DEBUG - PING 134.221.160.195 (134.221.160.195): 56 data bytes --- 134.221.160.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 19:17:49,005 - WARNING - Ping to IP 134.221.160.195 from VM ctest-vn1-vm1-58140790 failed 2025-09-11 19:17:49,006 - INFO - Adding interface with subnet_id be3c86df-5030-4df3-a1ec-0c329e479a00, port_id None to router 1a9653e7-0216-48bd-a97d-5a17f6c8f8a9 2025-09-11 19:17:49,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:49,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.221.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:17:49,260 - DEBUG - ping -s 56 -c 3 -W 1 134.221.160.195 2025-09-11 19:17:52,465 - DEBUG - PING 134.221.160.195 (134.221.160.195): 56 data bytes 64 bytes from 134.221.160.195: seq=1 ttl=63 time=3.289 ms 64 bytes from 134.221.160.195: seq=2 ttl=63 time=0.885 ms --- 134.221.160.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.885/2.087/3.289 ms 2025-09-11 19:17:52,465 - WARNING - Ping to IP 134.221.160.195 from VM ctest-vn1-vm1-58140790 failed 2025-09-11 19:17:53,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.221.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:17:53,466 - DEBUG - ping -s 56 -c 3 -W 1 134.221.160.195 2025-09-11 19:17:55,673 - DEBUG - PING 134.221.160.195 (134.221.160.195): 56 data bytes 64 bytes from 134.221.160.195: seq=0 ttl=63 time=1.345 ms 64 bytes from 134.221.160.195: seq=1 ttl=63 time=0.846 ms 64 bytes from 134.221.160.195: seq=2 ttl=63 time=0.914 ms --- 134.221.160.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/1.035/1.345 ms 2025-09-11 19:17:55,673 - INFO - Ping to IP 134.221.160.195 from VM ctest-vn1-vm1-58140790 passed 2025-09-11 19:17:55,674 - INFO - Deleting interface with subnet_id 3de6738b-80a0-472e-a748-655e90c1a5d2, port_id None from router 1a9653e7-0216-48bd-a97d-5a17f6c8f8a9 2025-09-11 19:17:55,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:55,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.221.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:17:55,793 - DEBUG - ping -s 56 -c 3 -W 1 134.221.160.195 2025-09-11 19:17:59,013 - DEBUG - PING 134.221.160.195 (134.221.160.195): 56 data bytes --- 134.221.160.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 19:17:59,013 - WARNING - Ping to IP 134.221.160.195 from VM ctest-vn1-vm1-58140790 failed 2025-09-11 19:17:59,013 - INFO - Adding interface with subnet_id 3de6738b-80a0-472e-a748-655e90c1a5d2, port_id None to router 1a9653e7-0216-48bd-a97d-5a17f6c8f8a9 2025-09-11 19:17:59,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:17:59,210 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.221.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:17:59,210 - DEBUG - ping -s 56 -c 3 -W 1 134.221.160.195 2025-09-11 19:18:01,412 - DEBUG - PING 134.221.160.195 (134.221.160.195): 56 data bytes 64 bytes from 134.221.160.195: seq=0 ttl=63 time=1.354 ms 64 bytes from 134.221.160.195: seq=1 ttl=63 time=1.084 ms 64 bytes from 134.221.160.195: seq=2 ttl=63 time=0.936 ms --- 134.221.160.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/1.124/1.354 ms 2025-09-11 19:18:01,412 - INFO - Ping to IP 134.221.160.195 from VM ctest-vn1-vm1-58140790 passed 2025-09-11 19:18:01,412 - INFO - Deleting interface with subnet_id be3c86df-5030-4df3-a1ec-0c329e479a00, port_id None from router 1a9653e7-0216-48bd-a97d-5a17f6c8f8a9 2025-09-11 19:18:01,526 - INFO - Deleting interface with subnet_id 3de6738b-80a0-472e-a748-655e90c1a5d2, port_id None from router 1a9653e7-0216-48bd-a97d-5a17f6c8f8a9 2025-09-11 19:18:01,716 - INFO - Deleting VM ctest-vn2-vm1-36754547 2025-09-11 19:18:01,791 - INFO - Deleting VM ctest-vn1-vm1-58140790 2025-09-11 19:18:01,869 - INFO - Deleting VN ctest-vn2-71883991 2025-09-11 19:18:01,905 - DEBUG - VN 57d4bf9e-9a9c-4ba7-861a-a53621f077b2 still in use: Unable to complete operation on network 57d4bf9e-9a9c-4ba7-861a-a53621f077b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef012ea3-a1a8-4f69-98c0-d0104472d42f'] 2025-09-11 19:18:01,905 - WARNING - Deleting VN ctest-vn2-71883991 failed..Will retry 2025-09-11 19:18:04,035 - DEBUG - Response for deleting network () 2025-09-11 19:18:04,035 - INFO - Deleting VN ctest-vn1-73508993 2025-09-11 19:18:04,143 - DEBUG - Response for deleting network () 2025-09-11 19:18:04,399 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 19:18:04,399 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-09-11 19:18:04,399 - INFO - -------------------------------------------------------------------------------- 2025-09-11 19:18:05,128 - INFO - Deleted project: ctest-TestRouters-71688200, ID : ed55a693-7b6b-4d85-9f20-8dea062e0316