2026-12-03 16:55:36,062 - INFO - Domain Default found not creating 2026-12-03 16:55:36,330 - INFO - Project ctest-TestRoutersBasic-87347664 not found, creating it 2026-12-03 16:55:37,007 - INFO - Created Project:ctest-TestRoutersBasic-87347664, ID : 18b3e267-c30e-4c8a-b41d-ff4fa5d5b0dd 2026-12-03 16:55:39,067 - INFO - ================================================================================ 2026-12-03 16:55:39,068 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-12-03 16:55:39,068 - 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-12-03 16:55:39,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-12-03 16:55:39,350 - INFO - Initial checks done. Running the testcase now 2026-12-03 16:55:39,350 - INFO - 2026-12-03 16:55:40,274 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87347664 2026-12-03 16:55:40,376 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87347664 2026-12-03 16:55:40,735 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87347664', 'default']} 2026-12-03 16:55:41,090 - DEBUG - Response for create_network : {'network': {'id': '9a70d4e1-88d5-4b26-84a1-de99bdf40a31', 'name': 'ctest-vn-05172130', 'tenant_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd', 'project_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87347664', 'ctest-vn-05172130'], 'port_security_enabled': True, 'description': ''}} 2026-12-03 16:55:41,327 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb725bd5-e482-48ec-a5fa-1f28dc8a1517', 'name': '', 'tenant_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd', 'network_id': '9a70d4e1-88d5-4b26-84a1-de99bdf40a31', 'ip_version': 4, 'cidr': '63.156.215.0/26', 'allocation_pools': [{'start': '63.156.215.2', 'end': '63.156.215.62'}], 'gateway_ip': '63.156.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.156.215.2', 'tags': [], 'project_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd'}} 2026-12-03 16:55:41,353 - INFO - Created VN ctest-vn-05172130 2026-12-03 16:55:41,407 - DEBUG - VN ctest-vn-05172130 UUID is 9a70d4e1-88d5-4b26-84a1-de99bdf40a31 2026-12-03 16:55:41,798 - DEBUG - Response for create_network : {'network': {'id': 'fb3d4199-62b2-463a-b4c0-818689a86eca', 'name': 'ctest-ext_vn-12108964', 'tenant_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd', 'project_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87347664', 'ctest-ext_vn-12108964'], 'port_security_enabled': True, 'description': ''}} 2026-12-03 16:55:41,994 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b98d2084-1645-4fc8-8928-ba0488facf5d', 'name': '', 'tenant_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd', 'network_id': 'fb3d4199-62b2-463a-b4c0-818689a86eca', 'ip_version': 4, 'cidr': '131.240.147.192/26', 'allocation_pools': [{'start': '131.240.147.194', 'end': '131.240.147.254'}], 'gateway_ip': '131.240.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.240.147.194', 'tags': [], 'project_id': '18b3e267c30e4c8ab41dff4fa5d5b0dd'}} 2026-12-03 16:55:42,016 - INFO - Created VN ctest-ext_vn-12108964 2026-12-03 16:55:42,075 - DEBUG - VN ctest-ext_vn-12108964 UUID is fb3d4199-62b2-463a-b4c0-818689a86eca 2026-12-03 16:55:42,281 - DEBUG - Services list from nova: [, , ] 2026-12-03 16:55:43,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6529-1) 2026-12-03 16:55:43,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6529-1) 2026-12-03 16:55:43,672 - INFO - Setting gateway for router 3e19aa3c-f41f-4119-9b46-ecdb097575eb to network fb3d4199-62b2-463a-b4c0-818689a86eca 2026-12-03 16:55:43,800 - INFO - Adding interface with subnet_id bb725bd5-e482-48ec-a5fa-1f28dc8a1517, port_id None to router 3e19aa3c-f41f-4119-9b46-ecdb097575eb 2026-12-03 16:55:44,137 - INFO - Waiting for VM ctest-TestRoutersBasic-87347664-27191921 to be up.. 2026-12-03 16:55:44,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:55:49,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:55:54,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:55:59,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:56:04,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:56:09,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:56:14,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:56:20,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:56:25,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:56:30,240 - DEBUG - VM is in ACTIVE state now 2026-12-03 16:56:30,241 - INFO - VM name : ctest-TestRoutersBasic-87347664-27191921 2026-12-03 16:56:30,340 - DEBUG - VM ctest-TestRoutersBasic-87347664-27191921 ID is 621bb254-a6cc-4ad9-bb89-6f528aded7f1 2026-12-03 16:56:30,368 - DEBUG - VM ctest-TestRoutersBasic-87347664-27191921 launched on Node cn-jenkins-deploy-platform-ansible-os-6529-1 2026-12-03 16:56:30,460 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/621bb254-a6cc-4ad9-bb89-6f528aded7f1 2026-12-03 16:56:30,881 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/621bb254-a6cc-4ad9-bb89-6f528aded7f1 2026-12-03 16:56:30,924 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/ffe6b85f-34ac-47f2-a33f-d6636b2af47c 2026-12-03 16:56:34,196 - 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 1015ms') 2026-12-03 16:56:34,196 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-87347664-27191921 failed! 2026-12-03 16:56:34,259 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87347664:ctest-vn-05172130 is 63.156.215.1 and allocation pool is NOT set 2026-12-03 16:56:36,332 - 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=6.49 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.75 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 = 1.752/4.121/6.491/2.369 ms') 2026-12-03 16:56:36,332 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-87347664-27191921 passed 2026-12-03 16:56:36,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:56:36,480 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87347664-27191921, IP 63.156.215.3, Port 22 2026-12-03 16:56:36,546 - 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-12-03 16:56:36,628 - DEBUG - VM ctest-TestRoutersBasic-87347664-27191921 is NOT ready for SSH connections, VM status: ACTIVE 2026-12-03 16:56:41,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:56:41,630 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87347664-27191921, IP 63.156.215.3, Port 22 2026-12-03 16:56:41,802 - DEBUG - VM ctest-TestRoutersBasic-87347664-27191921 is ready for SSH connections 2026-12-03 16:56:41,802 - INFO - Waiting for VM ctest-TestRoutersBasic-87347664-21822844 to be up.. 2026-12-03 16:56:41,889 - DEBUG - VM is in ACTIVE state now 2026-12-03 16:56:41,889 - INFO - VM name : ctest-TestRoutersBasic-87347664-21822844 2026-12-03 16:56:41,969 - DEBUG - VM ctest-TestRoutersBasic-87347664-21822844 ID is a913dba8-8503-4a32-9e32-f2f4dfc55f22 2026-12-03 16:56:41,969 - DEBUG - VM ctest-TestRoutersBasic-87347664-21822844 launched on Node cn-jenkins-deploy-platform-ansible-os-6529-1 2026-12-03 16:56:42,056 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/a913dba8-8503-4a32-9e32-f2f4dfc55f22 2026-12-03 16:56:42,068 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/aed475f7-37e9-4ce9-80e4-2538de424342 2026-12-03 16:56:43,329 - 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.67 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.452 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.452/2.063/3.674/1.611 ms') 2026-12-03 16:56:43,329 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-87347664-21822844 passed 2026-12-03 16:56:43,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:56:43,484 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87347664-21822844, IP 131.240.147.196, Port 22 2026-12-03 16:56:43,649 - DEBUG - VM ctest-TestRoutersBasic-87347664-21822844 is ready for SSH connections 2026-12-03 16:56:43,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:56:43,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.240.147.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-12-03 16:56:43,649 - DEBUG - ping -s 56 -c 3 -W 1 131.240.147.196 2026-12-03 16:56:46,648 - DEBUG - PING 131.240.147.196 (131.240.147.196): 56 data bytes 64 bytes from 131.240.147.196: seq=0 ttl=62 time=9.504 ms 64 bytes from 131.240.147.196: seq=1 ttl=62 time=1.461 ms 64 bytes from 131.240.147.196: seq=2 ttl=62 time=1.418 ms --- 131.240.147.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.418/4.127/9.504 ms 2026-12-03 16:56:46,648 - INFO - Ping to IP 131.240.147.196 from VM ctest-TestRoutersBasic-87347664-27191921 passed 2026-12-03 16:56:46,649 - INFO - Deleting interface with subnet_id bb725bd5-e482-48ec-a5fa-1f28dc8a1517, port_id None from router 3e19aa3c-f41f-4119-9b46-ecdb097575eb 2026-12-03 16:56:47,014 - INFO - Deleting VM ctest-TestRoutersBasic-87347664-21822844 2026-12-03 16:56:47,124 - INFO - Deleting VM ctest-TestRoutersBasic-87347664-27191921 2026-12-03 16:56:47,213 - INFO - Deleting VN ctest-ext_vn-12108964 2026-12-03 16:56:47,349 - DEBUG - VN fb3d4199-62b2-463a-b4c0-818689a86eca still in use: Unable to complete operation on network fb3d4199-62b2-463a-b4c0-818689a86eca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65559031-c3f5-488e-9840-39b035b91a25'] 2026-12-03 16:56:47,349 - WARNING - Deleting VN ctest-ext_vn-12108964 failed..Will retry 2026-12-03 16:56:49,388 - DEBUG - VN fb3d4199-62b2-463a-b4c0-818689a86eca still in use: Unable to complete operation on network fb3d4199-62b2-463a-b4c0-818689a86eca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b43f992d-41f6-4ef8-8f51-987b5c803c6a'] 2026-12-03 16:56:49,388 - WARNING - Deleting VN ctest-ext_vn-12108964 failed..Will retry 2026-12-03 16:56:51,507 - DEBUG - Response for deleting network () 2026-12-03 16:56:51,507 - INFO - Deleting VN ctest-vn-05172130 2026-12-03 16:56:51,629 - DEBUG - Response for deleting network () 2026-12-03 16:56:51,896 - DEBUG - No XMPP flaps were noticed during the test 2026-12-03 16:56:51,896 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:12] 2026-12-03 16:56:51,896 - INFO - -------------------------------------------------------------------------------- 2026-12-03 16:56:52,775 - INFO - Deleted project: ctest-TestRoutersBasic-87347664, ID : 18b3e267-c30e-4c8a-b41d-ff4fa5d5b0dd