2026-09-09 13:17:36,810 - INFO - Domain Default found not creating 2026-09-09 13:17:37,064 - INFO - Project ctest-TestRoutersBasic-81736136 not found, creating it 2026-09-09 13:17:37,604 - INFO - Created Project:ctest-TestRoutersBasic-81736136, ID : 07752a1c-013b-494c-9e70-085185e7d34f 2026-09-09 13:17:39,388 - INFO - ================================================================================ 2026-09-09 13:17:39,388 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-09 13:17:39,388 - 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-09-09 13:17:39,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.254': '0'}} with 2026-09-09 13:17:39,663 - INFO - Initial checks done. Running the testcase now 2026-09-09 13:17:39,663 - INFO - 2026-09-09 13:17:40,531 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81736136 2026-09-09 13:17:40,628 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81736136 2026-09-09 13:17:40,956 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81736136', 'default']} 2026-09-09 13:17:41,290 - DEBUG - Response for create_network : {'network': {'id': '3905a4a5-6c37-4f22-a612-74b26457d587', 'name': 'ctest-vn-14970244', 'tenant_id': '07752a1c013b494c9e70085185e7d34f', 'project_id': '07752a1c013b494c9e70085185e7d34f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81736136', 'ctest-vn-14970244'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 13:17:41,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '796e6b99-215f-4925-be4b-5e78723ab24f', 'name': '', 'tenant_id': '07752a1c013b494c9e70085185e7d34f', 'network_id': '3905a4a5-6c37-4f22-a612-74b26457d587', 'ip_version': 4, 'cidr': '68.246.149.0/26', 'allocation_pools': [{'start': '68.246.149.2', 'end': '68.246.149.62'}], 'gateway_ip': '68.246.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.246.149.2', 'tags': [], 'project_id': '07752a1c013b494c9e70085185e7d34f'}} 2026-09-09 13:17:41,518 - INFO - Created VN ctest-vn-14970244 2026-09-09 13:17:41,576 - DEBUG - VN ctest-vn-14970244 UUID is 3905a4a5-6c37-4f22-a612-74b26457d587 2026-09-09 13:17:41,928 - DEBUG - Response for create_network : {'network': {'id': '94d156a2-62d6-4767-a4aa-7a8282af3b95', 'name': 'ctest-ext_vn-16007865', 'tenant_id': '07752a1c013b494c9e70085185e7d34f', 'project_id': '07752a1c013b494c9e70085185e7d34f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81736136', 'ctest-ext_vn-16007865'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 13:17:42,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '941bd21a-d42f-41be-a4ec-fe5ce3801f42', 'name': '', 'tenant_id': '07752a1c013b494c9e70085185e7d34f', 'network_id': '94d156a2-62d6-4767-a4aa-7a8282af3b95', 'ip_version': 4, 'cidr': '107.210.4.128/26', 'allocation_pools': [{'start': '107.210.4.130', 'end': '107.210.4.190'}], 'gateway_ip': '107.210.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.210.4.130', 'tags': [], 'project_id': '07752a1c013b494c9e70085185e7d34f'}} 2026-09-09 13:17:42,177 - INFO - Created VN ctest-ext_vn-16007865 2026-09-09 13:17:42,236 - DEBUG - VN ctest-ext_vn-16007865 UUID is 94d156a2-62d6-4767-a4aa-7a8282af3b95 2026-09-09 13:17:42,407 - DEBUG - Services list from nova: [, , ] 2026-09-09 13:17:42,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6269-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6269-1) 2026-09-09 13:17:43,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6269-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6269-1) 2026-09-09 13:17:43,351 - INFO - Setting gateway for router 7a3318b1-e7d4-489e-82f7-f356e2477598 to network 94d156a2-62d6-4767-a4aa-7a8282af3b95 2026-09-09 13:17:43,424 - INFO - Adding interface with subnet_id 796e6b99-215f-4925-be4b-5e78723ab24f, port_id None to router 7a3318b1-e7d4-489e-82f7-f356e2477598 2026-09-09 13:17:43,800 - INFO - Waiting for VM ctest-TestRoutersBasic-81736136-16016003 to be up.. 2026-09-09 13:17:43,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:17:48,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:17:54,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:17:59,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:18:04,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:18:09,404 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:18:14,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:18:19,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 13:18:24,697 - DEBUG - VM is in ACTIVE state now 2026-09-09 13:18:24,697 - INFO - VM name : ctest-TestRoutersBasic-81736136-16016003 2026-09-09 13:18:24,775 - DEBUG - VM ctest-TestRoutersBasic-81736136-16016003 ID is 2cae8278-197f-42ba-a390-03e3b5f20744 2026-09-09 13:18:24,797 - DEBUG - VM ctest-TestRoutersBasic-81736136-16016003 launched on Node cn-jenkins-deploy-platform-ansible-os-6269-1 2026-09-09 13:18:24,951 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/2cae8278-197f-42ba-a390-03e3b5f20744 2026-09-09 13:18:25,325 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/2cae8278-197f-42ba-a390-03e3b5f20744 2026-09-09 13:18:25,356 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/a365b24a-d2be-4d4b-a542-709c49719d34 2026-09-09 13:18:26,609 - 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=3.65 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.747 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.747/2.196/3.645/1.449 ms') 2026-09-09 13:18:26,609 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-81736136-16016003 passed 2026-09-09 13:18:26,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:18:26,768 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81736136-16016003, IP 68.246.149.3, Port 22 2026-09-09 13:18:26,942 - DEBUG - VM ctest-TestRoutersBasic-81736136-16016003 is ready for SSH connections 2026-09-09 13:18:26,942 - INFO - Waiting for VM ctest-TestRoutersBasic-81736136-15995162 to be up.. 2026-09-09 13:18:27,025 - DEBUG - VM is in ACTIVE state now 2026-09-09 13:18:27,025 - INFO - VM name : ctest-TestRoutersBasic-81736136-15995162 2026-09-09 13:18:27,113 - DEBUG - VM ctest-TestRoutersBasic-81736136-15995162 ID is 80efb97d-7316-470c-98b4-f96e88c67d74 2026-09-09 13:18:27,113 - DEBUG - VM ctest-TestRoutersBasic-81736136-15995162 launched on Node cn-jenkins-deploy-platform-ansible-os-6269-1 2026-09-09 13:18:27,199 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/80efb97d-7316-470c-98b4-f96e88c67d74 2026-09-09 13:18:27,208 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/b53314b9-b735-4c58-938f-68a4cfdae5ab 2026-09-09 13:18:30,471 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-09-09 13:18:30,471 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-81736136-15995162 failed! 2026-09-09 13:18:30,528 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81736136:ctest-ext_vn-16007865 is 107.210.4.129 and allocation pool is NOT set 2026-09-09 13:18:32,591 - 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=6.69 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.05 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 = 2.053/4.372/6.691/2.319 ms') 2026-09-09 13:18:32,591 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-81736136-15995162 passed 2026-09-09 13:18:32,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:18:32,748 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81736136-15995162, IP 107.210.4.132, Port 22 2026-09-09 13:18:32,814 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-09 13:18:32,901 - DEBUG - VM ctest-TestRoutersBasic-81736136-15995162 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-09 13:18:37,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:18:37,903 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81736136-15995162, IP 107.210.4.132, Port 22 2026-09-09 13:18:38,078 - DEBUG - VM ctest-TestRoutersBasic-81736136-15995162 is ready for SSH connections 2026-09-09 13:18:38,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 13:18:38,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.210.4.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-09 13:18:38,078 - DEBUG - ping -s 56 -c 3 -W 1 107.210.4.132 2026-09-09 13:18:41,068 - DEBUG - PING 107.210.4.132 (107.210.4.132): 56 data bytes 64 bytes from 107.210.4.132: seq=0 ttl=62 time=6.930 ms 64 bytes from 107.210.4.132: seq=1 ttl=62 time=0.995 ms 64 bytes from 107.210.4.132: seq=2 ttl=62 time=1.411 ms --- 107.210.4.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/3.112/6.930 ms 2026-09-09 13:18:41,068 - INFO - Ping to IP 107.210.4.132 from VM ctest-TestRoutersBasic-81736136-16016003 passed 2026-09-09 13:18:41,069 - INFO - Deleting interface with subnet_id 796e6b99-215f-4925-be4b-5e78723ab24f, port_id None from router 7a3318b1-e7d4-489e-82f7-f356e2477598 2026-09-09 13:18:41,313 - INFO - Deleting VM ctest-TestRoutersBasic-81736136-15995162 2026-09-09 13:18:41,395 - INFO - Deleting VM ctest-TestRoutersBasic-81736136-16016003 2026-09-09 13:18:41,477 - INFO - Deleting VN ctest-ext_vn-16007865 2026-09-09 13:18:41,569 - DEBUG - VN 94d156a2-62d6-4767-a4aa-7a8282af3b95 still in use: Unable to complete operation on network 94d156a2-62d6-4767-a4aa-7a8282af3b95. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-477d6736-68e0-4866-9ba6-ff29091d43d6'] 2026-09-09 13:18:41,569 - WARNING - Deleting VN ctest-ext_vn-16007865 failed..Will retry 2026-09-09 13:18:43,743 - DEBUG - Response for deleting network () 2026-09-09 13:18:43,743 - INFO - Deleting VN ctest-vn-14970244 2026-09-09 13:18:43,853 - DEBUG - Response for deleting network () 2026-09-09 13:18:44,129 - DEBUG - No XMPP flaps were noticed during the test 2026-09-09 13:18:44,129 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05] 2026-09-09 13:18:44,129 - INFO - -------------------------------------------------------------------------------- 2026-09-09 13:18:44,908 - INFO - Deleted project: ctest-TestRoutersBasic-81736136, ID : 07752a1c-013b-494c-9e70-085185e7d34f