2026-05-13 18:52:27,695 - INFO - Domain Default found not creating 2026-05-13 18:52:27,911 - INFO - Project ctest-TestRoutersBasic-29127596 not found, creating it 2026-05-13 18:52:28,406 - INFO - Created Project:ctest-TestRoutersBasic-29127596, ID : 78368485-bcb1-46b2-9862-6e202a89a2a3 2026-05-13 18:52:29,980 - INFO - ================================================================================ 2026-05-13 18:52:29,980 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-13 18:52:29,981 - 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-05-13 18:52:30,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-13 18:52:30,236 - INFO - Initial checks done. Running the testcase now 2026-05-13 18:52:30,236 - INFO - 2026-05-13 18:52:30,953 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29127596 2026-05-13 18:52:31,050 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29127596 2026-05-13 18:52:31,370 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29127596', 'default']} 2026-05-13 18:52:31,689 - DEBUG - Response for create_network : {'network': {'id': 'a41a1d96-f6c2-40a0-a307-deb34540ee4e', 'name': 'ctest-vn-84642798', 'tenant_id': '78368485bcb146b298626e202a89a2a3', 'project_id': '78368485bcb146b298626e202a89a2a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29127596', 'ctest-vn-84642798'], 'port_security_enabled': True, 'description': ''}} 2026-05-13 18:52:31,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '66993a32-1e67-40b9-b3bd-6192ef7575ea', 'name': '', 'tenant_id': '78368485bcb146b298626e202a89a2a3', 'network_id': 'a41a1d96-f6c2-40a0-a307-deb34540ee4e', 'ip_version': 4, 'cidr': '122.189.4.192/26', 'allocation_pools': [{'start': '122.189.4.194', 'end': '122.189.4.254'}], 'gateway_ip': '122.189.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.189.4.194', 'tags': [], 'project_id': '78368485bcb146b298626e202a89a2a3'}} 2026-05-13 18:52:31,889 - INFO - Created VN ctest-vn-84642798 2026-05-13 18:52:31,942 - DEBUG - VN ctest-vn-84642798 UUID is a41a1d96-f6c2-40a0-a307-deb34540ee4e 2026-05-13 18:52:32,275 - DEBUG - Response for create_network : {'network': {'id': '03f3b3ed-2355-47f1-866f-cec087552227', 'name': 'ctest-ext_vn-72735000', 'tenant_id': '78368485bcb146b298626e202a89a2a3', 'project_id': '78368485bcb146b298626e202a89a2a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29127596', 'ctest-ext_vn-72735000'], 'port_security_enabled': True, 'description': ''}} 2026-05-13 18:52:32,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '783f2283-4ef5-4c6e-be36-99ad0210e780', 'name': '', 'tenant_id': '78368485bcb146b298626e202a89a2a3', 'network_id': '03f3b3ed-2355-47f1-866f-cec087552227', 'ip_version': 4, 'cidr': '221.217.230.0/26', 'allocation_pools': [{'start': '221.217.230.2', 'end': '221.217.230.62'}], 'gateway_ip': '221.217.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.217.230.2', 'tags': [], 'project_id': '78368485bcb146b298626e202a89a2a3'}} 2026-05-13 18:52:32,461 - INFO - Created VN ctest-ext_vn-72735000 2026-05-13 18:52:32,514 - DEBUG - VN ctest-ext_vn-72735000 UUID is 03f3b3ed-2355-47f1-866f-cec087552227 2026-05-13 18:52:32,691 - DEBUG - Services list from nova: [, , ] 2026-05-13 18:52:33,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5775-1) 2026-05-13 18:52:34,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5775-1) 2026-05-13 18:52:35,060 - INFO - Setting gateway for router 79d77324-093c-4f58-aedd-6868d0b945e8 to network 03f3b3ed-2355-47f1-866f-cec087552227 2026-05-13 18:52:35,132 - INFO - Adding interface with subnet_id 66993a32-1e67-40b9-b3bd-6192ef7575ea, port_id None to router 79d77324-093c-4f58-aedd-6868d0b945e8 2026-05-13 18:52:35,523 - INFO - Waiting for VM ctest-TestRoutersBasic-29127596-89106720 to be up.. 2026-05-13 18:52:35,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-13 18:52:40,780 - DEBUG - VM is in ACTIVE state now 2026-05-13 18:52:40,780 - INFO - VM name : ctest-TestRoutersBasic-29127596-89106720 2026-05-13 18:52:40,857 - DEBUG - VM ctest-TestRoutersBasic-29127596-89106720 ID is b9f95a50-69c4-4e13-aa7a-709c437b4d02 2026-05-13 18:52:40,877 - DEBUG - VM ctest-TestRoutersBasic-29127596-89106720 launched on Node cn-jenkins-deploy-platform-ansible-os-5775-1 2026-05-13 18:52:40,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b9f95a50-69c4-4e13-aa7a-709c437b4d02 2026-05-13 18:52:41,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b9f95a50-69c4-4e13-aa7a-709c437b4d02 2026-05-13 18:52:41,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c658a109-fec8-4336-a878-d099d44a0f06 2026-05-13 18:52:44,524 - 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-05-13 18:52:44,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29127596-89106720 failed! 2026-05-13 18:52:44,578 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29127596:ctest-vn-84642798 is 122.189.4.193 and allocation pool is NOT set 2026-05-13 18:52:46,639 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.153/2.952/4.751/1.799 ms') 2026-05-13 18:52:46,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29127596-89106720 passed 2026-05-13 18:52:46,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 18:52:46,787 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29127596-89106720, IP 122.189.4.195, Port 22 2026-05-13 18:52:46,950 - DEBUG - VM ctest-TestRoutersBasic-29127596-89106720 is ready for SSH connections 2026-05-13 18:52:46,950 - INFO - Waiting for VM ctest-TestRoutersBasic-29127596-89197839 to be up.. 2026-05-13 18:52:47,033 - DEBUG - VM is in ACTIVE state now 2026-05-13 18:52:47,033 - INFO - VM name : ctest-TestRoutersBasic-29127596-89197839 2026-05-13 18:52:47,112 - DEBUG - VM ctest-TestRoutersBasic-29127596-89197839 ID is a6807446-b014-481d-93b9-de3115163613 2026-05-13 18:52:47,112 - DEBUG - VM ctest-TestRoutersBasic-29127596-89197839 launched on Node cn-jenkins-deploy-platform-ansible-os-5775-1 2026-05-13 18:52:47,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a6807446-b014-481d-93b9-de3115163613 2026-05-13 18:52:47,201 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/925e6bd5-b85d-4395-8c00-bae6427291f1 2026-05-13 18:52:48,442 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/1.914/3.322/1.407 ms') 2026-05-13 18:52:48,442 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29127596-89197839 passed 2026-05-13 18:52:48,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 18:52:48,590 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29127596-89197839, IP 221.217.230.3, Port 22 2026-05-13 18:52:48,746 - DEBUG - VM ctest-TestRoutersBasic-29127596-89197839 is ready for SSH connections 2026-05-13 18:52:48,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 18:52:48,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.217.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-13 18:52:48,746 - DEBUG - ping -s 56 -c 3 -W 1 221.217.230.3 2026-05-13 18:52:52,801 - DEBUG - PING 221.217.230.3 (221.217.230.3): 56 data bytes 64 bytes from 221.217.230.3: seq=0 ttl=62 time=4.829 ms 64 bytes from 221.217.230.3: seq=1 ttl=62 time=0.896 ms 64 bytes from 221.217.230.3: seq=2 ttl=62 time=1.251 ms --- 221.217.230.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.896/2.325/4.829 ms 2026-05-13 18:52:52,801 - INFO - Ping to IP 221.217.230.3 from VM ctest-TestRoutersBasic-29127596-89106720 passed 2026-05-13 18:52:52,801 - INFO - Deleting interface with subnet_id 66993a32-1e67-40b9-b3bd-6192ef7575ea, port_id None from router 79d77324-093c-4f58-aedd-6868d0b945e8 2026-05-13 18:52:52,995 - INFO - Deleting VM ctest-TestRoutersBasic-29127596-89197839 2026-05-13 18:52:53,073 - INFO - Deleting VM ctest-TestRoutersBasic-29127596-89106720 2026-05-13 18:52:53,156 - INFO - Deleting VN ctest-ext_vn-72735000 2026-05-13 18:52:53,228 - DEBUG - VN 03f3b3ed-2355-47f1-866f-cec087552227 still in use: Unable to complete operation on network 03f3b3ed-2355-47f1-866f-cec087552227. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8c5382ef-b24d-4629-8766-98a129f172f2'] 2026-05-13 18:52:53,228 - WARNING - Deleting VN ctest-ext_vn-72735000 failed..Will retry 2026-05-13 18:52:55,335 - DEBUG - Response for deleting network () 2026-05-13 18:52:55,335 - INFO - Deleting VN ctest-vn-84642798 2026-05-13 18:52:55,446 - DEBUG - Response for deleting network () 2026-05-13 18:52:55,699 - DEBUG - No XMPP flaps were noticed during the test
2026-05-13 18:52:55,699 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-05-13 18:52:55,699 - INFO - -------------------------------------------------------------------------------- 2026-05-13 18:52:56,384 - INFO - Deleted project: ctest-TestRoutersBasic-29127596, ID : 78368485-bcb1-46b2-9862-6e202a89a2a3