2026-10-27 20:41:44,333 - INFO - Domain Default found not creating 2026-10-27 20:41:44,502 - INFO - Project ctest-TestRoutersBasic-32971311 not found, creating it 2026-10-27 20:41:44,969 - INFO - Created Project:ctest-TestRoutersBasic-32971311, ID : c98fba7a-f1af-44fe-9bd3-8493746b8895 2026-10-27 20:41:46,655 - INFO - ================================================================================ 2026-10-27 20:41:46,655 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-27 20:41:46,655 - 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-10-27 20:41:46,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-10-27 20:41:46,915 - INFO - Initial checks done. Running the testcase now 2026-10-27 20:41:46,915 - INFO - 2026-10-27 20:41:47,753 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32971311 2026-10-27 20:41:47,850 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32971311 2026-10-27 20:41:48,165 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32971311', 'default']} 2026-10-27 20:41:48,441 - DEBUG - Response for create_network : {'network': {'id': '9e3d7a6c-40b8-43d4-b6e4-2857b1f11931', 'name': 'ctest-vn-36053429', 'tenant_id': 'c98fba7af1af44fe9bd38493746b8895', 'project_id': 'c98fba7af1af44fe9bd38493746b8895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32971311', 'ctest-vn-36053429'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 20:41:48,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a954b48-ca12-4f3e-b51b-a63922d3ffe1', 'name': '', 'tenant_id': 'c98fba7af1af44fe9bd38493746b8895', 'network_id': '9e3d7a6c-40b8-43d4-b6e4-2857b1f11931', 'ip_version': 4, 'cidr': '76.7.1.0/26', 'allocation_pools': [{'start': '76.7.1.2', 'end': '76.7.1.62'}], 'gateway_ip': '76.7.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.7.1.2', 'tags': [], 'project_id': 'c98fba7af1af44fe9bd38493746b8895'}} 2026-10-27 20:41:48,632 - INFO - Created VN ctest-vn-36053429 2026-10-27 20:41:48,681 - DEBUG - VN ctest-vn-36053429 UUID is 9e3d7a6c-40b8-43d4-b6e4-2857b1f11931 2026-10-27 20:41:49,019 - DEBUG - Response for create_network : {'network': {'id': '9c811c5a-8da8-457e-9101-72bec08192cd', 'name': 'ctest-ext_vn-10024785', 'tenant_id': 'c98fba7af1af44fe9bd38493746b8895', 'project_id': 'c98fba7af1af44fe9bd38493746b8895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32971311', 'ctest-ext_vn-10024785'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 20:41:49,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '91b5bd91-359b-450c-b762-e73c4c6d60ea', 'name': '', 'tenant_id': 'c98fba7af1af44fe9bd38493746b8895', 'network_id': '9c811c5a-8da8-457e-9101-72bec08192cd', 'ip_version': 4, 'cidr': '206.229.42.192/26', 'allocation_pools': [{'start': '206.229.42.194', 'end': '206.229.42.254'}], 'gateway_ip': '206.229.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.229.42.194', 'tags': [], 'project_id': 'c98fba7af1af44fe9bd38493746b8895'}} 2026-10-27 20:41:49,234 - INFO - Created VN ctest-ext_vn-10024785 2026-10-27 20:41:49,285 - DEBUG - VN ctest-ext_vn-10024785 UUID is 9c811c5a-8da8-457e-9101-72bec08192cd 2026-10-27 20:41:49,483 - DEBUG - Services list from nova: [, , ] 2026-10-27 20:41:49,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6426-1) 2026-10-27 20:41:50,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6426-1) 2026-10-27 20:41:50,254 - INFO - Setting gateway for router 246ea752-9cf0-43b6-a4e9-80fe6e557976 to network 9c811c5a-8da8-457e-9101-72bec08192cd 2026-10-27 20:41:50,306 - INFO - Adding interface with subnet_id 1a954b48-ca12-4f3e-b51b-a63922d3ffe1, port_id None to router 246ea752-9cf0-43b6-a4e9-80fe6e557976 2026-10-27 20:41:50,553 - INFO - Waiting for VM ctest-TestRoutersBasic-32971311-08451849 to be up.. 2026-10-27 20:41:50,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:41:55,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:42:00,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:42:05,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:42:10,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:42:16,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:42:21,155 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:42:26,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 20:42:31,310 - DEBUG - VM is in ACTIVE state now 2026-10-27 20:42:31,311 - INFO - VM name : ctest-TestRoutersBasic-32971311-08451849 2026-10-27 20:42:31,397 - DEBUG - VM ctest-TestRoutersBasic-32971311-08451849 ID is 772f07b1-0016-4312-94a7-1df5558f91ab 2026-10-27 20:42:31,417 - DEBUG - VM ctest-TestRoutersBasic-32971311-08451849 launched on Node cn-jenkins-deploy-platform-ansible-os-6426-1 2026-10-27 20:42:31,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/772f07b1-0016-4312-94a7-1df5558f91ab 2026-10-27 20:42:31,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/772f07b1-0016-4312-94a7-1df5558f91ab 2026-10-27 20:42:31,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/55910c17-2335-4b5d-8eb8-5672e41221e0 2026-10-27 20:42:35,117 - 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=2 ttl=63 time=8.17 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 8.167/8.167/8.167/0.000 ms') 2026-10-27 20:42:35,117 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-32971311-08451849 passed 2026-10-27 20:42:35,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 20:42:35,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32971311-08451849, IP 76.7.1.3, Port 22 2026-10-27 20:42:35,336 - 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-10-27 20:42:35,414 - DEBUG - VM ctest-TestRoutersBasic-32971311-08451849 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-27 20:42:40,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 20:42:40,415 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32971311-08451849, IP 76.7.1.3, Port 22 2026-10-27 20:42:40,573 - DEBUG - VM ctest-TestRoutersBasic-32971311-08451849 is ready for SSH connections 2026-10-27 20:42:40,573 - INFO - Waiting for VM ctest-TestRoutersBasic-32971311-01987428 to be up.. 2026-10-27 20:42:40,647 - DEBUG - VM is in ACTIVE state now 2026-10-27 20:42:40,647 - INFO - VM name : ctest-TestRoutersBasic-32971311-01987428 2026-10-27 20:42:40,717 - DEBUG - VM ctest-TestRoutersBasic-32971311-01987428 ID is 2b7ea01c-21a6-4d74-9855-4c55713299ec 2026-10-27 20:42:40,717 - DEBUG - VM ctest-TestRoutersBasic-32971311-01987428 launched on Node cn-jenkins-deploy-platform-ansible-os-6426-1 2026-10-27 20:42:40,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b7ea01c-21a6-4d74-9855-4c55713299ec 2026-10-27 20:42:40,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48e157b0-0254-4502-97c2-00c3cf72c45a 2026-10-27 20:42:42,043 - 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.70 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.548 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.548/2.123/3.698/1.575 ms') 2026-10-27 20:42:42,043 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-32971311-01987428 passed 2026-10-27 20:42:42,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 20:42:42,249 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32971311-01987428, IP 206.229.42.196, Port 22 2026-10-27 20:42:42,405 - DEBUG - VM ctest-TestRoutersBasic-32971311-01987428 is ready for SSH connections 2026-10-27 20:42:42,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 20:42:42,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.229.42.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-27 20:42:42,406 - DEBUG - ping -s 56 -c 3 -W 1 206.229.42.196 2026-10-27 20:42:45,361 - DEBUG - PING 206.229.42.196 (206.229.42.196): 56 data bytes 64 bytes from 206.229.42.196: seq=0 ttl=62 time=6.457 ms 64 bytes from 206.229.42.196: seq=1 ttl=62 time=1.002 ms 64 bytes from 206.229.42.196: seq=2 ttl=62 time=1.479 ms --- 206.229.42.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.002/2.979/6.457 ms 2026-10-27 20:42:45,361 - INFO - Ping to IP 206.229.42.196 from VM ctest-TestRoutersBasic-32971311-08451849 passed 2026-10-27 20:42:45,361 - INFO - Deleting interface with subnet_id 1a954b48-ca12-4f3e-b51b-a63922d3ffe1, port_id None from router 246ea752-9cf0-43b6-a4e9-80fe6e557976 2026-10-27 20:42:45,557 - INFO - Deleting VM ctest-TestRoutersBasic-32971311-01987428 2026-10-27 20:42:45,638 - INFO - Deleting VM ctest-TestRoutersBasic-32971311-08451849 2026-10-27 20:42:45,711 - INFO - Deleting VN ctest-ext_vn-10024785 2026-10-27 20:42:45,766 - DEBUG - VN 9c811c5a-8da8-457e-9101-72bec08192cd still in use: Unable to complete operation on network 9c811c5a-8da8-457e-9101-72bec08192cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78a35eae-f4c3-4e6f-8eaf-cbf2de13489b'] 2026-10-27 20:42:45,767 - WARNING - Deleting VN ctest-ext_vn-10024785 failed..Will retry 2026-10-27 20:42:47,800 - DEBUG - VN 9c811c5a-8da8-457e-9101-72bec08192cd still in use: Unable to complete operation on network 9c811c5a-8da8-457e-9101-72bec08192cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-535bdd26-e54f-481c-9059-46b6ed1a7dd8'] 2026-10-27 20:42:47,801 - WARNING - Deleting VN ctest-ext_vn-10024785 failed..Will retry 2026-10-27 20:42:49,897 - DEBUG - Response for deleting network () 2026-10-27 20:42:49,897 - INFO - Deleting VN ctest-vn-36053429 2026-10-27 20:42:49,991 - DEBUG - Response for deleting network () 2026-10-27 20:42:50,247 - DEBUG - No XMPP flaps were noticed during the test 2026-10-27 20:42:50,247 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04] 2026-10-27 20:42:50,247 - INFO - -------------------------------------------------------------------------------- 2026-10-27 20:42:51,016 - INFO - Deleted project: ctest-TestRoutersBasic-32971311, ID : c98fba7a-f1af-44fe-9bd3-8493746b8895