2025-09-03 12:01:21,678 - INFO - Domain Default found not creating 2025-09-03 12:01:21,831 - INFO - Project ctest-TestRouters-47098257 not found, creating it 2025-09-03 12:01:22,285 - INFO - Created Project:ctest-TestRouters-47098257, ID : abaf1301-e1ad-4cb5-9736-2983140cf6b1 2025-09-03 12:01:23,705 - INFO - ================================================================================ 2025-09-03 12:01:23,705 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-03 12:01:23,705 - 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-09-03 12:01:23,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-03 12:01:23,958 - INFO - Initial checks done. Running the testcase now 2025-09-03 12:01:23,958 - INFO - 2025-09-03 12:01:24,478 - DEBUG - Response for create_network : {'network': {'id': '83a25b11-db1e-4360-94d4-674093449301', 'name': 'ctest-vn1-16868139', 'tenant_id': 'abaf1301e1ad4cb597362983140cf6b1', 'project_id': 'abaf1301e1ad4cb597362983140cf6b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47098257', 'ctest-vn1-16868139'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 12:01:24,636 - DEBUG - Response for create_subnet : {'subnet': {'id': '39a3856a-a8fd-48dc-89d9-8e287fccd3cd', 'name': '', 'tenant_id': 'abaf1301e1ad4cb597362983140cf6b1', 'network_id': '83a25b11-db1e-4360-94d4-674093449301', 'ip_version': 4, 'cidr': '67.119.232.192/26', 'allocation_pools': [{'start': '67.119.232.194', 'end': '67.119.232.254'}], 'gateway_ip': '67.119.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.119.232.194', 'tags': [], 'project_id': 'abaf1301e1ad4cb597362983140cf6b1'}} 2025-09-03 12:01:24,653 - INFO - Created VN ctest-vn1-16868139 2025-09-03 12:01:24,706 - DEBUG - VN ctest-vn1-16868139 UUID is 83a25b11-db1e-4360-94d4-674093449301 2025-09-03 12:01:25,032 - DEBUG - Response for create_network : {'network': {'id': '92cfa797-dbbe-4c2f-8f13-2e5cdb19257b', 'name': 'ctest-vn2-68747605', 'tenant_id': 'abaf1301e1ad4cb597362983140cf6b1', 'project_id': 'abaf1301e1ad4cb597362983140cf6b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47098257', 'ctest-vn2-68747605'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 12:01:25,244 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4f18eb2-e062-467a-93cd-3be498d2f66b', 'name': '', 'tenant_id': 'abaf1301e1ad4cb597362983140cf6b1', 'network_id': '92cfa797-dbbe-4c2f-8f13-2e5cdb19257b', 'ip_version': 4, 'cidr': '80.96.184.0/26', 'allocation_pools': [{'start': '80.96.184.2', 'end': '80.96.184.62'}], 'gateway_ip': '80.96.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.96.184.2', 'tags': [], 'project_id': 'abaf1301e1ad4cb597362983140cf6b1'}} 2025-09-03 12:01:25,268 - INFO - Created VN ctest-vn2-68747605 2025-09-03 12:01:25,322 - DEBUG - VN ctest-vn2-68747605 UUID is 92cfa797-dbbe-4c2f-8f13-2e5cdb19257b 2025-09-03 12:01:25,577 - DEBUG - Services list from nova: [, , ] 2025-09-03 12:01:26,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:01:27,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:01:27,846 - INFO - Adding interface with subnet_id 39a3856a-a8fd-48dc-89d9-8e287fccd3cd, port_id None to router 61c4b713-4bbe-4fda-bc48-0955d1932915 2025-09-03 12:01:28,196 - INFO - Waiting for VM ctest-vn1-vm1-13359018 to be up.. 2025-09-03 12:01:28,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 12:01:33,419 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:01:33,419 - INFO - VM name : ctest-vn1-vm1-13359018 2025-09-03 12:01:33,496 - DEBUG - VM ctest-vn1-vm1-13359018 ID is a120eb2f-b13e-4beb-bd43-f5f2be9e4803 2025-09-03 12:01:33,513 - DEBUG - VM ctest-vn1-vm1-13359018 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:01:33,581 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a120eb2f-b13e-4beb-bd43-f5f2be9e4803 2025-09-03 12:01:33,874 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a120eb2f-b13e-4beb-bd43-f5f2be9e4803 2025-09-03 12:01:33,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd33ce65-7d6d-4ba7-83f8-7ea8e52cc494 2025-09-03 12:01:37,165 - 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 1023ms') 2025-09-03 12:01:37,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13359018 failed! 2025-09-03 12:01:37,218 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-47098257:ctest-vn1-16868139 is 67.119.232.193 and allocation pool is NOT set 2025-09-03 12:01:39,291 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.495 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.495/2.705/4.916/2.210 ms') 2025-09-03 12:01:39,291 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13359018 passed 2025-09-03 12:01:39,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:39,442 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13359018, IP 67.119.232.195, Port 22 2025-09-03 12:01:39,611 - DEBUG - VM ctest-vn1-vm1-13359018 is ready for SSH connections 2025-09-03 12:01:39,611 - INFO - Waiting for VM ctest-vn2-vm1-43082848 to be up.. 2025-09-03 12:01:39,697 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:01:39,697 - INFO - VM name : ctest-vn2-vm1-43082848 2025-09-03 12:01:39,770 - DEBUG - VM ctest-vn2-vm1-43082848 ID is eea001d5-c85e-451f-84f4-3687228e3e5a 2025-09-03 12:01:39,770 - DEBUG - VM ctest-vn2-vm1-43082848 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:01:39,846 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eea001d5-c85e-451f-84f4-3687228e3e5a 2025-09-03 12:01:39,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8808651a-0ff7-49f4-a7b5-08c3fbecdb98 2025-09-03 12:01:41,099 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 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 = 1.515/2.767/4.020/1.252 ms') 2025-09-03 12:01:41,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43082848 passed 2025-09-03 12:01:41,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:41,246 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43082848, IP 80.96.184.3, Port 22 2025-09-03 12:01:41,401 - DEBUG - VM ctest-vn2-vm1-43082848 is ready for SSH connections 2025-09-03 12:01:41,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:41,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.96.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:01:41,401 - DEBUG - ping -s 56 -c 3 -W 1 80.96.184.3 2025-09-03 12:01:46,053 - DEBUG - PING 80.96.184.3 (80.96.184.3): 56 data bytes --- 80.96.184.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-03 12:01:46,054 - WARNING - Ping to IP 80.96.184.3 from VM ctest-vn1-vm1-13359018 failed 2025-09-03 12:01:46,054 - INFO - Adding interface with subnet_id f4f18eb2-e062-467a-93cd-3be498d2f66b, port_id None to router 61c4b713-4bbe-4fda-bc48-0955d1932915 2025-09-03 12:01:46,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:46,287 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.96.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:01:46,287 - DEBUG - ping -s 56 -c 3 -W 1 80.96.184.3 2025-09-03 12:01:48,491 - DEBUG - PING 80.96.184.3 (80.96.184.3): 56 data bytes 64 bytes from 80.96.184.3: seq=0 ttl=63 time=2.799 ms 64 bytes from 80.96.184.3: seq=1 ttl=63 time=0.776 ms 64 bytes from 80.96.184.3: seq=2 ttl=63 time=0.723 ms --- 80.96.184.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/1.432/2.799 ms 2025-09-03 12:01:48,491 - INFO - Ping to IP 80.96.184.3 from VM ctest-vn1-vm1-13359018 passed 2025-09-03 12:01:48,491 - INFO - Deleting interface with subnet_id 39a3856a-a8fd-48dc-89d9-8e287fccd3cd, port_id None from router 61c4b713-4bbe-4fda-bc48-0955d1932915 2025-09-03 12:01:48,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:48,594 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.96.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:01:48,594 - DEBUG - ping -s 56 -c 3 -W 1 80.96.184.3 2025-09-03 12:01:51,785 - DEBUG - PING 80.96.184.3 (80.96.184.3): 56 data bytes --- 80.96.184.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-03 12:01:51,785 - WARNING - Ping to IP 80.96.184.3 from VM ctest-vn1-vm1-13359018 failed 2025-09-03 12:01:51,785 - INFO - Adding interface with subnet_id 39a3856a-a8fd-48dc-89d9-8e287fccd3cd, port_id None to router 61c4b713-4bbe-4fda-bc48-0955d1932915 2025-09-03 12:01:51,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:51,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.96.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:01:51,970 - DEBUG - ping -s 56 -c 3 -W 1 80.96.184.3 2025-09-03 12:01:55,163 - DEBUG - PING 80.96.184.3 (80.96.184.3): 56 data bytes 64 bytes from 80.96.184.3: seq=1 ttl=63 time=1.342 ms 64 bytes from 80.96.184.3: seq=2 ttl=63 time=0.953 ms --- 80.96.184.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.953/1.147/1.342 ms 2025-09-03 12:01:55,163 - WARNING - Ping to IP 80.96.184.3 from VM ctest-vn1-vm1-13359018 failed 2025-09-03 12:01:56,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.96.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:01:56,164 - DEBUG - ping -s 56 -c 3 -W 1 80.96.184.3 2025-09-03 12:01:58,375 - DEBUG - PING 80.96.184.3 (80.96.184.3): 56 data bytes 64 bytes from 80.96.184.3: seq=0 ttl=63 time=1.358 ms 64 bytes from 80.96.184.3: seq=1 ttl=63 time=0.734 ms 64 bytes from 80.96.184.3: seq=2 ttl=63 time=0.758 ms --- 80.96.184.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/0.950/1.358 ms 2025-09-03 12:01:58,375 - INFO - Ping to IP 80.96.184.3 from VM ctest-vn1-vm1-13359018 passed 2025-09-03 12:01:58,376 - INFO - Deleting interface with subnet_id f4f18eb2-e062-467a-93cd-3be498d2f66b, port_id None from router 61c4b713-4bbe-4fda-bc48-0955d1932915 2025-09-03 12:01:58,488 - INFO - Deleting interface with subnet_id 39a3856a-a8fd-48dc-89d9-8e287fccd3cd, port_id None from router 61c4b713-4bbe-4fda-bc48-0955d1932915 2025-09-03 12:01:58,651 - INFO - Deleting VM ctest-vn2-vm1-43082848 2025-09-03 12:01:58,718 - INFO - Deleting VM ctest-vn1-vm1-13359018 2025-09-03 12:01:58,786 - INFO - Deleting VN ctest-vn2-68747605 2025-09-03 12:01:58,818 - DEBUG - VN 92cfa797-dbbe-4c2f-8f13-2e5cdb19257b still in use: Unable to complete operation on network 92cfa797-dbbe-4c2f-8f13-2e5cdb19257b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6555fafe-d104-42ab-a6dc-20d8fc160ce3'] 2025-09-03 12:01:58,818 - WARNING - Deleting VN ctest-vn2-68747605 failed..Will retry 2025-09-03 12:02:00,913 - DEBUG - Response for deleting network () 2025-09-03 12:02:00,913 - INFO - Deleting VN ctest-vn1-16868139 2025-09-03 12:02:01,024 - DEBUG - Response for deleting network () 2025-09-03 12:02:01,278 - DEBUG - No XMPP flaps were noticed during the test 2025-09-03 12:02:01,278 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-03 12:02:01,278 - INFO - -------------------------------------------------------------------------------- 2025-09-03 12:02:01,944 - INFO - Deleted project: ctest-TestRouters-47098257, ID : abaf1301-e1ad-4cb5-9736-2983140cf6b1