2025-10-31 03:08:02,766 - INFO - Domain Default found not creating 2025-10-31 03:08:02,899 - INFO - Project ctest-TestRouters-83121227 not found, creating it 2025-10-31 03:08:03,335 - INFO - Created Project:ctest-TestRouters-83121227, ID : de11a872-37ad-41c2-bb44-cefba2086b23 2025-10-31 03:08:04,811 - INFO - ================================================================================ 2025-10-31 03:08:04,812 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 03:08:04,812 - 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-31 03:08:05,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-10-31 03:08:05,063 - INFO - Initial checks done. Running the testcase now 2025-10-31 03:08:05,064 - INFO - 2025-10-31 03:08:05,603 - DEBUG - Response for create_network : {'network': {'id': 'c987e532-fbb3-445f-93de-31176c7e08ad', 'name': 'ctest-vn1-98364310', 'tenant_id': 'de11a87237ad41c2bb44cefba2086b23', 'project_id': 'de11a87237ad41c2bb44cefba2086b23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83121227', 'ctest-vn1-98364310'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:08:05,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '19d9b018-bd63-4927-bb01-99b9d976a680', 'name': '', 'tenant_id': 'de11a87237ad41c2bb44cefba2086b23', 'network_id': 'c987e532-fbb3-445f-93de-31176c7e08ad', 'ip_version': 4, 'cidr': '218.49.203.64/26', 'allocation_pools': [{'start': '218.49.203.66', 'end': '218.49.203.126'}], 'gateway_ip': '218.49.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.49.203.66', 'tags': [], 'project_id': 'de11a87237ad41c2bb44cefba2086b23'}} 2025-10-31 03:08:05,811 - INFO - Created VN ctest-vn1-98364310 2025-10-31 03:08:05,867 - DEBUG - VN ctest-vn1-98364310 UUID is c987e532-fbb3-445f-93de-31176c7e08ad 2025-10-31 03:08:06,205 - DEBUG - Response for create_network : {'network': {'id': '3934c741-786a-411f-bf41-1366eb1253bb', 'name': 'ctest-vn2-61302214', 'tenant_id': 'de11a87237ad41c2bb44cefba2086b23', 'project_id': 'de11a87237ad41c2bb44cefba2086b23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83121227', 'ctest-vn2-61302214'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:08:06,486 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e51c1a49-6d4b-4513-914e-ca67b731c228', 'name': '', 'tenant_id': 'de11a87237ad41c2bb44cefba2086b23', 'network_id': '3934c741-786a-411f-bf41-1366eb1253bb', 'ip_version': 4, 'cidr': '73.245.64.128/26', 'allocation_pools': [{'start': '73.245.64.130', 'end': '73.245.64.190'}], 'gateway_ip': '73.245.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.245.64.130', 'tags': [], 'project_id': 'de11a87237ad41c2bb44cefba2086b23'}} 2025-10-31 03:08:06,508 - INFO - Created VN ctest-vn2-61302214 2025-10-31 03:08:06,566 - DEBUG - VN ctest-vn2-61302214 UUID is 3934c741-786a-411f-bf41-1366eb1253bb 2025-10-31 03:08:06,792 - DEBUG - Services list from nova: [, , ] 2025-10-31 03:08:07,886 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4568-1) 2025-10-31 03:08:09,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4568-1) 2025-10-31 03:08:09,066 - INFO - Adding interface with subnet_id 19d9b018-bd63-4927-bb01-99b9d976a680, port_id None to router 145aab8e-2725-41e6-ba4c-d14b641d067f 2025-10-31 03:08:09,344 - INFO - Waiting for VM ctest-vn1-vm1-86266470 to be up.. 2025-10-31 03:08:09,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 03:08:14,524 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:08:14,524 - INFO - VM name : ctest-vn1-vm1-86266470 2025-10-31 03:08:14,597 - DEBUG - VM ctest-vn1-vm1-86266470 ID is 6fe0898c-19e5-4f12-a78c-1943f80ae982 2025-10-31 03:08:14,614 - DEBUG - VM ctest-vn1-vm1-86266470 launched on Node cn-jenkins-deploy-platform-ansible-os-4568-1 2025-10-31 03:08:14,690 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6fe0898c-19e5-4f12-a78c-1943f80ae982 2025-10-31 03:08:14,991 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6fe0898c-19e5-4f12-a78c-1943f80ae982 2025-10-31 03:08:15,021 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9cf6b8a1-47d1-4514-8432-e7355cd79ce4 2025-10-31 03:08:18,277 - 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 1015ms') 2025-10-31 03:08:18,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86266470 failed! 2025-10-31 03:08:18,331 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-83121227:ctest-vn1-98364310 is 218.49.203.65 and allocation pool is NOT set 2025-10-31 03:08:20,394 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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 = 0.426/1.583/2.740/1.157 ms') 2025-10-31 03:08:20,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86266470 passed 2025-10-31 03:08:20,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:20,547 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86266470, IP 218.49.203.67, Port 22 2025-10-31 03:08:20,719 - DEBUG - VM ctest-vn1-vm1-86266470 is ready for SSH connections 2025-10-31 03:08:20,719 - INFO - Waiting for VM ctest-vn2-vm1-26963027 to be up.. 2025-10-31 03:08:20,791 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:08:20,791 - INFO - VM name : ctest-vn2-vm1-26963027 2025-10-31 03:08:20,864 - DEBUG - VM ctest-vn2-vm1-26963027 ID is 7fe0b52b-df36-492c-8815-5e92f4c95dd5 2025-10-31 03:08:20,864 - DEBUG - VM ctest-vn2-vm1-26963027 launched on Node cn-jenkins-deploy-platform-ansible-os-4568-1 2025-10-31 03:08:20,938 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/7fe0b52b-df36-492c-8815-5e92f4c95dd5 2025-10-31 03:08:20,946 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/91eb6f10-c889-43d0-8f32-1c173e3b08e9 2025-10-31 03:08:22,183 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.820 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.820/2.576/4.333/1.756 ms') 2025-10-31 03:08:22,183 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-26963027 passed 2025-10-31 03:08:22,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:22,331 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-26963027, IP 73.245.64.131, Port 22 2025-10-31 03:08:22,488 - DEBUG - VM ctest-vn2-vm1-26963027 is ready for SSH connections 2025-10-31 03:08:22,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:22,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.245.64.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-31 03:08:22,488 - DEBUG - ping -s 56 -c 3 -W 1 73.245.64.131 2025-10-31 03:08:27,412 - DEBUG - PING 73.245.64.131 (73.245.64.131): 56 data bytes --- 73.245.64.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 03:08:27,412 - WARNING - Ping to IP 73.245.64.131 from VM ctest-vn1-vm1-86266470 failed 2025-10-31 03:08:27,413 - INFO - Adding interface with subnet_id e51c1a49-6d4b-4513-914e-ca67b731c228, port_id None to router 145aab8e-2725-41e6-ba4c-d14b641d067f 2025-10-31 03:08:27,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:27,669 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.245.64.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-31 03:08:27,669 - DEBUG - ping -s 56 -c 3 -W 1 73.245.64.131 2025-10-31 03:08:29,889 - DEBUG - PING 73.245.64.131 (73.245.64.131): 56 data bytes 64 bytes from 73.245.64.131: seq=0 ttl=63 time=2.629 ms 64 bytes from 73.245.64.131: seq=1 ttl=63 time=1.030 ms 64 bytes from 73.245.64.131: seq=2 ttl=63 time=0.723 ms --- 73.245.64.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/1.460/2.629 ms 2025-10-31 03:08:29,889 - INFO - Ping to IP 73.245.64.131 from VM ctest-vn1-vm1-86266470 passed 2025-10-31 03:08:29,889 - INFO - Deleting interface with subnet_id 19d9b018-bd63-4927-bb01-99b9d976a680, port_id None from router 145aab8e-2725-41e6-ba4c-d14b641d067f 2025-10-31 03:08:29,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:29,986 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.245.64.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-31 03:08:29,986 - DEBUG - ping -s 56 -c 3 -W 1 73.245.64.131 2025-10-31 03:08:33,186 - DEBUG - PING 73.245.64.131 (73.245.64.131): 56 data bytes --- 73.245.64.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 03:08:33,186 - WARNING - Ping to IP 73.245.64.131 from VM ctest-vn1-vm1-86266470 failed 2025-10-31 03:08:33,186 - INFO - Adding interface with subnet_id 19d9b018-bd63-4927-bb01-99b9d976a680, port_id None to router 145aab8e-2725-41e6-ba4c-d14b641d067f 2025-10-31 03:08:33,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:33,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.245.64.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-31 03:08:33,394 - DEBUG - ping -s 56 -c 3 -W 1 73.245.64.131 2025-10-31 03:08:35,590 - DEBUG - PING 73.245.64.131 (73.245.64.131): 56 data bytes 64 bytes from 73.245.64.131: seq=0 ttl=63 time=1.371 ms 64 bytes from 73.245.64.131: seq=1 ttl=63 time=1.074 ms 64 bytes from 73.245.64.131: seq=2 ttl=63 time=0.849 ms --- 73.245.64.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.098/1.371 ms 2025-10-31 03:08:35,590 - INFO - Ping to IP 73.245.64.131 from VM ctest-vn1-vm1-86266470 passed 2025-10-31 03:08:35,590 - INFO - Deleting interface with subnet_id e51c1a49-6d4b-4513-914e-ca67b731c228, port_id None from router 145aab8e-2725-41e6-ba4c-d14b641d067f 2025-10-31 03:08:35,709 - INFO - Deleting interface with subnet_id 19d9b018-bd63-4927-bb01-99b9d976a680, port_id None from router 145aab8e-2725-41e6-ba4c-d14b641d067f 2025-10-31 03:08:35,874 - INFO - Deleting VM ctest-vn2-vm1-26963027 2025-10-31 03:08:35,936 - INFO - Deleting VM ctest-vn1-vm1-86266470 2025-10-31 03:08:36,011 - INFO - Deleting VN ctest-vn2-61302214 2025-10-31 03:08:36,042 - DEBUG - VN 3934c741-786a-411f-bf41-1366eb1253bb still in use: Unable to complete operation on network 3934c741-786a-411f-bf41-1366eb1253bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-116d9298-c667-4813-b81f-1478116f9f7c'] 2025-10-31 03:08:36,042 - WARNING - Deleting VN ctest-vn2-61302214 failed..Will retry 2025-10-31 03:08:38,129 - DEBUG - Response for deleting network () 2025-10-31 03:08:38,129 - INFO - Deleting VN ctest-vn1-98364310 2025-10-31 03:08:38,222 - DEBUG - Response for deleting network () 2025-10-31 03:08:38,477 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 03:08:38,477 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34] 2025-10-31 03:08:38,477 - INFO - -------------------------------------------------------------------------------- 2025-10-31 03:08:39,134 - INFO - Deleted project: ctest-TestRouters-83121227, ID : de11a872-37ad-41c2-bb44-cefba2086b23