2025-10-05 07:15:18,440 - INFO - Domain Default found not creating 2025-10-05 07:15:18,569 - INFO - Project ctest-TestRouters-92230787 not found, creating it 2025-10-05 07:15:19,016 - INFO - Created Project:ctest-TestRouters-92230787, ID : 83cd0cef-b0b0-483f-90a7-4740bab55771 2025-10-05 07:15:20,392 - INFO - ================================================================================ 2025-10-05 07:15:20,392 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-05 07:15:20,392 - 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-05 07:15:20,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-05 07:15:20,648 - INFO - Initial checks done. Running the testcase now 2025-10-05 07:15:20,648 - INFO - 2025-10-05 07:15:21,180 - DEBUG - Response for create_network : {'network': {'id': 'ab42161e-47a3-43e3-a4a2-1d1fdedd4469', 'name': 'ctest-vn1-01840674', 'tenant_id': '83cd0cefb0b0483f90a74740bab55771', 'project_id': '83cd0cefb0b0483f90a74740bab55771', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92230787', 'ctest-vn1-01840674'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:15:21,372 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2e62c0d-da66-4802-b4bd-a82a08cd64da', 'name': '', 'tenant_id': '83cd0cefb0b0483f90a74740bab55771', 'network_id': 'ab42161e-47a3-43e3-a4a2-1d1fdedd4469', 'ip_version': 4, 'cidr': '68.249.221.0/26', 'allocation_pools': [{'start': '68.249.221.2', 'end': '68.249.221.62'}], 'gateway_ip': '68.249.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.249.221.2', 'tags': [], 'project_id': '83cd0cefb0b0483f90a74740bab55771'}} 2025-10-05 07:15:21,387 - INFO - Created VN ctest-vn1-01840674 2025-10-05 07:15:21,443 - DEBUG - VN ctest-vn1-01840674 UUID is ab42161e-47a3-43e3-a4a2-1d1fdedd4469 2025-10-05 07:15:21,748 - DEBUG - Response for create_network : {'network': {'id': '348431c0-82bf-4840-9cb0-cec3fb4b5a7e', 'name': 'ctest-vn2-87323761', 'tenant_id': '83cd0cefb0b0483f90a74740bab55771', 'project_id': '83cd0cefb0b0483f90a74740bab55771', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92230787', 'ctest-vn2-87323761'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 07:15:21,989 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b677c16c-5e8d-40dd-82bc-0921761f5a82', 'name': '', 'tenant_id': '83cd0cefb0b0483f90a74740bab55771', 'network_id': '348431c0-82bf-4840-9cb0-cec3fb4b5a7e', 'ip_version': 4, 'cidr': '83.48.125.0/26', 'allocation_pools': [{'start': '83.48.125.2', 'end': '83.48.125.62'}], 'gateway_ip': '83.48.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.48.125.2', 'tags': [], 'project_id': '83cd0cefb0b0483f90a74740bab55771'}} 2025-10-05 07:15:22,010 - INFO - Created VN ctest-vn2-87323761 2025-10-05 07:15:22,071 - DEBUG - VN ctest-vn2-87323761 UUID is 348431c0-82bf-4840-9cb0-cec3fb4b5a7e 2025-10-05 07:15:22,307 - DEBUG - Services list from nova: [, , ] 2025-10-05 07:15:23,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4213-1) 2025-10-05 07:15:24,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4213-1) 2025-10-05 07:15:24,517 - INFO - Adding interface with subnet_id d2e62c0d-da66-4802-b4bd-a82a08cd64da, port_id None to router 515b9db9-d832-40cf-b7e8-94fd6e00872b 2025-10-05 07:15:24,772 - INFO - Waiting for VM ctest-vn1-vm1-85119297 to be up.. 2025-10-05 07:15:24,938 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-05 07:15:30,007 - DEBUG - VM is in ACTIVE state now 2025-10-05 07:15:30,007 - INFO - VM name : ctest-vn1-vm1-85119297 2025-10-05 07:15:30,078 - DEBUG - VM ctest-vn1-vm1-85119297 ID is 9a0e20f6-d0ed-4cf0-a492-7da1abdf6f42 2025-10-05 07:15:30,096 - DEBUG - VM ctest-vn1-vm1-85119297 launched on Node cn-jenkins-deploy-platform-ansible-os-4213-1 2025-10-05 07:15:30,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a0e20f6-d0ed-4cf0-a492-7da1abdf6f42 2025-10-05 07:15:30,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a0e20f6-d0ed-4cf0-a492-7da1abdf6f42 2025-10-05 07:15:30,492 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2f6e03a1-e803-42c6-a8b0-9949dc0f5fc5 2025-10-05 07:15:33,732 - 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 1012ms') 2025-10-05 07:15:33,732 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85119297 failed! 2025-10-05 07:15:33,783 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-92230787:ctest-vn1-01840674 is 68.249.221.1 and allocation pool is NOT set 2025-10-05 07:15:35,842 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.372 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.372/1.620/2.869/1.248 ms') 2025-10-05 07:15:35,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85119297 passed 2025-10-05 07:15:35,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:35,995 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85119297, IP 68.249.221.3, Port 22 2025-10-05 07:15:36,147 - DEBUG - VM ctest-vn1-vm1-85119297 is ready for SSH connections 2025-10-05 07:15:36,147 - INFO - Waiting for VM ctest-vn2-vm1-16256479 to be up.. 2025-10-05 07:15:36,213 - DEBUG - VM is in ACTIVE state now 2025-10-05 07:15:36,213 - INFO - VM name : ctest-vn2-vm1-16256479 2025-10-05 07:15:36,275 - DEBUG - VM ctest-vn2-vm1-16256479 ID is db18f402-6d61-4dde-809e-07abab0dcbae 2025-10-05 07:15:36,275 - DEBUG - VM ctest-vn2-vm1-16256479 launched on Node cn-jenkins-deploy-platform-ansible-os-4213-1 2025-10-05 07:15:36,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db18f402-6d61-4dde-809e-07abab0dcbae 2025-10-05 07:15:36,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1a530976-77af-42ca-bf1f-57c65487e71f 2025-10-05 07:15:37,578 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.524/2.689/1.164 ms') 2025-10-05 07:15:37,578 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-16256479 passed 2025-10-05 07:15:37,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:37,727 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-16256479, IP 83.48.125.3, Port 22 2025-10-05 07:15:37,878 - DEBUG - VM ctest-vn2-vm1-16256479 is ready for SSH connections 2025-10-05 07:15:37,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:37,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.48.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:15:37,879 - DEBUG - ping -s 56 -c 3 -W 1 83.48.125.3 2025-10-05 07:15:42,790 - DEBUG - PING 83.48.125.3 (83.48.125.3): 56 data bytes --- 83.48.125.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-05 07:15:42,790 - WARNING - Ping to IP 83.48.125.3 from VM ctest-vn1-vm1-85119297 failed 2025-10-05 07:15:42,790 - INFO - Adding interface with subnet_id b677c16c-5e8d-40dd-82bc-0921761f5a82, port_id None to router 515b9db9-d832-40cf-b7e8-94fd6e00872b 2025-10-05 07:15:43,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:43,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.48.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:15:43,053 - DEBUG - ping -s 56 -c 3 -W 1 83.48.125.3 2025-10-05 07:15:45,247 - DEBUG - PING 83.48.125.3 (83.48.125.3): 56 data bytes 64 bytes from 83.48.125.3: seq=0 ttl=63 time=2.359 ms 64 bytes from 83.48.125.3: seq=1 ttl=63 time=0.997 ms 64 bytes from 83.48.125.3: seq=2 ttl=63 time=0.681 ms --- 83.48.125.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.681/1.345/2.359 ms 2025-10-05 07:15:45,247 - INFO - Ping to IP 83.48.125.3 from VM ctest-vn1-vm1-85119297 passed 2025-10-05 07:15:45,247 - INFO - Deleting interface with subnet_id d2e62c0d-da66-4802-b4bd-a82a08cd64da, port_id None from router 515b9db9-d832-40cf-b7e8-94fd6e00872b 2025-10-05 07:15:45,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:45,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.48.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:15:45,340 - DEBUG - ping -s 56 -c 3 -W 1 83.48.125.3 2025-10-05 07:15:48,532 - DEBUG - PING 83.48.125.3 (83.48.125.3): 56 data bytes --- 83.48.125.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-05 07:15:48,533 - WARNING - Ping to IP 83.48.125.3 from VM ctest-vn1-vm1-85119297 failed 2025-10-05 07:15:48,533 - INFO - Adding interface with subnet_id d2e62c0d-da66-4802-b4bd-a82a08cd64da, port_id None to router 515b9db9-d832-40cf-b7e8-94fd6e00872b 2025-10-05 07:15:48,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 07:15:48,715 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.48.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:15:48,715 - DEBUG - ping -s 56 -c 3 -W 1 83.48.125.3 2025-10-05 07:15:51,914 - DEBUG - PING 83.48.125.3 (83.48.125.3): 56 data bytes 64 bytes from 83.48.125.3: seq=1 ttl=63 time=1.378 ms 64 bytes from 83.48.125.3: seq=2 ttl=63 time=0.775 ms --- 83.48.125.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.775/1.076/1.378 ms 2025-10-05 07:15:51,914 - WARNING - Ping to IP 83.48.125.3 from VM ctest-vn1-vm1-85119297 failed 2025-10-05 07:15:52,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.48.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 07:15:52,915 - DEBUG - ping -s 56 -c 3 -W 1 83.48.125.3 2025-10-05 07:15:55,115 - DEBUG - PING 83.48.125.3 (83.48.125.3): 56 data bytes 64 bytes from 83.48.125.3: seq=0 ttl=63 time=1.667 ms 64 bytes from 83.48.125.3: seq=1 ttl=63 time=0.834 ms 64 bytes from 83.48.125.3: seq=2 ttl=63 time=0.816 ms --- 83.48.125.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.105/1.667 ms 2025-10-05 07:15:55,115 - INFO - Ping to IP 83.48.125.3 from VM ctest-vn1-vm1-85119297 passed 2025-10-05 07:15:55,115 - INFO - Deleting interface with subnet_id b677c16c-5e8d-40dd-82bc-0921761f5a82, port_id None from router 515b9db9-d832-40cf-b7e8-94fd6e00872b 2025-10-05 07:15:55,224 - INFO - Deleting interface with subnet_id d2e62c0d-da66-4802-b4bd-a82a08cd64da, port_id None from router 515b9db9-d832-40cf-b7e8-94fd6e00872b 2025-10-05 07:15:55,388 - INFO - Deleting VM ctest-vn2-vm1-16256479 2025-10-05 07:15:55,453 - INFO - Deleting VM ctest-vn1-vm1-85119297 2025-10-05 07:15:55,516 - INFO - Deleting VN ctest-vn2-87323761 2025-10-05 07:15:55,555 - DEBUG - VN 348431c0-82bf-4840-9cb0-cec3fb4b5a7e still in use: Unable to complete operation on network 348431c0-82bf-4840-9cb0-cec3fb4b5a7e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2ddcd26-e58f-4f37-94f6-8a09afb36f34'] 2025-10-05 07:15:55,555 - WARNING - Deleting VN ctest-vn2-87323761 failed..Will retry 2025-10-05 07:15:57,653 - DEBUG - Response for deleting network () 2025-10-05 07:15:57,653 - INFO - Deleting VN ctest-vn1-01840674 2025-10-05 07:15:57,740 - DEBUG - Response for deleting network () 2025-10-05 07:15:57,991 - DEBUG - No XMPP flaps were noticed during the test
2025-10-05 07:15:57,991 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-05 07:15:57,991 - INFO - -------------------------------------------------------------------------------- 2025-10-05 07:15:58,642 - INFO - Deleted project: ctest-TestRouters-92230787, ID : 83cd0cef-b0b0-483f-90a7-4740bab55771