2025-11-12 21:46:17,173 - INFO - Domain Default found not creating 2025-11-12 21:46:17,310 - INFO - Project ctest-TestRouters-85292356 not found, creating it 2025-11-12 21:46:17,734 - INFO - Created Project:ctest-TestRouters-85292356, ID : f53cd181-ac69-43ba-a3e4-c992c9f2afab 2025-11-12 21:46:19,227 - INFO - ================================================================================ 2025-11-12 21:46:19,227 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 21:46:19,227 - 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-12 21:46:19,489 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-12 21:46:19,489 - INFO - Initial checks done. Running the testcase now 2025-11-12 21:46:19,489 - INFO - 2025-11-12 21:46:20,051 - DEBUG - Response for create_network : {'network': {'id': 'abc69859-d222-426a-a79f-4fc3789839e9', 'name': 'ctest-vn1-95682534', 'tenant_id': 'f53cd181ac6943baa3e4c992c9f2afab', 'project_id': 'f53cd181ac6943baa3e4c992c9f2afab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-85292356', 'ctest-vn1-95682534'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 21:46:20,257 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e27be039-ba6a-4635-b0d3-0965f945714f', 'name': '', 'tenant_id': 'f53cd181ac6943baa3e4c992c9f2afab', 'network_id': 'abc69859-d222-426a-a79f-4fc3789839e9', 'ip_version': 4, 'cidr': '85.79.20.64/26', 'allocation_pools': [{'start': '85.79.20.66', 'end': '85.79.20.126'}], 'gateway_ip': '85.79.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.79.20.66', 'tags': [], 'project_id': 'f53cd181ac6943baa3e4c992c9f2afab'}} 2025-11-12 21:46:20,273 - INFO - Created VN ctest-vn1-95682534 2025-11-12 21:46:20,323 - DEBUG - VN ctest-vn1-95682534 UUID is abc69859-d222-426a-a79f-4fc3789839e9 2025-11-12 21:46:20,673 - DEBUG - Response for create_network : {'network': {'id': 'f40a76a3-2dca-4580-a455-292c6a8d774e', 'name': 'ctest-vn2-39120362', 'tenant_id': 'f53cd181ac6943baa3e4c992c9f2afab', 'project_id': 'f53cd181ac6943baa3e4c992c9f2afab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-85292356', 'ctest-vn2-39120362'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 21:46:21,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c8d26a3-7a0c-4627-a902-4c5ada486aec', 'name': '', 'tenant_id': 'f53cd181ac6943baa3e4c992c9f2afab', 'network_id': 'f40a76a3-2dca-4580-a455-292c6a8d774e', 'ip_version': 4, 'cidr': '159.110.72.64/26', 'allocation_pools': [{'start': '159.110.72.66', 'end': '159.110.72.126'}], 'gateway_ip': '159.110.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.110.72.66', 'tags': [], 'project_id': 'f53cd181ac6943baa3e4c992c9f2afab'}} 2025-11-12 21:46:21,332 - INFO - Created VN ctest-vn2-39120362 2025-11-12 21:46:21,391 - DEBUG - VN ctest-vn2-39120362 UUID is f40a76a3-2dca-4580-a455-292c6a8d774e 2025-11-12 21:46:21,635 - DEBUG - Services list from nova: [, , ] 2025-11-12 21:46:22,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4711-1) 2025-11-12 21:46:23,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4711-1) 2025-11-12 21:46:23,901 - INFO - Adding interface with subnet_id e27be039-ba6a-4635-b0d3-0965f945714f, port_id None to router 427d34bb-30d0-401d-b0ac-393ebf876fc6 2025-11-12 21:46:24,150 - INFO - Waiting for VM ctest-vn1-vm1-16312518 to be up.. 2025-11-12 21:46:24,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 21:46:29,309 - DEBUG - VM is in ACTIVE state now 2025-11-12 21:46:29,309 - INFO - VM name : ctest-vn1-vm1-16312518 2025-11-12 21:46:29,369 - DEBUG - VM ctest-vn1-vm1-16312518 ID is 5c2ab36a-b650-4af7-92fa-a85b42507afb 2025-11-12 21:46:29,385 - DEBUG - VM ctest-vn1-vm1-16312518 launched on Node cn-jenkins-deploy-platform-ansible-os-4711-1 2025-11-12 21:46:29,450 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c2ab36a-b650-4af7-92fa-a85b42507afb 2025-11-12 21:46:29,768 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c2ab36a-b650-4af7-92fa-a85b42507afb 2025-11-12 21:46:29,809 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2da0d8da-157d-42b2-a403-c2eb688e1331 2025-11-12 21:46:31,055 - 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=6.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.49 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 = 3.491/4.946/6.401/1.455 ms') 2025-11-12 21:46:31,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16312518 passed 2025-11-12 21:46:31,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:31,208 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16312518, IP 85.79.20.67, Port 22 2025-11-12 21:46:31,263 - 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-11-12 21:46:31,331 - DEBUG - VM ctest-vn1-vm1-16312518 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 21:46:36,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:36,331 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16312518, IP 85.79.20.67, Port 22 2025-11-12 21:46:36,488 - DEBUG - VM ctest-vn1-vm1-16312518 is ready for SSH connections 2025-11-12 21:46:36,488 - INFO - Waiting for VM ctest-vn2-vm1-84687613 to be up.. 2025-11-12 21:46:36,551 - DEBUG - VM is in ACTIVE state now 2025-11-12 21:46:36,551 - INFO - VM name : ctest-vn2-vm1-84687613 2025-11-12 21:46:36,612 - DEBUG - VM ctest-vn2-vm1-84687613 ID is 902ac5b0-389a-4faa-85ad-e1910d0100c5 2025-11-12 21:46:36,612 - DEBUG - VM ctest-vn2-vm1-84687613 launched on Node cn-jenkins-deploy-platform-ansible-os-4711-1 2025-11-12 21:46:36,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/902ac5b0-389a-4faa-85ad-e1910d0100c5 2025-11-12 21:46:36,682 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/02ee0b40-6c2c-4832-9381-d182552f8221 2025-11-12 21:46:37,920 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.702/2.967/1.265 ms') 2025-11-12 21:46:37,920 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84687613 passed 2025-11-12 21:46:38,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:38,072 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84687613, IP 159.110.72.67, Port 22 2025-11-12 21:46:38,242 - DEBUG - VM ctest-vn2-vm1-84687613 is ready for SSH connections 2025-11-12 21:46:38,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:38,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.110.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-12 21:46:38,243 - DEBUG - ping -s 56 -c 3 -W 1 159.110.72.67 2025-11-12 21:46:42,815 - DEBUG - PING 159.110.72.67 (159.110.72.67): 56 data bytes --- 159.110.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 21:46:42,815 - WARNING - Ping to IP 159.110.72.67 from VM ctest-vn1-vm1-16312518 failed 2025-11-12 21:46:42,815 - INFO - Adding interface with subnet_id 4c8d26a3-7a0c-4627-a902-4c5ada486aec, port_id None to router 427d34bb-30d0-401d-b0ac-393ebf876fc6 2025-11-12 21:46:43,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:43,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.110.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-12 21:46:43,043 - DEBUG - ping -s 56 -c 3 -W 1 159.110.72.67 2025-11-12 21:46:45,167 - DEBUG - PING 159.110.72.67 (159.110.72.67): 56 data bytes 64 bytes from 159.110.72.67: seq=0 ttl=63 time=3.032 ms 64 bytes from 159.110.72.67: seq=1 ttl=63 time=0.826 ms 64 bytes from 159.110.72.67: seq=2 ttl=63 time=1.021 ms --- 159.110.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.626/3.032 ms 2025-11-12 21:46:45,167 - INFO - Ping to IP 159.110.72.67 from VM ctest-vn1-vm1-16312518 passed 2025-11-12 21:46:45,167 - INFO - Deleting interface with subnet_id e27be039-ba6a-4635-b0d3-0965f945714f, port_id None from router 427d34bb-30d0-401d-b0ac-393ebf876fc6 2025-11-12 21:46:45,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:45,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.110.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-12 21:46:45,286 - DEBUG - ping -s 56 -c 3 -W 1 159.110.72.67 2025-11-12 21:46:48,395 - DEBUG - PING 159.110.72.67 (159.110.72.67): 56 data bytes --- 159.110.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 21:46:48,395 - WARNING - Ping to IP 159.110.72.67 from VM ctest-vn1-vm1-16312518 failed 2025-11-12 21:46:48,395 - INFO - Adding interface with subnet_id e27be039-ba6a-4635-b0d3-0965f945714f, port_id None to router 427d34bb-30d0-401d-b0ac-393ebf876fc6 2025-11-12 21:46:48,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:48,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.110.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-12 21:46:48,569 - DEBUG - ping -s 56 -c 3 -W 1 159.110.72.67 2025-11-12 21:46:51,680 - DEBUG - PING 159.110.72.67 (159.110.72.67): 56 data bytes 64 bytes from 159.110.72.67: seq=1 ttl=63 time=1.356 ms 64 bytes from 159.110.72.67: seq=2 ttl=63 time=0.838 ms --- 159.110.72.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.838/1.097/1.356 ms 2025-11-12 21:46:51,680 - WARNING - Ping to IP 159.110.72.67 from VM ctest-vn1-vm1-16312518 failed 2025-11-12 21:46:52,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.110.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-12 21:46:52,681 - DEBUG - ping -s 56 -c 3 -W 1 159.110.72.67 2025-11-12 21:46:54,799 - DEBUG - PING 159.110.72.67 (159.110.72.67): 56 data bytes 64 bytes from 159.110.72.67: seq=0 ttl=63 time=1.400 ms 64 bytes from 159.110.72.67: seq=1 ttl=63 time=0.947 ms 64 bytes from 159.110.72.67: seq=2 ttl=63 time=0.833 ms --- 159.110.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.060/1.400 ms 2025-11-12 21:46:54,799 - INFO - Ping to IP 159.110.72.67 from VM ctest-vn1-vm1-16312518 passed 2025-11-12 21:46:54,799 - INFO - Deleting interface with subnet_id 4c8d26a3-7a0c-4627-a902-4c5ada486aec, port_id None from router 427d34bb-30d0-401d-b0ac-393ebf876fc6 2025-11-12 21:46:54,904 - INFO - Deleting interface with subnet_id e27be039-ba6a-4635-b0d3-0965f945714f, port_id None from router 427d34bb-30d0-401d-b0ac-393ebf876fc6 2025-11-12 21:46:55,062 - INFO - Deleting VM ctest-vn2-vm1-84687613 2025-11-12 21:46:55,121 - INFO - Deleting VM ctest-vn1-vm1-16312518 2025-11-12 21:46:55,188 - INFO - Deleting VN ctest-vn2-39120362 2025-11-12 21:46:55,220 - DEBUG - VN f40a76a3-2dca-4580-a455-292c6a8d774e still in use: Unable to complete operation on network f40a76a3-2dca-4580-a455-292c6a8d774e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13b225aa-9924-4dd8-89bb-ea88f46ef663'] 2025-11-12 21:46:55,220 - WARNING - Deleting VN ctest-vn2-39120362 failed..Will retry 2025-11-12 21:46:57,318 - DEBUG - Response for deleting network () 2025-11-12 21:46:57,318 - INFO - Deleting VN ctest-vn1-95682534 2025-11-12 21:46:57,410 - DEBUG - Response for deleting network () 2025-11-12 21:46:57,672 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 21:46:57,673 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-12 21:46:57,673 - INFO - -------------------------------------------------------------------------------- 2025-11-12 21:46:58,370 - INFO - Deleted project: ctest-TestRouters-85292356, ID : f53cd181-ac69-43ba-a3e4-c992c9f2afab