2026-08-14 08:56:13,115 - INFO - Domain Default found not creating 2026-08-14 08:56:13,277 - INFO - Project ctest-TestRoutersBasic-62581876 not found, creating it 2026-08-14 08:56:13,740 - INFO - Created Project:ctest-TestRoutersBasic-62581876, ID : f94b3cc1-dd4b-4ed0-8b38-444ba76207ea 2026-08-14 08:56:15,379 - INFO - ================================================================================ 2026-08-14 08:56:15,379 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-14 08:56:15,379 - 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-08-14 08:56:15,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.14': '0'}} with 2026-08-14 08:56:15,634 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:56:15,634 - INFO - 2026-08-14 08:56:16,423 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62581876 2026-08-14 08:56:16,518 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62581876 2026-08-14 08:56:16,842 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62581876', 'default']} 2026-08-14 08:56:17,125 - DEBUG - Response for create_network : {'network': {'id': 'eb4a9d92-7362-4d28-9abc-59cc5297b8fc', 'name': 'ctest-vn-35399162', 'tenant_id': 'f94b3cc1dd4b4ed08b38444ba76207ea', 'project_id': 'f94b3cc1dd4b4ed08b38444ba76207ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62581876', 'ctest-vn-35399162'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:56:17,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ac2e879-67f8-406b-bc12-5abd89762a76', 'name': '', 'tenant_id': 'f94b3cc1dd4b4ed08b38444ba76207ea', 'network_id': 'eb4a9d92-7362-4d28-9abc-59cc5297b8fc', 'ip_version': 4, 'cidr': '218.39.65.64/26', 'allocation_pools': [{'start': '218.39.65.66', 'end': '218.39.65.126'}], 'gateway_ip': '218.39.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.39.65.66', 'tags': [], 'project_id': 'f94b3cc1dd4b4ed08b38444ba76207ea'}} 2026-08-14 08:56:17,368 - INFO - Created VN ctest-vn-35399162 2026-08-14 08:56:17,422 - DEBUG - VN ctest-vn-35399162 UUID is eb4a9d92-7362-4d28-9abc-59cc5297b8fc 2026-08-14 08:56:17,776 - DEBUG - Response for create_network : {'network': {'id': '02c2025f-354e-446b-a6f0-4870ed960ad5', 'name': 'ctest-ext_vn-68672372', 'tenant_id': 'f94b3cc1dd4b4ed08b38444ba76207ea', 'project_id': 'f94b3cc1dd4b4ed08b38444ba76207ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62581876', 'ctest-ext_vn-68672372'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:56:17,997 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3828dd6-1013-49ab-8966-a65a4a64025d', 'name': '', 'tenant_id': 'f94b3cc1dd4b4ed08b38444ba76207ea', 'network_id': '02c2025f-354e-446b-a6f0-4870ed960ad5', 'ip_version': 4, 'cidr': '45.250.156.64/26', 'allocation_pools': [{'start': '45.250.156.66', 'end': '45.250.156.126'}], 'gateway_ip': '45.250.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.250.156.66', 'tags': [], 'project_id': 'f94b3cc1dd4b4ed08b38444ba76207ea'}} 2026-08-14 08:56:18,014 - INFO - Created VN ctest-ext_vn-68672372 2026-08-14 08:56:18,066 - DEBUG - VN ctest-ext_vn-68672372 UUID is 02c2025f-354e-446b-a6f0-4870ed960ad5 2026-08-14 08:56:18,261 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:56:18,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6156-1) 2026-08-14 08:56:18,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6156-1) 2026-08-14 08:56:18,990 - INFO - Setting gateway for router f89a0435-26c6-4a28-b738-8d0933573e85 to network 02c2025f-354e-446b-a6f0-4870ed960ad5 2026-08-14 08:56:19,040 - INFO - Adding interface with subnet_id 3ac2e879-67f8-406b-bc12-5abd89762a76, port_id None to router f89a0435-26c6-4a28-b738-8d0933573e85 2026-08-14 08:56:19,258 - INFO - Waiting for VM ctest-TestRoutersBasic-62581876-84590727 to be up.. 2026-08-14 08:56:19,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:24,400 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:29,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:34,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:39,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:44,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:49,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:54,915 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:59,993 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:56:59,993 - INFO - VM name : ctest-TestRoutersBasic-62581876-84590727 2026-08-14 08:57:00,073 - DEBUG - VM ctest-TestRoutersBasic-62581876-84590727 ID is 9bbff589-1d3f-4f5b-8401-971d75f0400d 2026-08-14 08:57:00,094 - DEBUG - VM ctest-TestRoutersBasic-62581876-84590727 launched on Node cn-jenkins-deploy-platform-ansible-os-6156-1 2026-08-14 08:57:00,173 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/9bbff589-1d3f-4f5b-8401-971d75f0400d 2026-08-14 08:57:00,509 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/9bbff589-1d3f-4f5b-8401-971d75f0400d 2026-08-14 08:57:00,550 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/5c8cd8c6-4e41-4fe5-b729-e7d3efbc6586 2026-08-14 08:57:01,797 - 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.44 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.474 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.474/1.954/3.435/1.480 ms') 2026-08-14 08:57:01,798 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-62581876-84590727 passed 2026-08-14 08:57:01,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:57:01,950 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62581876-84590727, IP 218.39.65.67, Port 22 2026-08-14 08:57:02,120 - DEBUG - VM ctest-TestRoutersBasic-62581876-84590727 is ready for SSH connections 2026-08-14 08:57:02,120 - INFO - Waiting for VM ctest-TestRoutersBasic-62581876-67538687 to be up.. 2026-08-14 08:57:02,196 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:57:02,196 - INFO - VM name : ctest-TestRoutersBasic-62581876-67538687 2026-08-14 08:57:02,265 - DEBUG - VM ctest-TestRoutersBasic-62581876-67538687 ID is 49c173d5-7683-4868-a499-9275a1e35732 2026-08-14 08:57:02,265 - DEBUG - VM ctest-TestRoutersBasic-62581876-67538687 launched on Node cn-jenkins-deploy-platform-ansible-os-6156-1 2026-08-14 08:57:02,338 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/49c173d5-7683-4868-a499-9275a1e35732 2026-08-14 08:57:02,347 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/e5e0381d-fdcc-423f-a6af-d32908afba7d 2026-08-14 08:57:05,615 - 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 1026ms') 2026-08-14 08:57:05,615 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-62581876-67538687 failed! 2026-08-14 08:57:05,670 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62581876:ctest-ext_vn-68672372 is 45.250.156.65 and allocation pool is NOT set 2026-08-14 08:57:07,730 - 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.58 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.556 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 = 0.556/2.066/3.576/1.510 ms') 2026-08-14 08:57:07,730 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-62581876-67538687 passed 2026-08-14 08:57:07,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:57:07,878 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62581876-67538687, IP 45.250.156.68, Port 22 2026-08-14 08:57:08,044 - DEBUG - VM ctest-TestRoutersBasic-62581876-67538687 is ready for SSH connections 2026-08-14 08:57:08,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:57:08,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.250.156.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-08-14 08:57:08,045 - DEBUG - ping -s 56 -c 3 -W 1 45.250.156.68 2026-08-14 08:57:10,993 - DEBUG - PING 45.250.156.68 (45.250.156.68): 56 data bytes 64 bytes from 45.250.156.68: seq=0 ttl=62 time=6.461 ms 64 bytes from 45.250.156.68: seq=1 ttl=62 time=0.959 ms 64 bytes from 45.250.156.68: seq=2 ttl=62 time=1.176 ms --- 45.250.156.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/2.865/6.461 ms 2026-08-14 08:57:10,994 - INFO - Ping to IP 45.250.156.68 from VM ctest-TestRoutersBasic-62581876-84590727 passed 2026-08-14 08:57:10,994 - INFO - Deleting interface with subnet_id 3ac2e879-67f8-406b-bc12-5abd89762a76, port_id None from router f89a0435-26c6-4a28-b738-8d0933573e85 2026-08-14 08:57:11,208 - INFO - Deleting VM ctest-TestRoutersBasic-62581876-67538687 2026-08-14 08:57:11,285 - INFO - Deleting VM ctest-TestRoutersBasic-62581876-84590727 2026-08-14 08:57:11,356 - INFO - Deleting VN ctest-ext_vn-68672372 2026-08-14 08:57:11,420 - DEBUG - VN 02c2025f-354e-446b-a6f0-4870ed960ad5 still in use: Unable to complete operation on network 02c2025f-354e-446b-a6f0-4870ed960ad5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46f08d80-a301-4d4e-833f-d7e5c9f2e237'] 2026-08-14 08:57:11,421 - WARNING - Deleting VN ctest-ext_vn-68672372 failed..Will retry 2026-08-14 08:57:13,578 - DEBUG - Response for deleting network () 2026-08-14 08:57:13,578 - INFO - Deleting VN ctest-vn-35399162 2026-08-14 08:57:13,684 - DEBUG - Response for deleting network () 2026-08-14 08:57:13,940 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 08:57:13,940 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58]
2026-08-14 08:57:13,940 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:57:14,671 - INFO - Deleted project: ctest-TestRoutersBasic-62581876, ID : f94b3cc1-dd4b-4ed0-8b38-444ba76207ea