2025-09-02 22:35:41,660 - INFO - Domain Default found not creating 2025-09-02 22:35:41,809 - INFO - Project ctest-TestRouters-39889179 not found, creating it 2025-09-02 22:35:42,253 - INFO - Created Project:ctest-TestRouters-39889179, ID : 35d7fb9c-622f-4827-9fc0-e75338cb4f78 2025-09-02 22:35:43,651 - INFO - ================================================================================ 2025-09-02 22:35:43,652 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-02 22:35:43,652 - 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-02 22:35:43,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-02 22:35:43,908 - INFO - Initial checks done. Running the testcase now 2025-09-02 22:35:43,909 - INFO - 2025-09-02 22:35:44,430 - DEBUG - Response for create_network : {'network': {'id': '487556a1-27bf-4d3c-8ebf-b54efe626317', 'name': 'ctest-vn1-50460031', 'tenant_id': '35d7fb9c622f48279fc0e75338cb4f78', 'project_id': '35d7fb9c622f48279fc0e75338cb4f78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39889179', 'ctest-vn1-50460031'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:35:44,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '899d068d-1614-4ac7-b2f1-df63570ad1d7', 'name': '', 'tenant_id': '35d7fb9c622f48279fc0e75338cb4f78', 'network_id': '487556a1-27bf-4d3c-8ebf-b54efe626317', 'ip_version': 4, 'cidr': '119.92.213.192/26', 'allocation_pools': [{'start': '119.92.213.194', 'end': '119.92.213.254'}], 'gateway_ip': '119.92.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.92.213.194', 'tags': [], 'project_id': '35d7fb9c622f48279fc0e75338cb4f78'}} 2025-09-02 22:35:44,601 - INFO - Created VN ctest-vn1-50460031 2025-09-02 22:35:44,651 - DEBUG - VN ctest-vn1-50460031 UUID is 487556a1-27bf-4d3c-8ebf-b54efe626317 2025-09-02 22:35:44,945 - DEBUG - Response for create_network : {'network': {'id': '3fd2b1c0-e9a0-4fa4-a35d-01aa8dffca41', 'name': 'ctest-vn2-98438653', 'tenant_id': '35d7fb9c622f48279fc0e75338cb4f78', 'project_id': '35d7fb9c622f48279fc0e75338cb4f78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39889179', 'ctest-vn2-98438653'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:35:45,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '97d4e6a9-2b33-48a9-94af-2bffbb73f19b', 'name': '', 'tenant_id': '35d7fb9c622f48279fc0e75338cb4f78', 'network_id': '3fd2b1c0-e9a0-4fa4-a35d-01aa8dffca41', 'ip_version': 4, 'cidr': '35.133.162.64/26', 'allocation_pools': [{'start': '35.133.162.66', 'end': '35.133.162.126'}], 'gateway_ip': '35.133.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.133.162.66', 'tags': [], 'project_id': '35d7fb9c622f48279fc0e75338cb4f78'}} 2025-09-02 22:35:45,193 - INFO - Created VN ctest-vn2-98438653 2025-09-02 22:35:45,243 - DEBUG - VN ctest-vn2-98438653 UUID is 3fd2b1c0-e9a0-4fa4-a35d-01aa8dffca41 2025-09-02 22:35:45,456 - DEBUG - Services list from nova: [, , ] 2025-09-02 22:35:46,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1) 2025-09-02 22:35:47,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1) 2025-09-02 22:35:47,662 - INFO - Adding interface with subnet_id 899d068d-1614-4ac7-b2f1-df63570ad1d7, port_id None to router 6c46feed-18bc-4c1e-8508-008665081ed0 2025-09-02 22:35:47,894 - INFO - Waiting for VM ctest-vn1-vm1-24353738 to be up.. 2025-09-02 22:35:48,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-02 22:35:53,066 - DEBUG - VM is in ACTIVE state now 2025-09-02 22:35:53,066 - INFO - VM name : ctest-vn1-vm1-24353738 2025-09-02 22:35:53,133 - DEBUG - VM ctest-vn1-vm1-24353738 ID is a8588deb-c2ab-4351-b3b6-6a10baa05136 2025-09-02 22:35:53,150 - DEBUG - VM ctest-vn1-vm1-24353738 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1 2025-09-02 22:35:53,222 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a8588deb-c2ab-4351-b3b6-6a10baa05136 2025-09-02 22:35:53,518 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a8588deb-c2ab-4351-b3b6-6a10baa05136 2025-09-02 22:35:53,552 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/17bbf094-8885-4453-97f2-2029030f6e39 2025-09-02 22:35:56,797 - 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-02 22:35:56,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24353738 failed! 2025-09-02 22:35:56,851 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-39889179:ctest-vn1-50460031 is 119.92.213.193 and allocation pool is NOT set 2025-09-02 22:35:58,908 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.68 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.683/2.858/4.034/1.175 ms') 2025-09-02 22:35:58,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24353738 passed 2025-09-02 22:35:59,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:35:59,059 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24353738, IP 119.92.213.195, Port 22 2025-09-02 22:35:59,223 - DEBUG - VM ctest-vn1-vm1-24353738 is ready for SSH connections 2025-09-02 22:35:59,223 - INFO - Waiting for VM ctest-vn2-vm1-41554205 to be up.. 2025-09-02 22:35:59,294 - DEBUG - VM is in ACTIVE state now 2025-09-02 22:35:59,294 - INFO - VM name : ctest-vn2-vm1-41554205 2025-09-02 22:35:59,357 - DEBUG - VM ctest-vn2-vm1-41554205 ID is 1fe749e7-300b-4052-8ff6-14e09dfa3285 2025-09-02 22:35:59,357 - DEBUG - VM ctest-vn2-vm1-41554205 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1 2025-09-02 22:35:59,419 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1fe749e7-300b-4052-8ff6-14e09dfa3285 2025-09-02 22:35:59,427 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2b1b5586-9ed1-4648-8b29-18feef4f9b6f 2025-09-02 22:36:00,668 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.787 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.787/1.922/3.058/1.135 ms') 2025-09-02 22:36:00,668 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-41554205 passed 2025-09-02 22:36:00,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:00,819 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-41554205, IP 35.133.162.67, Port 22 2025-09-02 22:36:00,974 - DEBUG - VM ctest-vn2-vm1-41554205 is ready for SSH connections 2025-09-02 22:36:00,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:00,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.133.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:36:00,975 - DEBUG - ping -s 56 -c 3 -W 1 35.133.162.67 2025-09-02 22:36:05,612 - DEBUG - PING 35.133.162.67 (35.133.162.67): 56 data bytes --- 35.133.162.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-02 22:36:05,612 - WARNING - Ping to IP 35.133.162.67 from VM ctest-vn1-vm1-24353738 failed 2025-09-02 22:36:05,612 - INFO - Adding interface with subnet_id 97d4e6a9-2b33-48a9-94af-2bffbb73f19b, port_id None to router 6c46feed-18bc-4c1e-8508-008665081ed0 2025-09-02 22:36:05,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:05,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.133.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:36:05,847 - DEBUG - ping -s 56 -c 3 -W 1 35.133.162.67 2025-09-02 22:36:08,043 - DEBUG - PING 35.133.162.67 (35.133.162.67): 56 data bytes 64 bytes from 35.133.162.67: seq=0 ttl=63 time=2.500 ms 64 bytes from 35.133.162.67: seq=1 ttl=63 time=0.975 ms 64 bytes from 35.133.162.67: seq=2 ttl=63 time=0.949 ms --- 35.133.162.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/1.474/2.500 ms 2025-09-02 22:36:08,043 - INFO - Ping to IP 35.133.162.67 from VM ctest-vn1-vm1-24353738 passed 2025-09-02 22:36:08,043 - INFO - Deleting interface with subnet_id 899d068d-1614-4ac7-b2f1-df63570ad1d7, port_id None from router 6c46feed-18bc-4c1e-8508-008665081ed0 2025-09-02 22:36:08,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:08,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.133.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:36:08,138 - DEBUG - ping -s 56 -c 3 -W 1 35.133.162.67 2025-09-02 22:36:11,327 - DEBUG - PING 35.133.162.67 (35.133.162.67): 56 data bytes --- 35.133.162.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-02 22:36:11,327 - WARNING - Ping to IP 35.133.162.67 from VM ctest-vn1-vm1-24353738 failed 2025-09-02 22:36:11,327 - INFO - Adding interface with subnet_id 899d068d-1614-4ac7-b2f1-df63570ad1d7, port_id None to router 6c46feed-18bc-4c1e-8508-008665081ed0 2025-09-02 22:36:11,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:11,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.133.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:36:11,526 - DEBUG - ping -s 56 -c 3 -W 1 35.133.162.67 2025-09-02 22:36:14,721 - DEBUG - PING 35.133.162.67 (35.133.162.67): 56 data bytes 64 bytes from 35.133.162.67: seq=1 ttl=63 time=1.680 ms 64 bytes from 35.133.162.67: seq=2 ttl=63 time=1.028 ms --- 35.133.162.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.028/1.354/1.680 ms 2025-09-02 22:36:14,721 - WARNING - Ping to IP 35.133.162.67 from VM ctest-vn1-vm1-24353738 failed 2025-09-02 22:36:15,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.133.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:36:15,722 - DEBUG - ping -s 56 -c 3 -W 1 35.133.162.67 2025-09-02 22:36:17,946 - DEBUG - PING 35.133.162.67 (35.133.162.67): 56 data bytes 64 bytes from 35.133.162.67: seq=0 ttl=63 time=1.763 ms 64 bytes from 35.133.162.67: seq=1 ttl=63 time=1.220 ms 64 bytes from 35.133.162.67: seq=2 ttl=63 time=0.773 ms --- 35.133.162.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.252/1.763 ms 2025-09-02 22:36:17,946 - INFO - Ping to IP 35.133.162.67 from VM ctest-vn1-vm1-24353738 passed 2025-09-02 22:36:17,946 - INFO - Deleting interface with subnet_id 97d4e6a9-2b33-48a9-94af-2bffbb73f19b, port_id None from router 6c46feed-18bc-4c1e-8508-008665081ed0 2025-09-02 22:36:18,059 - INFO - Deleting interface with subnet_id 899d068d-1614-4ac7-b2f1-df63570ad1d7, port_id None from router 6c46feed-18bc-4c1e-8508-008665081ed0 2025-09-02 22:36:18,256 - INFO - Deleting VM ctest-vn2-vm1-41554205 2025-09-02 22:36:18,323 - INFO - Deleting VM ctest-vn1-vm1-24353738 2025-09-02 22:36:18,397 - INFO - Deleting VN ctest-vn2-98438653 2025-09-02 22:36:18,451 - DEBUG - VN 3fd2b1c0-e9a0-4fa4-a35d-01aa8dffca41 still in use: Unable to complete operation on network 3fd2b1c0-e9a0-4fa4-a35d-01aa8dffca41. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82e28a99-f7fd-42dd-a23d-02ac89d0f85d'] 2025-09-02 22:36:18,451 - WARNING - Deleting VN ctest-vn2-98438653 failed..Will retry 2025-09-02 22:36:20,542 - DEBUG - Response for deleting network () 2025-09-02 22:36:20,543 - INFO - Deleting VN ctest-vn1-50460031 2025-09-02 22:36:20,641 - DEBUG - Response for deleting network () 2025-09-02 22:36:20,896 - DEBUG - No XMPP flaps were noticed during the test 2025-09-02 22:36:20,896 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-02 22:36:20,896 - INFO - -------------------------------------------------------------------------------- 2025-09-02 22:36:21,563 - INFO - Deleted project: ctest-TestRouters-39889179, ID : 35d7fb9c-622f-4827-9fc0-e75338cb4f78