2026-06-01 15:46:19,552 - INFO - Domain Default found not creating 2026-06-01 15:46:19,763 - INFO - Project ctest-TestRoutersBasic-73630945 not found, creating it 2026-06-01 15:46:20,488 - INFO - Created Project:ctest-TestRoutersBasic-73630945, ID : 67842a1e-5b70-45f8-adee-b0fc7a11cfe7 2026-06-01 15:46:22,415 - INFO - ================================================================================ 2026-06-01 15:46:22,415 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-01 15:46:22,415 - 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-01 15:46:23,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '3', '10.20.0.254': '3'}, '10.0.0.27': {'10.20.0.14': '2', '10.20.0.254': '3'}} with 2026-06-01 15:46:23,734 - INFO - Initial checks done. Running the testcase now 2026-06-01 15:46:23,734 - INFO - 2026-06-01 15:46:24,514 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73630945 2026-06-01 15:46:24,577 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73630945 2026-06-01 15:46:24,909 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73630945', 'default']} 2026-06-01 15:46:25,387 - DEBUG - Response for create_network : {'network': {'id': 'f91c69a6-02d0-4f94-80d6-77d064d8e810', 'name': 'ctest-vn-61338911', 'tenant_id': '67842a1e5b7045f8adeeb0fc7a11cfe7', 'project_id': '67842a1e5b7045f8adeeb0fc7a11cfe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73630945', 'ctest-vn-61338911'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:46:25,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cdf44a6-174b-4958-9c4f-e2fabd314ceb', 'name': '', 'tenant_id': '67842a1e5b7045f8adeeb0fc7a11cfe7', 'network_id': 'f91c69a6-02d0-4f94-80d6-77d064d8e810', 'ip_version': 4, 'cidr': '16.36.65.192/26', 'allocation_pools': [{'start': '16.36.65.194', 'end': '16.36.65.254'}], 'gateway_ip': '16.36.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.36.65.194', 'tags': [], 'project_id': '67842a1e5b7045f8adeeb0fc7a11cfe7'}} 2026-06-01 15:46:25,784 - INFO - Created VN ctest-vn-61338911 2026-06-01 15:46:25,802 - DEBUG - VN ctest-vn-61338911 UUID is f91c69a6-02d0-4f94-80d6-77d064d8e810 2026-06-01 15:46:26,320 - DEBUG - Response for create_network : {'network': {'id': '93200401-39af-43d6-88f1-8aca5167da55', 'name': 'ctest-ext_vn-49683128', 'tenant_id': '67842a1e5b7045f8adeeb0fc7a11cfe7', 'project_id': '67842a1e5b7045f8adeeb0fc7a11cfe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73630945', 'ctest-ext_vn-49683128'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:46:26,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b9ea1c4-4dab-4488-b66f-0da740a7c0cd', 'name': '', 'tenant_id': '67842a1e5b7045f8adeeb0fc7a11cfe7', 'network_id': '93200401-39af-43d6-88f1-8aca5167da55', 'ip_version': 4, 'cidr': '181.112.75.0/26', 'allocation_pools': [{'start': '181.112.75.2', 'end': '181.112.75.62'}], 'gateway_ip': '181.112.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.112.75.2', 'tags': [], 'project_id': '67842a1e5b7045f8adeeb0fc7a11cfe7'}} 2026-06-01 15:46:26,674 - INFO - Created VN ctest-ext_vn-49683128 2026-06-01 15:46:26,687 - DEBUG - VN ctest-ext_vn-49683128 UUID is 93200401-39af-43d6-88f1-8aca5167da55 2026-06-01 15:46:26,853 - DEBUG - Services list from nova: [, , , ] 2026-06-01 15:46:28,399 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5870-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5870-1) 2026-06-01 15:46:30,159 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5870-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5870-2) 2026-06-01 15:46:30,280 - INFO - Setting gateway for router c5e0b934-5c9d-4fec-854d-47b63bb13cac to network 93200401-39af-43d6-88f1-8aca5167da55 2026-06-01 15:46:30,388 - INFO - Adding interface with subnet_id 6cdf44a6-174b-4958-9c4f-e2fabd314ceb, port_id None to router c5e0b934-5c9d-4fec-854d-47b63bb13cac 2026-06-01 15:46:30,942 - INFO - Waiting for VM ctest-TestRoutersBasic-73630945-18149473 to be up.. 2026-06-01 15:46:31,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 15:46:36,189 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:46:36,189 - INFO - VM name : ctest-TestRoutersBasic-73630945-18149473 2026-06-01 15:46:36,277 - DEBUG - VM ctest-TestRoutersBasic-73630945-18149473 ID is 0afc5d57-0af5-4107-90fb-f135edf4c228 2026-06-01 15:46:36,303 - DEBUG - VM ctest-TestRoutersBasic-73630945-18149473 launched on Node an-jenkins-deploy-platform-ansible-os-5870-1 2026-06-01 15:46:36,397 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0afc5d57-0af5-4107-90fb-f135edf4c228 2026-06-01 15:46:36,697 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0afc5d57-0af5-4107-90fb-f135edf4c228 2026-06-01 15:46:36,739 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cb035851-5a7b-4746-90f3-503a9592b8a2 2026-06-01 15:46:39,962 - 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 1033ms') 2026-06-01 15:46:39,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73630945-18149473 failed! 2026-06-01 15:46:39,981 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73630945:ctest-vn-61338911 is 16.36.65.193 and allocation pool is NOT set 2026-06-01 15:46:42,050 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.509 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.509/2.082/3.656/1.573 ms') 2026-06-01 15:46:42,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73630945-18149473 passed 2026-06-01 15:46:42,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:46:42,125 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73630945-18149473, IP 16.36.65.195, Port 22 2026-06-01 15:46:42,286 - DEBUG - VM ctest-TestRoutersBasic-73630945-18149473 is ready for SSH connections 2026-06-01 15:46:42,286 - INFO - Waiting for VM ctest-TestRoutersBasic-73630945-96331410 to be up.. 2026-06-01 15:46:42,396 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:46:42,396 - INFO - VM name : ctest-TestRoutersBasic-73630945-96331410 2026-06-01 15:46:42,493 - DEBUG - VM ctest-TestRoutersBasic-73630945-96331410 ID is 70cd9ed8-3d70-49e8-b5a8-fdf4818de5c1 2026-06-01 15:46:42,493 - DEBUG - VM ctest-TestRoutersBasic-73630945-96331410 launched on Node an-jenkins-deploy-platform-ansible-os-5870-2 2026-06-01 15:46:42,587 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/70cd9ed8-3d70-49e8-b5a8-fdf4818de5c1 2026-06-01 15:46:42,598 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/26de51c9-5083-40de-a625-269247950837 2026-06-01 15:46:43,780 - 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=4.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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 = 0.394/2.459/4.525/2.065 ms') 2026-06-01 15:46:43,780 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73630945-96331410 passed 2026-06-01 15:46:43,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:46:43,851 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73630945-96331410, IP 181.112.75.3, Port 22 2026-06-01 15:46:43,921 - 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-01 15:46:44,019 - DEBUG - VM ctest-TestRoutersBasic-73630945-96331410 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 15:46:49,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:46:49,020 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73630945-96331410, IP 181.112.75.3, Port 22 2026-06-01 15:46:49,187 - DEBUG - VM ctest-TestRoutersBasic-73630945-96331410 is ready for SSH connections 2026-06-01 15:46:49,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:46:49,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.112.75.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-06-01 15:46:49,187 - DEBUG - ping -s 56 -c 3 -W 1 181.112.75.3 2026-06-01 15:46:52,895 - DEBUG - PING 181.112.75.3 (181.112.75.3): 56 data bytes 64 bytes from 181.112.75.3: seq=0 ttl=62 time=9.001 ms 64 bytes from 181.112.75.3: seq=1 ttl=62 time=1.629 ms 64 bytes from 181.112.75.3: seq=2 ttl=62 time=1.581 ms --- 181.112.75.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.581/4.070/9.001 ms 2026-06-01 15:46:52,895 - INFO - Ping to IP 181.112.75.3 from VM ctest-TestRoutersBasic-73630945-18149473 passed 2026-06-01 15:46:52,895 - INFO - Deleting interface with subnet_id 6cdf44a6-174b-4958-9c4f-e2fabd314ceb, port_id None from router c5e0b934-5c9d-4fec-854d-47b63bb13cac 2026-06-01 15:46:53,524 - INFO - Deleting VM ctest-TestRoutersBasic-73630945-96331410 2026-06-01 15:46:53,680 - INFO - Deleting VM ctest-TestRoutersBasic-73630945-18149473 2026-06-01 15:46:53,840 - INFO - Deleting VN ctest-ext_vn-49683128 2026-06-01 15:46:53,952 - DEBUG - VN 93200401-39af-43d6-88f1-8aca5167da55 still in use: Unable to complete operation on network 93200401-39af-43d6-88f1-8aca5167da55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1bf9da9-12b3-45b9-bcaf-294542b758f8'] 2026-06-01 15:46:53,952 - WARNING - Deleting VN ctest-ext_vn-49683128 failed..Will retry 2026-06-01 15:46:56,139 - DEBUG - Response for deleting network () 2026-06-01 15:46:56,140 - INFO - Deleting VN ctest-vn-61338911 2026-06-01 15:46:56,361 - DEBUG - Response for deleting network () 2026-06-01 15:46:57,665 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 15:46:57,665 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35]
2026-06-01 15:46:57,665 - INFO - -------------------------------------------------------------------------------- 2026-06-01 15:46:58,438 - INFO - Deleted project: ctest-TestRoutersBasic-73630945, ID : 67842a1e-5b70-45f8-adee-b0fc7a11cfe7