2025-10-09 20:25:11,183 - INFO - Domain Default found not creating 2025-10-09 20:25:11,598 - INFO - Project ctest-TestRouters-17060831 not found, creating it 2025-10-09 20:25:12,200 - INFO - Created Project:ctest-TestRouters-17060831, ID : 3e26ee3d-0901-4fdf-aebe-1728c1b9210a 2025-10-09 20:25:14,417 - INFO - ================================================================================ 2025-10-09 20:25:14,417 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 20:25:14,417 - 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-10-09 20:25:14,744 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-10-09 20:25:14,744 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:25:14,744 - INFO - 2025-10-09 20:25:15,532 - DEBUG - Response for create_network : {'network': {'id': '9f713168-a013-4379-9219-f5e40d24b9f7', 'name': 'ctest-vn1-06474811', 'tenant_id': '3e26ee3d09014fdfaebe1728c1b9210a', 'project_id': '3e26ee3d09014fdfaebe1728c1b9210a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17060831', 'ctest-vn1-06474811'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:25:15,695 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c62100f2-098e-4ae4-90ad-d28ef5a2cd20', 'name': '', 'tenant_id': '3e26ee3d09014fdfaebe1728c1b9210a', 'network_id': '9f713168-a013-4379-9219-f5e40d24b9f7', 'ip_version': 4, 'cidr': '74.31.183.0/26', 'allocation_pools': [{'start': '74.31.183.2', 'end': '74.31.183.62'}], 'gateway_ip': '74.31.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.31.183.2', 'tags': [], 'project_id': '3e26ee3d09014fdfaebe1728c1b9210a'}} 2025-10-09 20:25:15,712 - INFO - Created VN ctest-vn1-06474811 2025-10-09 20:25:15,764 - DEBUG - VN ctest-vn1-06474811 UUID is 9f713168-a013-4379-9219-f5e40d24b9f7 2025-10-09 20:25:16,172 - DEBUG - Response for create_network : {'network': {'id': 'e2348d3a-471b-4f9a-b435-c1896e34c98b', 'name': 'ctest-vn2-46004520', 'tenant_id': '3e26ee3d09014fdfaebe1728c1b9210a', 'project_id': '3e26ee3d09014fdfaebe1728c1b9210a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17060831', 'ctest-vn2-46004520'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:25:16,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a5f650e-1f61-4c71-8fe2-689f8c464c43', 'name': '', 'tenant_id': '3e26ee3d09014fdfaebe1728c1b9210a', 'network_id': 'e2348d3a-471b-4f9a-b435-c1896e34c98b', 'ip_version': 4, 'cidr': '52.98.99.192/26', 'allocation_pools': [{'start': '52.98.99.194', 'end': '52.98.99.254'}], 'gateway_ip': '52.98.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.98.99.194', 'tags': [], 'project_id': '3e26ee3d09014fdfaebe1728c1b9210a'}} 2025-10-09 20:25:16,438 - INFO - Created VN ctest-vn2-46004520 2025-10-09 20:25:16,491 - DEBUG - VN ctest-vn2-46004520 UUID is e2348d3a-471b-4f9a-b435-c1896e34c98b 2025-10-09 20:25:16,705 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:25:17,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1) 2025-10-09 20:25:19,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1) 2025-10-09 20:25:19,667 - INFO - Adding interface with subnet_id c62100f2-098e-4ae4-90ad-d28ef5a2cd20, port_id None to router 7aa0821f-ab5d-43d9-bd06-27db6bbc1041 2025-10-09 20:25:19,981 - INFO - Waiting for VM ctest-vn1-vm1-21733657 to be up.. 2025-10-09 20:25:20,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:25:25,308 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:25:25,308 - INFO - VM name : ctest-vn1-vm1-21733657 2025-10-09 20:25:25,468 - DEBUG - VM ctest-vn1-vm1-21733657 ID is b0748dcd-5601-4892-bde2-7082a4a42ba7 2025-10-09 20:25:25,488 - DEBUG - VM ctest-vn1-vm1-21733657 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1 2025-10-09 20:25:25,573 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b0748dcd-5601-4892-bde2-7082a4a42ba7 2025-10-09 20:25:25,891 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b0748dcd-5601-4892-bde2-7082a4a42ba7 2025-10-09 20:25:25,931 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1ff7cc42-7568-411a-9680-0ed2c61648e0 2025-10-09 20:25:29,236 - 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 1034ms') 2025-10-09 20:25:29,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21733657 failed! 2025-10-09 20:25:29,308 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17060831:ctest-vn1-06474811 is 74.31.183.1 and allocation pool is NOT set 2025-10-09 20:25:31,378 - 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=5.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.61 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.607/3.411/5.216/1.804 ms') 2025-10-09 20:25:31,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21733657 passed 2025-10-09 20:25:31,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:25:31,561 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21733657, IP 74.31.183.3, Port 22 2025-10-09 20:25:31,632 - 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-10-09 20:25:31,785 - DEBUG - VM ctest-vn1-vm1-21733657 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 20:25:36,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:25:36,786 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21733657, IP 74.31.183.3, Port 22 2025-10-09 20:25:36,990 - DEBUG - VM ctest-vn1-vm1-21733657 is ready for SSH connections 2025-10-09 20:25:36,991 - INFO - Waiting for VM ctest-vn2-vm1-63722877 to be up.. 2025-10-09 20:25:37,149 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:25:37,149 - INFO - VM name : ctest-vn2-vm1-63722877 2025-10-09 20:25:37,303 - DEBUG - VM ctest-vn2-vm1-63722877 ID is 0d6ce381-5414-44d3-a2d4-f5ce9693f323 2025-10-09 20:25:37,303 - DEBUG - VM ctest-vn2-vm1-63722877 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1 2025-10-09 20:25:37,438 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0d6ce381-5414-44d3-a2d4-f5ce9693f323 2025-10-09 20:25:37,448 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/19ff1cc3-8054-4728-a92f-1cf0a26b00d0 2025-10-09 20:25:38,747 - 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=8.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.762 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.762/4.705/8.648/3.943 ms') 2025-10-09 20:25:38,747 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63722877 passed 2025-10-09 20:25:38,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:25:38,916 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63722877, IP 52.98.99.195, Port 22 2025-10-09 20:25:39,118 - DEBUG - VM ctest-vn2-vm1-63722877 is ready for SSH connections 2025-10-09 20:25:39,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:25:39,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.98.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-09 20:25:39,119 - DEBUG - ping -s 56 -c 3 -W 1 52.98.99.195 2025-10-09 20:25:44,836 - DEBUG - PING 52.98.99.195 (52.98.99.195): 56 data bytes --- 52.98.99.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:25:44,837 - WARNING - Ping to IP 52.98.99.195 from VM ctest-vn1-vm1-21733657 failed 2025-10-09 20:25:44,837 - INFO - Adding interface with subnet_id 8a5f650e-1f61-4c71-8fe2-689f8c464c43, port_id None to router 7aa0821f-ab5d-43d9-bd06-27db6bbc1041 2025-10-09 20:25:45,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:25:45,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.98.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-09 20:25:45,214 - DEBUG - ping -s 56 -c 3 -W 1 52.98.99.195 2025-10-09 20:25:47,463 - DEBUG - PING 52.98.99.195 (52.98.99.195): 56 data bytes 64 bytes from 52.98.99.195: seq=0 ttl=63 time=3.410 ms 64 bytes from 52.98.99.195: seq=1 ttl=63 time=1.876 ms 64 bytes from 52.98.99.195: seq=2 ttl=63 time=2.023 ms --- 52.98.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.876/2.436/3.410 ms 2025-10-09 20:25:47,464 - INFO - Ping to IP 52.98.99.195 from VM ctest-vn1-vm1-21733657 passed 2025-10-09 20:25:47,464 - INFO - Deleting interface with subnet_id c62100f2-098e-4ae4-90ad-d28ef5a2cd20, port_id None from router 7aa0821f-ab5d-43d9-bd06-27db6bbc1041 2025-10-09 20:25:47,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:25:47,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.98.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-09 20:25:47,692 - DEBUG - ping -s 56 -c 3 -W 1 52.98.99.195 2025-10-09 20:25:50,931 - DEBUG - PING 52.98.99.195 (52.98.99.195): 56 data bytes --- 52.98.99.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:25:50,932 - WARNING - Ping to IP 52.98.99.195 from VM ctest-vn1-vm1-21733657 failed 2025-10-09 20:25:50,932 - INFO - Adding interface with subnet_id c62100f2-098e-4ae4-90ad-d28ef5a2cd20, port_id None to router 7aa0821f-ab5d-43d9-bd06-27db6bbc1041 2025-10-09 20:25:51,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:25:51,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.98.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-09 20:25:51,303 - DEBUG - ping -s 56 -c 3 -W 1 52.98.99.195 2025-10-09 20:25:53,541 - DEBUG - PING 52.98.99.195 (52.98.99.195): 56 data bytes 64 bytes from 52.98.99.195: seq=0 ttl=63 time=1.788 ms 64 bytes from 52.98.99.195: seq=1 ttl=63 time=1.788 ms 64 bytes from 52.98.99.195: seq=2 ttl=63 time=1.754 ms --- 52.98.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.754/1.776/1.788 ms 2025-10-09 20:25:53,542 - INFO - Ping to IP 52.98.99.195 from VM ctest-vn1-vm1-21733657 passed 2025-10-09 20:25:53,542 - INFO - Deleting interface with subnet_id 8a5f650e-1f61-4c71-8fe2-689f8c464c43, port_id None from router 7aa0821f-ab5d-43d9-bd06-27db6bbc1041 2025-10-09 20:25:53,768 - INFO - Deleting interface with subnet_id c62100f2-098e-4ae4-90ad-d28ef5a2cd20, port_id None from router 7aa0821f-ab5d-43d9-bd06-27db6bbc1041 2025-10-09 20:25:53,990 - INFO - Deleting VM ctest-vn2-vm1-63722877 2025-10-09 20:25:54,070 - INFO - Deleting VM ctest-vn1-vm1-21733657 2025-10-09 20:25:54,172 - INFO - Deleting VN ctest-vn2-46004520 2025-10-09 20:25:54,256 - DEBUG - VN e2348d3a-471b-4f9a-b435-c1896e34c98b still in use: Unable to complete operation on network e2348d3a-471b-4f9a-b435-c1896e34c98b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3cf54437-d4ca-44f8-a0e1-110945c68d62'] 2025-10-09 20:25:54,256 - WARNING - Deleting VN ctest-vn2-46004520 failed..Will retry 2025-10-09 20:25:56,438 - DEBUG - Response for deleting network () 2025-10-09 20:25:56,438 - INFO - Deleting VN ctest-vn1-06474811 2025-10-09 20:25:56,574 - DEBUG - Response for deleting network () 2025-10-09 20:25:56,885 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:25:56,885 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-10-09 20:25:56,885 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:25:57,796 - INFO - Deleted project: ctest-TestRouters-17060831, ID : 3e26ee3d-0901-4fdf-aebe-1728c1b9210a