2026-03-05 02:27:42,957 - INFO - Domain Default found not creating 2026-03-05 02:27:43,105 - INFO - Project ctest-TestRoutersBasic-18552537 not found, creating it 2026-03-05 02:27:43,546 - INFO - Created Project:ctest-TestRoutersBasic-18552537, ID : aa0d8c09-1b14-41a6-b2f2-81394cf0cdab 2026-03-05 02:27:44,971 - INFO - ================================================================================ 2026-03-05 02:27:44,971 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-05 02:27:44,971 - 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-03-05 02:27:45,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2026-03-05 02:27:45,224 - INFO - Initial checks done. Running the testcase now 2026-03-05 02:27:45,224 - INFO - 2026-03-05 02:27:45,931 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18552537 2026-03-05 02:27:46,026 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18552537 2026-03-05 02:27:46,350 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18552537', 'default']} 2026-03-05 02:27:46,631 - DEBUG - Response for create_network : {'network': {'id': '6160e017-6974-4249-8eb4-f8bff4a55c5a', 'name': 'ctest-vn-67095322', 'tenant_id': 'aa0d8c091b1441a6b2f281394cf0cdab', 'project_id': 'aa0d8c091b1441a6b2f281394cf0cdab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18552537', 'ctest-vn-67095322'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:27:46,805 - DEBUG - Response for create_subnet : {'subnet': {'id': '095b3418-5ce9-44c6-bf64-865ba1fc3266', 'name': '', 'tenant_id': 'aa0d8c091b1441a6b2f281394cf0cdab', 'network_id': '6160e017-6974-4249-8eb4-f8bff4a55c5a', 'ip_version': 4, 'cidr': '46.123.87.192/26', 'allocation_pools': [{'start': '46.123.87.194', 'end': '46.123.87.254'}], 'gateway_ip': '46.123.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.123.87.194', 'tags': [], 'project_id': 'aa0d8c091b1441a6b2f281394cf0cdab'}} 2026-03-05 02:27:46,822 - INFO - Created VN ctest-vn-67095322 2026-03-05 02:27:46,874 - DEBUG - VN ctest-vn-67095322 UUID is 6160e017-6974-4249-8eb4-f8bff4a55c5a 2026-03-05 02:27:47,169 - DEBUG - Response for create_network : {'network': {'id': '6d9624ec-f2a5-43dd-8b94-69c372b5dc57', 'name': 'ctest-ext_vn-51195412', 'tenant_id': 'aa0d8c091b1441a6b2f281394cf0cdab', 'project_id': 'aa0d8c091b1441a6b2f281394cf0cdab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18552537', 'ctest-ext_vn-51195412'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:27:47,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '182bcf68-714b-47e9-a63b-6baf119ba84d', 'name': '', 'tenant_id': 'aa0d8c091b1441a6b2f281394cf0cdab', 'network_id': '6d9624ec-f2a5-43dd-8b94-69c372b5dc57', 'ip_version': 4, 'cidr': '187.227.98.64/26', 'allocation_pools': [{'start': '187.227.98.66', 'end': '187.227.98.126'}], 'gateway_ip': '187.227.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.227.98.66', 'tags': [], 'project_id': 'aa0d8c091b1441a6b2f281394cf0cdab'}} 2026-03-05 02:27:47,351 - INFO - Created VN ctest-ext_vn-51195412 2026-03-05 02:27:47,402 - DEBUG - VN ctest-ext_vn-51195412 UUID is 6d9624ec-f2a5-43dd-8b94-69c372b5dc57 2026-03-05 02:27:47,595 - DEBUG - Services list from nova: [, , ] 2026-03-05 02:27:48,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5437-1) 2026-03-05 02:27:49,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5437-1) 2026-03-05 02:27:49,828 - INFO - Setting gateway for router a2751234-6f51-4738-ad77-b1cae5cfdbc6 to network 6d9624ec-f2a5-43dd-8b94-69c372b5dc57 2026-03-05 02:27:49,896 - INFO - Adding interface with subnet_id 095b3418-5ce9-44c6-bf64-865ba1fc3266, port_id None to router a2751234-6f51-4738-ad77-b1cae5cfdbc6 2026-03-05 02:27:50,196 - INFO - Waiting for VM ctest-TestRoutersBasic-18552537-06613184 to be up.. 2026-03-05 02:27:50,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 02:27:55,421 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:27:55,421 - INFO - VM name : ctest-TestRoutersBasic-18552537-06613184 2026-03-05 02:27:55,492 - DEBUG - VM ctest-TestRoutersBasic-18552537-06613184 ID is cec74a6e-24f7-4c13-b51a-6f3c757b01be 2026-03-05 02:27:55,510 - DEBUG - VM ctest-TestRoutersBasic-18552537-06613184 launched on Node cn-jenkins-deploy-platform-ansible-os-5437-1 2026-03-05 02:27:55,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cec74a6e-24f7-4c13-b51a-6f3c757b01be 2026-03-05 02:27:55,872 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cec74a6e-24f7-4c13-b51a-6f3c757b01be 2026-03-05 02:27:55,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/76a8052b-a34d-4ebf-975c-310e4316e177 2026-03-05 02:27:59,138 - 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 1003ms') 2026-03-05 02:27:59,138 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18552537-06613184 failed! 2026-03-05 02:27:59,194 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18552537:ctest-vn-67095322 is 46.123.87.193 and allocation pool is NOT set 2026-03-05 02:28:01,256 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/1.579/2.752/1.172 ms') 2026-03-05 02:28:01,256 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18552537-06613184 passed 2026-03-05 02:28:01,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:01,402 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18552537-06613184, IP 46.123.87.195, Port 22 2026-03-05 02:28:01,558 - DEBUG - VM ctest-TestRoutersBasic-18552537-06613184 is ready for SSH connections 2026-03-05 02:28:01,558 - INFO - Waiting for VM ctest-TestRoutersBasic-18552537-95653550 to be up.. 2026-03-05 02:28:01,635 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:28:01,636 - INFO - VM name : ctest-TestRoutersBasic-18552537-95653550 2026-03-05 02:28:01,707 - DEBUG - VM ctest-TestRoutersBasic-18552537-95653550 ID is e146ea87-928d-4339-a545-f282121bf520 2026-03-05 02:28:01,707 - DEBUG - VM ctest-TestRoutersBasic-18552537-95653550 launched on Node cn-jenkins-deploy-platform-ansible-os-5437-1 2026-03-05 02:28:01,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e146ea87-928d-4339-a545-f282121bf520 2026-03-05 02:28:01,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fec60b11-4fdd-4e7b-9828-a6d183bc751b 2026-03-05 02:28:03,044 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.560/2.697/1.137 ms') 2026-03-05 02:28:03,044 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18552537-95653550 passed 2026-03-05 02:28:03,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:03,198 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18552537-95653550, IP 187.227.98.67, Port 22 2026-03-05 02:28:03,353 - DEBUG - VM ctest-TestRoutersBasic-18552537-95653550 is ready for SSH connections 2026-03-05 02:28:03,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:03,354 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.227.98.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-05 02:28:03,354 - DEBUG - ping -s 56 -c 3 -W 1 187.227.98.67 2026-03-05 02:28:07,074 - DEBUG - PING 187.227.98.67 (187.227.98.67): 56 data bytes 64 bytes from 187.227.98.67: seq=0 ttl=62 time=5.842 ms 64 bytes from 187.227.98.67: seq=1 ttl=62 time=0.759 ms 64 bytes from 187.227.98.67: seq=2 ttl=62 time=0.996 ms --- 187.227.98.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/2.532/5.842 ms 2026-03-05 02:28:07,074 - INFO - Ping to IP 187.227.98.67 from VM ctest-TestRoutersBasic-18552537-06613184 passed 2026-03-05 02:28:07,074 - INFO - Deleting interface with subnet_id 095b3418-5ce9-44c6-bf64-865ba1fc3266, port_id None from router a2751234-6f51-4738-ad77-b1cae5cfdbc6 2026-03-05 02:28:07,278 - INFO - Deleting VM ctest-TestRoutersBasic-18552537-95653550 2026-03-05 02:28:07,353 - INFO - Deleting VM ctest-TestRoutersBasic-18552537-06613184 2026-03-05 02:28:07,431 - INFO - Deleting VN ctest-ext_vn-51195412 2026-03-05 02:28:07,517 - DEBUG - VN 6d9624ec-f2a5-43dd-8b94-69c372b5dc57 still in use: Unable to complete operation on network 6d9624ec-f2a5-43dd-8b94-69c372b5dc57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6a141a5-a130-4736-aa58-6752f9d535a6'] 2026-03-05 02:28:07,517 - WARNING - Deleting VN ctest-ext_vn-51195412 failed..Will retry 2026-03-05 02:28:09,618 - DEBUG - Response for deleting network () 2026-03-05 02:28:09,618 - INFO - Deleting VN ctest-vn-67095322 2026-03-05 02:28:09,714 - DEBUG - Response for deleting network () 2026-03-05 02:28:09,970 - DEBUG - No XMPP flaps were noticed during the test 2026-03-05 02:28:09,970 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-05 02:28:09,971 - INFO - -------------------------------------------------------------------------------- 2026-03-05 02:28:10,649 - INFO - Deleted project: ctest-TestRoutersBasic-18552537, ID : aa0d8c09-1b14-41a6-b2f2-81394cf0cdab