2025-11-18 17:08:59,658 - INFO - Domain Default found not creating 2025-11-18 17:08:59,923 - INFO - Project ctest-TestRouters-44049664 not found, creating it 2025-11-18 17:09:00,622 - INFO - Created Project:ctest-TestRouters-44049664, ID : fd817986-4eeb-43be-9644-7ee5a1723442 2025-11-18 17:09:02,185 - INFO - ================================================================================ 2025-11-18 17:09:02,185 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-18 17:09:02,185 - 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-18 17:09:02,446 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-18 17:09:02,446 - INFO - Initial checks done. Running the testcase now 2025-11-18 17:09:02,446 - INFO - 2025-11-18 17:09:03,020 - DEBUG - Response for create_network : {'network': {'id': '2ec1e44b-c102-4349-aff0-d9579bbc4daf', 'name': 'ctest-vn1-72854830', 'tenant_id': 'fd8179864eeb43be96447ee5a1723442', 'project_id': 'fd8179864eeb43be96447ee5a1723442', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44049664', 'ctest-vn1-72854830'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:09:03,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '498e2942-eac7-4342-9d1d-ea6bf98c8748', 'name': '', 'tenant_id': 'fd8179864eeb43be96447ee5a1723442', 'network_id': '2ec1e44b-c102-4349-aff0-d9579bbc4daf', 'ip_version': 4, 'cidr': '202.108.205.128/26', 'allocation_pools': [{'start': '202.108.205.130', 'end': '202.108.205.190'}], 'gateway_ip': '202.108.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.108.205.130', 'tags': [], 'project_id': 'fd8179864eeb43be96447ee5a1723442'}} 2025-11-18 17:09:03,229 - INFO - Created VN ctest-vn1-72854830 2025-11-18 17:09:03,283 - DEBUG - VN ctest-vn1-72854830 UUID is 2ec1e44b-c102-4349-aff0-d9579bbc4daf 2025-11-18 17:09:03,582 - DEBUG - Response for create_network : {'network': {'id': '0b23e88b-5f8e-4e11-9c64-5aed4cd11e38', 'name': 'ctest-vn2-86449541', 'tenant_id': 'fd8179864eeb43be96447ee5a1723442', 'project_id': 'fd8179864eeb43be96447ee5a1723442', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44049664', 'ctest-vn2-86449541'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:09:03,766 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd5075c2-02c2-4cc6-851c-9538aa897e9f', 'name': '', 'tenant_id': 'fd8179864eeb43be96447ee5a1723442', 'network_id': '0b23e88b-5f8e-4e11-9c64-5aed4cd11e38', 'ip_version': 4, 'cidr': '219.107.145.0/26', 'allocation_pools': [{'start': '219.107.145.2', 'end': '219.107.145.62'}], 'gateway_ip': '219.107.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.107.145.2', 'tags': [], 'project_id': 'fd8179864eeb43be96447ee5a1723442'}} 2025-11-18 17:09:03,789 - INFO - Created VN ctest-vn2-86449541 2025-11-18 17:09:03,843 - DEBUG - VN ctest-vn2-86449541 UUID is 0b23e88b-5f8e-4e11-9c64-5aed4cd11e38 2025-11-18 17:09:04,064 - DEBUG - Services list from nova: [, , ] 2025-11-18 17:09:05,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:09:06,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:09:06,449 - INFO - Adding interface with subnet_id 498e2942-eac7-4342-9d1d-ea6bf98c8748, port_id None to router ab939af3-c67b-4ef6-b920-7c1bd2326e71 2025-11-18 17:09:06,705 - INFO - Waiting for VM ctest-vn1-vm1-89796283 to be up.. 2025-11-18 17:09:06,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 17:09:11,923 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:09:11,923 - INFO - VM name : ctest-vn1-vm1-89796283 2025-11-18 17:09:12,010 - DEBUG - VM ctest-vn1-vm1-89796283 ID is c8266e89-0150-4507-8f87-942715739221 2025-11-18 17:09:12,031 - DEBUG - VM ctest-vn1-vm1-89796283 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:09:12,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c8266e89-0150-4507-8f87-942715739221 2025-11-18 17:09:12,409 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c8266e89-0150-4507-8f87-942715739221 2025-11-18 17:09:12,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c45ba1b6-b367-4275-843f-6b00faed6805 2025-11-18 17:09:15,699 - 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-11-18 17:09:15,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89796283 failed! 2025-11-18 17:09:15,759 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-44049664:ctest-vn1-72854830 is 202.108.205.129 and allocation pool is NOT set 2025-11-18 17:09:17,822 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.098/3.383/4.669/1.285 ms') 2025-11-18 17:09:17,823 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89796283 passed 2025-11-18 17:09:17,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:09:17,971 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89796283, IP 202.108.205.131, Port 22 2025-11-18 17:09:18,137 - DEBUG - VM ctest-vn1-vm1-89796283 is ready for SSH connections 2025-11-18 17:09:18,137 - INFO - Waiting for VM ctest-vn2-vm1-09856960 to be up.. 2025-11-18 17:09:18,220 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:09:18,220 - INFO - VM name : ctest-vn2-vm1-09856960 2025-11-18 17:09:18,294 - DEBUG - VM ctest-vn2-vm1-09856960 ID is de0ca2dd-fceb-4944-8602-0400478f964e 2025-11-18 17:09:18,295 - DEBUG - VM ctest-vn2-vm1-09856960 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:09:18,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de0ca2dd-fceb-4944-8602-0400478f964e 2025-11-18 17:09:18,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8cdf2592-0af2-440c-a99c-5cc7b517ceb1 2025-11-18 17:09:19,613 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.729/3.016/1.287 ms') 2025-11-18 17:09:19,614 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-09856960 passed 2025-11-18 17:09:19,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:09:19,763 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-09856960, IP 219.107.145.3, Port 22 2025-11-18 17:09:19,923 - DEBUG - VM ctest-vn2-vm1-09856960 is ready for SSH connections 2025-11-18 17:09:19,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:09:19,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.107.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:09:19,923 - DEBUG - ping -s 56 -c 3 -W 1 219.107.145.3 2025-11-18 17:09:24,944 - DEBUG - PING 219.107.145.3 (219.107.145.3): 56 data bytes --- 219.107.145.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 17:09:24,944 - WARNING - Ping to IP 219.107.145.3 from VM ctest-vn1-vm1-89796283 failed 2025-11-18 17:09:24,945 - INFO - Adding interface with subnet_id cd5075c2-02c2-4cc6-851c-9538aa897e9f, port_id None to router ab939af3-c67b-4ef6-b920-7c1bd2326e71 2025-11-18 17:09:25,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:09:25,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.107.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:09:25,193 - DEBUG - ping -s 56 -c 3 -W 1 219.107.145.3 2025-11-18 17:09:28,407 - DEBUG - PING 219.107.145.3 (219.107.145.3): 56 data bytes 64 bytes from 219.107.145.3: seq=1 ttl=63 time=2.948 ms 64 bytes from 219.107.145.3: seq=2 ttl=63 time=0.991 ms --- 219.107.145.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.991/1.969/2.948 ms 2025-11-18 17:09:28,407 - WARNING - Ping to IP 219.107.145.3 from VM ctest-vn1-vm1-89796283 failed 2025-11-18 17:09:29,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.107.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:09:29,409 - DEBUG - ping -s 56 -c 3 -W 1 219.107.145.3 2025-11-18 17:09:31,619 - DEBUG - PING 219.107.145.3 (219.107.145.3): 56 data bytes 64 bytes from 219.107.145.3: seq=0 ttl=63 time=1.462 ms 64 bytes from 219.107.145.3: seq=1 ttl=63 time=0.912 ms 64 bytes from 219.107.145.3: seq=2 ttl=63 time=0.864 ms --- 219.107.145.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.079/1.462 ms 2025-11-18 17:09:31,619 - INFO - Ping to IP 219.107.145.3 from VM ctest-vn1-vm1-89796283 passed 2025-11-18 17:09:31,619 - INFO - Deleting interface with subnet_id 498e2942-eac7-4342-9d1d-ea6bf98c8748, port_id None from router ab939af3-c67b-4ef6-b920-7c1bd2326e71 2025-11-18 17:09:31,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:09:31,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.107.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:09:31,759 - DEBUG - ping -s 56 -c 3 -W 1 219.107.145.3 2025-11-18 17:09:35,024 - DEBUG - PING 219.107.145.3 (219.107.145.3): 56 data bytes --- 219.107.145.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 17:09:35,024 - WARNING - Ping to IP 219.107.145.3 from VM ctest-vn1-vm1-89796283 failed 2025-11-18 17:09:35,024 - INFO - Adding interface with subnet_id 498e2942-eac7-4342-9d1d-ea6bf98c8748, port_id None to router ab939af3-c67b-4ef6-b920-7c1bd2326e71 2025-11-18 17:09:35,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:09:35,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.107.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:09:35,237 - DEBUG - ping -s 56 -c 3 -W 1 219.107.145.3 2025-11-18 17:09:37,500 - DEBUG - PING 219.107.145.3 (219.107.145.3): 56 data bytes 64 bytes from 219.107.145.3: seq=0 ttl=63 time=1.600 ms 64 bytes from 219.107.145.3: seq=1 ttl=63 time=0.886 ms 64 bytes from 219.107.145.3: seq=2 ttl=63 time=0.959 ms --- 219.107.145.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.148/1.600 ms 2025-11-18 17:09:37,500 - INFO - Ping to IP 219.107.145.3 from VM ctest-vn1-vm1-89796283 passed 2025-11-18 17:09:37,500 - INFO - Deleting interface with subnet_id cd5075c2-02c2-4cc6-851c-9538aa897e9f, port_id None from router ab939af3-c67b-4ef6-b920-7c1bd2326e71 2025-11-18 17:09:37,616 - INFO - Deleting interface with subnet_id 498e2942-eac7-4342-9d1d-ea6bf98c8748, port_id None from router ab939af3-c67b-4ef6-b920-7c1bd2326e71 2025-11-18 17:09:37,797 - INFO - Deleting VM ctest-vn2-vm1-09856960 2025-11-18 17:09:37,884 - INFO - Deleting VM ctest-vn1-vm1-89796283 2025-11-18 17:09:37,956 - INFO - Deleting VN ctest-vn2-86449541 2025-11-18 17:09:37,990 - DEBUG - VN 0b23e88b-5f8e-4e11-9c64-5aed4cd11e38 still in use: Unable to complete operation on network 0b23e88b-5f8e-4e11-9c64-5aed4cd11e38. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-272dc8ac-05a7-485a-b675-a32e371cd773'] 2025-11-18 17:09:37,990 - WARNING - Deleting VN ctest-vn2-86449541 failed..Will retry 2025-11-18 17:09:40,087 - DEBUG - Response for deleting network () 2025-11-18 17:09:40,087 - INFO - Deleting VN ctest-vn1-72854830 2025-11-18 17:09:40,182 - DEBUG - Response for deleting network () 2025-11-18 17:09:40,440 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 17:09:40,440 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-18 17:09:40,440 - INFO - -------------------------------------------------------------------------------- 2025-11-18 17:09:41,110 - INFO - Deleted project: ctest-TestRouters-44049664, ID : fd817986-4eeb-43be-9644-7ee5a1723442