2025-11-20 13:38:00,227 - INFO - Domain Default found not creating 2025-11-20 13:38:00,397 - INFO - Project ctest-TestRoutersBasic-65800117 not found, creating it 2025-11-20 13:38:00,852 - INFO - Created Project:ctest-TestRoutersBasic-65800117, ID : a2d65dfa-9677-4b3c-96e0-4e1d70e2046f 2025-11-20 13:38:02,343 - INFO - ================================================================================ 2025-11-20 13:38:02,344 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 13:38:02,344 - 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 2025-11-20 13:38:02,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.241': '0'}} with 2025-11-20 13:38:02,599 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:38:02,599 - INFO - 2025-11-20 13:38:03,303 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65800117 2025-11-20 13:38:03,398 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65800117 2025-11-20 13:38:03,714 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65800117', 'default']} 2025-11-20 13:38:04,000 - DEBUG - Response for create_network : {'network': {'id': 'f9b60bc8-cfd3-4558-8e67-709f4b251d16', 'name': 'ctest-vn-70512850', 'tenant_id': 'a2d65dfa96774b3c96e04e1d70e2046f', 'project_id': 'a2d65dfa96774b3c96e04e1d70e2046f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65800117', 'ctest-vn-70512850'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:38:04,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '79179167-81a8-497c-9111-ad7552e441f6', 'name': '', 'tenant_id': 'a2d65dfa96774b3c96e04e1d70e2046f', 'network_id': 'f9b60bc8-cfd3-4558-8e67-709f4b251d16', 'ip_version': 4, 'cidr': '67.39.119.128/26', 'allocation_pools': [{'start': '67.39.119.130', 'end': '67.39.119.190'}], 'gateway_ip': '67.39.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.39.119.130', 'tags': [], 'project_id': 'a2d65dfa96774b3c96e04e1d70e2046f'}} 2025-11-20 13:38:04,197 - INFO - Created VN ctest-vn-70512850 2025-11-20 13:38:04,250 - DEBUG - VN ctest-vn-70512850 UUID is f9b60bc8-cfd3-4558-8e67-709f4b251d16 2025-11-20 13:38:04,610 - DEBUG - Response for create_network : {'network': {'id': '8c256fd1-9c81-404a-9743-5fdfa55f9f01', 'name': 'ctest-ext_vn-54437435', 'tenant_id': 'a2d65dfa96774b3c96e04e1d70e2046f', 'project_id': 'a2d65dfa96774b3c96e04e1d70e2046f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65800117', 'ctest-ext_vn-54437435'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:38:04,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '64e01ae0-1f18-42dd-b770-9c13e1655258', 'name': '', 'tenant_id': 'a2d65dfa96774b3c96e04e1d70e2046f', 'network_id': '8c256fd1-9c81-404a-9743-5fdfa55f9f01', 'ip_version': 4, 'cidr': '55.240.77.192/26', 'allocation_pools': [{'start': '55.240.77.194', 'end': '55.240.77.254'}], 'gateway_ip': '55.240.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.240.77.194', 'tags': [], 'project_id': 'a2d65dfa96774b3c96e04e1d70e2046f'}} 2025-11-20 13:38:04,816 - INFO - Created VN ctest-ext_vn-54437435 2025-11-20 13:38:04,870 - DEBUG - VN ctest-ext_vn-54437435 UUID is 8c256fd1-9c81-404a-9743-5fdfa55f9f01 2025-11-20 13:38:05,080 - DEBUG - Services list from nova: [, , ] 2025-11-20 13:38:06,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4775-1) 2025-11-20 13:38:07,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4775-1) 2025-11-20 13:38:07,301 - INFO - Setting gateway for router 2415deae-46b2-4025-9d5d-e37fe8f2d9c6 to network 8c256fd1-9c81-404a-9743-5fdfa55f9f01 2025-11-20 13:38:07,363 - INFO - Adding interface with subnet_id 79179167-81a8-497c-9111-ad7552e441f6, port_id None to router 2415deae-46b2-4025-9d5d-e37fe8f2d9c6 2025-11-20 13:38:07,713 - INFO - Waiting for VM ctest-TestRoutersBasic-65800117-92958079 to be up.. 2025-11-20 13:38:07,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 13:38:12,925 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:38:12,925 - INFO - VM name : ctest-TestRoutersBasic-65800117-92958079 2025-11-20 13:38:12,995 - DEBUG - VM ctest-TestRoutersBasic-65800117-92958079 ID is 4de80f9b-a30b-4f19-aa7a-9d2d3c4a9af4 2025-11-20 13:38:13,021 - DEBUG - VM ctest-TestRoutersBasic-65800117-92958079 launched on Node cn-jenkins-deploy-platform-ansible-os-4775-1 2025-11-20 13:38:13,099 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/4de80f9b-a30b-4f19-aa7a-9d2d3c4a9af4 2025-11-20 13:38:13,393 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/4de80f9b-a30b-4f19-aa7a-9d2d3c4a9af4 2025-11-20 13:38:13,434 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/c7fa0898-c416-4d29-a9d2-c0bebfdb66d2 2025-11-20 13:38:16,701 - 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 1031ms') 2025-11-20 13:38:16,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65800117-92958079 failed! 2025-11-20 13:38:16,758 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65800117:ctest-vn-70512850 is 67.39.119.129 and allocation pool is NOT set 2025-11-20 13:38:18,819 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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.439/1.887/3.335/1.448 ms') 2025-11-20 13:38:18,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65800117-92958079 passed 2025-11-20 13:38:18,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:38:18,966 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65800117-92958079, IP 67.39.119.131, Port 22 2025-11-20 13:38:19,121 - DEBUG - VM ctest-TestRoutersBasic-65800117-92958079 is ready for SSH connections 2025-11-20 13:38:19,121 - INFO - Waiting for VM ctest-TestRoutersBasic-65800117-64920704 to be up.. 2025-11-20 13:38:19,196 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:38:19,196 - INFO - VM name : ctest-TestRoutersBasic-65800117-64920704 2025-11-20 13:38:19,269 - DEBUG - VM ctest-TestRoutersBasic-65800117-64920704 ID is 435ff8ae-c20a-4b03-a3ac-e20c64ed31a0 2025-11-20 13:38:19,269 - DEBUG - VM ctest-TestRoutersBasic-65800117-64920704 launched on Node cn-jenkins-deploy-platform-ansible-os-4775-1 2025-11-20 13:38:19,353 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/435ff8ae-c20a-4b03-a3ac-e20c64ed31a0 2025-11-20 13:38:19,362 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/2b025a0d-b8ec-45f5-836a-c04009ac5963 2025-11-20 13:38:20,595 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.791/3.055/1.263 ms') 2025-11-20 13:38:20,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65800117-64920704 passed 2025-11-20 13:38:20,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:38:20,746 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65800117-64920704, IP 55.240.77.195, Port 22 2025-11-20 13:38:20,901 - DEBUG - VM ctest-TestRoutersBasic-65800117-64920704 is ready for SSH connections 2025-11-20 13:38:20,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:38:20,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.240.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-11-20 13:38:20,902 - DEBUG - ping -s 56 -c 3 -W 1 55.240.77.195 2025-11-20 13:38:24,591 - DEBUG - PING 55.240.77.195 (55.240.77.195): 56 data bytes 64 bytes from 55.240.77.195: seq=0 ttl=62 time=5.345 ms 64 bytes from 55.240.77.195: seq=1 ttl=62 time=0.947 ms 64 bytes from 55.240.77.195: seq=2 ttl=62 time=1.003 ms --- 55.240.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.947/2.431/5.345 ms 2025-11-20 13:38:24,591 - INFO - Ping to IP 55.240.77.195 from VM ctest-TestRoutersBasic-65800117-92958079 passed 2025-11-20 13:38:24,591 - INFO - Deleting interface with subnet_id 79179167-81a8-497c-9111-ad7552e441f6, port_id None from router 2415deae-46b2-4025-9d5d-e37fe8f2d9c6 2025-11-20 13:38:24,798 - INFO - Deleting VM ctest-TestRoutersBasic-65800117-64920704 2025-11-20 13:38:24,882 - INFO - Deleting VM ctest-TestRoutersBasic-65800117-92958079 2025-11-20 13:38:24,986 - INFO - Deleting VN ctest-ext_vn-54437435 2025-11-20 13:38:25,062 - DEBUG - VN 8c256fd1-9c81-404a-9743-5fdfa55f9f01 still in use: Unable to complete operation on network 8c256fd1-9c81-404a-9743-5fdfa55f9f01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf8b1b25-57eb-47d2-af12-8335e9f638b7'] 2025-11-20 13:38:25,062 - WARNING - Deleting VN ctest-ext_vn-54437435 failed..Will retry 2025-11-20 13:38:27,165 - DEBUG - Response for deleting network () 2025-11-20 13:38:27,165 - INFO - Deleting VN ctest-vn-70512850 2025-11-20 13:38:27,285 - DEBUG - Response for deleting network () 2025-11-20 13:38:27,543 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 13:38:27,543 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-20 13:38:27,543 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:38:28,208 - INFO - Deleted project: ctest-TestRoutersBasic-65800117, ID : a2d65dfa-9677-4b3c-96e0-4e1d70e2046f