2025-09-05 11:01:12,467 - INFO - Domain Default found not creating 2025-09-05 11:01:12,617 - INFO - Project ctest-TestRouters-74045521 not found, creating it 2025-09-05 11:01:13,210 - INFO - Created Project:ctest-TestRouters-74045521, ID : 5093266f-8403-4ea1-8d68-34bff8a693e2 2025-09-05 11:01:14,700 - INFO - ================================================================================ 2025-09-05 11:01:14,700 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-05 11:01:14,700 - 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-05 11:01:14,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-05 11:01:14,954 - INFO - Initial checks done. Running the testcase now 2025-09-05 11:01:14,954 - INFO - 2025-09-05 11:01:15,502 - DEBUG - Response for create_network : {'network': {'id': '21f35b0d-19a3-4520-bacb-da2fa543a951', 'name': 'ctest-vn1-85340270', 'tenant_id': '5093266f84034ea18d6834bff8a693e2', 'project_id': '5093266f84034ea18d6834bff8a693e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74045521', 'ctest-vn1-85340270'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 11:01:15,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '96a529eb-0030-42d3-8fac-5f627f44932b', 'name': '', 'tenant_id': '5093266f84034ea18d6834bff8a693e2', 'network_id': '21f35b0d-19a3-4520-bacb-da2fa543a951', 'ip_version': 4, 'cidr': '121.44.125.128/26', 'allocation_pools': [{'start': '121.44.125.130', 'end': '121.44.125.190'}], 'gateway_ip': '121.44.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.44.125.130', 'tags': [], 'project_id': '5093266f84034ea18d6834bff8a693e2'}} 2025-09-05 11:01:15,731 - INFO - Created VN ctest-vn1-85340270 2025-09-05 11:01:15,781 - DEBUG - VN ctest-vn1-85340270 UUID is 21f35b0d-19a3-4520-bacb-da2fa543a951 2025-09-05 11:01:16,091 - DEBUG - Response for create_network : {'network': {'id': '7136030b-8d62-44f6-aadc-b3baa067bbcd', 'name': 'ctest-vn2-96159872', 'tenant_id': '5093266f84034ea18d6834bff8a693e2', 'project_id': '5093266f84034ea18d6834bff8a693e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74045521', 'ctest-vn2-96159872'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 11:01:16,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '40d649b2-53dd-4fcf-b940-c048bd7214bd', 'name': '', 'tenant_id': '5093266f84034ea18d6834bff8a693e2', 'network_id': '7136030b-8d62-44f6-aadc-b3baa067bbcd', 'ip_version': 4, 'cidr': '40.97.225.64/26', 'allocation_pools': [{'start': '40.97.225.66', 'end': '40.97.225.126'}], 'gateway_ip': '40.97.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.97.225.66', 'tags': [], 'project_id': '5093266f84034ea18d6834bff8a693e2'}} 2025-09-05 11:01:16,288 - INFO - Created VN ctest-vn2-96159872 2025-09-05 11:01:16,341 - DEBUG - VN ctest-vn2-96159872 UUID is 7136030b-8d62-44f6-aadc-b3baa067bbcd 2025-09-05 11:01:16,545 - DEBUG - Services list from nova: [, , ] 2025-09-05 11:01:17,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4023-1) 2025-09-05 11:01:18,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4023-1) 2025-09-05 11:01:18,863 - INFO - Adding interface with subnet_id 96a529eb-0030-42d3-8fac-5f627f44932b, port_id None to router 132c03fa-7de9-4384-8921-26eeff5acfb3 2025-09-05 11:01:19,143 - INFO - Waiting for VM ctest-vn1-vm1-47132958 to be up.. 2025-09-05 11:01:19,227 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 11:01:24,307 - DEBUG - VM is in ACTIVE state now 2025-09-05 11:01:24,308 - INFO - VM name : ctest-vn1-vm1-47132958 2025-09-05 11:01:24,393 - DEBUG - VM ctest-vn1-vm1-47132958 ID is e849c406-b427-44a0-bbe7-eb36cee0738c 2025-09-05 11:01:24,411 - DEBUG - VM ctest-vn1-vm1-47132958 launched on Node cn-jenkins-deploy-platform-ansible-os-4023-1 2025-09-05 11:01:24,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e849c406-b427-44a0-bbe7-eb36cee0738c 2025-09-05 11:01:24,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e849c406-b427-44a0-bbe7-eb36cee0738c 2025-09-05 11:01:24,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0887e3e5-f703-4858-abec-5df1262b34b0 2025-09-05 11:01:28,089 - 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 1031ms') 2025-09-05 11:01:28,090 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47132958 failed! 2025-09-05 11:01:28,145 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-74045521:ctest-vn1-85340270 is 121.44.125.129 and allocation pool is NOT set 2025-09-05 11:01:30,213 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.907 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.907/2.569/4.231/1.662 ms') 2025-09-05 11:01:30,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47132958 passed 2025-09-05 11:01:30,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:30,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47132958, IP 121.44.125.131, Port 22 2025-09-05 11:01:30,517 - DEBUG - VM ctest-vn1-vm1-47132958 is ready for SSH connections 2025-09-05 11:01:30,517 - INFO - Waiting for VM ctest-vn2-vm1-71883558 to be up.. 2025-09-05 11:01:30,609 - DEBUG - VM is in ACTIVE state now 2025-09-05 11:01:30,609 - INFO - VM name : ctest-vn2-vm1-71883558 2025-09-05 11:01:30,684 - DEBUG - VM ctest-vn2-vm1-71883558 ID is e9042f87-f72a-4ead-a4c2-d9bf450232fb 2025-09-05 11:01:30,684 - DEBUG - VM ctest-vn2-vm1-71883558 launched on Node cn-jenkins-deploy-platform-ansible-os-4023-1 2025-09-05 11:01:30,768 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9042f87-f72a-4ead-a4c2-d9bf450232fb 2025-09-05 11:01:30,777 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7b9cf4e6-d3aa-47f9-95e9-e3034da7a72e 2025-09-05 11:01:32,019 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.849/3.198/1.348 ms') 2025-09-05 11:01:32,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-71883558 passed 2025-09-05 11:01:32,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:32,128 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-71883558, IP 40.97.225.67, Port 22 2025-09-05 11:01:32,284 - DEBUG - VM ctest-vn2-vm1-71883558 is ready for SSH connections 2025-09-05 11:01:32,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:32,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.97.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-05 11:01:32,284 - DEBUG - ping -s 56 -c 3 -W 1 40.97.225.67 2025-09-05 11:01:36,930 - DEBUG - PING 40.97.225.67 (40.97.225.67): 56 data bytes --- 40.97.225.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 11:01:36,930 - WARNING - Ping to IP 40.97.225.67 from VM ctest-vn1-vm1-47132958 failed 2025-09-05 11:01:36,930 - INFO - Adding interface with subnet_id 40d649b2-53dd-4fcf-b940-c048bd7214bd, port_id None to router 132c03fa-7de9-4384-8921-26eeff5acfb3 2025-09-05 11:01:37,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:37,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.97.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-05 11:01:37,173 - DEBUG - ping -s 56 -c 3 -W 1 40.97.225.67 2025-09-05 11:01:40,386 - DEBUG - PING 40.97.225.67 (40.97.225.67): 56 data bytes 64 bytes from 40.97.225.67: seq=1 ttl=63 time=3.257 ms 64 bytes from 40.97.225.67: seq=2 ttl=63 time=0.863 ms --- 40.97.225.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.863/2.060/3.257 ms 2025-09-05 11:01:40,387 - WARNING - Ping to IP 40.97.225.67 from VM ctest-vn1-vm1-47132958 failed 2025-09-05 11:01:41,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.97.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-05 11:01:41,389 - DEBUG - ping -s 56 -c 3 -W 1 40.97.225.67 2025-09-05 11:01:43,598 - DEBUG - PING 40.97.225.67 (40.97.225.67): 56 data bytes 64 bytes from 40.97.225.67: seq=0 ttl=63 time=1.870 ms 64 bytes from 40.97.225.67: seq=1 ttl=63 time=1.077 ms 64 bytes from 40.97.225.67: seq=2 ttl=63 time=0.839 ms --- 40.97.225.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.262/1.870 ms 2025-09-05 11:01:43,598 - INFO - Ping to IP 40.97.225.67 from VM ctest-vn1-vm1-47132958 passed 2025-09-05 11:01:43,598 - INFO - Deleting interface with subnet_id 96a529eb-0030-42d3-8fac-5f627f44932b, port_id None from router 132c03fa-7de9-4384-8921-26eeff5acfb3 2025-09-05 11:01:43,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:43,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.97.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-05 11:01:43,713 - DEBUG - ping -s 56 -c 3 -W 1 40.97.225.67 2025-09-05 11:01:46,916 - DEBUG - PING 40.97.225.67 (40.97.225.67): 56 data bytes --- 40.97.225.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 11:01:46,916 - WARNING - Ping to IP 40.97.225.67 from VM ctest-vn1-vm1-47132958 failed 2025-09-05 11:01:46,916 - INFO - Adding interface with subnet_id 96a529eb-0030-42d3-8fac-5f627f44932b, port_id None to router 132c03fa-7de9-4384-8921-26eeff5acfb3 2025-09-05 11:01:47,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 11:01:47,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.97.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-05 11:01:47,153 - DEBUG - ping -s 56 -c 3 -W 1 40.97.225.67 2025-09-05 11:01:49,365 - DEBUG - PING 40.97.225.67 (40.97.225.67): 56 data bytes 64 bytes from 40.97.225.67: seq=0 ttl=63 time=1.712 ms 64 bytes from 40.97.225.67: seq=1 ttl=63 time=1.081 ms 64 bytes from 40.97.225.67: seq=2 ttl=63 time=0.847 ms --- 40.97.225.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/1.213/1.712 ms 2025-09-05 11:01:49,366 - INFO - Ping to IP 40.97.225.67 from VM ctest-vn1-vm1-47132958 passed 2025-09-05 11:01:49,366 - INFO - Deleting interface with subnet_id 40d649b2-53dd-4fcf-b940-c048bd7214bd, port_id None from router 132c03fa-7de9-4384-8921-26eeff5acfb3 2025-09-05 11:01:49,480 - INFO - Deleting interface with subnet_id 96a529eb-0030-42d3-8fac-5f627f44932b, port_id None from router 132c03fa-7de9-4384-8921-26eeff5acfb3 2025-09-05 11:01:49,676 - INFO - Deleting VM ctest-vn2-vm1-71883558 2025-09-05 11:01:49,757 - INFO - Deleting VM ctest-vn1-vm1-47132958 2025-09-05 11:01:49,830 - INFO - Deleting VN ctest-vn2-96159872 2025-09-05 11:01:49,865 - DEBUG - VN 7136030b-8d62-44f6-aadc-b3baa067bbcd still in use: Unable to complete operation on network 7136030b-8d62-44f6-aadc-b3baa067bbcd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d9835ee-4a90-4dd9-8fb0-5d3b13e22e25'] 2025-09-05 11:01:49,865 - WARNING - Deleting VN ctest-vn2-96159872 failed..Will retry 2025-09-05 11:01:51,979 - DEBUG - Response for deleting network () 2025-09-05 11:01:51,980 - INFO - Deleting VN ctest-vn1-85340270 2025-09-05 11:01:52,094 - DEBUG - Response for deleting network () 2025-09-05 11:01:52,352 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 11:01:52,352 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-05 11:01:52,353 - INFO - -------------------------------------------------------------------------------- 2025-09-05 11:01:53,052 - INFO - Deleted project: ctest-TestRouters-74045521, ID : 5093266f-8403-4ea1-8d68-34bff8a693e2