2026-07-19 18:46:42,783 - INFO - Domain Default found not creating 2026-07-19 18:46:42,952 - INFO - Project ctest-TestRoutersBasic-59732633 not found, creating it 2026-07-19 18:46:43,406 - INFO - Created Project:ctest-TestRoutersBasic-59732633, ID : 6e444fd9-759b-427e-a32a-15b51cad19c8 2026-07-19 18:46:45,124 - INFO - ================================================================================ 2026-07-19 18:46:45,124 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-19 18:46:45,124 - 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-07-19 18:46:45,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-19 18:46:45,383 - INFO - Initial checks done. Running the testcase now 2026-07-19 18:46:45,383 - INFO - 2026-07-19 18:46:46,154 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59732633 2026-07-19 18:46:46,256 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59732633 2026-07-19 18:46:46,595 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59732633', 'default']} 2026-07-19 18:46:46,894 - DEBUG - Response for create_network : {'network': {'id': 'a7ee0245-20e0-4962-ad2c-2b39a05a7966', 'name': 'ctest-vn-90374582', 'tenant_id': '6e444fd9759b427ea32a15b51cad19c8', 'project_id': '6e444fd9759b427ea32a15b51cad19c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59732633', 'ctest-vn-90374582'], 'port_security_enabled': True, 'description': ''}} 2026-07-19 18:46:47,053 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd02f7488-07f1-49a4-8c52-dc3f6a59d781', 'name': '', 'tenant_id': '6e444fd9759b427ea32a15b51cad19c8', 'network_id': 'a7ee0245-20e0-4962-ad2c-2b39a05a7966', 'ip_version': 4, 'cidr': '210.33.190.64/26', 'allocation_pools': [{'start': '210.33.190.66', 'end': '210.33.190.126'}], 'gateway_ip': '210.33.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.33.190.66', 'tags': [], 'project_id': '6e444fd9759b427ea32a15b51cad19c8'}} 2026-07-19 18:46:47,072 - INFO - Created VN ctest-vn-90374582 2026-07-19 18:46:47,124 - DEBUG - VN ctest-vn-90374582 UUID is a7ee0245-20e0-4962-ad2c-2b39a05a7966 2026-07-19 18:46:47,438 - DEBUG - Response for create_network : {'network': {'id': '1129e326-098a-41c3-a07a-5fa56c9dbc4a', 'name': 'ctest-ext_vn-62460825', 'tenant_id': '6e444fd9759b427ea32a15b51cad19c8', 'project_id': '6e444fd9759b427ea32a15b51cad19c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59732633', 'ctest-ext_vn-62460825'], 'port_security_enabled': True, 'description': ''}} 2026-07-19 18:46:47,642 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee7b976c-20e7-418b-b4db-e592dd1ea00d', 'name': '', 'tenant_id': '6e444fd9759b427ea32a15b51cad19c8', 'network_id': '1129e326-098a-41c3-a07a-5fa56c9dbc4a', 'ip_version': 4, 'cidr': '159.181.212.128/26', 'allocation_pools': [{'start': '159.181.212.130', 'end': '159.181.212.190'}], 'gateway_ip': '159.181.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.181.212.130', 'tags': [], 'project_id': '6e444fd9759b427ea32a15b51cad19c8'}} 2026-07-19 18:46:47,656 - INFO - Created VN ctest-ext_vn-62460825 2026-07-19 18:46:47,707 - DEBUG - VN ctest-ext_vn-62460825 UUID is 1129e326-098a-41c3-a07a-5fa56c9dbc4a 2026-07-19 18:46:47,878 - DEBUG - Services list from nova: [, , ] 2026-07-19 18:46:48,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6109-1) 2026-07-19 18:46:48,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6109-1) 2026-07-19 18:46:48,687 - INFO - Setting gateway for router 3d82e67b-eb9a-4c5d-be0c-adcc2ea352bf to network 1129e326-098a-41c3-a07a-5fa56c9dbc4a 2026-07-19 18:46:48,739 - INFO - Adding interface with subnet_id d02f7488-07f1-49a4-8c52-dc3f6a59d781, port_id None to router 3d82e67b-eb9a-4c5d-be0c-adcc2ea352bf 2026-07-19 18:46:49,004 - INFO - Waiting for VM ctest-TestRoutersBasic-59732633-75537827 to be up.. 2026-07-19 18:46:49,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:46:54,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:46:59,227 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:47:04,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:47:09,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:47:14,472 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:47:19,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:47:24,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:47:29,808 - DEBUG - VM is in ACTIVE state now 2026-07-19 18:47:29,808 - INFO - VM name : ctest-TestRoutersBasic-59732633-75537827 2026-07-19 18:47:29,887 - DEBUG - VM ctest-TestRoutersBasic-59732633-75537827 ID is 4c8ccfde-edbe-4908-9522-06ca0fb6c6e0 2026-07-19 18:47:29,908 - DEBUG - VM ctest-TestRoutersBasic-59732633-75537827 launched on Node cn-jenkins-deploy-platform-ansible-os-6109-1 2026-07-19 18:47:29,990 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4c8ccfde-edbe-4908-9522-06ca0fb6c6e0 2026-07-19 18:47:30,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4c8ccfde-edbe-4908-9522-06ca0fb6c6e0 2026-07-19 18:47:30,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc153af7-2f26-4832-8b7b-9465d399778a 2026-07-19 18:47:33,616 - 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 1018ms') 2026-07-19 18:47:33,617 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-59732633-75537827 failed! 2026-07-19 18:47:33,672 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59732633:ctest-vn-90374582 is 210.33.190.65 and allocation pool is NOT set 2026-07-19 18:47:35,740 - 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=15.6 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.26 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.264/8.435/15.607/7.171 ms') 2026-07-19 18:47:35,740 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-59732633-75537827 passed 2026-07-19 18:47:35,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:47:35,892 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59732633-75537827, IP 210.33.190.67, Port 22 2026-07-19 18:47:35,958 - 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-07-19 18:47:36,039 - DEBUG - VM ctest-TestRoutersBasic-59732633-75537827 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-19 18:47:41,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:47:41,041 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59732633-75537827, IP 210.33.190.67, Port 22 2026-07-19 18:47:41,210 - DEBUG - VM ctest-TestRoutersBasic-59732633-75537827 is ready for SSH connections 2026-07-19 18:47:41,210 - INFO - Waiting for VM ctest-TestRoutersBasic-59732633-08662884 to be up.. 2026-07-19 18:47:41,285 - DEBUG - VM is in ACTIVE state now 2026-07-19 18:47:41,286 - INFO - VM name : ctest-TestRoutersBasic-59732633-08662884 2026-07-19 18:47:41,357 - DEBUG - VM ctest-TestRoutersBasic-59732633-08662884 ID is acebf62b-9eb6-4a8b-bca6-2304c631e8d5 2026-07-19 18:47:41,357 - DEBUG - VM ctest-TestRoutersBasic-59732633-08662884 launched on Node cn-jenkins-deploy-platform-ansible-os-6109-1 2026-07-19 18:47:41,435 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/acebf62b-9eb6-4a8b-bca6-2304c631e8d5 2026-07-19 18:47:41,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/792bf7a9-f0c5-49ae-8474-f6cd79958e78 2026-07-19 18:47:42,693 - 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.40 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.482 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.482/1.940/3.398/1.458 ms') 2026-07-19 18:47:42,694 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-59732633-08662884 passed 2026-07-19 18:47:42,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:47:42,844 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59732633-08662884, IP 159.181.212.132, Port 22 2026-07-19 18:47:43,000 - DEBUG - VM ctest-TestRoutersBasic-59732633-08662884 is ready for SSH connections 2026-07-19 18:47:43,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:47:43,000 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.181.212.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-19 18:47:43,000 - DEBUG - ping -s 56 -c 3 -W 1 159.181.212.132 2026-07-19 18:47:45,934 - DEBUG - PING 159.181.212.132 (159.181.212.132): 56 data bytes 64 bytes from 159.181.212.132: seq=0 ttl=62 time=8.546 ms 64 bytes from 159.181.212.132: seq=1 ttl=62 time=1.324 ms 64 bytes from 159.181.212.132: seq=2 ttl=62 time=1.074 ms --- 159.181.212.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.074/3.648/8.546 ms 2026-07-19 18:47:45,934 - INFO - Ping to IP 159.181.212.132 from VM ctest-TestRoutersBasic-59732633-75537827 passed 2026-07-19 18:47:45,934 - INFO - Deleting interface with subnet_id d02f7488-07f1-49a4-8c52-dc3f6a59d781, port_id None from router 3d82e67b-eb9a-4c5d-be0c-adcc2ea352bf 2026-07-19 18:47:46,157 - INFO - Deleting VM ctest-TestRoutersBasic-59732633-08662884 2026-07-19 18:47:46,253 - INFO - Deleting VM ctest-TestRoutersBasic-59732633-75537827 2026-07-19 18:47:46,341 - INFO - Deleting VN ctest-ext_vn-62460825 2026-07-19 18:47:46,393 - DEBUG - VN 1129e326-098a-41c3-a07a-5fa56c9dbc4a still in use: Unable to complete operation on network 1129e326-098a-41c3-a07a-5fa56c9dbc4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9b97ed92-50b8-4e36-97f5-b7be58ff9167'] 2026-07-19 18:47:46,394 - WARNING - Deleting VN ctest-ext_vn-62460825 failed..Will retry 2026-07-19 18:47:48,532 - DEBUG - Response for deleting network () 2026-07-19 18:47:48,532 - INFO - Deleting VN ctest-vn-90374582 2026-07-19 18:47:48,651 - DEBUG - Response for deleting network () 2026-07-19 18:47:48,913 - DEBUG - No XMPP flaps were noticed during the test 2026-07-19 18:47:48,913 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03] 2026-07-19 18:47:48,913 - INFO - -------------------------------------------------------------------------------- 2026-07-19 18:47:49,658 - INFO - Deleted project: ctest-TestRoutersBasic-59732633, ID : 6e444fd9-759b-427e-a32a-15b51cad19c8