2025-09-08 15:31:54,411 - INFO - Domain Default found not creating 2025-09-08 15:31:54,531 - INFO - Project ctest-TestRouters-72615055 not found, creating it 2025-09-08 15:31:54,975 - INFO - Created Project:ctest-TestRouters-72615055, ID : 0b95666d-3c39-45b1-8b20-f72620d9b7a3 2025-09-08 15:31:56,331 - INFO - ================================================================================ 2025-09-08 15:31:56,331 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-08 15:31:56,331 - 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 15:31:56,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-09-08 15:31:56,588 - INFO - Initial checks done. Running the testcase now 2025-09-08 15:31:56,588 - INFO - 2025-09-08 15:31:57,118 - DEBUG - Response for create_network : {'network': {'id': '87c78916-c08c-42e1-bc14-c04616cb9d64', 'name': 'ctest-vn1-04493926', 'tenant_id': '0b95666d3c3945b18b20f72620d9b7a3', 'project_id': '0b95666d3c3945b18b20f72620d9b7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72615055', 'ctest-vn1-04493926'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:31:57,324 - DEBUG - Response for create_subnet : {'subnet': {'id': '79b75536-c64d-4b6a-8d41-70d286eb15f6', 'name': '', 'tenant_id': '0b95666d3c3945b18b20f72620d9b7a3', 'network_id': '87c78916-c08c-42e1-bc14-c04616cb9d64', 'ip_version': 4, 'cidr': '211.119.112.64/26', 'allocation_pools': [{'start': '211.119.112.66', 'end': '211.119.112.126'}], 'gateway_ip': '211.119.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.119.112.66', 'tags': [], 'project_id': '0b95666d3c3945b18b20f72620d9b7a3'}} 2025-09-08 15:31:57,338 - INFO - Created VN ctest-vn1-04493926 2025-09-08 15:31:57,391 - DEBUG - VN ctest-vn1-04493926 UUID is 87c78916-c08c-42e1-bc14-c04616cb9d64 2025-09-08 15:31:57,720 - DEBUG - Response for create_network : {'network': {'id': 'c38cc35c-5650-4de8-b0e5-0c92cc6f08c2', 'name': 'ctest-vn2-50675637', 'tenant_id': '0b95666d3c3945b18b20f72620d9b7a3', 'project_id': '0b95666d3c3945b18b20f72620d9b7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72615055', 'ctest-vn2-50675637'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:31:57,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '1756657f-fd18-4399-8470-12e5a217ee11', 'name': '', 'tenant_id': '0b95666d3c3945b18b20f72620d9b7a3', 'network_id': 'c38cc35c-5650-4de8-b0e5-0c92cc6f08c2', 'ip_version': 4, 'cidr': '160.114.19.128/26', 'allocation_pools': [{'start': '160.114.19.130', 'end': '160.114.19.190'}], 'gateway_ip': '160.114.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.114.19.130', 'tags': [], 'project_id': '0b95666d3c3945b18b20f72620d9b7a3'}} 2025-09-08 15:31:57,940 - INFO - Created VN ctest-vn2-50675637 2025-09-08 15:31:57,999 - DEBUG - VN ctest-vn2-50675637 UUID is c38cc35c-5650-4de8-b0e5-0c92cc6f08c2 2025-09-08 15:31:58,217 - DEBUG - Services list from nova: [, , ] 2025-09-08 15:31:59,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1) 2025-09-08 15:32:00,459 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1) 2025-09-08 15:32:00,551 - INFO - Adding interface with subnet_id 79b75536-c64d-4b6a-8d41-70d286eb15f6, port_id None to router a0b0b50c-d99d-4e71-a854-54ba98701ece 2025-09-08 15:32:00,793 - INFO - Waiting for VM ctest-vn1-vm1-88011508 to be up.. 2025-09-08 15:32:00,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 15:32:05,988 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:32:05,988 - INFO - VM name : ctest-vn1-vm1-88011508 2025-09-08 15:32:06,051 - DEBUG - VM ctest-vn1-vm1-88011508 ID is 00523e68-6dcd-4e69-8d33-46d0a278cbb9 2025-09-08 15:32:06,067 - DEBUG - VM ctest-vn1-vm1-88011508 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1 2025-09-08 15:32:06,130 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/00523e68-6dcd-4e69-8d33-46d0a278cbb9 2025-09-08 15:32:06,419 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/00523e68-6dcd-4e69-8d33-46d0a278cbb9 2025-09-08 15:32:06,449 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a4884e54-b61d-4509-86d1-426b54f1b0d0 2025-09-08 15:32:09,690 - 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 1007ms') 2025-09-08 15:32:09,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88011508 failed! 2025-09-08 15:32:09,743 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72615055:ctest-vn1-04493926 is 211.119.112.65 and allocation pool is NOT set 2025-09-08 15:32:11,803 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.330 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.330/1.453/2.576/1.123 ms') 2025-09-08 15:32:11,803 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88011508 passed 2025-09-08 15:32:11,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:32:11,951 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88011508, IP 211.119.112.67, Port 22 2025-09-08 15:32:12,110 - DEBUG - VM ctest-vn1-vm1-88011508 is ready for SSH connections 2025-09-08 15:32:12,110 - INFO - Waiting for VM ctest-vn2-vm1-86227060 to be up.. 2025-09-08 15:32:12,173 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:32:12,173 - INFO - VM name : ctest-vn2-vm1-86227060 2025-09-08 15:32:12,239 - DEBUG - VM ctest-vn2-vm1-86227060 ID is 87a7cf1a-5048-49cd-a533-1f859e85b5bc 2025-09-08 15:32:12,239 - DEBUG - VM ctest-vn2-vm1-86227060 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1 2025-09-08 15:32:12,301 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/87a7cf1a-5048-49cd-a533-1f859e85b5bc 2025-09-08 15:32:12,307 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/85dadf50-2f71-47a0-820e-23f6dfcbd303 2025-09-08 15:32:13,538 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.587/2.736/1.149 ms') 2025-09-08 15:32:13,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-86227060 passed 2025-09-08 15:32:13,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:32:13,683 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-86227060, IP 160.114.19.131, Port 22 2025-09-08 15:32:13,838 - DEBUG - VM ctest-vn2-vm1-86227060 is ready for SSH connections 2025-09-08 15:32:13,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:32:13,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.114.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-08 15:32:13,839 - DEBUG - ping -s 56 -c 3 -W 1 160.114.19.131 2025-09-08 15:32:18,500 - DEBUG - PING 160.114.19.131 (160.114.19.131): 56 data bytes --- 160.114.19.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 15:32:18,501 - WARNING - Ping to IP 160.114.19.131 from VM ctest-vn1-vm1-88011508 failed 2025-09-08 15:32:18,501 - INFO - Adding interface with subnet_id 1756657f-fd18-4399-8470-12e5a217ee11, port_id None to router a0b0b50c-d99d-4e71-a854-54ba98701ece 2025-09-08 15:32:18,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:32:18,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.114.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-08 15:32:18,719 - DEBUG - ping -s 56 -c 3 -W 1 160.114.19.131 2025-09-08 15:32:20,929 - DEBUG - PING 160.114.19.131 (160.114.19.131): 56 data bytes 64 bytes from 160.114.19.131: seq=0 ttl=63 time=2.232 ms 64 bytes from 160.114.19.131: seq=1 ttl=63 time=0.916 ms 64 bytes from 160.114.19.131: seq=2 ttl=63 time=0.831 ms --- 160.114.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/1.326/2.232 ms 2025-09-08 15:32:20,929 - INFO - Ping to IP 160.114.19.131 from VM ctest-vn1-vm1-88011508 passed 2025-09-08 15:32:20,929 - INFO - Deleting interface with subnet_id 79b75536-c64d-4b6a-8d41-70d286eb15f6, port_id None from router a0b0b50c-d99d-4e71-a854-54ba98701ece 2025-09-08 15:32:21,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:32:21,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.114.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-08 15:32:21,027 - DEBUG - ping -s 56 -c 3 -W 1 160.114.19.131 2025-09-08 15:32:24,231 - DEBUG - PING 160.114.19.131 (160.114.19.131): 56 data bytes --- 160.114.19.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 15:32:24,231 - WARNING - Ping to IP 160.114.19.131 from VM ctest-vn1-vm1-88011508 failed 2025-09-08 15:32:24,231 - INFO - Adding interface with subnet_id 79b75536-c64d-4b6a-8d41-70d286eb15f6, port_id None to router a0b0b50c-d99d-4e71-a854-54ba98701ece 2025-09-08 15:32:24,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:32:24,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.114.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-08 15:32:24,416 - DEBUG - ping -s 56 -c 3 -W 1 160.114.19.131 2025-09-08 15:32:26,618 - DEBUG - PING 160.114.19.131 (160.114.19.131): 56 data bytes 64 bytes from 160.114.19.131: seq=0 ttl=63 time=1.183 ms 64 bytes from 160.114.19.131: seq=1 ttl=63 time=0.774 ms 64 bytes from 160.114.19.131: seq=2 ttl=63 time=0.719 ms --- 160.114.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/0.892/1.183 ms 2025-09-08 15:32:26,618 - INFO - Ping to IP 160.114.19.131 from VM ctest-vn1-vm1-88011508 passed 2025-09-08 15:32:26,618 - INFO - Deleting interface with subnet_id 1756657f-fd18-4399-8470-12e5a217ee11, port_id None from router a0b0b50c-d99d-4e71-a854-54ba98701ece 2025-09-08 15:32:26,722 - INFO - Deleting interface with subnet_id 79b75536-c64d-4b6a-8d41-70d286eb15f6, port_id None from router a0b0b50c-d99d-4e71-a854-54ba98701ece 2025-09-08 15:32:26,883 - INFO - Deleting VM ctest-vn2-vm1-86227060 2025-09-08 15:32:26,944 - INFO - Deleting VM ctest-vn1-vm1-88011508 2025-09-08 15:32:27,007 - INFO - Deleting VN ctest-vn2-50675637 2025-09-08 15:32:27,037 - DEBUG - VN c38cc35c-5650-4de8-b0e5-0c92cc6f08c2 still in use: Unable to complete operation on network c38cc35c-5650-4de8-b0e5-0c92cc6f08c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14b56b86-5e29-4ba6-bb7f-e9971c172504'] 2025-09-08 15:32:27,037 - WARNING - Deleting VN ctest-vn2-50675637 failed..Will retry 2025-09-08 15:32:29,135 - DEBUG - Response for deleting network () 2025-09-08 15:32:29,135 - INFO - Deleting VN ctest-vn1-04493926 2025-09-08 15:32:29,222 - DEBUG - Response for deleting network () 2025-09-08 15:32:29,475 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 15:32:29,475 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-09-08 15:32:29,475 - INFO - -------------------------------------------------------------------------------- 2025-09-08 15:32:30,112 - INFO - Deleted project: ctest-TestRouters-72615055, ID : 0b95666d-3c39-45b1-8b20-f72620d9b7a3