2025-09-24 11:05:52,532 - INFO - Domain Default found not creating 2025-09-24 11:05:52,708 - INFO - Project ctest-TestRouters-17707515 not found, creating it 2025-09-24 11:05:53,334 - INFO - Created Project:ctest-TestRouters-17707515, ID : d9f3980f-1958-424f-a340-6a20bfb0e0d2 2025-09-24 11:05:54,946 - INFO - ================================================================================ 2025-09-24 11:05:54,946 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-24 11:05:54,946 - 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-24 11:05:55,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 11:05:55,206 - INFO - Initial checks done. Running the testcase now 2025-09-24 11:05:55,206 - INFO - 2025-09-24 11:05:55,832 - DEBUG - Response for create_network : {'network': {'id': 'e60feaa2-5c51-46d4-99ab-4bfab5d7fbf3', 'name': 'ctest-vn1-20390718', 'tenant_id': 'd9f3980f1958424fa3406a20bfb0e0d2', 'project_id': 'd9f3980f1958424fa3406a20bfb0e0d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17707515', 'ctest-vn1-20390718'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:05:56,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa383033-3fc3-4545-b494-b8c2e178660d', 'name': '', 'tenant_id': 'd9f3980f1958424fa3406a20bfb0e0d2', 'network_id': 'e60feaa2-5c51-46d4-99ab-4bfab5d7fbf3', 'ip_version': 4, 'cidr': '221.188.74.128/26', 'allocation_pools': [{'start': '221.188.74.130', 'end': '221.188.74.190'}], 'gateway_ip': '221.188.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.188.74.130', 'tags': [], 'project_id': 'd9f3980f1958424fa3406a20bfb0e0d2'}} 2025-09-24 11:05:56,069 - INFO - Created VN ctest-vn1-20390718 2025-09-24 11:05:56,122 - DEBUG - VN ctest-vn1-20390718 UUID is e60feaa2-5c51-46d4-99ab-4bfab5d7fbf3 2025-09-24 11:05:56,463 - DEBUG - Response for create_network : {'network': {'id': '811754ab-d76e-4e15-be26-130ddafd6ab0', 'name': 'ctest-vn2-40269510', 'tenant_id': 'd9f3980f1958424fa3406a20bfb0e0d2', 'project_id': 'd9f3980f1958424fa3406a20bfb0e0d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17707515', 'ctest-vn2-40269510'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:05:56,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '154fce1b-4485-48cc-8ea6-9452914bd0d7', 'name': '', 'tenant_id': 'd9f3980f1958424fa3406a20bfb0e0d2', 'network_id': '811754ab-d76e-4e15-be26-130ddafd6ab0', 'ip_version': 4, 'cidr': '111.188.163.0/26', 'allocation_pools': [{'start': '111.188.163.2', 'end': '111.188.163.62'}], 'gateway_ip': '111.188.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.188.163.2', 'tags': [], 'project_id': 'd9f3980f1958424fa3406a20bfb0e0d2'}} 2025-09-24 11:05:56,675 - INFO - Created VN ctest-vn2-40269510 2025-09-24 11:05:56,730 - DEBUG - VN ctest-vn2-40269510 UUID is 811754ab-d76e-4e15-be26-130ddafd6ab0 2025-09-24 11:05:56,902 - DEBUG - Services list from nova: [, , ] 2025-09-24 11:05:58,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1) 2025-09-24 11:05:59,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1) 2025-09-24 11:05:59,538 - INFO - Adding interface with subnet_id aa383033-3fc3-4545-b494-b8c2e178660d, port_id None to router 679487d7-0bb6-4048-a94f-16e35655bfc3 2025-09-24 11:05:59,894 - INFO - Waiting for VM ctest-vn1-vm1-30920229 to be up.. 2025-09-24 11:06:00,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 11:06:05,112 - DEBUG - VM is in ACTIVE state now 2025-09-24 11:06:05,112 - INFO - VM name : ctest-vn1-vm1-30920229 2025-09-24 11:06:05,197 - DEBUG - VM ctest-vn1-vm1-30920229 ID is 2344fc2d-2533-4b53-bdce-1eb99d85b500 2025-09-24 11:06:05,218 - DEBUG - VM ctest-vn1-vm1-30920229 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1 2025-09-24 11:06:05,302 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2344fc2d-2533-4b53-bdce-1eb99d85b500 2025-09-24 11:06:05,643 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2344fc2d-2533-4b53-bdce-1eb99d85b500 2025-09-24 11:06:05,677 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/757581f3-96f9-408e-b905-3c0d66796b63 2025-09-24 11:06:08,944 - 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 1018ms') 2025-09-24 11:06:08,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30920229 failed! 2025-09-24 11:06:08,998 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17707515:ctest-vn1-20390718 is 221.188.74.129 and allocation pool is NOT set 2025-09-24 11:06:11,059 - 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=3.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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 = 0.477/2.101/3.726/1.624 ms') 2025-09-24 11:06:11,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30920229 passed 2025-09-24 11:06:11,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:06:11,210 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30920229, IP 221.188.74.131, Port 22 2025-09-24 11:06:11,374 - DEBUG - VM ctest-vn1-vm1-30920229 is ready for SSH connections 2025-09-24 11:06:11,374 - INFO - Waiting for VM ctest-vn2-vm1-84159253 to be up.. 2025-09-24 11:06:11,465 - DEBUG - VM is in ACTIVE state now 2025-09-24 11:06:11,465 - INFO - VM name : ctest-vn2-vm1-84159253 2025-09-24 11:06:11,557 - DEBUG - VM ctest-vn2-vm1-84159253 ID is 817c1a46-3ded-45cf-b734-5023c98fd6d3 2025-09-24 11:06:11,557 - DEBUG - VM ctest-vn2-vm1-84159253 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1 2025-09-24 11:06:11,639 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/817c1a46-3ded-45cf-b734-5023c98fd6d3 2025-09-24 11:06:11,648 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c7108016-2ebb-487a-ab0b-a18c4ad571b2 2025-09-24 11:06:12,888 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.091/2.525/3.960/1.434 ms') 2025-09-24 11:06:12,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84159253 passed 2025-09-24 11:06:13,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:06:13,039 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84159253, IP 111.188.163.3, Port 22 2025-09-24 11:06:13,094 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-24 11:06:13,178 - DEBUG - VM ctest-vn2-vm1-84159253 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-24 11:06:18,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:06:18,179 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84159253, IP 111.188.163.3, Port 22 2025-09-24 11:06:18,334 - DEBUG - VM ctest-vn2-vm1-84159253 is ready for SSH connections 2025-09-24 11:06:18,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:06:18,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.188.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:06:18,334 - DEBUG - ping -s 56 -c 3 -W 1 111.188.163.3 2025-09-24 11:06:23,420 - DEBUG - PING 111.188.163.3 (111.188.163.3): 56 data bytes --- 111.188.163.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 11:06:23,420 - WARNING - Ping to IP 111.188.163.3 from VM ctest-vn1-vm1-30920229 failed 2025-09-24 11:06:23,420 - INFO - Adding interface with subnet_id 154fce1b-4485-48cc-8ea6-9452914bd0d7, port_id None to router 679487d7-0bb6-4048-a94f-16e35655bfc3 2025-09-24 11:06:23,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:06:23,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.188.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:06:23,657 - DEBUG - ping -s 56 -c 3 -W 1 111.188.163.3 2025-09-24 11:06:26,906 - DEBUG - PING 111.188.163.3 (111.188.163.3): 56 data bytes 64 bytes from 111.188.163.3: seq=1 ttl=63 time=4.083 ms 64 bytes from 111.188.163.3: seq=2 ttl=63 time=0.992 ms --- 111.188.163.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.992/2.537/4.083 ms 2025-09-24 11:06:26,906 - WARNING - Ping to IP 111.188.163.3 from VM ctest-vn1-vm1-30920229 failed 2025-09-24 11:06:27,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.188.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:06:27,907 - DEBUG - ping -s 56 -c 3 -W 1 111.188.163.3 2025-09-24 11:06:30,139 - DEBUG - PING 111.188.163.3 (111.188.163.3): 56 data bytes 64 bytes from 111.188.163.3: seq=0 ttl=63 time=1.484 ms 64 bytes from 111.188.163.3: seq=1 ttl=63 time=0.878 ms 64 bytes from 111.188.163.3: seq=2 ttl=63 time=0.834 ms --- 111.188.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.065/1.484 ms 2025-09-24 11:06:30,140 - INFO - Ping to IP 111.188.163.3 from VM ctest-vn1-vm1-30920229 passed 2025-09-24 11:06:30,140 - INFO - Deleting interface with subnet_id aa383033-3fc3-4545-b494-b8c2e178660d, port_id None from router 679487d7-0bb6-4048-a94f-16e35655bfc3 2025-09-24 11:06:30,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:06:30,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.188.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:06:30,264 - DEBUG - ping -s 56 -c 3 -W 1 111.188.163.3 2025-09-24 11:06:33,496 - DEBUG - PING 111.188.163.3 (111.188.163.3): 56 data bytes --- 111.188.163.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 11:06:33,496 - WARNING - Ping to IP 111.188.163.3 from VM ctest-vn1-vm1-30920229 failed 2025-09-24 11:06:33,497 - INFO - Adding interface with subnet_id aa383033-3fc3-4545-b494-b8c2e178660d, port_id None to router 679487d7-0bb6-4048-a94f-16e35655bfc3 2025-09-24 11:06:33,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:06:33,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.188.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:06:33,719 - DEBUG - ping -s 56 -c 3 -W 1 111.188.163.3 2025-09-24 11:06:35,959 - DEBUG - PING 111.188.163.3 (111.188.163.3): 56 data bytes 64 bytes from 111.188.163.3: seq=0 ttl=63 time=1.832 ms 64 bytes from 111.188.163.3: seq=1 ttl=63 time=0.917 ms 64 bytes from 111.188.163.3: seq=2 ttl=63 time=0.877 ms --- 111.188.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.208/1.832 ms 2025-09-24 11:06:35,959 - INFO - Ping to IP 111.188.163.3 from VM ctest-vn1-vm1-30920229 passed 2025-09-24 11:06:35,959 - INFO - Deleting interface with subnet_id 154fce1b-4485-48cc-8ea6-9452914bd0d7, port_id None from router 679487d7-0bb6-4048-a94f-16e35655bfc3 2025-09-24 11:06:36,067 - INFO - Deleting interface with subnet_id aa383033-3fc3-4545-b494-b8c2e178660d, port_id None from router 679487d7-0bb6-4048-a94f-16e35655bfc3 2025-09-24 11:06:36,246 - INFO - Deleting VM ctest-vn2-vm1-84159253 2025-09-24 11:06:36,321 - INFO - Deleting VM ctest-vn1-vm1-30920229 2025-09-24 11:06:36,391 - INFO - Deleting VN ctest-vn2-40269510 2025-09-24 11:06:36,428 - DEBUG - VN 811754ab-d76e-4e15-be26-130ddafd6ab0 still in use: Unable to complete operation on network 811754ab-d76e-4e15-be26-130ddafd6ab0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08bebfcc-8450-42c3-8f16-e696b08c258b'] 2025-09-24 11:06:36,428 - WARNING - Deleting VN ctest-vn2-40269510 failed..Will retry 2025-09-24 11:06:38,538 - DEBUG - Response for deleting network () 2025-09-24 11:06:38,538 - INFO - Deleting VN ctest-vn1-20390718 2025-09-24 11:06:38,661 - DEBUG - Response for deleting network () 2025-09-24 11:06:38,915 - DEBUG - No XMPP flaps were noticed during the test 2025-09-24 11:06:38,915 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-09-24 11:06:38,916 - INFO - -------------------------------------------------------------------------------- 2025-09-24 11:06:39,643 - INFO - Deleted project: ctest-TestRouters-17707515, ID : d9f3980f-1958-424f-a340-6a20bfb0e0d2