2026-06-03 16:29:12,027 - INFO - Domain Default found not creating 2026-06-03 16:29:12,214 - INFO - Project ctest-TestRoutersBasic-01652689 not found, creating it 2026-06-03 16:29:12,692 - INFO - Created Project:ctest-TestRoutersBasic-01652689, ID : ffef4bb0-e1cb-4ec1-adc0-149da87bac49 2026-06-03 16:29:14,259 - INFO - ================================================================================ 2026-06-03 16:29:14,259 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-03 16:29:14,259 - 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-03 16:29:14,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-03 16:29:14,513 - INFO - Initial checks done. Running the testcase now 2026-06-03 16:29:14,513 - INFO - 2026-06-03 16:29:15,266 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01652689 2026-06-03 16:29:15,363 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01652689 2026-06-03 16:29:15,683 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01652689', 'default']} 2026-06-03 16:29:16,001 - DEBUG - Response for create_network : {'network': {'id': 'f83dc9f5-2a6f-4d6c-b849-3ba398e342e0', 'name': 'ctest-vn-53207059', 'tenant_id': 'ffef4bb0e1cb4ec1adc0149da87bac49', 'project_id': 'ffef4bb0e1cb4ec1adc0149da87bac49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01652689', 'ctest-vn-53207059'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:29:16,177 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a050c7cc-a403-421a-a5ba-0b8f0b66888c', 'name': '', 'tenant_id': 'ffef4bb0e1cb4ec1adc0149da87bac49', 'network_id': 'f83dc9f5-2a6f-4d6c-b849-3ba398e342e0', 'ip_version': 4, 'cidr': '61.164.69.0/26', 'allocation_pools': [{'start': '61.164.69.2', 'end': '61.164.69.62'}], 'gateway_ip': '61.164.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.164.69.2', 'tags': [], 'project_id': 'ffef4bb0e1cb4ec1adc0149da87bac49'}} 2026-06-03 16:29:16,199 - INFO - Created VN ctest-vn-53207059 2026-06-03 16:29:16,255 - DEBUG - VN ctest-vn-53207059 UUID is f83dc9f5-2a6f-4d6c-b849-3ba398e342e0 2026-06-03 16:29:16,583 - DEBUG - Response for create_network : {'network': {'id': '3b8a3c23-3bc0-4ad7-af72-d8cac4f33fb7', 'name': 'ctest-ext_vn-86418553', 'tenant_id': 'ffef4bb0e1cb4ec1adc0149da87bac49', 'project_id': 'ffef4bb0e1cb4ec1adc0149da87bac49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01652689', 'ctest-ext_vn-86418553'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:29:16,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '8691bae9-fc3c-4bfe-bda0-c44747268f66', 'name': '', 'tenant_id': 'ffef4bb0e1cb4ec1adc0149da87bac49', 'network_id': '3b8a3c23-3bc0-4ad7-af72-d8cac4f33fb7', 'ip_version': 4, 'cidr': '123.64.225.0/26', 'allocation_pools': [{'start': '123.64.225.2', 'end': '123.64.225.62'}], 'gateway_ip': '123.64.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.64.225.2', 'tags': [], 'project_id': 'ffef4bb0e1cb4ec1adc0149da87bac49'}} 2026-06-03 16:29:16,763 - INFO - Created VN ctest-ext_vn-86418553 2026-06-03 16:29:16,815 - DEBUG - VN ctest-ext_vn-86418553 UUID is 3b8a3c23-3bc0-4ad7-af72-d8cac4f33fb7 2026-06-03 16:29:17,005 - DEBUG - Services list from nova: [, , ] 2026-06-03 16:29:18,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5881-1) 2026-06-03 16:29:19,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5881-1) 2026-06-03 16:29:19,305 - INFO - Setting gateway for router 67552c41-b264-44d0-b658-a5519fe478fd to network 3b8a3c23-3bc0-4ad7-af72-d8cac4f33fb7 2026-06-03 16:29:19,379 - INFO - Adding interface with subnet_id a050c7cc-a403-421a-a5ba-0b8f0b66888c, port_id None to router 67552c41-b264-44d0-b658-a5519fe478fd 2026-06-03 16:29:19,662 - INFO - Waiting for VM ctest-TestRoutersBasic-01652689-43151995 to be up.. 2026-06-03 16:29:19,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-03 16:29:24,853 - DEBUG - VM is in ACTIVE state now 2026-06-03 16:29:24,854 - INFO - VM name : ctest-TestRoutersBasic-01652689-43151995 2026-06-03 16:29:24,941 - DEBUG - VM ctest-TestRoutersBasic-01652689-43151995 ID is 1cdf4f9f-2334-44fc-af0e-e48c07c23a7a 2026-06-03 16:29:24,961 - DEBUG - VM ctest-TestRoutersBasic-01652689-43151995 launched on Node cn-jenkins-deploy-platform-ansible-os-5881-1 2026-06-03 16:29:25,042 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1cdf4f9f-2334-44fc-af0e-e48c07c23a7a 2026-06-03 16:29:25,334 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1cdf4f9f-2334-44fc-af0e-e48c07c23a7a 2026-06-03 16:29:25,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/30ca7822-f2d5-48df-911a-3894566fbed5 2026-06-03 16:29:28,633 - 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 1027ms') 2026-06-03 16:29:28,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01652689-43151995 failed! 2026-06-03 16:29:28,687 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01652689:ctest-vn-53207059 is 61.164.69.1 and allocation pool is NOT set 2026-06-03 16:29:30,751 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.97 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.969/2.936/3.903/0.967 ms') 2026-06-03 16:29:30,751 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01652689-43151995 passed 2026-06-03 16:29:30,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:29:30,899 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01652689-43151995, IP 61.164.69.3, Port 22 2026-06-03 16:29:31,054 - DEBUG - VM ctest-TestRoutersBasic-01652689-43151995 is ready for SSH connections 2026-06-03 16:29:31,055 - INFO - Waiting for VM ctest-TestRoutersBasic-01652689-38837716 to be up.. 2026-06-03 16:29:31,129 - DEBUG - VM is in ACTIVE state now 2026-06-03 16:29:31,129 - INFO - VM name : ctest-TestRoutersBasic-01652689-38837716 2026-06-03 16:29:31,216 - DEBUG - VM ctest-TestRoutersBasic-01652689-38837716 ID is a603f699-2521-40e6-a33d-eea9482a55b8 2026-06-03 16:29:31,216 - DEBUG - VM ctest-TestRoutersBasic-01652689-38837716 launched on Node cn-jenkins-deploy-platform-ansible-os-5881-1 2026-06-03 16:29:31,306 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a603f699-2521-40e6-a33d-eea9482a55b8 2026-06-03 16:29:31,315 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c2bfe6d7-c1e5-45b0-8fd0-c38940f5e5b4 2026-06-03 16:29:32,567 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.447/1.669/2.891/1.222 ms') 2026-06-03 16:29:32,567 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01652689-38837716 passed 2026-06-03 16:29:32,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:29:32,716 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01652689-38837716, IP 123.64.225.3, Port 22 2026-06-03 16:29:32,870 - DEBUG - VM ctest-TestRoutersBasic-01652689-38837716 is ready for SSH connections 2026-06-03 16:29:32,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:29:32,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.64.225.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-03 16:29:32,871 - DEBUG - ping -s 56 -c 3 -W 1 123.64.225.3 2026-06-03 16:29:36,606 - DEBUG - PING 123.64.225.3 (123.64.225.3): 56 data bytes 64 bytes from 123.64.225.3: seq=0 ttl=62 time=5.674 ms 64 bytes from 123.64.225.3: seq=1 ttl=62 time=0.902 ms 64 bytes from 123.64.225.3: seq=2 ttl=62 time=0.948 ms --- 123.64.225.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/2.508/5.674 ms 2026-06-03 16:29:36,606 - INFO - Ping to IP 123.64.225.3 from VM ctest-TestRoutersBasic-01652689-43151995 passed 2026-06-03 16:29:36,606 - INFO - Deleting interface with subnet_id a050c7cc-a403-421a-a5ba-0b8f0b66888c, port_id None from router 67552c41-b264-44d0-b658-a5519fe478fd 2026-06-03 16:29:36,800 - INFO - Deleting VM ctest-TestRoutersBasic-01652689-38837716 2026-06-03 16:29:36,887 - INFO - Deleting VM ctest-TestRoutersBasic-01652689-43151995 2026-06-03 16:29:36,971 - INFO - Deleting VN ctest-ext_vn-86418553 2026-06-03 16:29:37,039 - DEBUG - VN 3b8a3c23-3bc0-4ad7-af72-d8cac4f33fb7 still in use: Unable to complete operation on network 3b8a3c23-3bc0-4ad7-af72-d8cac4f33fb7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8505581-d176-4e7c-ae32-d8a86f3c3576'] 2026-06-03 16:29:37,039 - WARNING - Deleting VN ctest-ext_vn-86418553 failed..Will retry 2026-06-03 16:29:39,155 - DEBUG - Response for deleting network () 2026-06-03 16:29:39,155 - INFO - Deleting VN ctest-vn-53207059 2026-06-03 16:29:39,247 - DEBUG - Response for deleting network () 2026-06-03 16:29:39,500 - DEBUG - No XMPP flaps were noticed during the test
2026-06-03 16:29:39,500 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-06-03 16:29:39,500 - INFO - -------------------------------------------------------------------------------- 2026-06-03 16:29:40,170 - INFO - Deleted project: ctest-TestRoutersBasic-01652689, ID : ffef4bb0-e1cb-4ec1-adc0-149da87bac49