2025-11-05 08:08:05,050 - INFO - Domain Default found not creating 2025-11-05 08:08:05,209 - INFO - Project ctest-TestRouters-39860014 not found, creating it 2025-11-05 08:08:05,681 - INFO - Created Project:ctest-TestRouters-39860014, ID : cd6bf3a4-eb25-4f8e-a714-b1502b776e03 2025-11-05 08:08:07,248 - INFO - ================================================================================ 2025-11-05 08:08:07,248 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 08:08:07,248 - 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-05 08:08:07,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-11-05 08:08:07,508 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:08:07,508 - INFO - 2025-11-05 08:08:08,060 - DEBUG - Response for create_network : {'network': {'id': 'aa43058d-a613-48f3-9399-d2a9d2a6d513', 'name': 'ctest-vn1-83910154', 'tenant_id': 'cd6bf3a4eb254f8ea714b1502b776e03', 'project_id': 'cd6bf3a4eb254f8ea714b1502b776e03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39860014', 'ctest-vn1-83910154'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:08:08,243 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a1905b2-1cac-4c24-bf65-37b8f2d08383', 'name': '', 'tenant_id': 'cd6bf3a4eb254f8ea714b1502b776e03', 'network_id': 'aa43058d-a613-48f3-9399-d2a9d2a6d513', 'ip_version': 4, 'cidr': '175.9.127.192/26', 'allocation_pools': [{'start': '175.9.127.194', 'end': '175.9.127.254'}], 'gateway_ip': '175.9.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.9.127.194', 'tags': [], 'project_id': 'cd6bf3a4eb254f8ea714b1502b776e03'}} 2025-11-05 08:08:08,262 - INFO - Created VN ctest-vn1-83910154 2025-11-05 08:08:08,319 - DEBUG - VN ctest-vn1-83910154 UUID is aa43058d-a613-48f3-9399-d2a9d2a6d513 2025-11-05 08:08:08,637 - DEBUG - Response for create_network : {'network': {'id': 'ae97b502-1349-4f6d-9158-6dda23949618', 'name': 'ctest-vn2-45922762', 'tenant_id': 'cd6bf3a4eb254f8ea714b1502b776e03', 'project_id': 'cd6bf3a4eb254f8ea714b1502b776e03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39860014', 'ctest-vn2-45922762'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:08:08,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fb8aefe-7c00-4424-9fad-303bcd7748c9', 'name': '', 'tenant_id': 'cd6bf3a4eb254f8ea714b1502b776e03', 'network_id': 'ae97b502-1349-4f6d-9158-6dda23949618', 'ip_version': 4, 'cidr': '125.29.138.192/26', 'allocation_pools': [{'start': '125.29.138.194', 'end': '125.29.138.254'}], 'gateway_ip': '125.29.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.29.138.194', 'tags': [], 'project_id': 'cd6bf3a4eb254f8ea714b1502b776e03'}} 2025-11-05 08:08:08,828 - INFO - Created VN ctest-vn2-45922762 2025-11-05 08:08:08,883 - DEBUG - VN ctest-vn2-45922762 UUID is ae97b502-1349-4f6d-9158-6dda23949618 2025-11-05 08:08:09,161 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:08:10,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1) 2025-11-05 08:08:11,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1) 2025-11-05 08:08:11,551 - INFO - Adding interface with subnet_id 2a1905b2-1cac-4c24-bf65-37b8f2d08383, port_id None to router 1b3ec955-11c9-42c2-b0c6-3c8aa9a2855c 2025-11-05 08:08:11,831 - INFO - Waiting for VM ctest-vn1-vm1-43582318 to be up.. 2025-11-05 08:08:11,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:08:16,994 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:08:16,994 - INFO - VM name : ctest-vn1-vm1-43582318 2025-11-05 08:08:17,059 - DEBUG - VM ctest-vn1-vm1-43582318 ID is 9f37b8e7-b684-4ece-9ef6-39191f12c49b 2025-11-05 08:08:17,079 - DEBUG - VM ctest-vn1-vm1-43582318 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1 2025-11-05 08:08:17,140 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9f37b8e7-b684-4ece-9ef6-39191f12c49b 2025-11-05 08:08:17,454 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9f37b8e7-b684-4ece-9ef6-39191f12c49b 2025-11-05 08:08:17,485 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/635a029f-9832-440b-918e-e66414277b39 2025-11-05 08:08:20,741 - 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=7.85 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 7.853/7.853/7.853/0.000 ms') 2025-11-05 08:08:20,741 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43582318 passed 2025-11-05 08:08:20,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:20,887 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43582318, IP 175.9.127.195, Port 22 2025-11-05 08:08:21,047 - DEBUG - VM ctest-vn1-vm1-43582318 is ready for SSH connections 2025-11-05 08:08:21,047 - INFO - Waiting for VM ctest-vn2-vm1-90903262 to be up.. 2025-11-05 08:08:21,120 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:08:21,120 - INFO - VM name : ctest-vn2-vm1-90903262 2025-11-05 08:08:21,186 - DEBUG - VM ctest-vn2-vm1-90903262 ID is 424369d4-c7c4-4064-ab0b-e11150166465 2025-11-05 08:08:21,187 - DEBUG - VM ctest-vn2-vm1-90903262 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1 2025-11-05 08:08:21,249 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/424369d4-c7c4-4064-ab0b-e11150166465 2025-11-05 08:08:21,257 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9d6be937-2dd5-4b47-9fb0-287f0b4bdb96 2025-11-05 08:08:22,483 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.455/1.694/2.933/1.239 ms') 2025-11-05 08:08:22,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90903262 passed 2025-11-05 08:08:22,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:22,631 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90903262, IP 125.29.138.195, Port 22 2025-11-05 08:08:22,787 - DEBUG - VM ctest-vn2-vm1-90903262 is ready for SSH connections 2025-11-05 08:08:22,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:22,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.29.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-05 08:08:22,787 - DEBUG - ping -s 56 -c 3 -W 1 125.29.138.195 2025-11-05 08:08:27,642 - DEBUG - PING 125.29.138.195 (125.29.138.195): 56 data bytes --- 125.29.138.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:08:27,643 - WARNING - Ping to IP 125.29.138.195 from VM ctest-vn1-vm1-43582318 failed 2025-11-05 08:08:27,643 - INFO - Adding interface with subnet_id 3fb8aefe-7c00-4424-9fad-303bcd7748c9, port_id None to router 1b3ec955-11c9-42c2-b0c6-3c8aa9a2855c 2025-11-05 08:08:27,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:27,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.29.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-05 08:08:27,861 - DEBUG - ping -s 56 -c 3 -W 1 125.29.138.195 2025-11-05 08:08:29,977 - DEBUG - PING 125.29.138.195 (125.29.138.195): 56 data bytes 64 bytes from 125.29.138.195: seq=0 ttl=63 time=2.555 ms 64 bytes from 125.29.138.195: seq=1 ttl=63 time=0.799 ms 64 bytes from 125.29.138.195: seq=2 ttl=63 time=1.001 ms --- 125.29.138.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.451/2.555 ms 2025-11-05 08:08:29,978 - INFO - Ping to IP 125.29.138.195 from VM ctest-vn1-vm1-43582318 passed 2025-11-05 08:08:29,978 - INFO - Deleting interface with subnet_id 2a1905b2-1cac-4c24-bf65-37b8f2d08383, port_id None from router 1b3ec955-11c9-42c2-b0c6-3c8aa9a2855c 2025-11-05 08:08:30,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:30,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.29.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-05 08:08:30,080 - DEBUG - ping -s 56 -c 3 -W 1 125.29.138.195 2025-11-05 08:08:33,199 - DEBUG - PING 125.29.138.195 (125.29.138.195): 56 data bytes --- 125.29.138.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:08:33,199 - WARNING - Ping to IP 125.29.138.195 from VM ctest-vn1-vm1-43582318 failed 2025-11-05 08:08:33,199 - INFO - Adding interface with subnet_id 2a1905b2-1cac-4c24-bf65-37b8f2d08383, port_id None to router 1b3ec955-11c9-42c2-b0c6-3c8aa9a2855c 2025-11-05 08:08:33,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:33,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.29.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-05 08:08:33,397 - DEBUG - ping -s 56 -c 3 -W 1 125.29.138.195 2025-11-05 08:08:35,516 - DEBUG - PING 125.29.138.195 (125.29.138.195): 56 data bytes 64 bytes from 125.29.138.195: seq=0 ttl=63 time=1.367 ms 64 bytes from 125.29.138.195: seq=1 ttl=63 time=0.882 ms 64 bytes from 125.29.138.195: seq=2 ttl=63 time=0.885 ms --- 125.29.138.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.044/1.367 ms 2025-11-05 08:08:35,517 - INFO - Ping to IP 125.29.138.195 from VM ctest-vn1-vm1-43582318 passed 2025-11-05 08:08:35,517 - INFO - Deleting interface with subnet_id 3fb8aefe-7c00-4424-9fad-303bcd7748c9, port_id None from router 1b3ec955-11c9-42c2-b0c6-3c8aa9a2855c 2025-11-05 08:08:35,617 - INFO - Deleting interface with subnet_id 2a1905b2-1cac-4c24-bf65-37b8f2d08383, port_id None from router 1b3ec955-11c9-42c2-b0c6-3c8aa9a2855c 2025-11-05 08:08:35,773 - INFO - Deleting VM ctest-vn2-vm1-90903262 2025-11-05 08:08:35,839 - INFO - Deleting VM ctest-vn1-vm1-43582318 2025-11-05 08:08:35,909 - INFO - Deleting VN ctest-vn2-45922762 2025-11-05 08:08:35,947 - DEBUG - VN ae97b502-1349-4f6d-9158-6dda23949618 still in use: Unable to complete operation on network ae97b502-1349-4f6d-9158-6dda23949618. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49677f0a-8c4c-4506-a474-b6298b93190b'] 2025-11-05 08:08:35,947 - WARNING - Deleting VN ctest-vn2-45922762 failed..Will retry 2025-11-05 08:08:38,062 - DEBUG - Response for deleting network () 2025-11-05 08:08:38,062 - INFO - Deleting VN ctest-vn1-83910154 2025-11-05 08:08:38,155 - DEBUG - Response for deleting network () 2025-11-05 08:08:38,407 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:08:38,407 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31] 2025-11-05 08:08:38,407 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:08:39,098 - INFO - Deleted project: ctest-TestRouters-39860014, ID : cd6bf3a4-eb25-4f8e-a714-b1502b776e03