2025-10-23 16:06:15,981 - INFO - Domain Default found not creating 2025-10-23 16:06:16,136 - INFO - Project ctest-TestRouters-55173178 not found, creating it 2025-10-23 16:06:16,723 - INFO - Created Project:ctest-TestRouters-55173178, ID : deb68a13-0c0c-4718-87a1-40971a5f87ce 2025-10-23 16:06:18,327 - INFO - ================================================================================ 2025-10-23 16:06:18,327 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 16:06:18,327 - 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-10-23 16:06:18,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-23 16:06:18,588 - INFO - Initial checks done. Running the testcase now 2025-10-23 16:06:18,588 - INFO - 2025-10-23 16:06:19,259 - DEBUG - Response for create_network : {'network': {'id': '6aa58030-c62a-4235-a117-ac7e08d1f720', 'name': 'ctest-vn1-39036963', 'tenant_id': 'deb68a130c0c471887a140971a5f87ce', 'project_id': 'deb68a130c0c471887a140971a5f87ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55173178', 'ctest-vn1-39036963'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:06:19,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d385ebe-c91d-4253-8c81-aa26d605c6d6', 'name': '', 'tenant_id': 'deb68a130c0c471887a140971a5f87ce', 'network_id': '6aa58030-c62a-4235-a117-ac7e08d1f720', 'ip_version': 4, 'cidr': '8.21.96.64/26', 'allocation_pools': [{'start': '8.21.96.66', 'end': '8.21.96.126'}], 'gateway_ip': '8.21.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.21.96.66', 'tags': [], 'project_id': 'deb68a130c0c471887a140971a5f87ce'}} 2025-10-23 16:06:19,522 - INFO - Created VN ctest-vn1-39036963 2025-10-23 16:06:19,575 - DEBUG - VN ctest-vn1-39036963 UUID is 6aa58030-c62a-4235-a117-ac7e08d1f720 2025-10-23 16:06:19,915 - DEBUG - Response for create_network : {'network': {'id': 'e9d57e4b-0e28-457a-8331-2e33a1a0f170', 'name': 'ctest-vn2-59481086', 'tenant_id': 'deb68a130c0c471887a140971a5f87ce', 'project_id': 'deb68a130c0c471887a140971a5f87ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55173178', 'ctest-vn2-59481086'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:06:20,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d710629-0e3a-49c0-a390-6c68bebe5fac', 'name': '', 'tenant_id': 'deb68a130c0c471887a140971a5f87ce', 'network_id': 'e9d57e4b-0e28-457a-8331-2e33a1a0f170', 'ip_version': 4, 'cidr': '35.213.214.128/26', 'allocation_pools': [{'start': '35.213.214.130', 'end': '35.213.214.190'}], 'gateway_ip': '35.213.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.213.214.130', 'tags': [], 'project_id': 'deb68a130c0c471887a140971a5f87ce'}} 2025-10-23 16:06:20,159 - INFO - Created VN ctest-vn2-59481086 2025-10-23 16:06:20,211 - DEBUG - VN ctest-vn2-59481086 UUID is e9d57e4b-0e28-457a-8331-2e33a1a0f170 2025-10-23 16:06:20,382 - DEBUG - Services list from nova: [, , ] 2025-10-23 16:06:21,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4462-1) 2025-10-23 16:06:22,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4462-1) 2025-10-23 16:06:23,108 - INFO - Adding interface with subnet_id 0d385ebe-c91d-4253-8c81-aa26d605c6d6, port_id None to router ec803730-378d-443c-83fc-19921748b015 2025-10-23 16:06:23,454 - INFO - Waiting for VM ctest-vn1-vm1-41534944 to be up.. 2025-10-23 16:06:23,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 16:06:28,673 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:06:28,673 - INFO - VM name : ctest-vn1-vm1-41534944 2025-10-23 16:06:28,765 - DEBUG - VM ctest-vn1-vm1-41534944 ID is a4b7c965-d77b-4b32-b9f1-cf284c4bb57b 2025-10-23 16:06:28,785 - DEBUG - VM ctest-vn1-vm1-41534944 launched on Node cn-jenkins-deploy-platform-ansible-os-4462-1 2025-10-23 16:06:28,871 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a4b7c965-d77b-4b32-b9f1-cf284c4bb57b 2025-10-23 16:06:29,217 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a4b7c965-d77b-4b32-b9f1-cf284c4bb57b 2025-10-23 16:06:29,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1d90bb60-17b4-42e9-840d-f2ae490d7d40 2025-10-23 16:06:32,507 - 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 1009ms') 2025-10-23 16:06:32,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41534944 failed! 2025-10-23 16:06:32,563 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55173178:ctest-vn1-39036963 is 8.21.96.65 and allocation pool is NOT set 2025-10-23 16:06:34,623 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 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.243/3.695/5.148/1.452 ms') 2025-10-23 16:06:34,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41534944 passed 2025-10-23 16:06:34,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:06:34,779 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41534944, IP 8.21.96.67, Port 22 2025-10-23 16:06:34,845 - 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-10-23 16:06:34,932 - DEBUG - VM ctest-vn1-vm1-41534944 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 16:06:39,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:06:39,933 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41534944, IP 8.21.96.67, Port 22 2025-10-23 16:06:40,105 - DEBUG - VM ctest-vn1-vm1-41534944 is ready for SSH connections 2025-10-23 16:06:40,105 - INFO - Waiting for VM ctest-vn2-vm1-11201306 to be up.. 2025-10-23 16:06:40,192 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:06:40,192 - INFO - VM name : ctest-vn2-vm1-11201306 2025-10-23 16:06:40,274 - DEBUG - VM ctest-vn2-vm1-11201306 ID is 5c45aecb-a4a8-41e6-8362-042c7ae5b083 2025-10-23 16:06:40,274 - DEBUG - VM ctest-vn2-vm1-11201306 launched on Node cn-jenkins-deploy-platform-ansible-os-4462-1 2025-10-23 16:06:40,357 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5c45aecb-a4a8-41e6-8362-042c7ae5b083 2025-10-23 16:06:40,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2a8b25ca-c763-44d5-8f51-625e12ebb3c6 2025-10-23 16:06:41,600 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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 = 0.392/1.769/3.146/1.377 ms') 2025-10-23 16:06:41,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-11201306 passed 2025-10-23 16:06:41,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:06:41,711 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11201306, IP 35.213.214.131, Port 22 2025-10-23 16:06:41,886 - DEBUG - VM ctest-vn2-vm1-11201306 is ready for SSH connections 2025-10-23 16:06:41,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:06:41,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.213.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-23 16:06:41,886 - DEBUG - ping -s 56 -c 3 -W 1 35.213.214.131 2025-10-23 16:06:46,944 - DEBUG - PING 35.213.214.131 (35.213.214.131): 56 data bytes --- 35.213.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 16:06:46,944 - WARNING - Ping to IP 35.213.214.131 from VM ctest-vn1-vm1-41534944 failed 2025-10-23 16:06:46,945 - INFO - Adding interface with subnet_id 2d710629-0e3a-49c0-a390-6c68bebe5fac, port_id None to router ec803730-378d-443c-83fc-19921748b015 2025-10-23 16:06:47,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:06:47,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.213.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-23 16:06:47,223 - DEBUG - ping -s 56 -c 3 -W 1 35.213.214.131 2025-10-23 16:06:50,461 - DEBUG - PING 35.213.214.131 (35.213.214.131): 56 data bytes 64 bytes from 35.213.214.131: seq=1 ttl=63 time=3.231 ms 64 bytes from 35.213.214.131: seq=2 ttl=63 time=1.017 ms --- 35.213.214.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.017/2.124/3.231 ms 2025-10-23 16:06:50,461 - WARNING - Ping to IP 35.213.214.131 from VM ctest-vn1-vm1-41534944 failed 2025-10-23 16:06:51,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.213.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-23 16:06:51,462 - DEBUG - ping -s 56 -c 3 -W 1 35.213.214.131 2025-10-23 16:06:53,688 - DEBUG - PING 35.213.214.131 (35.213.214.131): 56 data bytes 64 bytes from 35.213.214.131: seq=0 ttl=63 time=1.658 ms 64 bytes from 35.213.214.131: seq=1 ttl=63 time=0.959 ms 64 bytes from 35.213.214.131: seq=2 ttl=63 time=1.145 ms --- 35.213.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/1.254/1.658 ms 2025-10-23 16:06:53,689 - INFO - Ping to IP 35.213.214.131 from VM ctest-vn1-vm1-41534944 passed 2025-10-23 16:06:53,689 - INFO - Deleting interface with subnet_id 0d385ebe-c91d-4253-8c81-aa26d605c6d6, port_id None from router ec803730-378d-443c-83fc-19921748b015 2025-10-23 16:06:53,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:06:53,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.213.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-23 16:06:53,810 - DEBUG - ping -s 56 -c 3 -W 1 35.213.214.131 2025-10-23 16:06:57,038 - DEBUG - PING 35.213.214.131 (35.213.214.131): 56 data bytes --- 35.213.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 16:06:57,039 - WARNING - Ping to IP 35.213.214.131 from VM ctest-vn1-vm1-41534944 failed 2025-10-23 16:06:57,039 - INFO - Adding interface with subnet_id 0d385ebe-c91d-4253-8c81-aa26d605c6d6, port_id None to router ec803730-378d-443c-83fc-19921748b015 2025-10-23 16:06:57,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:06:57,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.213.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-23 16:06:57,271 - DEBUG - ping -s 56 -c 3 -W 1 35.213.214.131 2025-10-23 16:06:59,501 - DEBUG - PING 35.213.214.131 (35.213.214.131): 56 data bytes 64 bytes from 35.213.214.131: seq=0 ttl=63 time=1.538 ms 64 bytes from 35.213.214.131: seq=1 ttl=63 time=1.250 ms 64 bytes from 35.213.214.131: seq=2 ttl=63 time=1.197 ms --- 35.213.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.197/1.328/1.538 ms 2025-10-23 16:06:59,501 - INFO - Ping to IP 35.213.214.131 from VM ctest-vn1-vm1-41534944 passed 2025-10-23 16:06:59,501 - INFO - Deleting interface with subnet_id 2d710629-0e3a-49c0-a390-6c68bebe5fac, port_id None from router ec803730-378d-443c-83fc-19921748b015 2025-10-23 16:06:59,642 - INFO - Deleting interface with subnet_id 0d385ebe-c91d-4253-8c81-aa26d605c6d6, port_id None from router ec803730-378d-443c-83fc-19921748b015 2025-10-23 16:06:59,829 - INFO - Deleting VM ctest-vn2-vm1-11201306 2025-10-23 16:06:59,909 - INFO - Deleting VM ctest-vn1-vm1-41534944 2025-10-23 16:07:00,012 - INFO - Deleting VN ctest-vn2-59481086 2025-10-23 16:07:00,055 - DEBUG - VN e9d57e4b-0e28-457a-8331-2e33a1a0f170 still in use: Unable to complete operation on network e9d57e4b-0e28-457a-8331-2e33a1a0f170. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e34a3f86-58e6-4837-a972-d17795a67586'] 2025-10-23 16:07:00,056 - WARNING - Deleting VN ctest-vn2-59481086 failed..Will retry 2025-10-23 16:07:02,160 - DEBUG - Response for deleting network () 2025-10-23 16:07:02,160 - INFO - Deleting VN ctest-vn1-39036963 2025-10-23 16:07:02,262 - DEBUG - Response for deleting network () 2025-10-23 16:07:02,525 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 16:07:02,525 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-23 16:07:02,525 - INFO - -------------------------------------------------------------------------------- 2025-10-23 16:07:03,285 - INFO - Deleted project: ctest-TestRouters-55173178, ID : deb68a13-0c0c-4718-87a1-40971a5f87ce