2025-09-08 12:47:56,191 - INFO - Domain Default found not creating 2025-09-08 12:47:56,426 - INFO - Project ctest-TestRouters-00913030 not found, creating it 2025-09-08 12:47:56,883 - INFO - Created Project:ctest-TestRouters-00913030, ID : ebc0042a-7544-45c3-8c9a-5cf0a126f6f4 2025-09-08 12:47:58,339 - INFO - ================================================================================ 2025-09-08 12:47:58,339 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-08 12:47:58,339 - 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-08 12:47:58,594 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-08 12:47:58,594 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:47:58,594 - INFO - 2025-09-08 12:47:59,143 - DEBUG - Response for create_network : {'network': {'id': 'b1578941-1baa-4198-b222-21b763a36db7', 'name': 'ctest-vn1-44636512', 'tenant_id': 'ebc0042a754445c38c9a5cf0a126f6f4', 'project_id': 'ebc0042a754445c38c9a5cf0a126f6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00913030', 'ctest-vn1-44636512'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:47:59,319 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d1bec8e-5fb9-4ffa-a380-3359b03b7e12', 'name': '', 'tenant_id': 'ebc0042a754445c38c9a5cf0a126f6f4', 'network_id': 'b1578941-1baa-4198-b222-21b763a36db7', 'ip_version': 4, 'cidr': '56.177.1.128/26', 'allocation_pools': [{'start': '56.177.1.130', 'end': '56.177.1.190'}], 'gateway_ip': '56.177.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.177.1.130', 'tags': [], 'project_id': 'ebc0042a754445c38c9a5cf0a126f6f4'}} 2025-09-08 12:47:59,339 - INFO - Created VN ctest-vn1-44636512 2025-09-08 12:47:59,393 - DEBUG - VN ctest-vn1-44636512 UUID is b1578941-1baa-4198-b222-21b763a36db7 2025-09-08 12:47:59,684 - DEBUG - Response for create_network : {'network': {'id': 'cda2a26b-0a0c-4cc9-a15d-fbae3b766568', 'name': 'ctest-vn2-77441124', 'tenant_id': 'ebc0042a754445c38c9a5cf0a126f6f4', 'project_id': 'ebc0042a754445c38c9a5cf0a126f6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00913030', 'ctest-vn2-77441124'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:47:59,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec52f0c5-54fe-42e3-b6e9-b0c0184bc743', 'name': '', 'tenant_id': 'ebc0042a754445c38c9a5cf0a126f6f4', 'network_id': 'cda2a26b-0a0c-4cc9-a15d-fbae3b766568', 'ip_version': 4, 'cidr': '128.140.83.0/26', 'allocation_pools': [{'start': '128.140.83.2', 'end': '128.140.83.62'}], 'gateway_ip': '128.140.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.140.83.2', 'tags': [], 'project_id': 'ebc0042a754445c38c9a5cf0a126f6f4'}} 2025-09-08 12:47:59,864 - INFO - Created VN ctest-vn2-77441124 2025-09-08 12:47:59,917 - DEBUG - VN ctest-vn2-77441124 UUID is cda2a26b-0a0c-4cc9-a15d-fbae3b766568 2025-09-08 12:48:00,124 - DEBUG - Services list from nova: [, , ] 2025-09-08 12:48:01,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:48:02,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:48:02,470 - INFO - Adding interface with subnet_id 6d1bec8e-5fb9-4ffa-a380-3359b03b7e12, port_id None to router 8b6fde31-435a-4e71-8f0c-9f3719e62f3d 2025-09-08 12:48:02,785 - INFO - Waiting for VM ctest-vn1-vm1-76208369 to be up.. 2025-09-08 12:48:02,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 12:48:07,950 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:48:07,950 - INFO - VM name : ctest-vn1-vm1-76208369 2025-09-08 12:48:08,020 - DEBUG - VM ctest-vn1-vm1-76208369 ID is a6516b4c-8267-4255-92a2-b5a26051e6cd 2025-09-08 12:48:08,040 - DEBUG - VM ctest-vn1-vm1-76208369 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:48:08,129 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6516b4c-8267-4255-92a2-b5a26051e6cd 2025-09-08 12:48:08,429 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6516b4c-8267-4255-92a2-b5a26051e6cd 2025-09-08 12:48:08,458 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0d24dda3-f705-4230-a835-46502c0592c5 2025-09-08 12:48:11,716 - 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 1019ms') 2025-09-08 12:48:11,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76208369 failed! 2025-09-08 12:48:11,769 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-00913030:ctest-vn1-44636512 is 56.177.1.129 and allocation pool is NOT set 2025-09-08 12:48:13,833 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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 = 0.411/1.625/2.839/1.214 ms') 2025-09-08 12:48:13,833 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76208369 passed 2025-09-08 12:48:13,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:13,981 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76208369, IP 56.177.1.131, Port 22 2025-09-08 12:48:14,140 - DEBUG - VM ctest-vn1-vm1-76208369 is ready for SSH connections 2025-09-08 12:48:14,140 - INFO - Waiting for VM ctest-vn2-vm1-15238925 to be up.. 2025-09-08 12:48:14,211 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:48:14,211 - INFO - VM name : ctest-vn2-vm1-15238925 2025-09-08 12:48:14,277 - DEBUG - VM ctest-vn2-vm1-15238925 ID is 2391a600-e756-402c-8653-b6e9ea637dff 2025-09-08 12:48:14,277 - DEBUG - VM ctest-vn2-vm1-15238925 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:48:14,342 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2391a600-e756-402c-8653-b6e9ea637dff 2025-09-08 12:48:14,351 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/32939ca3-cb51-4ea8-b780-926065987bd5 2025-09-08 12:48:15,589 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/2.012/3.591/1.579 ms') 2025-09-08 12:48:15,590 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-15238925 passed 2025-09-08 12:48:15,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:15,737 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-15238925, IP 128.140.83.3, Port 22 2025-09-08 12:48:15,893 - DEBUG - VM ctest-vn2-vm1-15238925 is ready for SSH connections 2025-09-08 12:48:15,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:15,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.140.83.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:48:15,893 - DEBUG - ping -s 56 -c 3 -W 1 128.140.83.3 2025-09-08 12:48:20,902 - DEBUG - PING 128.140.83.3 (128.140.83.3): 56 data bytes --- 128.140.83.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 12:48:20,902 - WARNING - Ping to IP 128.140.83.3 from VM ctest-vn1-vm1-76208369 failed 2025-09-08 12:48:20,903 - INFO - Adding interface with subnet_id ec52f0c5-54fe-42e3-b6e9-b0c0184bc743, port_id None to router 8b6fde31-435a-4e71-8f0c-9f3719e62f3d 2025-09-08 12:48:21,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:21,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.140.83.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:48:21,167 - DEBUG - ping -s 56 -c 3 -W 1 128.140.83.3 2025-09-08 12:48:23,395 - DEBUG - PING 128.140.83.3 (128.140.83.3): 56 data bytes 64 bytes from 128.140.83.3: seq=0 ttl=63 time=2.235 ms 64 bytes from 128.140.83.3: seq=1 ttl=63 time=2.667 ms 64 bytes from 128.140.83.3: seq=2 ttl=63 time=1.102 ms --- 128.140.83.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.102/2.001/2.667 ms 2025-09-08 12:48:23,395 - INFO - Ping to IP 128.140.83.3 from VM ctest-vn1-vm1-76208369 passed 2025-09-08 12:48:23,395 - INFO - Deleting interface with subnet_id 6d1bec8e-5fb9-4ffa-a380-3359b03b7e12, port_id None from router 8b6fde31-435a-4e71-8f0c-9f3719e62f3d 2025-09-08 12:48:23,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:23,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.140.83.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:48:23,506 - DEBUG - ping -s 56 -c 3 -W 1 128.140.83.3 2025-09-08 12:48:26,719 - DEBUG - PING 128.140.83.3 (128.140.83.3): 56 data bytes --- 128.140.83.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 12:48:26,719 - WARNING - Ping to IP 128.140.83.3 from VM ctest-vn1-vm1-76208369 failed 2025-09-08 12:48:26,719 - INFO - Adding interface with subnet_id 6d1bec8e-5fb9-4ffa-a380-3359b03b7e12, port_id None to router 8b6fde31-435a-4e71-8f0c-9f3719e62f3d 2025-09-08 12:48:26,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:26,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.140.83.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:48:26,938 - DEBUG - ping -s 56 -c 3 -W 1 128.140.83.3 2025-09-08 12:48:30,134 - DEBUG - PING 128.140.83.3 (128.140.83.3): 56 data bytes 64 bytes from 128.140.83.3: seq=1 ttl=63 time=1.629 ms 64 bytes from 128.140.83.3: seq=2 ttl=63 time=0.911 ms --- 128.140.83.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.911/1.270/1.629 ms 2025-09-08 12:48:30,134 - WARNING - Ping to IP 128.140.83.3 from VM ctest-vn1-vm1-76208369 failed 2025-09-08 12:48:31,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.140.83.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:48:31,135 - DEBUG - ping -s 56 -c 3 -W 1 128.140.83.3 2025-09-08 12:48:33,333 - DEBUG - PING 128.140.83.3 (128.140.83.3): 56 data bytes 64 bytes from 128.140.83.3: seq=0 ttl=63 time=1.424 ms 64 bytes from 128.140.83.3: seq=1 ttl=63 time=1.073 ms 64 bytes from 128.140.83.3: seq=2 ttl=63 time=0.974 ms --- 128.140.83.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/1.157/1.424 ms 2025-09-08 12:48:33,334 - INFO - Ping to IP 128.140.83.3 from VM ctest-vn1-vm1-76208369 passed 2025-09-08 12:48:33,334 - INFO - Deleting interface with subnet_id ec52f0c5-54fe-42e3-b6e9-b0c0184bc743, port_id None from router 8b6fde31-435a-4e71-8f0c-9f3719e62f3d 2025-09-08 12:48:33,450 - INFO - Deleting interface with subnet_id 6d1bec8e-5fb9-4ffa-a380-3359b03b7e12, port_id None from router 8b6fde31-435a-4e71-8f0c-9f3719e62f3d 2025-09-08 12:48:33,619 - INFO - Deleting VM ctest-vn2-vm1-15238925 2025-09-08 12:48:33,689 - INFO - Deleting VM ctest-vn1-vm1-76208369 2025-09-08 12:48:33,758 - INFO - Deleting VN ctest-vn2-77441124 2025-09-08 12:48:33,807 - DEBUG - VN cda2a26b-0a0c-4cc9-a15d-fbae3b766568 still in use: Unable to complete operation on network cda2a26b-0a0c-4cc9-a15d-fbae3b766568. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-159a8430-5787-41dd-8831-ff7af33889f4'] 2025-09-08 12:48:33,807 - WARNING - Deleting VN ctest-vn2-77441124 failed..Will retry 2025-09-08 12:48:35,898 - DEBUG - Response for deleting network () 2025-09-08 12:48:35,898 - INFO - Deleting VN ctest-vn1-44636512 2025-09-08 12:48:35,994 - DEBUG - Response for deleting network () 2025-09-08 12:48:36,249 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 12:48:36,250 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-08 12:48:36,250 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:48:36,916 - INFO - Deleted project: ctest-TestRouters-00913030, ID : ebc0042a-7544-45c3-8c9a-5cf0a126f6f4