2026-01-29 22:28:27,321 - INFO - Domain Default found not creating 2026-01-29 22:28:27,503 - INFO - Project ctest-TestRoutersBasic-24804137 not found, creating it 2026-01-29 22:28:27,985 - INFO - Created Project:ctest-TestRoutersBasic-24804137, ID : 067996a9-b203-4044-b1ae-48f86431479f 2026-01-29 22:28:30,224 - INFO - ================================================================================ 2026-01-29 22:28:30,224 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 22:28:30,224 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-01-29 22:28:30,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-29 22:28:30,480 - INFO - Initial checks done. Running the testcase now 2026-01-29 22:28:30,480 - INFO - 2026-01-29 22:28:31,192 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24804137 2026-01-29 22:28:31,287 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24804137 2026-01-29 22:28:31,615 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24804137', 'default']} 2026-01-29 22:28:31,894 - DEBUG - Response for create_network : {'network': {'id': '3813e43d-0af1-47dc-abfb-38a67a1a8ccf', 'name': 'ctest-vn-14736380', 'tenant_id': '067996a9b2034044b1ae48f86431479f', 'project_id': '067996a9b2034044b1ae48f86431479f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24804137', 'ctest-vn-14736380'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:28:32,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d005e3e-8778-41e8-8aee-c1a95160387b', 'name': '', 'tenant_id': '067996a9b2034044b1ae48f86431479f', 'network_id': '3813e43d-0af1-47dc-abfb-38a67a1a8ccf', 'ip_version': 4, 'cidr': '98.96.90.128/26', 'allocation_pools': [{'start': '98.96.90.130', 'end': '98.96.90.190'}], 'gateway_ip': '98.96.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.96.90.130', 'tags': [], 'project_id': '067996a9b2034044b1ae48f86431479f'}} 2026-01-29 22:28:32,083 - INFO - Created VN ctest-vn-14736380 2026-01-29 22:28:32,135 - DEBUG - VN ctest-vn-14736380 UUID is 3813e43d-0af1-47dc-abfb-38a67a1a8ccf 2026-01-29 22:28:32,434 - DEBUG - Response for create_network : {'network': {'id': '47aa320b-733a-46ce-8077-64aac28510ab', 'name': 'ctest-ext_vn-12701511', 'tenant_id': '067996a9b2034044b1ae48f86431479f', 'project_id': '067996a9b2034044b1ae48f86431479f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24804137', 'ctest-ext_vn-12701511'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:28:32,616 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e436c20d-d653-4986-b626-3ecce4989afd', 'name': '', 'tenant_id': '067996a9b2034044b1ae48f86431479f', 'network_id': '47aa320b-733a-46ce-8077-64aac28510ab', 'ip_version': 4, 'cidr': '33.206.77.64/26', 'allocation_pools': [{'start': '33.206.77.66', 'end': '33.206.77.126'}], 'gateway_ip': '33.206.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.206.77.66', 'tags': [], 'project_id': '067996a9b2034044b1ae48f86431479f'}} 2026-01-29 22:28:32,634 - INFO - Created VN ctest-ext_vn-12701511 2026-01-29 22:28:32,687 - DEBUG - VN ctest-ext_vn-12701511 UUID is 47aa320b-733a-46ce-8077-64aac28510ab 2026-01-29 22:28:32,900 - DEBUG - Services list from nova: [, , ] 2026-01-29 22:28:33,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5138-1) 2026-01-29 22:28:35,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5138-1) 2026-01-29 22:28:35,183 - INFO - Setting gateway for router 62e50eaa-5232-407a-a9cb-b91b458e8457 to network 47aa320b-733a-46ce-8077-64aac28510ab 2026-01-29 22:28:35,235 - INFO - Adding interface with subnet_id 8d005e3e-8778-41e8-8aee-c1a95160387b, port_id None to router 62e50eaa-5232-407a-a9cb-b91b458e8457 2026-01-29 22:28:35,556 - INFO - Waiting for VM ctest-TestRoutersBasic-24804137-44411359 to be up.. 2026-01-29 22:28:35,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 22:28:40,767 - DEBUG - VM is in ACTIVE state now 2026-01-29 22:28:40,767 - INFO - VM name : ctest-TestRoutersBasic-24804137-44411359 2026-01-29 22:28:40,842 - DEBUG - VM ctest-TestRoutersBasic-24804137-44411359 ID is 2f005c80-165b-496e-a8db-9efd24e5a536 2026-01-29 22:28:40,861 - DEBUG - VM ctest-TestRoutersBasic-24804137-44411359 launched on Node cn-jenkins-deploy-platform-ansible-os-5138-1 2026-01-29 22:28:40,931 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2f005c80-165b-496e-a8db-9efd24e5a536 2026-01-29 22:28:41,230 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2f005c80-165b-496e-a8db-9efd24e5a536 2026-01-29 22:28:41,267 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4961a80a-ad34-4a2d-b543-7e0b90581361 2026-01-29 22:28:44,537 - 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 1027ms') 2026-01-29 22:28:44,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24804137-44411359 failed! 2026-01-29 22:28:44,591 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24804137:ctest-vn-14736380 is 98.96.90.129 and allocation pool is NOT set 2026-01-29 22:28:46,647 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.042/2.362/3.682/1.320 ms') 2026-01-29 22:28:46,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24804137-44411359 passed 2026-01-29 22:28:46,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:28:46,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24804137-44411359, IP 98.96.90.131, Port 22 2026-01-29 22:28:46,954 - DEBUG - VM ctest-TestRoutersBasic-24804137-44411359 is ready for SSH connections 2026-01-29 22:28:46,954 - INFO - Waiting for VM ctest-TestRoutersBasic-24804137-56808937 to be up.. 2026-01-29 22:28:47,037 - DEBUG - VM is in ACTIVE state now 2026-01-29 22:28:47,038 - INFO - VM name : ctest-TestRoutersBasic-24804137-56808937 2026-01-29 22:28:47,112 - DEBUG - VM ctest-TestRoutersBasic-24804137-56808937 ID is 6d4ee3f5-3d23-4bd7-8180-ead026660943 2026-01-29 22:28:47,113 - DEBUG - VM ctest-TestRoutersBasic-24804137-56808937 launched on Node cn-jenkins-deploy-platform-ansible-os-5138-1 2026-01-29 22:28:47,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6d4ee3f5-3d23-4bd7-8180-ead026660943 2026-01-29 22:28:47,191 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/62a353c2-2d98-403a-be2c-d32f96e61b85 2026-01-29 22:28:48,440 - 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=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.678 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.678/1.874/3.070/1.196 ms') 2026-01-29 22:28:48,440 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24804137-56808937 passed 2026-01-29 22:28:48,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:28:48,591 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24804137-56808937, IP 33.206.77.67, Port 22 2026-01-29 22:28:48,746 - DEBUG - VM ctest-TestRoutersBasic-24804137-56808937 is ready for SSH connections 2026-01-29 22:28:48,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:28:48,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.206.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 22:28:48,746 - DEBUG - ping -s 56 -c 3 -W 1 33.206.77.67 2026-01-29 22:28:52,449 - DEBUG - PING 33.206.77.67 (33.206.77.67): 56 data bytes 64 bytes from 33.206.77.67: seq=0 ttl=62 time=7.524 ms 64 bytes from 33.206.77.67: seq=1 ttl=62 time=1.380 ms 64 bytes from 33.206.77.67: seq=2 ttl=62 time=1.125 ms --- 33.206.77.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.125/3.343/7.524 ms 2026-01-29 22:28:52,449 - INFO - Ping to IP 33.206.77.67 from VM ctest-TestRoutersBasic-24804137-44411359 passed 2026-01-29 22:28:52,449 - INFO - Deleting interface with subnet_id 8d005e3e-8778-41e8-8aee-c1a95160387b, port_id None from router 62e50eaa-5232-407a-a9cb-b91b458e8457 2026-01-29 22:28:52,628 - INFO - Deleting VM ctest-TestRoutersBasic-24804137-56808937 2026-01-29 22:28:52,694 - INFO - Deleting VM ctest-TestRoutersBasic-24804137-44411359 2026-01-29 22:28:52,772 - INFO - Deleting VN ctest-ext_vn-12701511 2026-01-29 22:28:52,837 - DEBUG - VN 47aa320b-733a-46ce-8077-64aac28510ab still in use: Unable to complete operation on network 47aa320b-733a-46ce-8077-64aac28510ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4df52414-37a6-41c7-9efb-723436059da3'] 2026-01-29 22:28:52,837 - WARNING - Deleting VN ctest-ext_vn-12701511 failed..Will retry 2026-01-29 22:28:54,933 - DEBUG - Response for deleting network () 2026-01-29 22:28:54,933 - INFO - Deleting VN ctest-vn-14736380 2026-01-29 22:28:55,039 - DEBUG - Response for deleting network () 2026-01-29 22:28:55,299 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 22:28:55,299 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-29 22:28:55,300 - INFO - -------------------------------------------------------------------------------- 2026-01-29 22:28:55,994 - INFO - Deleted project: ctest-TestRoutersBasic-24804137, ID : 067996a9-b203-4044-b1ae-48f86431479f