2026-06-03 17:31:18,053 - INFO - Domain Default found not creating 2026-06-03 17:31:18,264 - INFO - Project ctest-TestRoutersBasic-16069159 not found, creating it 2026-06-03 17:31:18,878 - INFO - Created Project:ctest-TestRoutersBasic-16069159, ID : c5c1b40c-7909-481e-882f-23583f356039 2026-06-03 17:31:20,446 - INFO - ================================================================================ 2026-06-03 17:31:20,446 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-03 17:31:20,446 - 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-06-03 17:31:21,736 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.19': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2026-06-03 17:31:21,736 - INFO - Initial checks done. Running the testcase now 2026-06-03 17:31:21,736 - INFO - 2026-06-03 17:31:22,505 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16069159 2026-06-03 17:31:22,568 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16069159 2026-06-03 17:31:22,897 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16069159', 'default']} 2026-06-03 17:31:23,326 - DEBUG - Response for create_network : {'network': {'id': '051ca022-be84-44da-b78d-62e1cbacac98', 'name': 'ctest-vn-91147036', 'tenant_id': 'c5c1b40c7909481e882f23583f356039', 'project_id': 'c5c1b40c7909481e882f23583f356039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16069159', 'ctest-vn-91147036'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 17:31:23,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e12bdb84-964e-4c4e-9de8-3de231cc9751', 'name': '', 'tenant_id': 'c5c1b40c7909481e882f23583f356039', 'network_id': '051ca022-be84-44da-b78d-62e1cbacac98', 'ip_version': 4, 'cidr': '142.161.55.128/26', 'allocation_pools': [{'start': '142.161.55.130', 'end': '142.161.55.190'}], 'gateway_ip': '142.161.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.161.55.130', 'tags': [], 'project_id': 'c5c1b40c7909481e882f23583f356039'}} 2026-06-03 17:31:23,656 - INFO - Created VN ctest-vn-91147036 2026-06-03 17:31:23,669 - DEBUG - VN ctest-vn-91147036 UUID is 051ca022-be84-44da-b78d-62e1cbacac98 2026-06-03 17:31:24,095 - DEBUG - Response for create_network : {'network': {'id': '8103337b-fa82-45d4-b50d-32e464ebeb30', 'name': 'ctest-ext_vn-53807389', 'tenant_id': 'c5c1b40c7909481e882f23583f356039', 'project_id': 'c5c1b40c7909481e882f23583f356039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16069159', 'ctest-ext_vn-53807389'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 17:31:24,349 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb644d39-5505-4d1e-a924-22941289a95f', 'name': '', 'tenant_id': 'c5c1b40c7909481e882f23583f356039', 'network_id': '8103337b-fa82-45d4-b50d-32e464ebeb30', 'ip_version': 4, 'cidr': '135.5.81.0/26', 'allocation_pools': [{'start': '135.5.81.2', 'end': '135.5.81.62'}], 'gateway_ip': '135.5.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.5.81.2', 'tags': [], 'project_id': 'c5c1b40c7909481e882f23583f356039'}} 2026-06-03 17:31:24,372 - INFO - Created VN ctest-ext_vn-53807389 2026-06-03 17:31:24,385 - DEBUG - VN ctest-ext_vn-53807389 UUID is 8103337b-fa82-45d4-b50d-32e464ebeb30 2026-06-03 17:31:24,562 - DEBUG - Services list from nova: [, , , ] 2026-06-03 17:31:25,618 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5883-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5883-1) 2026-06-03 17:31:27,048 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5883-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5883-2) 2026-06-03 17:31:27,201 - INFO - Setting gateway for router 5379e65d-6592-40f4-90e3-c77f1a174420 to network 8103337b-fa82-45d4-b50d-32e464ebeb30 2026-06-03 17:31:27,282 - INFO - Adding interface with subnet_id e12bdb84-964e-4c4e-9de8-3de231cc9751, port_id None to router 5379e65d-6592-40f4-90e3-c77f1a174420 2026-06-03 17:31:27,866 - INFO - Waiting for VM ctest-TestRoutersBasic-16069159-77759713 to be up.. 2026-06-03 17:31:28,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-03 17:31:33,142 - DEBUG - VM is in ACTIVE state now 2026-06-03 17:31:33,142 - INFO - VM name : ctest-TestRoutersBasic-16069159-77759713 2026-06-03 17:31:33,236 - DEBUG - VM ctest-TestRoutersBasic-16069159-77759713 ID is d7efc6c4-2f86-4144-9664-1b17412c4100 2026-06-03 17:31:33,260 - DEBUG - VM ctest-TestRoutersBasic-16069159-77759713 launched on Node an-jenkins-deploy-platform-ansible-os-5883-1 2026-06-03 17:31:33,345 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d7efc6c4-2f86-4144-9664-1b17412c4100 2026-06-03 17:31:33,641 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d7efc6c4-2f86-4144-9664-1b17412c4100 2026-06-03 17:31:33,679 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6fdd33f0-348f-4b0f-b4a7-15682beec05c 2026-06-03 17:31:36,875 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-06-03 17:31:36,875 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16069159-77759713 failed! 2026-06-03 17:31:36,890 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16069159:ctest-vn-91147036 is 142.161.55.129 and allocation pool is NOT set 2026-06-03 17:31:38,961 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.391/1.865/3.339/1.474 ms') 2026-06-03 17:31:38,962 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16069159-77759713 passed 2026-06-03 17:31:39,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 17:31:39,034 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16069159-77759713, IP 142.161.55.131, Port 22 2026-06-03 17:31:39,203 - DEBUG - VM ctest-TestRoutersBasic-16069159-77759713 is ready for SSH connections 2026-06-03 17:31:39,204 - INFO - Waiting for VM ctest-TestRoutersBasic-16069159-63576976 to be up.. 2026-06-03 17:31:39,339 - DEBUG - VM is in ACTIVE state now 2026-06-03 17:31:39,339 - INFO - VM name : ctest-TestRoutersBasic-16069159-63576976 2026-06-03 17:31:39,456 - DEBUG - VM ctest-TestRoutersBasic-16069159-63576976 ID is 749e744f-9c98-4810-a915-ef5badb6b6df 2026-06-03 17:31:39,456 - DEBUG - VM ctest-TestRoutersBasic-16069159-63576976 launched on Node an-jenkins-deploy-platform-ansible-os-5883-2 2026-06-03 17:31:39,567 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/749e744f-9c98-4810-a915-ef5badb6b6df 2026-06-03 17:31:39,578 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c6976291-2beb-4203-854e-570ed04b9b22 2026-06-03 17:31:40,754 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.342/3.205/5.069/1.863 ms') 2026-06-03 17:31:40,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16069159-63576976 passed 2026-06-03 17:31:40,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 17:31:40,832 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16069159-63576976, IP 135.5.81.3, Port 22 2026-06-03 17:31:40,900 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 17:31:41,003 - DEBUG - VM ctest-TestRoutersBasic-16069159-63576976 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 17:31:46,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 17:31:46,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16069159-63576976, IP 135.5.81.3, Port 22 2026-06-03 17:31:46,177 - DEBUG - VM ctest-TestRoutersBasic-16069159-63576976 is ready for SSH connections 2026-06-03 17:31:46,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 17:31:46,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.5.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 17:31:46,177 - DEBUG - ping -s 56 -c 3 -W 1 135.5.81.3 2026-06-03 17:31:49,896 - DEBUG - PING 135.5.81.3 (135.5.81.3): 56 data bytes 64 bytes from 135.5.81.3: seq=0 ttl=62 time=9.619 ms 64 bytes from 135.5.81.3: seq=1 ttl=62 time=3.423 ms 64 bytes from 135.5.81.3: seq=2 ttl=62 time=1.355 ms --- 135.5.81.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.355/4.799/9.619 ms 2026-06-03 17:31:49,896 - INFO - Ping to IP 135.5.81.3 from VM ctest-TestRoutersBasic-16069159-77759713 passed 2026-06-03 17:31:49,896 - INFO - Deleting interface with subnet_id e12bdb84-964e-4c4e-9de8-3de231cc9751, port_id None from router 5379e65d-6592-40f4-90e3-c77f1a174420 2026-06-03 17:31:50,243 - INFO - Deleting VM ctest-TestRoutersBasic-16069159-63576976 2026-06-03 17:31:50,447 - INFO - Deleting VM ctest-TestRoutersBasic-16069159-77759713 2026-06-03 17:31:50,596 - INFO - Deleting VN ctest-ext_vn-53807389 2026-06-03 17:31:50,730 - DEBUG - VN 8103337b-fa82-45d4-b50d-32e464ebeb30 still in use: Unable to complete operation on network 8103337b-fa82-45d4-b50d-32e464ebeb30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4cfbc550-4b6c-4591-84bf-73252ee53c57'] 2026-06-03 17:31:50,730 - WARNING - Deleting VN ctest-ext_vn-53807389 failed..Will retry 2026-06-03 17:31:52,901 - DEBUG - Response for deleting network () 2026-06-03 17:31:52,901 - INFO - Deleting VN ctest-vn-91147036 2026-06-03 17:31:53,097 - DEBUG - Response for deleting network () 2026-06-03 17:31:54,382 - DEBUG - No XMPP flaps were noticed during the test 2026-06-03 17:31:54,382 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-06-03 17:31:54,382 - INFO - -------------------------------------------------------------------------------- 2026-06-03 17:31:55,195 - INFO - Deleted project: ctest-TestRoutersBasic-16069159, ID : c5c1b40c-7909-481e-882f-23583f356039