2025-11-19 17:34:46,225 - INFO - Domain Default found not creating 2025-11-19 17:34:46,446 - INFO - Project ctest-TestRouters-71852647 not found, creating it 2025-11-19 17:34:46,874 - INFO - Created Project:ctest-TestRouters-71852647, ID : 0b4f6e6c-4ece-4e6c-9499-02e54920b0be 2025-11-19 17:34:48,260 - INFO - ================================================================================ 2025-11-19 17:34:48,260 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-19 17:34:48,260 - 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-11-19 17:34:48,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with 2025-11-19 17:34:48,518 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:34:48,518 - INFO - 2025-11-19 17:34:49,050 - DEBUG - Response for create_network : {'network': {'id': '3e974142-5177-4aa7-b808-4fc4ded89180', 'name': 'ctest-vn1-66602558', 'tenant_id': '0b4f6e6c4ece4e6c949902e54920b0be', 'project_id': '0b4f6e6c4ece4e6c949902e54920b0be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71852647', 'ctest-vn1-66602558'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:34:49,261 - DEBUG - Response for create_subnet : {'subnet': {'id': '401fedf8-27ac-4036-900a-d5deb83383d9', 'name': '', 'tenant_id': '0b4f6e6c4ece4e6c949902e54920b0be', 'network_id': '3e974142-5177-4aa7-b808-4fc4ded89180', 'ip_version': 4, 'cidr': '14.63.240.128/26', 'allocation_pools': [{'start': '14.63.240.130', 'end': '14.63.240.190'}], 'gateway_ip': '14.63.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.63.240.130', 'tags': [], 'project_id': '0b4f6e6c4ece4e6c949902e54920b0be'}} 2025-11-19 17:34:49,277 - INFO - Created VN ctest-vn1-66602558 2025-11-19 17:34:49,329 - DEBUG - VN ctest-vn1-66602558 UUID is 3e974142-5177-4aa7-b808-4fc4ded89180 2025-11-19 17:34:49,615 - DEBUG - Response for create_network : {'network': {'id': 'd9bee638-e6d8-47d5-9de2-96f1ebe88c78', 'name': 'ctest-vn2-70520211', 'tenant_id': '0b4f6e6c4ece4e6c949902e54920b0be', 'project_id': '0b4f6e6c4ece4e6c949902e54920b0be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71852647', 'ctest-vn2-70520211'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:34:49,805 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de60caa2-1635-449d-8cc0-5f9f02ab0707', 'name': '', 'tenant_id': '0b4f6e6c4ece4e6c949902e54920b0be', 'network_id': 'd9bee638-e6d8-47d5-9de2-96f1ebe88c78', 'ip_version': 4, 'cidr': '131.82.254.128/26', 'allocation_pools': [{'start': '131.82.254.130', 'end': '131.82.254.190'}], 'gateway_ip': '131.82.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.82.254.130', 'tags': [], 'project_id': '0b4f6e6c4ece4e6c949902e54920b0be'}} 2025-11-19 17:34:49,820 - INFO - Created VN ctest-vn2-70520211 2025-11-19 17:34:49,869 - DEBUG - VN ctest-vn2-70520211 UUID is d9bee638-e6d8-47d5-9de2-96f1ebe88c78 2025-11-19 17:34:50,056 - DEBUG - Services list from nova: [, , ] 2025-11-19 17:34:51,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:34:52,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:34:52,271 - INFO - Adding interface with subnet_id 401fedf8-27ac-4036-900a-d5deb83383d9, port_id None to router 87e50a52-a108-49d2-8b8f-72cb550fbcc8 2025-11-19 17:34:52,550 - INFO - Waiting for VM ctest-vn1-vm1-67166920 to be up.. 2025-11-19 17:34:52,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 17:34:57,700 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:34:57,700 - INFO - VM name : ctest-vn1-vm1-67166920 2025-11-19 17:34:57,765 - DEBUG - VM ctest-vn1-vm1-67166920 ID is cfc33d1f-7c78-42c7-bbb4-9a44bbe6895c 2025-11-19 17:34:57,783 - DEBUG - VM ctest-vn1-vm1-67166920 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:34:57,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cfc33d1f-7c78-42c7-bbb4-9a44bbe6895c 2025-11-19 17:34:58,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cfc33d1f-7c78-42c7-bbb4-9a44bbe6895c 2025-11-19 17:34:58,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/36b9b951-42cb-4581-baff-4f1c645d0ebf 2025-11-19 17:35:01,434 - 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-11-19 17:35:01,434 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67166920 failed! 2025-11-19 17:35:01,485 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71852647:ctest-vn1-66602558 is 14.63.240.129 and allocation pool is NOT set 2025-11-19 17:35:03,548 - 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=4.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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 = 1.989/3.245/4.501/1.256 ms') 2025-11-19 17:35:03,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67166920 passed 2025-11-19 17:35:03,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:03,697 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67166920, IP 14.63.240.131, Port 22 2025-11-19 17:35:03,849 - DEBUG - VM ctest-vn1-vm1-67166920 is ready for SSH connections 2025-11-19 17:35:03,849 - INFO - Waiting for VM ctest-vn2-vm1-90886059 to be up.. 2025-11-19 17:35:03,914 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:35:03,914 - INFO - VM name : ctest-vn2-vm1-90886059 2025-11-19 17:35:03,977 - DEBUG - VM ctest-vn2-vm1-90886059 ID is 50c0f670-111f-4a9b-b0f2-7d0928efe508 2025-11-19 17:35:03,977 - DEBUG - VM ctest-vn2-vm1-90886059 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:35:04,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/50c0f670-111f-4a9b-b0f2-7d0928efe508 2025-11-19 17:35:04,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/006dea74-197d-4407-9b21-5c14847881cd 2025-11-19 17:35:05,301 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.513/2.670/1.157 ms') 2025-11-19 17:35:05,301 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90886059 passed 2025-11-19 17:35:05,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:05,449 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90886059, IP 131.82.254.131, Port 22 2025-11-19 17:35:05,600 - DEBUG - VM ctest-vn2-vm1-90886059 is ready for SSH connections 2025-11-19 17:35:05,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:05,601 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.82.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:35:05,601 - DEBUG - ping -s 56 -c 3 -W 1 131.82.254.131 2025-11-19 17:35:10,283 - DEBUG - PING 131.82.254.131 (131.82.254.131): 56 data bytes --- 131.82.254.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 17:35:10,283 - WARNING - Ping to IP 131.82.254.131 from VM ctest-vn1-vm1-67166920 failed 2025-11-19 17:35:10,283 - INFO - Adding interface with subnet_id de60caa2-1635-449d-8cc0-5f9f02ab0707, port_id None to router 87e50a52-a108-49d2-8b8f-72cb550fbcc8 2025-11-19 17:35:10,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:10,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.82.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:35:10,505 - DEBUG - ping -s 56 -c 3 -W 1 131.82.254.131 2025-11-19 17:35:12,706 - DEBUG - PING 131.82.254.131 (131.82.254.131): 56 data bytes 64 bytes from 131.82.254.131: seq=0 ttl=63 time=2.412 ms 64 bytes from 131.82.254.131: seq=1 ttl=63 time=0.833 ms 64 bytes from 131.82.254.131: seq=2 ttl=63 time=0.798 ms --- 131.82.254.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.347/2.412 ms 2025-11-19 17:35:12,706 - INFO - Ping to IP 131.82.254.131 from VM ctest-vn1-vm1-67166920 passed 2025-11-19 17:35:12,706 - INFO - Deleting interface with subnet_id 401fedf8-27ac-4036-900a-d5deb83383d9, port_id None from router 87e50a52-a108-49d2-8b8f-72cb550fbcc8 2025-11-19 17:35:12,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:12,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.82.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:35:12,810 - DEBUG - ping -s 56 -c 3 -W 1 131.82.254.131 2025-11-19 17:35:16,004 - DEBUG - PING 131.82.254.131 (131.82.254.131): 56 data bytes --- 131.82.254.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 17:35:16,004 - WARNING - Ping to IP 131.82.254.131 from VM ctest-vn1-vm1-67166920 failed 2025-11-19 17:35:16,004 - INFO - Adding interface with subnet_id 401fedf8-27ac-4036-900a-d5deb83383d9, port_id None to router 87e50a52-a108-49d2-8b8f-72cb550fbcc8 2025-11-19 17:35:16,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:16,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.82.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:35:16,178 - DEBUG - ping -s 56 -c 3 -W 1 131.82.254.131 2025-11-19 17:35:19,396 - DEBUG - PING 131.82.254.131 (131.82.254.131): 56 data bytes 64 bytes from 131.82.254.131: seq=1 ttl=63 time=1.319 ms 64 bytes from 131.82.254.131: seq=2 ttl=63 time=0.671 ms --- 131.82.254.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.671/0.995/1.319 ms 2025-11-19 17:35:19,396 - WARNING - Ping to IP 131.82.254.131 from VM ctest-vn1-vm1-67166920 failed 2025-11-19 17:35:20,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.82.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:35:20,398 - DEBUG - ping -s 56 -c 3 -W 1 131.82.254.131 2025-11-19 17:35:22,616 - DEBUG - PING 131.82.254.131 (131.82.254.131): 56 data bytes 64 bytes from 131.82.254.131: seq=0 ttl=63 time=1.375 ms 64 bytes from 131.82.254.131: seq=1 ttl=63 time=0.977 ms 64 bytes from 131.82.254.131: seq=2 ttl=63 time=0.900 ms --- 131.82.254.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/1.084/1.375 ms 2025-11-19 17:35:22,616 - INFO - Ping to IP 131.82.254.131 from VM ctest-vn1-vm1-67166920 passed 2025-11-19 17:35:22,616 - INFO - Deleting interface with subnet_id de60caa2-1635-449d-8cc0-5f9f02ab0707, port_id None from router 87e50a52-a108-49d2-8b8f-72cb550fbcc8 2025-11-19 17:35:22,708 - INFO - Deleting interface with subnet_id 401fedf8-27ac-4036-900a-d5deb83383d9, port_id None from router 87e50a52-a108-49d2-8b8f-72cb550fbcc8 2025-11-19 17:35:22,856 - INFO - Deleting VM ctest-vn2-vm1-90886059 2025-11-19 17:35:22,920 - INFO - Deleting VM ctest-vn1-vm1-67166920 2025-11-19 17:35:22,980 - INFO - Deleting VN ctest-vn2-70520211 2025-11-19 17:35:23,012 - DEBUG - VN d9bee638-e6d8-47d5-9de2-96f1ebe88c78 still in use: Unable to complete operation on network d9bee638-e6d8-47d5-9de2-96f1ebe88c78. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-821b5222-627e-428b-9d67-4cf0804a22ae'] 2025-11-19 17:35:23,013 - WARNING - Deleting VN ctest-vn2-70520211 failed..Will retry 2025-11-19 17:35:25,109 - DEBUG - Response for deleting network () 2025-11-19 17:35:25,109 - INFO - Deleting VN ctest-vn1-66602558 2025-11-19 17:35:25,200 - DEBUG - Response for deleting network () 2025-11-19 17:35:25,459 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 17:35:25,459 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-19 17:35:25,459 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:35:26,107 - INFO - Deleted project: ctest-TestRouters-71852647, ID : 0b4f6e6c-4ece-4e6c-9499-02e54920b0be