2026-08-17 15:54:52,165 - INFO - Domain Default found not creating 2026-08-17 15:54:52,317 - INFO - Project ctest-TestRoutersBasic-11854737 not found, creating it 2026-08-17 15:54:52,797 - INFO - Created Project:ctest-TestRoutersBasic-11854737, ID : 200af854-da93-4caf-b261-6b6df2f82260 2026-08-17 15:54:54,522 - INFO - ================================================================================ 2026-08-17 15:54:54,522 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-17 15:54:54,522 - 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-17 15:54:54,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-08-17 15:54:54,778 - INFO - Initial checks done. Running the testcase now 2026-08-17 15:54:54,778 - INFO - 2026-08-17 15:54:55,563 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11854737 2026-08-17 15:54:55,668 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11854737 2026-08-17 15:54:55,992 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11854737', 'default']} 2026-08-17 15:54:56,331 - DEBUG - Response for create_network : {'network': {'id': '5e3510a3-41cd-4693-b173-18d84e3fe811', 'name': 'ctest-vn-98421092', 'tenant_id': '200af854da934cafb2616b6df2f82260', 'project_id': '200af854da934cafb2616b6df2f82260', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11854737', 'ctest-vn-98421092'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:54:56,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e76743f2-ed58-469a-b41d-0ef92ce9f6f9', 'name': '', 'tenant_id': '200af854da934cafb2616b6df2f82260', 'network_id': '5e3510a3-41cd-4693-b173-18d84e3fe811', 'ip_version': 4, 'cidr': '32.250.34.192/26', 'allocation_pools': [{'start': '32.250.34.194', 'end': '32.250.34.254'}], 'gateway_ip': '32.250.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.250.34.194', 'tags': [], 'project_id': '200af854da934cafb2616b6df2f82260'}} 2026-08-17 15:54:56,612 - INFO - Created VN ctest-vn-98421092 2026-08-17 15:54:56,668 - DEBUG - VN ctest-vn-98421092 UUID is 5e3510a3-41cd-4693-b173-18d84e3fe811 2026-08-17 15:54:56,993 - DEBUG - Response for create_network : {'network': {'id': 'd2280574-bb28-4425-87ec-252bae12f00f', 'name': 'ctest-ext_vn-37250704', 'tenant_id': '200af854da934cafb2616b6df2f82260', 'project_id': '200af854da934cafb2616b6df2f82260', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11854737', 'ctest-ext_vn-37250704'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:54:57,173 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a30b8738-2978-4913-8e0b-8c770b2a8195', 'name': '', 'tenant_id': '200af854da934cafb2616b6df2f82260', 'network_id': 'd2280574-bb28-4425-87ec-252bae12f00f', 'ip_version': 4, 'cidr': '170.16.77.192/26', 'allocation_pools': [{'start': '170.16.77.194', 'end': '170.16.77.254'}], 'gateway_ip': '170.16.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.16.77.194', 'tags': [], 'project_id': '200af854da934cafb2616b6df2f82260'}} 2026-08-17 15:54:57,191 - INFO - Created VN ctest-ext_vn-37250704 2026-08-17 15:54:57,244 - DEBUG - VN ctest-ext_vn-37250704 UUID is d2280574-bb28-4425-87ec-252bae12f00f 2026-08-17 15:54:57,416 - DEBUG - Services list from nova: [, , ] 2026-08-17 15:54:57,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6177-1) 2026-08-17 15:54:58,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6177-1) 2026-08-17 15:54:58,222 - INFO - Setting gateway for router 7e3747c9-0023-433a-8acf-9c4757863077 to network d2280574-bb28-4425-87ec-252bae12f00f 2026-08-17 15:54:58,286 - INFO - Adding interface with subnet_id e76743f2-ed58-469a-b41d-0ef92ce9f6f9, port_id None to router 7e3747c9-0023-433a-8acf-9c4757863077 2026-08-17 15:54:58,564 - INFO - Waiting for VM ctest-TestRoutersBasic-11854737-56157153 to be up.. 2026-08-17 15:54:58,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:03,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:08,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:13,866 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:18,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:24,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:29,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:34,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:55:39,334 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:55:39,334 - INFO - VM name : ctest-TestRoutersBasic-11854737-56157153 2026-08-17 15:55:39,415 - DEBUG - VM ctest-TestRoutersBasic-11854737-56157153 ID is 908ab468-6d25-459c-a3dc-6f2f772611c9 2026-08-17 15:55:39,436 - DEBUG - VM ctest-TestRoutersBasic-11854737-56157153 launched on Node cn-jenkins-deploy-platform-ansible-os-6177-1 2026-08-17 15:55:39,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/908ab468-6d25-459c-a3dc-6f2f772611c9 2026-08-17 15:55:39,879 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/908ab468-6d25-459c-a3dc-6f2f772611c9 2026-08-17 15:55:39,914 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4b486ec5-27dd-4401-9733-73d916396d76 2026-08-17 15:55:41,155 - 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=5.85 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.28 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.279/3.564/5.849/2.285 ms') 2026-08-17 15:55:41,155 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-11854737-56157153 passed 2026-08-17 15:55:41,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:55:41,304 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11854737-56157153, IP 32.250.34.195, Port 22 2026-08-17 15:55:41,471 - DEBUG - VM ctest-TestRoutersBasic-11854737-56157153 is ready for SSH connections 2026-08-17 15:55:41,471 - INFO - Waiting for VM ctest-TestRoutersBasic-11854737-93363695 to be up.. 2026-08-17 15:55:41,549 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:55:41,549 - INFO - VM name : ctest-TestRoutersBasic-11854737-93363695 2026-08-17 15:55:41,627 - DEBUG - VM ctest-TestRoutersBasic-11854737-93363695 ID is 33c01474-dc56-4210-93b0-8cb7f260af41 2026-08-17 15:55:41,627 - DEBUG - VM ctest-TestRoutersBasic-11854737-93363695 launched on Node cn-jenkins-deploy-platform-ansible-os-6177-1 2026-08-17 15:55:41,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/33c01474-dc56-4210-93b0-8cb7f260af41 2026-08-17 15:55:41,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/296d6e11-59f7-4989-802b-3bd1fa0ea588 2026-08-17 15:55:44,976 - 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 1013ms') 2026-08-17 15:55:44,977 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-11854737-93363695 failed! 2026-08-17 15:55:45,032 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11854737:ctest-ext_vn-37250704 is 170.16.77.193 and allocation pool is NOT set 2026-08-17 15:55:47,091 - 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.88 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.607 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.607/2.242/3.877/1.635 ms') 2026-08-17 15:55:47,092 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-11854737-93363695 passed 2026-08-17 15:55:47,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:55:47,241 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11854737-93363695, IP 170.16.77.196, Port 22 2026-08-17 15:55:47,406 - DEBUG - VM ctest-TestRoutersBasic-11854737-93363695 is ready for SSH connections 2026-08-17 15:55:47,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:55:47,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.16.77.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-17 15:55:47,406 - DEBUG - ping -s 56 -c 3 -W 1 170.16.77.196 2026-08-17 15:55:50,324 - DEBUG - PING 170.16.77.196 (170.16.77.196): 56 data bytes 64 bytes from 170.16.77.196: seq=0 ttl=62 time=8.027 ms 64 bytes from 170.16.77.196: seq=1 ttl=62 time=1.289 ms 64 bytes from 170.16.77.196: seq=2 ttl=62 time=1.109 ms --- 170.16.77.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.109/3.475/8.027 ms 2026-08-17 15:55:50,324 - INFO - Ping to IP 170.16.77.196 from VM ctest-TestRoutersBasic-11854737-56157153 passed 2026-08-17 15:55:50,324 - INFO - Deleting interface with subnet_id e76743f2-ed58-469a-b41d-0ef92ce9f6f9, port_id None from router 7e3747c9-0023-433a-8acf-9c4757863077 2026-08-17 15:55:50,540 - INFO - Deleting VM ctest-TestRoutersBasic-11854737-93363695 2026-08-17 15:55:50,618 - INFO - Deleting VM ctest-TestRoutersBasic-11854737-56157153 2026-08-17 15:55:50,691 - INFO - Deleting VN ctest-ext_vn-37250704 2026-08-17 15:55:50,752 - DEBUG - VN d2280574-bb28-4425-87ec-252bae12f00f still in use: Unable to complete operation on network d2280574-bb28-4425-87ec-252bae12f00f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-943969b8-241c-407c-bbb6-50e32af5b326'] 2026-08-17 15:55:50,752 - WARNING - Deleting VN ctest-ext_vn-37250704 failed..Will retry 2026-08-17 15:55:52,910 - DEBUG - Response for deleting network () 2026-08-17 15:55:52,910 - INFO - Deleting VN ctest-vn-98421092 2026-08-17 15:55:53,020 - DEBUG - Response for deleting network () 2026-08-17 15:55:53,276 - DEBUG - No XMPP flaps were noticed during the test 2026-08-17 15:55:53,276 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59] 2026-08-17 15:55:53,276 - INFO - -------------------------------------------------------------------------------- 2026-08-17 15:55:54,036 - INFO - Deleted project: ctest-TestRoutersBasic-11854737, ID : 200af854-da93-4caf-b261-6b6df2f82260