2025-11-13 08:11:43,963 - INFO - Domain Default found not creating 2025-11-13 08:11:44,134 - INFO - Project ctest-TestRouters-48894943 not found, creating it 2025-11-13 08:11:44,622 - INFO - Created Project:ctest-TestRouters-48894943, ID : 7c3f5d8c-69ea-453e-b7c3-c34187a73fca 2025-11-13 08:11:46,798 - INFO - ================================================================================ 2025-11-13 08:11:46,798 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-13 08:11:46,798 - 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-13 08:11:47,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 08:11:47,064 - INFO - Initial checks done. Running the testcase now 2025-11-13 08:11:47,064 - INFO - 2025-11-13 08:11:47,614 - DEBUG - Response for create_network : {'network': {'id': '61a7c9c0-69d8-4d79-a9ad-91a0a582522f', 'name': 'ctest-vn1-38873113', 'tenant_id': '7c3f5d8c69ea453eb7c3c34187a73fca', 'project_id': '7c3f5d8c69ea453eb7c3c34187a73fca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48894943', 'ctest-vn1-38873113'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:11:47,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b2bddf7-a88f-441f-acf1-b3f800833884', 'name': '', 'tenant_id': '7c3f5d8c69ea453eb7c3c34187a73fca', 'network_id': '61a7c9c0-69d8-4d79-a9ad-91a0a582522f', 'ip_version': 4, 'cidr': '105.42.81.128/26', 'allocation_pools': [{'start': '105.42.81.130', 'end': '105.42.81.190'}], 'gateway_ip': '105.42.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.42.81.130', 'tags': [], 'project_id': '7c3f5d8c69ea453eb7c3c34187a73fca'}} 2025-11-13 08:11:47,851 - INFO - Created VN ctest-vn1-38873113 2025-11-13 08:11:47,902 - DEBUG - VN ctest-vn1-38873113 UUID is 61a7c9c0-69d8-4d79-a9ad-91a0a582522f 2025-11-13 08:11:48,202 - DEBUG - Response for create_network : {'network': {'id': '52165caa-586d-4a1d-a2aa-1411fe302eee', 'name': 'ctest-vn2-55863268', 'tenant_id': '7c3f5d8c69ea453eb7c3c34187a73fca', 'project_id': '7c3f5d8c69ea453eb7c3c34187a73fca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48894943', 'ctest-vn2-55863268'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:11:48,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd063a1ec-b64d-451e-9843-e4777218d3ce', 'name': '', 'tenant_id': '7c3f5d8c69ea453eb7c3c34187a73fca', 'network_id': '52165caa-586d-4a1d-a2aa-1411fe302eee', 'ip_version': 4, 'cidr': '200.122.132.128/26', 'allocation_pools': [{'start': '200.122.132.130', 'end': '200.122.132.190'}], 'gateway_ip': '200.122.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.122.132.130', 'tags': [], 'project_id': '7c3f5d8c69ea453eb7c3c34187a73fca'}} 2025-11-13 08:11:48,514 - INFO - Created VN ctest-vn2-55863268 2025-11-13 08:11:48,566 - DEBUG - VN ctest-vn2-55863268 UUID is 52165caa-586d-4a1d-a2aa-1411fe302eee 2025-11-13 08:11:48,746 - DEBUG - Services list from nova: [, , ] 2025-11-13 08:11:49,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4717-1) 2025-11-13 08:11:51,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4717-1) 2025-11-13 08:11:51,300 - INFO - Adding interface with subnet_id 3b2bddf7-a88f-441f-acf1-b3f800833884, port_id None to router c8a2f900-925b-46f5-abe5-b8c7471a1dcb 2025-11-13 08:11:51,652 - INFO - Waiting for VM ctest-vn1-vm1-48316359 to be up.. 2025-11-13 08:11:51,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 08:11:56,856 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:11:56,856 - INFO - VM name : ctest-vn1-vm1-48316359 2025-11-13 08:11:56,932 - DEBUG - VM ctest-vn1-vm1-48316359 ID is 289fac1f-97aa-41b1-9042-56bf66d61503 2025-11-13 08:11:56,952 - DEBUG - VM ctest-vn1-vm1-48316359 launched on Node cn-jenkins-deploy-platform-ansible-os-4717-1 2025-11-13 08:11:57,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/289fac1f-97aa-41b1-9042-56bf66d61503 2025-11-13 08:11:57,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/289fac1f-97aa-41b1-9042-56bf66d61503 2025-11-13 08:11:57,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c0867bdb-fb2b-4596-b46a-81751bd63224 2025-11-13 08:12:00,640 - 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 1023ms') 2025-11-13 08:12:00,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48316359 failed! 2025-11-13 08:12:00,698 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48894943:ctest-vn1-38873113 is 105.42.81.129 and allocation pool is NOT set 2025-11-13 08:12:02,760 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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 = 0.535/1.946/3.357/1.411 ms') 2025-11-13 08:12:02,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48316359 passed 2025-11-13 08:12:02,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:02,914 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48316359, IP 105.42.81.131, Port 22 2025-11-13 08:12:03,074 - DEBUG - VM ctest-vn1-vm1-48316359 is ready for SSH connections 2025-11-13 08:12:03,074 - INFO - Waiting for VM ctest-vn2-vm1-84656362 to be up.. 2025-11-13 08:12:03,173 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:12:03,173 - INFO - VM name : ctest-vn2-vm1-84656362 2025-11-13 08:12:03,255 - DEBUG - VM ctest-vn2-vm1-84656362 ID is 9078cbb9-0db2-4a62-9325-586a21a51bd1 2025-11-13 08:12:03,255 - DEBUG - VM ctest-vn2-vm1-84656362 launched on Node cn-jenkins-deploy-platform-ansible-os-4717-1 2025-11-13 08:12:03,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9078cbb9-0db2-4a62-9325-586a21a51bd1 2025-11-13 08:12:03,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a6eb95dc-8764-4d77-aca5-10179c8a665c 2025-11-13 08:12:04,599 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.601/1.673/2.745/1.072 ms') 2025-11-13 08:12:04,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84656362 passed 2025-11-13 08:12:04,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:04,754 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84656362, IP 200.122.132.131, Port 22 2025-11-13 08:12:04,909 - DEBUG - VM ctest-vn2-vm1-84656362 is ready for SSH connections 2025-11-13 08:12:04,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:04,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.122.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 08:12:04,910 - DEBUG - ping -s 56 -c 3 -W 1 200.122.132.131 2025-11-13 08:12:09,978 - DEBUG - PING 200.122.132.131 (200.122.132.131): 56 data bytes --- 200.122.132.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 08:12:09,978 - WARNING - Ping to IP 200.122.132.131 from VM ctest-vn1-vm1-48316359 failed 2025-11-13 08:12:09,978 - INFO - Adding interface with subnet_id d063a1ec-b64d-451e-9843-e4777218d3ce, port_id None to router c8a2f900-925b-46f5-abe5-b8c7471a1dcb 2025-11-13 08:12:10,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:10,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.122.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 08:12:10,236 - DEBUG - ping -s 56 -c 3 -W 1 200.122.132.131 2025-11-13 08:12:13,456 - DEBUG - PING 200.122.132.131 (200.122.132.131): 56 data bytes 64 bytes from 200.122.132.131: seq=1 ttl=63 time=2.874 ms 64 bytes from 200.122.132.131: seq=2 ttl=63 time=1.097 ms --- 200.122.132.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.097/1.985/2.874 ms 2025-11-13 08:12:13,456 - WARNING - Ping to IP 200.122.132.131 from VM ctest-vn1-vm1-48316359 failed 2025-11-13 08:12:14,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.122.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 08:12:14,458 - DEBUG - ping -s 56 -c 3 -W 1 200.122.132.131 2025-11-13 08:12:16,680 - DEBUG - PING 200.122.132.131 (200.122.132.131): 56 data bytes 64 bytes from 200.122.132.131: seq=0 ttl=63 time=1.791 ms 64 bytes from 200.122.132.131: seq=1 ttl=63 time=1.031 ms 64 bytes from 200.122.132.131: seq=2 ttl=63 time=1.418 ms --- 200.122.132.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.031/1.413/1.791 ms 2025-11-13 08:12:16,680 - INFO - Ping to IP 200.122.132.131 from VM ctest-vn1-vm1-48316359 passed 2025-11-13 08:12:16,680 - INFO - Deleting interface with subnet_id 3b2bddf7-a88f-441f-acf1-b3f800833884, port_id None from router c8a2f900-925b-46f5-abe5-b8c7471a1dcb 2025-11-13 08:12:16,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:16,814 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.122.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 08:12:16,814 - DEBUG - ping -s 56 -c 3 -W 1 200.122.132.131 2025-11-13 08:12:20,028 - DEBUG - PING 200.122.132.131 (200.122.132.131): 56 data bytes --- 200.122.132.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 08:12:20,028 - WARNING - Ping to IP 200.122.132.131 from VM ctest-vn1-vm1-48316359 failed 2025-11-13 08:12:20,028 - INFO - Adding interface with subnet_id 3b2bddf7-a88f-441f-acf1-b3f800833884, port_id None to router c8a2f900-925b-46f5-abe5-b8c7471a1dcb 2025-11-13 08:12:20,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:20,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.122.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 08:12:20,245 - DEBUG - ping -s 56 -c 3 -W 1 200.122.132.131 2025-11-13 08:12:22,476 - DEBUG - PING 200.122.132.131 (200.122.132.131): 56 data bytes 64 bytes from 200.122.132.131: seq=0 ttl=63 time=1.745 ms 64 bytes from 200.122.132.131: seq=1 ttl=63 time=1.053 ms 64 bytes from 200.122.132.131: seq=2 ttl=63 time=1.050 ms --- 200.122.132.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.050/1.282/1.745 ms 2025-11-13 08:12:22,476 - INFO - Ping to IP 200.122.132.131 from VM ctest-vn1-vm1-48316359 passed 2025-11-13 08:12:22,477 - INFO - Deleting interface with subnet_id d063a1ec-b64d-451e-9843-e4777218d3ce, port_id None from router c8a2f900-925b-46f5-abe5-b8c7471a1dcb 2025-11-13 08:12:22,598 - INFO - Deleting interface with subnet_id 3b2bddf7-a88f-441f-acf1-b3f800833884, port_id None from router c8a2f900-925b-46f5-abe5-b8c7471a1dcb 2025-11-13 08:12:22,770 - INFO - Deleting VM ctest-vn2-vm1-84656362 2025-11-13 08:12:22,851 - INFO - Deleting VM ctest-vn1-vm1-48316359 2025-11-13 08:12:22,934 - INFO - Deleting VN ctest-vn2-55863268 2025-11-13 08:12:22,972 - DEBUG - VN 52165caa-586d-4a1d-a2aa-1411fe302eee still in use: Unable to complete operation on network 52165caa-586d-4a1d-a2aa-1411fe302eee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff29a9e1-dc3a-4cab-a6d8-a35498f3248e'] 2025-11-13 08:12:22,972 - WARNING - Deleting VN ctest-vn2-55863268 failed..Will retry 2025-11-13 08:12:25,073 - DEBUG - Response for deleting network () 2025-11-13 08:12:25,073 - INFO - Deleting VN ctest-vn1-38873113 2025-11-13 08:12:25,183 - DEBUG - Response for deleting network () 2025-11-13 08:12:25,444 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 08:12:25,444 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-13 08:12:25,444 - INFO - -------------------------------------------------------------------------------- 2025-11-13 08:12:26,121 - INFO - Deleted project: ctest-TestRouters-48894943, ID : 7c3f5d8c-69ea-453e-b7c3-c34187a73fca