2025-10-23 10:45:33,676 - INFO - Domain Default found not creating 2025-10-23 10:45:33,827 - INFO - Project ctest-TestRouters-23834361 not found, creating it 2025-10-23 10:45:34,314 - INFO - Created Project:ctest-TestRouters-23834361, ID : e0114c69-cd4a-4f34-86e9-91b64caac52e 2025-10-23 10:45:35,937 - INFO - ================================================================================ 2025-10-23 10:45:35,937 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 10:45:35,937 - 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-23 10:45:36,197 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-10-23 10:45:36,197 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:45:36,197 - INFO - 2025-10-23 10:45:36,747 - DEBUG - Response for create_network : {'network': {'id': '3e25f43c-e6d8-4b0b-bd66-36453aacd5ae', 'name': 'ctest-vn1-56395735', 'tenant_id': 'e0114c69cd4a4f3486e991b64caac52e', 'project_id': 'e0114c69cd4a4f3486e991b64caac52e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23834361', 'ctest-vn1-56395735'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:45:36,957 - DEBUG - Response for create_subnet : {'subnet': {'id': '75faee12-02fb-4afb-8343-1e0cff211536', 'name': '', 'tenant_id': 'e0114c69cd4a4f3486e991b64caac52e', 'network_id': '3e25f43c-e6d8-4b0b-bd66-36453aacd5ae', 'ip_version': 4, 'cidr': '166.195.84.128/26', 'allocation_pools': [{'start': '166.195.84.130', 'end': '166.195.84.190'}], 'gateway_ip': '166.195.84.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.195.84.130', 'tags': [], 'project_id': 'e0114c69cd4a4f3486e991b64caac52e'}} 2025-10-23 10:45:36,990 - INFO - Created VN ctest-vn1-56395735 2025-10-23 10:45:37,049 - DEBUG - VN ctest-vn1-56395735 UUID is 3e25f43c-e6d8-4b0b-bd66-36453aacd5ae 2025-10-23 10:45:37,374 - DEBUG - Response for create_network : {'network': {'id': '953cd8c7-90df-470c-8402-93e2ea20bfd2', 'name': 'ctest-vn2-79292991', 'tenant_id': 'e0114c69cd4a4f3486e991b64caac52e', 'project_id': 'e0114c69cd4a4f3486e991b64caac52e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23834361', 'ctest-vn2-79292991'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:45:37,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '32fb14f7-8d32-4631-a392-a4154b0f5834', 'name': '', 'tenant_id': 'e0114c69cd4a4f3486e991b64caac52e', 'network_id': '953cd8c7-90df-470c-8402-93e2ea20bfd2', 'ip_version': 4, 'cidr': '43.240.77.0/26', 'allocation_pools': [{'start': '43.240.77.2', 'end': '43.240.77.62'}], 'gateway_ip': '43.240.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.240.77.2', 'tags': [], 'project_id': 'e0114c69cd4a4f3486e991b64caac52e'}} 2025-10-23 10:45:37,587 - INFO - Created VN ctest-vn2-79292991 2025-10-23 10:45:37,641 - DEBUG - VN ctest-vn2-79292991 UUID is 953cd8c7-90df-470c-8402-93e2ea20bfd2 2025-10-23 10:45:37,809 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:45:38,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4457-1) 2025-10-23 10:45:40,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4457-1) 2025-10-23 10:45:40,192 - INFO - Adding interface with subnet_id 75faee12-02fb-4afb-8343-1e0cff211536, port_id None to router d5043d3c-83cd-40dc-a850-dcc304dc6c99 2025-10-23 10:45:40,494 - INFO - Waiting for VM ctest-vn1-vm1-15630679 to be up.. 2025-10-23 10:45:40,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:45:45,687 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:45:45,687 - INFO - VM name : ctest-vn1-vm1-15630679 2025-10-23 10:45:45,761 - DEBUG - VM ctest-vn1-vm1-15630679 ID is 438f5ae2-316c-4386-b4ae-85256014202c 2025-10-23 10:45:45,779 - DEBUG - VM ctest-vn1-vm1-15630679 launched on Node cn-jenkins-deploy-platform-ansible-os-4457-1 2025-10-23 10:45:45,851 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/438f5ae2-316c-4386-b4ae-85256014202c 2025-10-23 10:45:46,143 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/438f5ae2-316c-4386-b4ae-85256014202c 2025-10-23 10:45:46,180 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/fe66134c-3809-40b9-b87c-6ed15ae0d2ff 2025-10-23 10:45:49,423 - 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 1010ms') 2025-10-23 10:45:49,423 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15630679 failed! 2025-10-23 10:45:49,477 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-23834361:ctest-vn1-56395735 is 166.195.84.129 and allocation pool is NOT set 2025-10-23 10:45:51,540 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.632 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.632/2.360/4.089/1.728 ms') 2025-10-23 10:45:51,540 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15630679 passed 2025-10-23 10:45:51,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:51,689 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15630679, IP 166.195.84.131, Port 22 2025-10-23 10:45:51,853 - DEBUG - VM ctest-vn1-vm1-15630679 is ready for SSH connections 2025-10-23 10:45:51,853 - INFO - Waiting for VM ctest-vn2-vm1-77733730 to be up.. 2025-10-23 10:45:51,930 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:45:51,931 - INFO - VM name : ctest-vn2-vm1-77733730 2025-10-23 10:45:52,009 - DEBUG - VM ctest-vn2-vm1-77733730 ID is 82a4581f-bd19-404f-b18b-58fe0973b181 2025-10-23 10:45:52,009 - DEBUG - VM ctest-vn2-vm1-77733730 launched on Node cn-jenkins-deploy-platform-ansible-os-4457-1 2025-10-23 10:45:52,090 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/82a4581f-bd19-404f-b18b-58fe0973b181 2025-10-23 10:45:52,099 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d6400f0c-64e1-4816-87d3-fa996667e9ec 2025-10-23 10:45:53,338 - 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=4.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/2.320/4.204/1.884 ms') 2025-10-23 10:45:53,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-77733730 passed 2025-10-23 10:45:53,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:53,448 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-77733730, IP 43.240.77.3, Port 22 2025-10-23 10:45:53,619 - DEBUG - VM ctest-vn2-vm1-77733730 is ready for SSH connections 2025-10-23 10:45:53,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:53,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.240.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:45:53,619 - DEBUG - ping -s 56 -c 3 -W 1 43.240.77.3 2025-10-23 10:45:58,612 - DEBUG - PING 43.240.77.3 (43.240.77.3): 56 data bytes --- 43.240.77.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 10:45:58,612 - WARNING - Ping to IP 43.240.77.3 from VM ctest-vn1-vm1-15630679 failed 2025-10-23 10:45:58,612 - INFO - Adding interface with subnet_id 32fb14f7-8d32-4631-a392-a4154b0f5834, port_id None to router d5043d3c-83cd-40dc-a850-dcc304dc6c99 2025-10-23 10:45:58,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:58,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.240.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:45:58,923 - DEBUG - ping -s 56 -c 3 -W 1 43.240.77.3 2025-10-23 10:46:02,138 - DEBUG - PING 43.240.77.3 (43.240.77.3): 56 data bytes 64 bytes from 43.240.77.3: seq=1 ttl=63 time=3.251 ms 64 bytes from 43.240.77.3: seq=2 ttl=63 time=0.892 ms --- 43.240.77.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.892/2.071/3.251 ms 2025-10-23 10:46:02,138 - WARNING - Ping to IP 43.240.77.3 from VM ctest-vn1-vm1-15630679 failed 2025-10-23 10:46:03,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.240.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:46:03,139 - DEBUG - ping -s 56 -c 3 -W 1 43.240.77.3 2025-10-23 10:46:05,369 - DEBUG - PING 43.240.77.3 (43.240.77.3): 56 data bytes 64 bytes from 43.240.77.3: seq=0 ttl=63 time=1.687 ms 64 bytes from 43.240.77.3: seq=1 ttl=63 time=0.999 ms 64 bytes from 43.240.77.3: seq=2 ttl=63 time=1.027 ms --- 43.240.77.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.999/1.237/1.687 ms 2025-10-23 10:46:05,370 - INFO - Ping to IP 43.240.77.3 from VM ctest-vn1-vm1-15630679 passed 2025-10-23 10:46:05,370 - INFO - Deleting interface with subnet_id 75faee12-02fb-4afb-8343-1e0cff211536, port_id None from router d5043d3c-83cd-40dc-a850-dcc304dc6c99 2025-10-23 10:46:05,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:46:05,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.240.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:46:05,499 - DEBUG - ping -s 56 -c 3 -W 1 43.240.77.3 2025-10-23 10:46:08,713 - DEBUG - PING 43.240.77.3 (43.240.77.3): 56 data bytes --- 43.240.77.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 10:46:08,713 - WARNING - Ping to IP 43.240.77.3 from VM ctest-vn1-vm1-15630679 failed 2025-10-23 10:46:08,713 - INFO - Adding interface with subnet_id 75faee12-02fb-4afb-8343-1e0cff211536, port_id None to router d5043d3c-83cd-40dc-a850-dcc304dc6c99 2025-10-23 10:46:08,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:46:08,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.240.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:46:08,953 - DEBUG - ping -s 56 -c 3 -W 1 43.240.77.3 2025-10-23 10:46:11,166 - DEBUG - PING 43.240.77.3 (43.240.77.3): 56 data bytes 64 bytes from 43.240.77.3: seq=0 ttl=63 time=1.563 ms 64 bytes from 43.240.77.3: seq=1 ttl=63 time=1.044 ms 64 bytes from 43.240.77.3: seq=2 ttl=63 time=0.865 ms --- 43.240.77.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.157/1.563 ms 2025-10-23 10:46:11,166 - INFO - Ping to IP 43.240.77.3 from VM ctest-vn1-vm1-15630679 passed 2025-10-23 10:46:11,166 - INFO - Deleting interface with subnet_id 32fb14f7-8d32-4631-a392-a4154b0f5834, port_id None from router d5043d3c-83cd-40dc-a850-dcc304dc6c99 2025-10-23 10:46:11,275 - INFO - Deleting interface with subnet_id 75faee12-02fb-4afb-8343-1e0cff211536, port_id None from router d5043d3c-83cd-40dc-a850-dcc304dc6c99 2025-10-23 10:46:11,462 - INFO - Deleting VM ctest-vn2-vm1-77733730 2025-10-23 10:46:11,560 - INFO - Deleting VM ctest-vn1-vm1-15630679 2025-10-23 10:46:11,648 - INFO - Deleting VN ctest-vn2-79292991 2025-10-23 10:46:11,686 - DEBUG - VN 953cd8c7-90df-470c-8402-93e2ea20bfd2 still in use: Unable to complete operation on network 953cd8c7-90df-470c-8402-93e2ea20bfd2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74345b66-415b-4ad1-81e9-f47f597d6217'] 2025-10-23 10:46:11,686 - WARNING - Deleting VN ctest-vn2-79292991 failed..Will retry 2025-10-23 10:46:13,789 - DEBUG - Response for deleting network () 2025-10-23 10:46:13,789 - INFO - Deleting VN ctest-vn1-56395735 2025-10-23 10:46:13,898 - DEBUG - Response for deleting network () 2025-10-23 10:46:14,162 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 10:46:14,162 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-23 10:46:14,162 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:46:14,879 - INFO - Deleted project: ctest-TestRouters-23834361, ID : e0114c69-cd4a-4f34-86e9-91b64caac52e