2025-08-04 20:27:13,013 - INFO - Domain Default found not creating 2025-08-04 20:27:13,172 - INFO - Project ctest-TestRouters-90354597 not found, creating it 2025-08-04 20:27:13,656 - INFO - Created Project:ctest-TestRouters-90354597, ID : 33e2276f-545b-4387-8e21-200172e52392 2025-08-04 20:27:15,331 - INFO - ================================================================================ 2025-08-04 20:27:15,331 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-04 20:27:15,331 - 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-04 20:27:15,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-04 20:27:15,593 - INFO - Initial checks done. Running the testcase now 2025-08-04 20:27:15,593 - INFO - 2025-08-04 20:27:16,216 - DEBUG - Response for create_network : {'network': {'id': 'e1bb6c80-9092-47ff-a9b2-ad43891bbab5', 'name': 'ctest-vn1-53711971', 'tenant_id': '33e2276f545b43878e21200172e52392', 'project_id': '33e2276f545b43878e21200172e52392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90354597', 'ctest-vn1-53711971'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:27:16,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '4da078dd-db96-460d-bd87-6ece1e5dc409', 'name': '', 'tenant_id': '33e2276f545b43878e21200172e52392', 'network_id': 'e1bb6c80-9092-47ff-a9b2-ad43891bbab5', 'ip_version': 4, 'cidr': '105.1.138.64/26', 'allocation_pools': [{'start': '105.1.138.66', 'end': '105.1.138.126'}], 'gateway_ip': '105.1.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.1.138.66', 'tags': [], 'project_id': '33e2276f545b43878e21200172e52392'}} 2025-08-04 20:27:16,469 - INFO - Created VN ctest-vn1-53711971 2025-08-04 20:27:16,521 - DEBUG - VN ctest-vn1-53711971 UUID is e1bb6c80-9092-47ff-a9b2-ad43891bbab5 2025-08-04 20:27:16,853 - DEBUG - Response for create_network : {'network': {'id': '51fdf333-28ac-42eb-a92c-2fb8ade38fd0', 'name': 'ctest-vn2-69340629', 'tenant_id': '33e2276f545b43878e21200172e52392', 'project_id': '33e2276f545b43878e21200172e52392', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90354597', 'ctest-vn2-69340629'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:27:17,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '147cde4a-b5c4-49c9-8c37-4a6f58ef6b68', 'name': '', 'tenant_id': '33e2276f545b43878e21200172e52392', 'network_id': '51fdf333-28ac-42eb-a92c-2fb8ade38fd0', 'ip_version': 4, 'cidr': '132.204.52.0/26', 'allocation_pools': [{'start': '132.204.52.2', 'end': '132.204.52.62'}], 'gateway_ip': '132.204.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.204.52.2', 'tags': [], 'project_id': '33e2276f545b43878e21200172e52392'}} 2025-08-04 20:27:17,112 - INFO - Created VN ctest-vn2-69340629 2025-08-04 20:27:17,169 - DEBUG - VN ctest-vn2-69340629 UUID is 51fdf333-28ac-42eb-a92c-2fb8ade38fd0 2025-08-04 20:27:17,357 - DEBUG - Services list from nova: [, , ] 2025-08-04 20:27:18,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:27:19,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:27:20,086 - INFO - Adding interface with subnet_id 4da078dd-db96-460d-bd87-6ece1e5dc409, port_id None to router a07cc694-6499-459f-b3a2-24d210a34f4a 2025-08-04 20:27:20,422 - INFO - Waiting for VM ctest-vn1-vm1-98689018 to be up.. 2025-08-04 20:27:20,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 20:27:25,657 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:27:25,657 - INFO - VM name : ctest-vn1-vm1-98689018 2025-08-04 20:27:25,739 - DEBUG - VM ctest-vn1-vm1-98689018 ID is 04537b58-f7c7-4352-93c4-2ad2a397947f 2025-08-04 20:27:25,772 - DEBUG - VM ctest-vn1-vm1-98689018 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:27:25,859 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/04537b58-f7c7-4352-93c4-2ad2a397947f 2025-08-04 20:27:26,202 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/04537b58-f7c7-4352-93c4-2ad2a397947f 2025-08-04 20:27:26,237 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/7b314c6b-4ed5-46d1-be2b-976bf86c21c2 2025-08-04 20:27:29,511 - 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 1018ms') 2025-08-04 20:27:29,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98689018 failed! 2025-08-04 20:27:29,569 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-90354597:ctest-vn1-53711971 is 105.1.138.65 and allocation pool is NOT set 2025-08-04 20:27:31,639 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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 = 1.802/2.978/4.154/1.176 ms') 2025-08-04 20:27:31,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98689018 passed 2025-08-04 20:27:31,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:31,794 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98689018, IP 105.1.138.67, Port 22 2025-08-04 20:27:31,960 - DEBUG - VM ctest-vn1-vm1-98689018 is ready for SSH connections 2025-08-04 20:27:31,960 - INFO - Waiting for VM ctest-vn2-vm1-83009622 to be up.. 2025-08-04 20:27:32,050 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:27:32,051 - INFO - VM name : ctest-vn2-vm1-83009622 2025-08-04 20:27:32,137 - DEBUG - VM ctest-vn2-vm1-83009622 ID is 5a0dd353-0218-4948-be1d-3c0f2fcc882d 2025-08-04 20:27:32,137 - DEBUG - VM ctest-vn2-vm1-83009622 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:27:32,223 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5a0dd353-0218-4948-be1d-3c0f2fcc882d 2025-08-04 20:27:32,235 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c6a9aa35-ed4b-4d3c-999f-987f617025ee 2025-08-04 20:27:33,487 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.934 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.934/2.807/4.681/1.873 ms') 2025-08-04 20:27:33,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-83009622 passed 2025-08-04 20:27:33,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:33,650 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-83009622, IP 132.204.52.3, Port 22 2025-08-04 20:27:33,819 - DEBUG - VM ctest-vn2-vm1-83009622 is ready for SSH connections 2025-08-04 20:27:33,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:33,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.204.52.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:27:33,820 - DEBUG - ping -s 56 -c 3 -W 1 132.204.52.3 2025-08-04 20:27:38,962 - DEBUG - PING 132.204.52.3 (132.204.52.3): 56 data bytes --- 132.204.52.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 20:27:38,962 - WARNING - Ping to IP 132.204.52.3 from VM ctest-vn1-vm1-98689018 failed 2025-08-04 20:27:38,963 - INFO - Adding interface with subnet_id 147cde4a-b5c4-49c9-8c37-4a6f58ef6b68, port_id None to router a07cc694-6499-459f-b3a2-24d210a34f4a 2025-08-04 20:27:39,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:39,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.204.52.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:27:39,249 - DEBUG - ping -s 56 -c 3 -W 1 132.204.52.3 2025-08-04 20:27:41,480 - DEBUG - PING 132.204.52.3 (132.204.52.3): 56 data bytes 64 bytes from 132.204.52.3: seq=0 ttl=63 time=2.874 ms 64 bytes from 132.204.52.3: seq=1 ttl=63 time=1.597 ms 64 bytes from 132.204.52.3: seq=2 ttl=63 time=1.083 ms --- 132.204.52.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.083/1.851/2.874 ms 2025-08-04 20:27:41,480 - INFO - Ping to IP 132.204.52.3 from VM ctest-vn1-vm1-98689018 passed 2025-08-04 20:27:41,480 - INFO - Deleting interface with subnet_id 4da078dd-db96-460d-bd87-6ece1e5dc409, port_id None from router a07cc694-6499-459f-b3a2-24d210a34f4a 2025-08-04 20:27:41,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:41,659 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.204.52.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:27:41,659 - DEBUG - ping -s 56 -c 3 -W 1 132.204.52.3 2025-08-04 20:27:44,901 - DEBUG - PING 132.204.52.3 (132.204.52.3): 56 data bytes --- 132.204.52.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 20:27:44,901 - WARNING - Ping to IP 132.204.52.3 from VM ctest-vn1-vm1-98689018 failed 2025-08-04 20:27:44,901 - INFO - Adding interface with subnet_id 4da078dd-db96-460d-bd87-6ece1e5dc409, port_id None to router a07cc694-6499-459f-b3a2-24d210a34f4a 2025-08-04 20:27:45,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:45,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.204.52.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:27:45,188 - DEBUG - ping -s 56 -c 3 -W 1 132.204.52.3 2025-08-04 20:27:47,426 - DEBUG - PING 132.204.52.3 (132.204.52.3): 56 data bytes 64 bytes from 132.204.52.3: seq=0 ttl=63 time=1.798 ms 64 bytes from 132.204.52.3: seq=1 ttl=63 time=1.117 ms 64 bytes from 132.204.52.3: seq=2 ttl=63 time=1.521 ms --- 132.204.52.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.117/1.478/1.798 ms 2025-08-04 20:27:47,426 - INFO - Ping to IP 132.204.52.3 from VM ctest-vn1-vm1-98689018 passed 2025-08-04 20:27:47,426 - INFO - Deleting interface with subnet_id 147cde4a-b5c4-49c9-8c37-4a6f58ef6b68, port_id None from router a07cc694-6499-459f-b3a2-24d210a34f4a 2025-08-04 20:27:47,571 - INFO - Deleting interface with subnet_id 4da078dd-db96-460d-bd87-6ece1e5dc409, port_id None from router a07cc694-6499-459f-b3a2-24d210a34f4a 2025-08-04 20:27:47,788 - INFO - Deleting VM ctest-vn2-vm1-83009622 2025-08-04 20:27:47,872 - INFO - Deleting VM ctest-vn1-vm1-98689018 2025-08-04 20:27:47,970 - INFO - Deleting VN ctest-vn2-69340629 2025-08-04 20:27:48,026 - DEBUG - VN 51fdf333-28ac-42eb-a92c-2fb8ade38fd0 still in use: Unable to complete operation on network 51fdf333-28ac-42eb-a92c-2fb8ade38fd0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fad60c37-b305-4138-851c-23b779415411'] 2025-08-04 20:27:48,027 - WARNING - Deleting VN ctest-vn2-69340629 failed..Will retry 2025-08-04 20:27:50,149 - DEBUG - Response for deleting network () 2025-08-04 20:27:50,149 - INFO - Deleting VN ctest-vn1-53711971 2025-08-04 20:27:50,275 - DEBUG - Response for deleting network () 2025-08-04 20:27:50,539 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 20:27:50,539 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:35] 2025-08-04 20:27:50,539 - INFO - -------------------------------------------------------------------------------- 2025-08-04 20:27:51,361 - INFO - Deleted project: ctest-TestRouters-90354597, ID : 33e2276f-545b-4387-8e21-200172e52392