2025-08-11 11:18:56,488 - INFO - Domain Default found not creating 2025-08-11 11:18:56,609 - INFO - Project ctest-TestRouters-58572386 not found, creating it 2025-08-11 11:18:57,062 - INFO - Created Project:ctest-TestRouters-58572386, ID : f83ed6ca-4b10-46a7-916b-6db52fade30a 2025-08-11 11:18:58,993 - INFO - ================================================================================ 2025-08-11 11:18:58,994 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 11:18:58,994 - 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-11 11:18:59,246 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-11 11:18:59,246 - INFO - Initial checks done. Running the testcase now 2025-08-11 11:18:59,246 - INFO - 2025-08-11 11:18:59,779 - DEBUG - Response for create_network : {'network': {'id': '756eda96-4d3c-4150-bd2b-3dadfe674503', 'name': 'ctest-vn1-06197806', 'tenant_id': 'f83ed6ca4b1046a7916b6db52fade30a', 'project_id': 'f83ed6ca4b1046a7916b6db52fade30a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58572386', 'ctest-vn1-06197806'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:18:59,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '039421b0-79ac-4ee4-8498-8a3f6c3c90b1', 'name': '', 'tenant_id': 'f83ed6ca4b1046a7916b6db52fade30a', 'network_id': '756eda96-4d3c-4150-bd2b-3dadfe674503', 'ip_version': 4, 'cidr': '189.39.213.192/26', 'allocation_pools': [{'start': '189.39.213.194', 'end': '189.39.213.254'}], 'gateway_ip': '189.39.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.39.213.194', 'tags': [], 'project_id': 'f83ed6ca4b1046a7916b6db52fade30a'}} 2025-08-11 11:18:59,947 - INFO - Created VN ctest-vn1-06197806 2025-08-11 11:18:59,997 - DEBUG - VN ctest-vn1-06197806 UUID is 756eda96-4d3c-4150-bd2b-3dadfe674503 2025-08-11 11:19:00,354 - DEBUG - Response for create_network : {'network': {'id': '581dab79-4e5d-42bd-bf88-4bd9b516bd43', 'name': 'ctest-vn2-04828800', 'tenant_id': 'f83ed6ca4b1046a7916b6db52fade30a', 'project_id': 'f83ed6ca4b1046a7916b6db52fade30a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58572386', 'ctest-vn2-04828800'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:19:00,569 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be304976-f85d-4fd3-89be-eb19c766ef60', 'name': '', 'tenant_id': 'f83ed6ca4b1046a7916b6db52fade30a', 'network_id': '581dab79-4e5d-42bd-bf88-4bd9b516bd43', 'ip_version': 4, 'cidr': '154.110.216.128/26', 'allocation_pools': [{'start': '154.110.216.130', 'end': '154.110.216.190'}], 'gateway_ip': '154.110.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.110.216.130', 'tags': [], 'project_id': 'f83ed6ca4b1046a7916b6db52fade30a'}} 2025-08-11 11:19:00,585 - INFO - Created VN ctest-vn2-04828800 2025-08-11 11:19:00,636 - DEBUG - VN ctest-vn2-04828800 UUID is 581dab79-4e5d-42bd-bf88-4bd9b516bd43 2025-08-11 11:19:00,824 - DEBUG - Services list from nova: [, , ] 2025-08-11 11:19:01,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:19:03,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:19:03,099 - INFO - Adding interface with subnet_id 039421b0-79ac-4ee4-8498-8a3f6c3c90b1, port_id None to router 5c97c401-4184-4f87-9da0-b63249b8eb11 2025-08-11 11:19:03,568 - INFO - Waiting for VM ctest-vn1-vm1-41230603 to be up.. 2025-08-11 11:19:03,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 11:19:08,722 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:19:08,722 - INFO - VM name : ctest-vn1-vm1-41230603 2025-08-11 11:19:08,789 - DEBUG - VM ctest-vn1-vm1-41230603 ID is 0cecfeb1-71b1-49fb-b66c-50f6cf366e98 2025-08-11 11:19:08,806 - DEBUG - VM ctest-vn1-vm1-41230603 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:19:08,870 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0cecfeb1-71b1-49fb-b66c-50f6cf366e98 2025-08-11 11:19:09,158 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0cecfeb1-71b1-49fb-b66c-50f6cf366e98 2025-08-11 11:19:09,186 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9b9d8ebf-9509-48e2-9e65-dd3afa851f0d 2025-08-11 11:19:12,452 - 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=2 ttl=63 time=9.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 9.971/9.971/9.971/0.000 ms') 2025-08-11 11:19:12,453 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41230603 passed 2025-08-11 11:19:12,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:12,601 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41230603, IP 189.39.213.195, Port 22 2025-08-11 11:19:12,656 - 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-11 11:19:12,722 - DEBUG - VM ctest-vn1-vm1-41230603 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 11:19:17,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:17,723 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41230603, IP 189.39.213.195, Port 22 2025-08-11 11:19:17,884 - DEBUG - VM ctest-vn1-vm1-41230603 is ready for SSH connections 2025-08-11 11:19:17,884 - INFO - Waiting for VM ctest-vn2-vm1-87296293 to be up.. 2025-08-11 11:19:17,944 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:19:17,944 - INFO - VM name : ctest-vn2-vm1-87296293 2025-08-11 11:19:18,006 - DEBUG - VM ctest-vn2-vm1-87296293 ID is dc0c4e1c-93a9-4e35-95c9-d2dd332fc2a4 2025-08-11 11:19:18,006 - DEBUG - VM ctest-vn2-vm1-87296293 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:19:18,066 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dc0c4e1c-93a9-4e35-95c9-d2dd332fc2a4 2025-08-11 11:19:18,073 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/24d723b1-4557-4aab-8a20-2911773c5cba 2025-08-11 11:19:19,300 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.316 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.316/1.630/2.944/1.314 ms') 2025-08-11 11:19:19,300 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-87296293 passed 2025-08-11 11:19:19,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:19,453 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87296293, IP 154.110.216.131, Port 22 2025-08-11 11:19:19,614 - DEBUG - VM ctest-vn2-vm1-87296293 is ready for SSH connections 2025-08-11 11:19:19,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:19,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.110.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:19:19,615 - DEBUG - ping -s 56 -c 3 -W 1 154.110.216.131 2025-08-11 11:19:24,518 - DEBUG - PING 154.110.216.131 (154.110.216.131): 56 data bytes --- 154.110.216.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 11:19:24,518 - WARNING - Ping to IP 154.110.216.131 from VM ctest-vn1-vm1-41230603 failed 2025-08-11 11:19:24,519 - INFO - Adding interface with subnet_id be304976-f85d-4fd3-89be-eb19c766ef60, port_id None to router 5c97c401-4184-4f87-9da0-b63249b8eb11 2025-08-11 11:19:24,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:24,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.110.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:19:24,756 - DEBUG - ping -s 56 -c 3 -W 1 154.110.216.131 2025-08-11 11:19:26,941 - DEBUG - PING 154.110.216.131 (154.110.216.131): 56 data bytes 64 bytes from 154.110.216.131: seq=0 ttl=63 time=2.343 ms 64 bytes from 154.110.216.131: seq=1 ttl=63 time=0.692 ms 64 bytes from 154.110.216.131: seq=2 ttl=63 time=0.636 ms --- 154.110.216.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.636/1.223/2.343 ms 2025-08-11 11:19:26,941 - INFO - Ping to IP 154.110.216.131 from VM ctest-vn1-vm1-41230603 passed 2025-08-11 11:19:26,942 - INFO - Deleting interface with subnet_id 039421b0-79ac-4ee4-8498-8a3f6c3c90b1, port_id None from router 5c97c401-4184-4f87-9da0-b63249b8eb11 2025-08-11 11:19:27,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:27,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.110.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:19:27,053 - DEBUG - ping -s 56 -c 3 -W 1 154.110.216.131 2025-08-11 11:19:30,237 - DEBUG - PING 154.110.216.131 (154.110.216.131): 56 data bytes --- 154.110.216.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 11:19:30,237 - WARNING - Ping to IP 154.110.216.131 from VM ctest-vn1-vm1-41230603 failed 2025-08-11 11:19:30,237 - INFO - Adding interface with subnet_id 039421b0-79ac-4ee4-8498-8a3f6c3c90b1, port_id None to router 5c97c401-4184-4f87-9da0-b63249b8eb11 2025-08-11 11:19:30,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:30,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.110.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:19:30,438 - DEBUG - ping -s 56 -c 3 -W 1 154.110.216.131 2025-08-11 11:19:32,626 - DEBUG - PING 154.110.216.131 (154.110.216.131): 56 data bytes 64 bytes from 154.110.216.131: seq=0 ttl=63 time=1.210 ms 64 bytes from 154.110.216.131: seq=1 ttl=63 time=0.685 ms 64 bytes from 154.110.216.131: seq=2 ttl=63 time=0.734 ms --- 154.110.216.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.685/0.876/1.210 ms 2025-08-11 11:19:32,627 - INFO - Ping to IP 154.110.216.131 from VM ctest-vn1-vm1-41230603 passed 2025-08-11 11:19:32,627 - INFO - Deleting interface with subnet_id be304976-f85d-4fd3-89be-eb19c766ef60, port_id None from router 5c97c401-4184-4f87-9da0-b63249b8eb11 2025-08-11 11:19:32,749 - INFO - Deleting interface with subnet_id 039421b0-79ac-4ee4-8498-8a3f6c3c90b1, port_id None from router 5c97c401-4184-4f87-9da0-b63249b8eb11 2025-08-11 11:19:32,919 - INFO - Deleting VM ctest-vn2-vm1-87296293 2025-08-11 11:19:32,984 - INFO - Deleting VM ctest-vn1-vm1-41230603 2025-08-11 11:19:33,047 - INFO - Deleting VN ctest-vn2-04828800 2025-08-11 11:19:33,081 - DEBUG - VN 581dab79-4e5d-42bd-bf88-4bd9b516bd43 still in use: Unable to complete operation on network 581dab79-4e5d-42bd-bf88-4bd9b516bd43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a07a871-30fe-4348-ad3c-b1eecf9118ba'] 2025-08-11 11:19:33,081 - WARNING - Deleting VN ctest-vn2-04828800 failed..Will retry 2025-08-11 11:19:35,171 - DEBUG - Response for deleting network () 2025-08-11 11:19:35,171 - INFO - Deleting VN ctest-vn1-06197806 2025-08-11 11:19:35,259 - DEBUG - Response for deleting network () 2025-08-11 11:19:35,517 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 11:19:35,517 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-08-11 11:19:35,517 - INFO - -------------------------------------------------------------------------------- 2025-08-11 11:19:36,177 - INFO - Deleted project: ctest-TestRouters-58572386, ID : f83ed6ca-4b10-46a7-916b-6db52fade30a