2026-08-21 05:06:41,744 - INFO - Domain Default found not creating 2026-08-21 05:06:41,914 - INFO - Project ctest-TestRoutersBasic-11396050 not found, creating it 2026-08-21 05:06:42,423 - INFO - Created Project:ctest-TestRoutersBasic-11396050, ID : de248f1d-506e-4e7c-8fe7-296e41baa811 2026-08-21 05:06:44,201 - INFO - ================================================================================ 2026-08-21 05:06:44,201 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-21 05:06:44,201 - 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-08-21 05:06:44,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-08-21 05:06:44,472 - INFO - Initial checks done. Running the testcase now 2026-08-21 05:06:44,472 - INFO - 2026-08-21 05:06:45,274 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11396050 2026-08-21 05:06:45,380 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11396050 2026-08-21 05:06:45,720 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11396050', 'default']} 2026-08-21 05:06:46,067 - DEBUG - Response for create_network : {'network': {'id': '3d119acf-e17a-47e0-98cb-cd7df5141b0f', 'name': 'ctest-vn-12633548', 'tenant_id': 'de248f1d506e4e7c8fe7296e41baa811', 'project_id': 'de248f1d506e4e7c8fe7296e41baa811', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11396050', 'ctest-vn-12633548'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:06:46,262 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8eb5a5e-f78f-4f76-8d57-b28868134373', 'name': '', 'tenant_id': 'de248f1d506e4e7c8fe7296e41baa811', 'network_id': '3d119acf-e17a-47e0-98cb-cd7df5141b0f', 'ip_version': 4, 'cidr': '16.199.213.64/26', 'allocation_pools': [{'start': '16.199.213.66', 'end': '16.199.213.126'}], 'gateway_ip': '16.199.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.199.213.66', 'tags': [], 'project_id': 'de248f1d506e4e7c8fe7296e41baa811'}} 2026-08-21 05:06:46,279 - INFO - Created VN ctest-vn-12633548 2026-08-21 05:06:46,332 - DEBUG - VN ctest-vn-12633548 UUID is 3d119acf-e17a-47e0-98cb-cd7df5141b0f 2026-08-21 05:06:46,710 - DEBUG - Response for create_network : {'network': {'id': '12c0221c-1487-4b9a-98ee-4f020940c0b5', 'name': 'ctest-ext_vn-72234323', 'tenant_id': 'de248f1d506e4e7c8fe7296e41baa811', 'project_id': 'de248f1d506e4e7c8fe7296e41baa811', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11396050', 'ctest-ext_vn-72234323'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:06:46,925 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ecc33ed-cbd2-4164-a8fb-1adbd61df628', 'name': '', 'tenant_id': 'de248f1d506e4e7c8fe7296e41baa811', 'network_id': '12c0221c-1487-4b9a-98ee-4f020940c0b5', 'ip_version': 4, 'cidr': '61.39.190.128/26', 'allocation_pools': [{'start': '61.39.190.130', 'end': '61.39.190.190'}], 'gateway_ip': '61.39.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.39.190.130', 'tags': [], 'project_id': 'de248f1d506e4e7c8fe7296e41baa811'}} 2026-08-21 05:06:46,942 - INFO - Created VN ctest-ext_vn-72234323 2026-08-21 05:06:46,996 - DEBUG - VN ctest-ext_vn-72234323 UUID is 12c0221c-1487-4b9a-98ee-4f020940c0b5 2026-08-21 05:06:47,186 - DEBUG - Services list from nova: [, , ] 2026-08-21 05:06:47,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6197-1) 2026-08-21 05:06:48,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6197-1) 2026-08-21 05:06:48,118 - INFO - Setting gateway for router a206302d-722f-4d48-8093-ad69696ad74f to network 12c0221c-1487-4b9a-98ee-4f020940c0b5 2026-08-21 05:06:48,173 - INFO - Adding interface with subnet_id e8eb5a5e-f78f-4f76-8d57-b28868134373, port_id None to router a206302d-722f-4d48-8093-ad69696ad74f 2026-08-21 05:06:48,552 - INFO - Waiting for VM ctest-TestRoutersBasic-11396050-88833825 to be up.. 2026-08-21 05:06:48,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:06:53,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:06:58,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:07:03,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:07:09,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:07:14,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:07:19,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:07:24,276 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:07:24,277 - INFO - VM name : ctest-TestRoutersBasic-11396050-88833825 2026-08-21 05:07:24,362 - DEBUG - VM ctest-TestRoutersBasic-11396050-88833825 ID is 714755ce-b815-4527-b640-3e975cb0d382 2026-08-21 05:07:24,388 - DEBUG - VM ctest-TestRoutersBasic-11396050-88833825 launched on Node cn-jenkins-deploy-platform-ansible-os-6197-1 2026-08-21 05:07:24,469 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/714755ce-b815-4527-b640-3e975cb0d382 2026-08-21 05:07:24,809 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/714755ce-b815-4527-b640-3e975cb0d382 2026-08-21 05:07:24,841 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/cb6b70c3-5c63-4462-9cf3-0c13aeb08e2e 2026-08-21 05:07:28,099 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-08-21 05:07:28,099 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-11396050-88833825 failed! 2026-08-21 05:07:28,156 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11396050:ctest-vn-12633548 is 16.199.213.65 and allocation pool is NOT set 2026-08-21 05:07:30,222 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.21 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.77 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.772/5.492/9.213/3.720 ms') 2026-08-21 05:07:30,222 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-11396050-88833825 passed 2026-08-21 05:07:30,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:07:30,376 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11396050-88833825, IP 16.199.213.67, Port 22 2026-08-21 05:07:30,442 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-21 05:07:30,529 - DEBUG - VM ctest-TestRoutersBasic-11396050-88833825 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 05:07:35,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:07:35,530 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11396050-88833825, IP 16.199.213.67, Port 22 2026-08-21 05:07:35,702 - DEBUG - VM ctest-TestRoutersBasic-11396050-88833825 is ready for SSH connections 2026-08-21 05:07:35,702 - INFO - Waiting for VM ctest-TestRoutersBasic-11396050-63432984 to be up.. 2026-08-21 05:07:35,783 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:07:35,783 - INFO - VM name : ctest-TestRoutersBasic-11396050-63432984 2026-08-21 05:07:35,869 - DEBUG - VM ctest-TestRoutersBasic-11396050-63432984 ID is ea038af0-6286-4a84-9afc-dd8e93d01035 2026-08-21 05:07:35,869 - DEBUG - VM ctest-TestRoutersBasic-11396050-63432984 launched on Node cn-jenkins-deploy-platform-ansible-os-6197-1 2026-08-21 05:07:35,947 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/ea038af0-6286-4a84-9afc-dd8e93d01035 2026-08-21 05:07:35,956 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/94680662-5ea3-4e64-8c96-931bf2e6c8b4 2026-08-21 05:07:37,199 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.84 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.557 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.557/2.198/3.839/1.641 ms') 2026-08-21 05:07:37,199 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-11396050-63432984 passed 2026-08-21 05:07:37,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:07:37,348 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11396050-63432984, IP 61.39.190.132, Port 22 2026-08-21 05:07:37,514 - DEBUG - VM ctest-TestRoutersBasic-11396050-63432984 is ready for SSH connections 2026-08-21 05:07:37,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:07:37,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.39.190.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-08-21 05:07:37,514 - DEBUG - ping -s 56 -c 3 -W 1 61.39.190.132 2026-08-21 05:07:40,483 - DEBUG - PING 61.39.190.132 (61.39.190.132): 56 data bytes 64 bytes from 61.39.190.132: seq=0 ttl=62 time=7.525 ms 64 bytes from 61.39.190.132: seq=1 ttl=62 time=1.054 ms 64 bytes from 61.39.190.132: seq=2 ttl=62 time=1.106 ms --- 61.39.190.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.054/3.228/7.525 ms 2026-08-21 05:07:40,484 - INFO - Ping to IP 61.39.190.132 from VM ctest-TestRoutersBasic-11396050-88833825 passed 2026-08-21 05:07:40,484 - INFO - Deleting interface with subnet_id e8eb5a5e-f78f-4f76-8d57-b28868134373, port_id None from router a206302d-722f-4d48-8093-ad69696ad74f 2026-08-21 05:07:40,739 - INFO - Deleting VM ctest-TestRoutersBasic-11396050-63432984 2026-08-21 05:07:40,839 - INFO - Deleting VM ctest-TestRoutersBasic-11396050-88833825 2026-08-21 05:07:40,921 - INFO - Deleting VN ctest-ext_vn-72234323 2026-08-21 05:07:40,997 - DEBUG - VN 12c0221c-1487-4b9a-98ee-4f020940c0b5 still in use: Unable to complete operation on network 12c0221c-1487-4b9a-98ee-4f020940c0b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b784f4dd-5bba-4f4e-ba6e-4ba53f9ebde7'] 2026-08-21 05:07:40,997 - WARNING - Deleting VN ctest-ext_vn-72234323 failed..Will retry 2026-08-21 05:07:43,204 - DEBUG - Response for deleting network () 2026-08-21 05:07:43,204 - INFO - Deleting VN ctest-vn-12633548 2026-08-21 05:07:43,363 - DEBUG - Response for deleting network () 2026-08-21 05:07:43,618 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 05:07:43,618 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59] 2026-08-21 05:07:43,618 - INFO - -------------------------------------------------------------------------------- 2026-08-21 05:07:44,392 - INFO - Deleted project: ctest-TestRoutersBasic-11396050, ID : de248f1d-506e-4e7c-8fe7-296e41baa811