2025-08-07 02:16:03,513 - INFO - Domain Default found not creating 2025-08-07 02:16:03,784 - INFO - Project ctest-TestRouters-55424722 not found, creating it 2025-08-07 02:16:04,322 - INFO - Created Project:ctest-TestRouters-55424722, ID : 9ca13368-3982-4285-98a3-078a9677e68f 2025-08-07 02:16:05,949 - INFO - ================================================================================ 2025-08-07 02:16:05,950 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-07 02:16:05,950 - 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-08-07 02:16:06,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-08-07 02:16:06,206 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:16:06,206 - INFO - 2025-08-07 02:16:06,821 - DEBUG - Response for create_network : {'network': {'id': 'f144bfab-9d92-42d9-b645-d588b4933f02', 'name': 'ctest-vn1-93002883', 'tenant_id': '9ca133683982428598a3078a9677e68f', 'project_id': '9ca133683982428598a3078a9677e68f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55424722', 'ctest-vn1-93002883'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:07,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '95873bce-075f-4d36-a817-06c3ef8906ab', 'name': '', 'tenant_id': '9ca133683982428598a3078a9677e68f', 'network_id': 'f144bfab-9d92-42d9-b645-d588b4933f02', 'ip_version': 4, 'cidr': '178.84.25.0/26', 'allocation_pools': [{'start': '178.84.25.2', 'end': '178.84.25.62'}], 'gateway_ip': '178.84.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.84.25.2', 'tags': [], 'project_id': '9ca133683982428598a3078a9677e68f'}} 2025-08-07 02:16:07,095 - INFO - Created VN ctest-vn1-93002883 2025-08-07 02:16:07,152 - DEBUG - VN ctest-vn1-93002883 UUID is f144bfab-9d92-42d9-b645-d588b4933f02 2025-08-07 02:16:07,452 - DEBUG - Response for create_network : {'network': {'id': '80d5e93e-50b6-4486-8797-b91c8f2e2e52', 'name': 'ctest-vn2-03678038', 'tenant_id': '9ca133683982428598a3078a9677e68f', 'project_id': '9ca133683982428598a3078a9677e68f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55424722', 'ctest-vn2-03678038'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:07,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fe6b870-9a90-4e5a-83cc-1fd269c51140', 'name': '', 'tenant_id': '9ca133683982428598a3078a9677e68f', 'network_id': '80d5e93e-50b6-4486-8797-b91c8f2e2e52', 'ip_version': 4, 'cidr': '222.175.240.128/26', 'allocation_pools': [{'start': '222.175.240.130', 'end': '222.175.240.190'}], 'gateway_ip': '222.175.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.175.240.130', 'tags': [], 'project_id': '9ca133683982428598a3078a9677e68f'}} 2025-08-07 02:16:07,648 - INFO - Created VN ctest-vn2-03678038 2025-08-07 02:16:07,700 - DEBUG - VN ctest-vn2-03678038 UUID is 80d5e93e-50b6-4486-8797-b91c8f2e2e52 2025-08-07 02:16:07,877 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:16:09,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:16:10,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:16:10,426 - INFO - Adding interface with subnet_id 95873bce-075f-4d36-a817-06c3ef8906ab, port_id None to router 0f4e7b75-c6ff-4d6e-b36b-23fa92d121dd 2025-08-07 02:16:10,904 - INFO - Waiting for VM ctest-vn1-vm1-72729565 to be up.. 2025-08-07 02:16:11,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:16:16,106 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:16:16,106 - INFO - VM name : ctest-vn1-vm1-72729565 2025-08-07 02:16:16,182 - DEBUG - VM ctest-vn1-vm1-72729565 ID is 66787ad0-dbbe-434b-b373-17210901fb30 2025-08-07 02:16:16,203 - DEBUG - VM ctest-vn1-vm1-72729565 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:16:16,285 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/66787ad0-dbbe-434b-b373-17210901fb30 2025-08-07 02:16:16,619 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/66787ad0-dbbe-434b-b373-17210901fb30 2025-08-07 02:16:16,653 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a3a89598-4d60-43ca-aaab-7aca31e08537 2025-08-07 02:16:19,930 - 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 1025ms') 2025-08-07 02:16:19,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72729565 failed! 2025-08-07 02:16:19,987 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55424722:ctest-vn1-93002883 is 178.84.25.1 and allocation pool is NOT set 2025-08-07 02:16:22,050 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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.078/2.903/4.729/1.825 ms') 2025-08-07 02:16:22,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72729565 passed 2025-08-07 02:16:22,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:22,208 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72729565, IP 178.84.25.3, Port 22 2025-08-07 02:16:22,277 - 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-08-07 02:16:22,371 - DEBUG - VM ctest-vn1-vm1-72729565 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:16:27,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:27,373 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72729565, IP 178.84.25.3, Port 22 2025-08-07 02:16:27,542 - DEBUG - VM ctest-vn1-vm1-72729565 is ready for SSH connections 2025-08-07 02:16:27,542 - INFO - Waiting for VM ctest-vn2-vm1-04807920 to be up.. 2025-08-07 02:16:27,649 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:16:27,649 - INFO - VM name : ctest-vn2-vm1-04807920 2025-08-07 02:16:27,730 - DEBUG - VM ctest-vn2-vm1-04807920 ID is 12fb7c70-0307-49dd-9740-ae37811a7aaa 2025-08-07 02:16:27,730 - DEBUG - VM ctest-vn2-vm1-04807920 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:16:27,811 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/12fb7c70-0307-49dd-9740-ae37811a7aaa 2025-08-07 02:16:27,821 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/75d7115b-3f8d-41b1-88ce-d40ebf78d3c9 2025-08-07 02:16:29,076 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.898/3.419/1.520 ms') 2025-08-07 02:16:29,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-04807920 passed 2025-08-07 02:16:29,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:29,232 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-04807920, IP 222.175.240.131, Port 22 2025-08-07 02:16:29,391 - DEBUG - VM ctest-vn2-vm1-04807920 is ready for SSH connections 2025-08-07 02:16:29,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:29,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.175.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:16:29,392 - DEBUG - ping -s 56 -c 3 -W 1 222.175.240.131 2025-08-07 02:16:34,438 - DEBUG - PING 222.175.240.131 (222.175.240.131): 56 data bytes --- 222.175.240.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:16:34,438 - WARNING - Ping to IP 222.175.240.131 from VM ctest-vn1-vm1-72729565 failed 2025-08-07 02:16:34,438 - INFO - Adding interface with subnet_id 8fe6b870-9a90-4e5a-83cc-1fd269c51140, port_id None to router 0f4e7b75-c6ff-4d6e-b36b-23fa92d121dd 2025-08-07 02:16:34,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:34,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.175.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:16:34,732 - DEBUG - ping -s 56 -c 3 -W 1 222.175.240.131 2025-08-07 02:16:37,956 - DEBUG - PING 222.175.240.131 (222.175.240.131): 56 data bytes 64 bytes from 222.175.240.131: seq=1 ttl=63 time=2.865 ms 64 bytes from 222.175.240.131: seq=2 ttl=63 time=0.873 ms --- 222.175.240.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.873/1.869/2.865 ms 2025-08-07 02:16:37,956 - WARNING - Ping to IP 222.175.240.131 from VM ctest-vn1-vm1-72729565 failed 2025-08-07 02:16:38,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.175.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:16:38,957 - DEBUG - ping -s 56 -c 3 -W 1 222.175.240.131 2025-08-07 02:16:41,177 - DEBUG - PING 222.175.240.131 (222.175.240.131): 56 data bytes 64 bytes from 222.175.240.131: seq=0 ttl=63 time=1.565 ms 64 bytes from 222.175.240.131: seq=1 ttl=63 time=0.869 ms 64 bytes from 222.175.240.131: seq=2 ttl=63 time=0.865 ms --- 222.175.240.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.099/1.565 ms 2025-08-07 02:16:41,177 - INFO - Ping to IP 222.175.240.131 from VM ctest-vn1-vm1-72729565 passed 2025-08-07 02:16:41,177 - INFO - Deleting interface with subnet_id 95873bce-075f-4d36-a817-06c3ef8906ab, port_id None from router 0f4e7b75-c6ff-4d6e-b36b-23fa92d121dd 2025-08-07 02:16:41,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:41,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.175.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:16:41,336 - DEBUG - ping -s 56 -c 3 -W 1 222.175.240.131 2025-08-07 02:16:44,554 - DEBUG - PING 222.175.240.131 (222.175.240.131): 56 data bytes --- 222.175.240.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:16:44,554 - WARNING - Ping to IP 222.175.240.131 from VM ctest-vn1-vm1-72729565 failed 2025-08-07 02:16:44,554 - INFO - Adding interface with subnet_id 95873bce-075f-4d36-a817-06c3ef8906ab, port_id None to router 0f4e7b75-c6ff-4d6e-b36b-23fa92d121dd 2025-08-07 02:16:44,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:44,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.175.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:16:44,779 - DEBUG - ping -s 56 -c 3 -W 1 222.175.240.131 2025-08-07 02:16:47,008 - DEBUG - PING 222.175.240.131 (222.175.240.131): 56 data bytes 64 bytes from 222.175.240.131: seq=0 ttl=63 time=1.701 ms 64 bytes from 222.175.240.131: seq=1 ttl=63 time=0.999 ms 64 bytes from 222.175.240.131: seq=2 ttl=63 time=0.937 ms --- 222.175.240.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/1.212/1.701 ms 2025-08-07 02:16:47,008 - INFO - Ping to IP 222.175.240.131 from VM ctest-vn1-vm1-72729565 passed 2025-08-07 02:16:47,008 - INFO - Deleting interface with subnet_id 8fe6b870-9a90-4e5a-83cc-1fd269c51140, port_id None from router 0f4e7b75-c6ff-4d6e-b36b-23fa92d121dd 2025-08-07 02:16:47,138 - INFO - Deleting interface with subnet_id 95873bce-075f-4d36-a817-06c3ef8906ab, port_id None from router 0f4e7b75-c6ff-4d6e-b36b-23fa92d121dd 2025-08-07 02:16:47,340 - INFO - Deleting VM ctest-vn2-vm1-04807920 2025-08-07 02:16:47,426 - INFO - Deleting VM ctest-vn1-vm1-72729565 2025-08-07 02:16:47,498 - INFO - Deleting VN ctest-vn2-03678038 2025-08-07 02:16:47,543 - DEBUG - VN 80d5e93e-50b6-4486-8797-b91c8f2e2e52 still in use: Unable to complete operation on network 80d5e93e-50b6-4486-8797-b91c8f2e2e52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c022a16-4ae5-4060-94d3-3a35d1f51da7'] 2025-08-07 02:16:47,543 - WARNING - Deleting VN ctest-vn2-03678038 failed..Will retry 2025-08-07 02:16:49,662 - DEBUG - Response for deleting network () 2025-08-07 02:16:49,662 - INFO - Deleting VN ctest-vn1-93002883 2025-08-07 02:16:49,771 - DEBUG - Response for deleting network () 2025-08-07 02:16:50,025 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:16:50,025 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-08-07 02:16:50,025 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:16:50,742 - INFO - Deleted project: ctest-TestRouters-55424722, ID : 9ca13368-3982-4285-98a3-078a9677e68f