2025-08-18 02:09:01,564 - INFO - Domain Default found not creating 2025-08-18 02:09:01,690 - INFO - Project ctest-TestRouters-59890641 not found, creating it 2025-08-18 02:09:02,145 - INFO - Created Project:ctest-TestRouters-59890641, ID : 4f6d831a-7550-4d6f-92b0-0ff2fbf51b35 2025-08-18 02:09:03,504 - INFO - ================================================================================ 2025-08-18 02:09:03,504 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-18 02:09:03,504 - 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-08-18 02:09:03,767 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-18 02:09:03,767 - INFO - Initial checks done. Running the testcase now 2025-08-18 02:09:03,767 - INFO - 2025-08-18 02:09:04,300 - DEBUG - Response for create_network : {'network': {'id': 'cb63e90f-f212-416e-9cb0-5fb80e9c6d5b', 'name': 'ctest-vn1-49509777', 'tenant_id': '4f6d831a75504d6f92b00ff2fbf51b35', 'project_id': '4f6d831a75504d6f92b00ff2fbf51b35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59890641', 'ctest-vn1-49509777'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:09:04,520 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c770514e-6794-48ee-b147-51e59425f42e', 'name': '', 'tenant_id': '4f6d831a75504d6f92b00ff2fbf51b35', 'network_id': 'cb63e90f-f212-416e-9cb0-5fb80e9c6d5b', 'ip_version': 4, 'cidr': '18.165.122.0/26', 'allocation_pools': [{'start': '18.165.122.2', 'end': '18.165.122.62'}], 'gateway_ip': '18.165.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.165.122.2', 'tags': [], 'project_id': '4f6d831a75504d6f92b00ff2fbf51b35'}} 2025-08-18 02:09:04,535 - INFO - Created VN ctest-vn1-49509777 2025-08-18 02:09:04,585 - DEBUG - VN ctest-vn1-49509777 UUID is cb63e90f-f212-416e-9cb0-5fb80e9c6d5b 2025-08-18 02:09:04,907 - DEBUG - Response for create_network : {'network': {'id': '0dc4ca5a-6771-41c9-bfec-1a5b90668dbe', 'name': 'ctest-vn2-81977690', 'tenant_id': '4f6d831a75504d6f92b00ff2fbf51b35', 'project_id': '4f6d831a75504d6f92b00ff2fbf51b35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59890641', 'ctest-vn2-81977690'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:09:05,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c311adc7-0b6d-4ae9-b0cb-29719b08438e', 'name': '', 'tenant_id': '4f6d831a75504d6f92b00ff2fbf51b35', 'network_id': '0dc4ca5a-6771-41c9-bfec-1a5b90668dbe', 'ip_version': 4, 'cidr': '81.100.5.192/26', 'allocation_pools': [{'start': '81.100.5.194', 'end': '81.100.5.254'}], 'gateway_ip': '81.100.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.100.5.194', 'tags': [], 'project_id': '4f6d831a75504d6f92b00ff2fbf51b35'}} 2025-08-18 02:09:05,147 - INFO - Created VN ctest-vn2-81977690 2025-08-18 02:09:05,201 - DEBUG - VN ctest-vn2-81977690 UUID is 0dc4ca5a-6771-41c9-bfec-1a5b90668dbe 2025-08-18 02:09:05,413 - DEBUG - Services list from nova: [, , ] 2025-08-18 02:09:06,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1) 2025-08-18 02:09:07,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1) 2025-08-18 02:09:07,603 - INFO - Adding interface with subnet_id c770514e-6794-48ee-b147-51e59425f42e, port_id None to router 2adb3a62-b08b-4dd6-9e3a-fc8bc7fa1c22 2025-08-18 02:09:07,887 - INFO - Waiting for VM ctest-vn1-vm1-07065281 to be up.. 2025-08-18 02:09:07,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 02:09:13,046 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:09:13,046 - INFO - VM name : ctest-vn1-vm1-07065281 2025-08-18 02:09:13,123 - DEBUG - VM ctest-vn1-vm1-07065281 ID is fdec66e6-36e9-4cbb-82fe-dd5225cd1e94 2025-08-18 02:09:13,141 - DEBUG - VM ctest-vn1-vm1-07065281 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1 2025-08-18 02:09:13,225 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fdec66e6-36e9-4cbb-82fe-dd5225cd1e94 2025-08-18 02:09:13,515 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fdec66e6-36e9-4cbb-82fe-dd5225cd1e94 2025-08-18 02:09:13,543 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/428139ba-8e47-4f2d-8843-b9fdcec27964 2025-08-18 02:09:16,814 - 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-08-18 02:09:16,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07065281 failed! 2025-08-18 02:09:16,869 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-59890641:ctest-vn1-49509777 is 18.165.122.1 and allocation pool is NOT set 2025-08-18 02:09:18,932 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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.373/1.527/2.682/1.154 ms') 2025-08-18 02:09:18,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07065281 passed 2025-08-18 02:09:19,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:19,089 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07065281, IP 18.165.122.3, Port 22 2025-08-18 02:09:19,241 - DEBUG - VM ctest-vn1-vm1-07065281 is ready for SSH connections 2025-08-18 02:09:19,241 - INFO - Waiting for VM ctest-vn2-vm1-64357338 to be up.. 2025-08-18 02:09:19,309 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:09:19,310 - INFO - VM name : ctest-vn2-vm1-64357338 2025-08-18 02:09:19,374 - DEBUG - VM ctest-vn2-vm1-64357338 ID is b331d2ed-743a-4e05-b627-551e8bff02ea 2025-08-18 02:09:19,374 - DEBUG - VM ctest-vn2-vm1-64357338 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1 2025-08-18 02:09:19,437 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b331d2ed-743a-4e05-b627-551e8bff02ea 2025-08-18 02:09:19,445 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f75a62c9-2f96-4d06-8950-3b449a78e63b 2025-08-18 02:09:20,680 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.339 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.339/1.616/2.893/1.277 ms') 2025-08-18 02:09:20,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-64357338 passed 2025-08-18 02:09:20,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:20,833 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-64357338, IP 81.100.5.195, Port 22 2025-08-18 02:09:20,992 - DEBUG - VM ctest-vn2-vm1-64357338 is ready for SSH connections 2025-08-18 02:09:20,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:20,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.100.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-18 02:09:20,992 - DEBUG - ping -s 56 -c 3 -W 1 81.100.5.195 2025-08-18 02:09:25,926 - DEBUG - PING 81.100.5.195 (81.100.5.195): 56 data bytes --- 81.100.5.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 02:09:25,926 - WARNING - Ping to IP 81.100.5.195 from VM ctest-vn1-vm1-07065281 failed 2025-08-18 02:09:25,926 - INFO - Adding interface with subnet_id c311adc7-0b6d-4ae9-b0cb-29719b08438e, port_id None to router 2adb3a62-b08b-4dd6-9e3a-fc8bc7fa1c22 2025-08-18 02:09:26,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:26,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.100.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-18 02:09:26,175 - DEBUG - ping -s 56 -c 3 -W 1 81.100.5.195 2025-08-18 02:09:28,374 - DEBUG - PING 81.100.5.195 (81.100.5.195): 56 data bytes 64 bytes from 81.100.5.195: seq=0 ttl=63 time=2.150 ms 64 bytes from 81.100.5.195: seq=1 ttl=63 time=0.816 ms 64 bytes from 81.100.5.195: seq=2 ttl=63 time=0.754 ms --- 81.100.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.240/2.150 ms 2025-08-18 02:09:28,374 - INFO - Ping to IP 81.100.5.195 from VM ctest-vn1-vm1-07065281 passed 2025-08-18 02:09:28,374 - INFO - Deleting interface with subnet_id c770514e-6794-48ee-b147-51e59425f42e, port_id None from router 2adb3a62-b08b-4dd6-9e3a-fc8bc7fa1c22 2025-08-18 02:09:28,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:28,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.100.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-18 02:09:28,530 - DEBUG - ping -s 56 -c 3 -W 1 81.100.5.195 2025-08-18 02:09:31,735 - DEBUG - PING 81.100.5.195 (81.100.5.195): 56 data bytes --- 81.100.5.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 02:09:31,735 - WARNING - Ping to IP 81.100.5.195 from VM ctest-vn1-vm1-07065281 failed 2025-08-18 02:09:31,735 - INFO - Adding interface with subnet_id c770514e-6794-48ee-b147-51e59425f42e, port_id None to router 2adb3a62-b08b-4dd6-9e3a-fc8bc7fa1c22 2025-08-18 02:09:31,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:31,965 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.100.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-18 02:09:31,965 - DEBUG - ping -s 56 -c 3 -W 1 81.100.5.195 2025-08-18 02:09:35,156 - DEBUG - PING 81.100.5.195 (81.100.5.195): 56 data bytes 64 bytes from 81.100.5.195: seq=1 ttl=63 time=1.326 ms 64 bytes from 81.100.5.195: seq=2 ttl=63 time=0.678 ms --- 81.100.5.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.678/1.002/1.326 ms 2025-08-18 02:09:35,156 - WARNING - Ping to IP 81.100.5.195 from VM ctest-vn1-vm1-07065281 failed 2025-08-18 02:09:36,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.100.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-18 02:09:36,157 - DEBUG - ping -s 56 -c 3 -W 1 81.100.5.195 2025-08-18 02:09:38,357 - DEBUG - PING 81.100.5.195 (81.100.5.195): 56 data bytes 64 bytes from 81.100.5.195: seq=0 ttl=63 time=1.381 ms 64 bytes from 81.100.5.195: seq=1 ttl=63 time=0.832 ms 64 bytes from 81.100.5.195: seq=2 ttl=63 time=0.753 ms --- 81.100.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/0.988/1.381 ms 2025-08-18 02:09:38,357 - INFO - Ping to IP 81.100.5.195 from VM ctest-vn1-vm1-07065281 passed 2025-08-18 02:09:38,357 - INFO - Deleting interface with subnet_id c311adc7-0b6d-4ae9-b0cb-29719b08438e, port_id None from router 2adb3a62-b08b-4dd6-9e3a-fc8bc7fa1c22 2025-08-18 02:09:38,491 - INFO - Deleting interface with subnet_id c770514e-6794-48ee-b147-51e59425f42e, port_id None from router 2adb3a62-b08b-4dd6-9e3a-fc8bc7fa1c22 2025-08-18 02:09:38,708 - INFO - Deleting VM ctest-vn2-vm1-64357338 2025-08-18 02:09:38,804 - INFO - Deleting VM ctest-vn1-vm1-07065281 2025-08-18 02:09:38,874 - INFO - Deleting VN ctest-vn2-81977690 2025-08-18 02:09:38,908 - DEBUG - VN 0dc4ca5a-6771-41c9-bfec-1a5b90668dbe still in use: Unable to complete operation on network 0dc4ca5a-6771-41c9-bfec-1a5b90668dbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-771d74a1-2d2a-4224-816f-9e31e51cb000'] 2025-08-18 02:09:38,908 - WARNING - Deleting VN ctest-vn2-81977690 failed..Will retry 2025-08-18 02:09:41,018 - DEBUG - Response for deleting network () 2025-08-18 02:09:41,018 - INFO - Deleting VN ctest-vn1-49509777 2025-08-18 02:09:41,111 - DEBUG - Response for deleting network () 2025-08-18 02:09:41,370 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:09:41,370 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-18 02:09:41,370 - INFO - -------------------------------------------------------------------------------- 2025-08-18 02:09:42,066 - INFO - Deleted project: ctest-TestRouters-59890641, ID : 4f6d831a-7550-4d6f-92b0-0ff2fbf51b35