2025-10-09 21:04:25,750 - INFO - Domain Default found not creating 2025-10-09 21:04:25,910 - INFO - Project ctest-TestRouters-92124518 not found, creating it 2025-10-09 21:04:26,394 - INFO - Created Project:ctest-TestRouters-92124518, ID : 442d5556-c277-4110-ab51-1b8efeafcd01 2025-10-09 21:04:28,031 - INFO - ================================================================================ 2025-10-09 21:04:28,031 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 21:04:28,031 - 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-09 21:04:28,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.209': '0'}} with 2025-10-09 21:04:28,288 - INFO - Initial checks done. Running the testcase now 2025-10-09 21:04:28,288 - INFO - 2025-10-09 21:04:28,900 - DEBUG - Response for create_network : {'network': {'id': '7d65a7ce-7b1b-412c-9a16-29ae07590d92', 'name': 'ctest-vn1-31363090', 'tenant_id': '442d5556c2774110ab511b8efeafcd01', 'project_id': '442d5556c2774110ab511b8efeafcd01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92124518', 'ctest-vn1-31363090'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:04:29,115 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7e19ddb-16f9-4c0a-baad-2bed691356da', 'name': '', 'tenant_id': '442d5556c2774110ab511b8efeafcd01', 'network_id': '7d65a7ce-7b1b-412c-9a16-29ae07590d92', 'ip_version': 4, 'cidr': '86.87.21.192/26', 'allocation_pools': [{'start': '86.87.21.194', 'end': '86.87.21.254'}], 'gateway_ip': '86.87.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.87.21.194', 'tags': [], 'project_id': '442d5556c2774110ab511b8efeafcd01'}} 2025-10-09 21:04:29,134 - INFO - Created VN ctest-vn1-31363090 2025-10-09 21:04:29,193 - DEBUG - VN ctest-vn1-31363090 UUID is 7d65a7ce-7b1b-412c-9a16-29ae07590d92 2025-10-09 21:04:29,520 - DEBUG - Response for create_network : {'network': {'id': '46c17f6e-4ff0-48b9-85b0-bd54efef9120', 'name': 'ctest-vn2-67764068', 'tenant_id': '442d5556c2774110ab511b8efeafcd01', 'project_id': '442d5556c2774110ab511b8efeafcd01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92124518', 'ctest-vn2-67764068'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:04:29,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '141fafd5-4286-41bf-8c2e-6fb0965a0da0', 'name': '', 'tenant_id': '442d5556c2774110ab511b8efeafcd01', 'network_id': '46c17f6e-4ff0-48b9-85b0-bd54efef9120', 'ip_version': 4, 'cidr': '105.168.168.0/26', 'allocation_pools': [{'start': '105.168.168.2', 'end': '105.168.168.62'}], 'gateway_ip': '105.168.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.168.168.2', 'tags': [], 'project_id': '442d5556c2774110ab511b8efeafcd01'}} 2025-10-09 21:04:29,758 - INFO - Created VN ctest-vn2-67764068 2025-10-09 21:04:29,809 - DEBUG - VN ctest-vn2-67764068 UUID is 46c17f6e-4ff0-48b9-85b0-bd54efef9120 2025-10-09 21:04:29,986 - DEBUG - Services list from nova: [, , ] 2025-10-09 21:04:31,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:04:32,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:04:32,653 - INFO - Adding interface with subnet_id c7e19ddb-16f9-4c0a-baad-2bed691356da, port_id None to router 3c399c3a-1756-4228-a25c-b9619b6ded99 2025-10-09 21:04:33,112 - INFO - Waiting for VM ctest-vn1-vm1-55213740 to be up.. 2025-10-09 21:04:33,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 21:04:38,342 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:04:38,342 - INFO - VM name : ctest-vn1-vm1-55213740 2025-10-09 21:04:38,425 - DEBUG - VM ctest-vn1-vm1-55213740 ID is 92780c5f-46af-4d18-95eb-c1da2a5db5e0 2025-10-09 21:04:38,447 - DEBUG - VM ctest-vn1-vm1-55213740 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:04:38,523 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/92780c5f-46af-4d18-95eb-c1da2a5db5e0 2025-10-09 21:04:38,858 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/92780c5f-46af-4d18-95eb-c1da2a5db5e0 2025-10-09 21:04:38,890 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1bc8c87e-06f2-47c6-8c48-d4df19207223 2025-10-09 21:04:42,140 - 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 1009ms') 2025-10-09 21:04:42,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55213740 failed! 2025-10-09 21:04:42,197 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-92124518:ctest-vn1-31363090 is 86.87.21.193 and allocation pool is NOT set 2025-10-09 21:04:44,258 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.097/2.512/3.928/1.415 ms') 2025-10-09 21:04:44,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55213740 passed 2025-10-09 21:04:44,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:44,414 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55213740, IP 86.87.21.195, Port 22 2025-10-09 21:04:44,569 - DEBUG - VM ctest-vn1-vm1-55213740 is ready for SSH connections 2025-10-09 21:04:44,569 - INFO - Waiting for VM ctest-vn2-vm1-37475542 to be up.. 2025-10-09 21:04:44,650 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:04:44,650 - INFO - VM name : ctest-vn2-vm1-37475542 2025-10-09 21:04:44,725 - DEBUG - VM ctest-vn2-vm1-37475542 ID is 10eeef34-12a5-4c08-8c7d-9b18eaea778e 2025-10-09 21:04:44,726 - DEBUG - VM ctest-vn2-vm1-37475542 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:04:44,802 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/10eeef34-12a5-4c08-8c7d-9b18eaea778e 2025-10-09 21:04:44,810 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0fb7789a-bdc5-443c-b546-b484546db7c0 2025-10-09 21:04:46,049 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.547 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.547/2.131/3.715/1.584 ms') 2025-10-09 21:04:46,049 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-37475542 passed 2025-10-09 21:04:46,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:46,197 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37475542, IP 105.168.168.3, Port 22 2025-10-09 21:04:46,364 - DEBUG - VM ctest-vn2-vm1-37475542 is ready for SSH connections 2025-10-09 21:04:46,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:46,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.168.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:04:46,364 - DEBUG - ping -s 56 -c 3 -W 1 105.168.168.3 2025-10-09 21:04:51,436 - DEBUG - PING 105.168.168.3 (105.168.168.3): 56 data bytes --- 105.168.168.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 21:04:51,436 - WARNING - Ping to IP 105.168.168.3 from VM ctest-vn1-vm1-55213740 failed 2025-10-09 21:04:51,437 - INFO - Adding interface with subnet_id 141fafd5-4286-41bf-8c2e-6fb0965a0da0, port_id None to router 3c399c3a-1756-4228-a25c-b9619b6ded99 2025-10-09 21:04:51,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:51,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.168.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:04:51,681 - DEBUG - ping -s 56 -c 3 -W 1 105.168.168.3 2025-10-09 21:04:54,913 - DEBUG - PING 105.168.168.3 (105.168.168.3): 56 data bytes 64 bytes from 105.168.168.3: seq=1 ttl=63 time=3.853 ms 64 bytes from 105.168.168.3: seq=2 ttl=63 time=1.047 ms --- 105.168.168.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.047/2.450/3.853 ms 2025-10-09 21:04:54,913 - WARNING - Ping to IP 105.168.168.3 from VM ctest-vn1-vm1-55213740 failed 2025-10-09 21:04:55,913 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.168.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:04:55,914 - DEBUG - ping -s 56 -c 3 -W 1 105.168.168.3 2025-10-09 21:04:58,139 - DEBUG - PING 105.168.168.3 (105.168.168.3): 56 data bytes 64 bytes from 105.168.168.3: seq=0 ttl=63 time=1.602 ms 64 bytes from 105.168.168.3: seq=1 ttl=63 time=0.931 ms 64 bytes from 105.168.168.3: seq=2 ttl=63 time=0.880 ms --- 105.168.168.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.137/1.602 ms 2025-10-09 21:04:58,140 - INFO - Ping to IP 105.168.168.3 from VM ctest-vn1-vm1-55213740 passed 2025-10-09 21:04:58,140 - INFO - Deleting interface with subnet_id c7e19ddb-16f9-4c0a-baad-2bed691356da, port_id None from router 3c399c3a-1756-4228-a25c-b9619b6ded99 2025-10-09 21:04:58,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:04:58,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.168.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:04:58,280 - DEBUG - ping -s 56 -c 3 -W 1 105.168.168.3 2025-10-09 21:05:01,514 - DEBUG - PING 105.168.168.3 (105.168.168.3): 56 data bytes --- 105.168.168.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 21:05:01,514 - WARNING - Ping to IP 105.168.168.3 from VM ctest-vn1-vm1-55213740 failed 2025-10-09 21:05:01,514 - INFO - Adding interface with subnet_id c7e19ddb-16f9-4c0a-baad-2bed691356da, port_id None to router 3c399c3a-1756-4228-a25c-b9619b6ded99 2025-10-09 21:05:01,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:05:01,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.168.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:05:01,764 - DEBUG - ping -s 56 -c 3 -W 1 105.168.168.3 2025-10-09 21:05:04,025 - DEBUG - PING 105.168.168.3 (105.168.168.3): 56 data bytes 64 bytes from 105.168.168.3: seq=0 ttl=63 time=1.739 ms 64 bytes from 105.168.168.3: seq=1 ttl=63 time=1.337 ms 64 bytes from 105.168.168.3: seq=2 ttl=63 time=0.904 ms --- 105.168.168.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/1.326/1.739 ms 2025-10-09 21:05:04,025 - INFO - Ping to IP 105.168.168.3 from VM ctest-vn1-vm1-55213740 passed 2025-10-09 21:05:04,025 - INFO - Deleting interface with subnet_id 141fafd5-4286-41bf-8c2e-6fb0965a0da0, port_id None from router 3c399c3a-1756-4228-a25c-b9619b6ded99 2025-10-09 21:05:04,151 - INFO - Deleting interface with subnet_id c7e19ddb-16f9-4c0a-baad-2bed691356da, port_id None from router 3c399c3a-1756-4228-a25c-b9619b6ded99 2025-10-09 21:05:04,348 - INFO - Deleting VM ctest-vn2-vm1-37475542 2025-10-09 21:05:04,436 - INFO - Deleting VM ctest-vn1-vm1-55213740 2025-10-09 21:05:04,526 - INFO - Deleting VN ctest-vn2-67764068 2025-10-09 21:05:04,571 - DEBUG - VN 46c17f6e-4ff0-48b9-85b0-bd54efef9120 still in use: Unable to complete operation on network 46c17f6e-4ff0-48b9-85b0-bd54efef9120. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7410209-be12-4399-af17-4f450dad87dd'] 2025-10-09 21:05:04,571 - WARNING - Deleting VN ctest-vn2-67764068 failed..Will retry 2025-10-09 21:05:06,675 - DEBUG - Response for deleting network () 2025-10-09 21:05:06,675 - INFO - Deleting VN ctest-vn1-31363090 2025-10-09 21:05:06,787 - DEBUG - Response for deleting network () 2025-10-09 21:05:07,047 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 21:05:07,047 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-09 21:05:07,047 - INFO - -------------------------------------------------------------------------------- 2025-10-09 21:05:07,764 - INFO - Deleted project: ctest-TestRouters-92124518, ID : 442d5556-c277-4110-ab51-1b8efeafcd01