2025-12-01 17:32:52,215 - INFO - Domain Default found not creating 2025-12-01 17:32:52,414 - INFO - Project ctest-TestRouters-05765944 not found, creating it 2025-12-01 17:32:52,915 - INFO - Created Project:ctest-TestRouters-05765944, ID : 0c473c88-4700-41b6-afe0-ee59616689f9 2025-12-01 17:32:54,693 - INFO - ================================================================================ 2025-12-01 17:32:54,693 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-01 17:32:54,693 - 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-12-01 17:32:54,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-01 17:32:54,973 - INFO - Initial checks done. Running the testcase now 2025-12-01 17:32:54,973 - INFO - 2025-12-01 17:32:55,748 - DEBUG - Response for create_network : {'network': {'id': '0dcf4df1-4738-4e76-b88e-ae23b4cccab4', 'name': 'ctest-vn1-78937026', 'tenant_id': '0c473c88470041b6afe0ee59616689f9', 'project_id': '0c473c88470041b6afe0ee59616689f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05765944', 'ctest-vn1-78937026'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:32:56,018 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea46edb3-7f22-4733-9e4d-8241eaa79ce0', 'name': '', 'tenant_id': '0c473c88470041b6afe0ee59616689f9', 'network_id': '0dcf4df1-4738-4e76-b88e-ae23b4cccab4', 'ip_version': 4, 'cidr': '223.155.219.0/26', 'allocation_pools': [{'start': '223.155.219.2', 'end': '223.155.219.62'}], 'gateway_ip': '223.155.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.155.219.2', 'tags': [], 'project_id': '0c473c88470041b6afe0ee59616689f9'}} 2025-12-01 17:32:56,043 - INFO - Created VN ctest-vn1-78937026 2025-12-01 17:32:56,095 - DEBUG - VN ctest-vn1-78937026 UUID is 0dcf4df1-4738-4e76-b88e-ae23b4cccab4 2025-12-01 17:32:56,430 - DEBUG - Response for create_network : {'network': {'id': '2f501415-493c-4bb7-9a9f-ea484c039f1d', 'name': 'ctest-vn2-09039891', 'tenant_id': '0c473c88470041b6afe0ee59616689f9', 'project_id': '0c473c88470041b6afe0ee59616689f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05765944', 'ctest-vn2-09039891'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:32:56,664 - DEBUG - Response for create_subnet : {'subnet': {'id': '08649a24-c00b-4aad-8955-4335fcda3331', 'name': '', 'tenant_id': '0c473c88470041b6afe0ee59616689f9', 'network_id': '2f501415-493c-4bb7-9a9f-ea484c039f1d', 'ip_version': 4, 'cidr': '82.233.249.0/26', 'allocation_pools': [{'start': '82.233.249.2', 'end': '82.233.249.62'}], 'gateway_ip': '82.233.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.233.249.2', 'tags': [], 'project_id': '0c473c88470041b6afe0ee59616689f9'}} 2025-12-01 17:32:56,685 - INFO - Created VN ctest-vn2-09039891 2025-12-01 17:32:56,739 - DEBUG - VN ctest-vn2-09039891 UUID is 2f501415-493c-4bb7-9a9f-ea484c039f1d 2025-12-01 17:32:56,930 - DEBUG - Services list from nova: [, , ] 2025-12-01 17:32:58,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4831-1) 2025-12-01 17:32:59,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4831-1) 2025-12-01 17:32:59,854 - INFO - Adding interface with subnet_id ea46edb3-7f22-4733-9e4d-8241eaa79ce0, port_id None to router 2a927776-66dc-4053-8cd0-461e8e311c36 2025-12-01 17:33:00,156 - INFO - Waiting for VM ctest-vn1-vm1-97080814 to be up.. 2025-12-01 17:33:00,269 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 17:33:05,364 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:33:05,364 - INFO - VM name : ctest-vn1-vm1-97080814 2025-12-01 17:33:05,459 - DEBUG - VM ctest-vn1-vm1-97080814 ID is abe06d40-c1cd-4b0e-856c-2e94a6d7bd7b 2025-12-01 17:33:05,484 - DEBUG - VM ctest-vn1-vm1-97080814 launched on Node cn-jenkins-deploy-platform-ansible-os-4831-1 2025-12-01 17:33:05,580 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/abe06d40-c1cd-4b0e-856c-2e94a6d7bd7b 2025-12-01 17:33:05,923 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/abe06d40-c1cd-4b0e-856c-2e94a6d7bd7b 2025-12-01 17:33:05,964 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/f944aec5-1cb3-4d18-8cff-5ef8d079be7c 2025-12-01 17:33:09,237 - 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 1012ms') 2025-12-01 17:33:09,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97080814 failed! 2025-12-01 17:33:09,291 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-05765944:ctest-vn1-78937026 is 223.155.219.1 and allocation pool is NOT set 2025-12-01 17:33:13,359 - 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=2 ttl=63 time=8.15 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 8.146/8.146/8.146/0.000 ms') 2025-12-01 17:33:13,359 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97080814 passed 2025-12-01 17:33:13,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:33:13,516 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97080814, IP 223.155.219.3, Port 22 2025-12-01 17:33:13,686 - DEBUG - VM ctest-vn1-vm1-97080814 is ready for SSH connections 2025-12-01 17:33:13,686 - INFO - Waiting for VM ctest-vn2-vm1-83602531 to be up.. 2025-12-01 17:33:13,782 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:33:13,782 - INFO - VM name : ctest-vn2-vm1-83602531 2025-12-01 17:33:13,882 - DEBUG - VM ctest-vn2-vm1-83602531 ID is 8e147853-fbfe-401b-bbc8-ce9106e39d6b 2025-12-01 17:33:13,882 - DEBUG - VM ctest-vn2-vm1-83602531 launched on Node cn-jenkins-deploy-platform-ansible-os-4831-1 2025-12-01 17:33:13,975 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/8e147853-fbfe-401b-bbc8-ce9106e39d6b 2025-12-01 17:33:13,985 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/54b29640-295b-4b29-9626-b70a50adbd17 2025-12-01 17:33:15,234 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.623 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.623/2.487/4.351/1.864 ms') 2025-12-01 17:33:15,234 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-83602531 passed 2025-12-01 17:33:15,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:33:15,388 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-83602531, IP 82.233.249.3, Port 22 2025-12-01 17:33:15,566 - DEBUG - VM ctest-vn2-vm1-83602531 is ready for SSH connections 2025-12-01 17:33:15,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:33:15,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.233.249.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-01 17:33:15,567 - DEBUG - ping -s 56 -c 3 -W 1 82.233.249.3 2025-12-01 17:33:20,836 - DEBUG - PING 82.233.249.3 (82.233.249.3): 56 data bytes --- 82.233.249.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 17:33:20,836 - WARNING - Ping to IP 82.233.249.3 from VM ctest-vn1-vm1-97080814 failed 2025-12-01 17:33:20,837 - INFO - Adding interface with subnet_id 08649a24-c00b-4aad-8955-4335fcda3331, port_id None to router 2a927776-66dc-4053-8cd0-461e8e311c36 2025-12-01 17:33:21,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:33:21,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.233.249.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-01 17:33:21,197 - DEBUG - ping -s 56 -c 3 -W 1 82.233.249.3 2025-12-01 17:33:23,453 - DEBUG - PING 82.233.249.3 (82.233.249.3): 56 data bytes 64 bytes from 82.233.249.3: seq=0 ttl=63 time=3.970 ms 64 bytes from 82.233.249.3: seq=1 ttl=63 time=0.987 ms 64 bytes from 82.233.249.3: seq=2 ttl=63 time=0.933 ms --- 82.233.249.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/1.963/3.970 ms 2025-12-01 17:33:23,453 - INFO - Ping to IP 82.233.249.3 from VM ctest-vn1-vm1-97080814 passed 2025-12-01 17:33:23,454 - INFO - Deleting interface with subnet_id ea46edb3-7f22-4733-9e4d-8241eaa79ce0, port_id None from router 2a927776-66dc-4053-8cd0-461e8e311c36 2025-12-01 17:33:23,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:33:23,603 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.233.249.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-01 17:33:23,603 - DEBUG - ping -s 56 -c 3 -W 1 82.233.249.3 2025-12-01 17:33:26,836 - DEBUG - PING 82.233.249.3 (82.233.249.3): 56 data bytes --- 82.233.249.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 17:33:26,837 - WARNING - Ping to IP 82.233.249.3 from VM ctest-vn1-vm1-97080814 failed 2025-12-01 17:33:26,837 - INFO - Adding interface with subnet_id ea46edb3-7f22-4733-9e4d-8241eaa79ce0, port_id None to router 2a927776-66dc-4053-8cd0-461e8e311c36 2025-12-01 17:33:27,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:33:27,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.233.249.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-01 17:33:27,112 - DEBUG - ping -s 56 -c 3 -W 1 82.233.249.3 2025-12-01 17:33:29,370 - DEBUG - PING 82.233.249.3 (82.233.249.3): 56 data bytes 64 bytes from 82.233.249.3: seq=0 ttl=63 time=1.969 ms 64 bytes from 82.233.249.3: seq=1 ttl=63 time=1.309 ms 64 bytes from 82.233.249.3: seq=2 ttl=63 time=1.201 ms --- 82.233.249.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.201/1.493/1.969 ms 2025-12-01 17:33:29,370 - INFO - Ping to IP 82.233.249.3 from VM ctest-vn1-vm1-97080814 passed 2025-12-01 17:33:29,370 - INFO - Deleting interface with subnet_id 08649a24-c00b-4aad-8955-4335fcda3331, port_id None from router 2a927776-66dc-4053-8cd0-461e8e311c36 2025-12-01 17:33:29,533 - INFO - Deleting interface with subnet_id ea46edb3-7f22-4733-9e4d-8241eaa79ce0, port_id None from router 2a927776-66dc-4053-8cd0-461e8e311c36 2025-12-01 17:33:29,814 - INFO - Deleting VM ctest-vn2-vm1-83602531 2025-12-01 17:33:29,928 - INFO - Deleting VM ctest-vn1-vm1-97080814 2025-12-01 17:33:30,045 - INFO - Deleting VN ctest-vn2-09039891 2025-12-01 17:33:30,095 - DEBUG - VN 2f501415-493c-4bb7-9a9f-ea484c039f1d still in use: Unable to complete operation on network 2f501415-493c-4bb7-9a9f-ea484c039f1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae333e90-96bf-4b7f-bfc8-1420f77aad54'] 2025-12-01 17:33:30,096 - WARNING - Deleting VN ctest-vn2-09039891 failed..Will retry 2025-12-01 17:33:32,222 - DEBUG - Response for deleting network () 2025-12-01 17:33:32,223 - INFO - Deleting VN ctest-vn1-78937026 2025-12-01 17:33:32,360 - DEBUG - Response for deleting network () 2025-12-01 17:33:32,636 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 17:33:32,636 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-12-01 17:33:32,636 - INFO - -------------------------------------------------------------------------------- 2025-12-01 17:33:33,414 - INFO - Deleted project: ctest-TestRouters-05765944, ID : 0c473c88-4700-41b6-afe0-ee59616689f9