2026-04-02 17:52:58,139 - INFO - Domain Default found not creating 2026-04-02 17:52:58,307 - INFO - Project ctest-TestRoutersBasic-20158471 not found, creating it 2026-04-02 17:52:58,771 - INFO - Created Project:ctest-TestRoutersBasic-20158471, ID : 229fdebc-3bbc-4efd-ba1a-de214e7f874f 2026-04-02 17:53:00,216 - INFO - ================================================================================ 2026-04-02 17:53:00,216 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-02 17:53:00,216 - 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-04-02 17:53:00,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-02 17:53:00,471 - INFO - Initial checks done. Running the testcase now 2026-04-02 17:53:00,471 - INFO - 2026-04-02 17:53:01,192 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20158471 2026-04-02 17:53:01,294 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20158471 2026-04-02 17:53:01,613 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20158471', 'default']} 2026-04-02 17:53:01,903 - DEBUG - Response for create_network : {'network': {'id': 'a24fdf5f-8961-4337-9e27-080d9b7188fa', 'name': 'ctest-vn-98895218', 'tenant_id': '229fdebc3bbc4efdba1ade214e7f874f', 'project_id': '229fdebc3bbc4efdba1ade214e7f874f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20158471', 'ctest-vn-98895218'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 17:53:02,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4ded53d-42a5-4d61-89d4-7efe7ebdb01a', 'name': '', 'tenant_id': '229fdebc3bbc4efdba1ade214e7f874f', 'network_id': 'a24fdf5f-8961-4337-9e27-080d9b7188fa', 'ip_version': 4, 'cidr': '188.207.118.192/26', 'allocation_pools': [{'start': '188.207.118.194', 'end': '188.207.118.254'}], 'gateway_ip': '188.207.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.207.118.194', 'tags': [], 'project_id': '229fdebc3bbc4efdba1ade214e7f874f'}} 2026-04-02 17:53:02,111 - INFO - Created VN ctest-vn-98895218 2026-04-02 17:53:02,166 - DEBUG - VN ctest-vn-98895218 UUID is a24fdf5f-8961-4337-9e27-080d9b7188fa 2026-04-02 17:53:02,487 - DEBUG - Response for create_network : {'network': {'id': 'f6afe862-fba5-4dde-9067-f1195621433c', 'name': 'ctest-ext_vn-07910654', 'tenant_id': '229fdebc3bbc4efdba1ade214e7f874f', 'project_id': '229fdebc3bbc4efdba1ade214e7f874f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20158471', 'ctest-ext_vn-07910654'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 17:53:02,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '610e1701-3423-484f-b73b-34cc8a823b94', 'name': '', 'tenant_id': '229fdebc3bbc4efdba1ade214e7f874f', 'network_id': 'f6afe862-fba5-4dde-9067-f1195621433c', 'ip_version': 4, 'cidr': '67.215.236.192/26', 'allocation_pools': [{'start': '67.215.236.194', 'end': '67.215.236.254'}], 'gateway_ip': '67.215.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.215.236.194', 'tags': [], 'project_id': '229fdebc3bbc4efdba1ade214e7f874f'}} 2026-04-02 17:53:02,713 - INFO - Created VN ctest-ext_vn-07910654 2026-04-02 17:53:02,765 - DEBUG - VN ctest-ext_vn-07910654 UUID is f6afe862-fba5-4dde-9067-f1195621433c 2026-04-02 17:53:02,946 - DEBUG - Services list from nova: [, , ] 2026-04-02 17:53:03,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5585-1) 2026-04-02 17:53:05,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5585-1) 2026-04-02 17:53:05,270 - INFO - Setting gateway for router 49b95154-93de-4edd-8260-5f9f46aa5ef4 to network f6afe862-fba5-4dde-9067-f1195621433c 2026-04-02 17:53:05,346 - INFO - Adding interface with subnet_id a4ded53d-42a5-4d61-89d4-7efe7ebdb01a, port_id None to router 49b95154-93de-4edd-8260-5f9f46aa5ef4 2026-04-02 17:53:05,760 - INFO - Waiting for VM ctest-TestRoutersBasic-20158471-36315672 to be up.. 2026-04-02 17:53:05,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 17:53:11,028 - DEBUG - VM is in ACTIVE state now 2026-04-02 17:53:11,029 - INFO - VM name : ctest-TestRoutersBasic-20158471-36315672 2026-04-02 17:53:11,109 - DEBUG - VM ctest-TestRoutersBasic-20158471-36315672 ID is 98564671-1a0e-47dc-b6b1-58e4105c3cde 2026-04-02 17:53:11,128 - DEBUG - VM ctest-TestRoutersBasic-20158471-36315672 launched on Node cn-jenkins-deploy-platform-ansible-os-5585-1 2026-04-02 17:53:11,204 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98564671-1a0e-47dc-b6b1-58e4105c3cde 2026-04-02 17:53:11,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98564671-1a0e-47dc-b6b1-58e4105c3cde 2026-04-02 17:53:11,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d67be9a9-a79d-4bc1-abfc-95718022923f 2026-04-02 17:53:14,780 - 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 1003ms') 2026-04-02 17:53:14,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20158471-36315672 failed! 2026-04-02 17:53:14,833 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20158471:ctest-vn-98895218 is 188.207.118.193 and allocation pool is NOT set 2026-04-02 17:53:16,895 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/2.238/4.001/1.763 ms') 2026-04-02 17:53:16,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20158471-36315672 passed 2026-04-02 17:53:17,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:53:17,049 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20158471-36315672, IP 188.207.118.195, Port 22 2026-04-02 17:53:17,205 - DEBUG - VM ctest-TestRoutersBasic-20158471-36315672 is ready for SSH connections 2026-04-02 17:53:17,206 - INFO - Waiting for VM ctest-TestRoutersBasic-20158471-08352772 to be up.. 2026-04-02 17:53:17,278 - DEBUG - VM is in ACTIVE state now 2026-04-02 17:53:17,278 - INFO - VM name : ctest-TestRoutersBasic-20158471-08352772 2026-04-02 17:53:17,349 - DEBUG - VM ctest-TestRoutersBasic-20158471-08352772 ID is 7919d542-41e7-49c5-9be9-3b39c02b0a5c 2026-04-02 17:53:17,350 - DEBUG - VM ctest-TestRoutersBasic-20158471-08352772 launched on Node cn-jenkins-deploy-platform-ansible-os-5585-1 2026-04-02 17:53:17,426 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7919d542-41e7-49c5-9be9-3b39c02b0a5c 2026-04-02 17:53:17,435 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4883b91e-2139-49d3-a396-3538700da841 2026-04-02 17:53:18,670 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.636 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.636/1.879/3.123/1.243 ms') 2026-04-02 17:53:18,670 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-20158471-08352772 passed 2026-04-02 17:53:18,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:53:18,821 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20158471-08352772, IP 67.215.236.195, Port 22 2026-04-02 17:53:18,887 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-02 17:53:18,957 - DEBUG - VM ctest-TestRoutersBasic-20158471-08352772 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 17:53:23,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:53:23,958 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20158471-08352772, IP 67.215.236.195, Port 22 2026-04-02 17:53:24,113 - DEBUG - VM ctest-TestRoutersBasic-20158471-08352772 is ready for SSH connections 2026-04-02 17:53:24,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:53:24,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.215.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 17:53:24,113 - DEBUG - ping -s 56 -c 3 -W 1 67.215.236.195 2026-04-02 17:53:28,158 - DEBUG - PING 67.215.236.195 (67.215.236.195): 56 data bytes 64 bytes from 67.215.236.195: seq=0 ttl=62 time=6.461 ms 64 bytes from 67.215.236.195: seq=1 ttl=62 time=0.872 ms 64 bytes from 67.215.236.195: seq=2 ttl=62 time=1.245 ms --- 67.215.236.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/2.859/6.461 ms 2026-04-02 17:53:28,158 - INFO - Ping to IP 67.215.236.195 from VM ctest-TestRoutersBasic-20158471-36315672 passed 2026-04-02 17:53:28,158 - INFO - Deleting interface with subnet_id a4ded53d-42a5-4d61-89d4-7efe7ebdb01a, port_id None from router 49b95154-93de-4edd-8260-5f9f46aa5ef4 2026-04-02 17:53:28,384 - INFO - Deleting VM ctest-TestRoutersBasic-20158471-08352772 2026-04-02 17:53:28,495 - INFO - Deleting VM ctest-TestRoutersBasic-20158471-36315672 2026-04-02 17:53:28,598 - INFO - Deleting VN ctest-ext_vn-07910654 2026-04-02 17:53:28,677 - DEBUG - VN f6afe862-fba5-4dde-9067-f1195621433c still in use: Unable to complete operation on network f6afe862-fba5-4dde-9067-f1195621433c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a921abb6-c039-4dab-ac91-2ad528cdade1'] 2026-04-02 17:53:28,677 - WARNING - Deleting VN ctest-ext_vn-07910654 failed..Will retry 2026-04-02 17:53:30,836 - DEBUG - Response for deleting network () 2026-04-02 17:53:30,836 - INFO - Deleting VN ctest-vn-98895218 2026-04-02 17:53:30,933 - DEBUG - Response for deleting network () 2026-04-02 17:53:31,187 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 17:53:31,187 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-04-02 17:53:31,187 - INFO - -------------------------------------------------------------------------------- 2026-04-02 17:53:31,854 - INFO - Deleted project: ctest-TestRoutersBasic-20158471, ID : 229fdebc-3bbc-4efd-ba1a-de214e7f874f