2025-08-22 16:32:54,268 - INFO - Domain Default found not creating 2025-08-22 16:32:54,403 - INFO - Project ctest-TestRoutersBasic-68815374 not found, creating it 2025-08-22 16:32:54,861 - INFO - Created Project:ctest-TestRoutersBasic-68815374, ID : 28fb6451-d41d-4dd3-828d-e980623ddb1c 2025-08-22 16:32:56,269 - INFO - ================================================================================ 2025-08-22 16:32:56,269 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-22 16:32:56,269 - 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-08-22 16:32:56,527 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 16:32:56,527 - INFO - Initial checks done. Running the testcase now 2025-08-22 16:32:56,527 - INFO - 2025-08-22 16:32:57,253 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68815374 2025-08-22 16:32:57,361 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68815374 2025-08-22 16:32:57,781 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68815374', 'default']} 2025-08-22 16:32:58,094 - DEBUG - Response for create_network : {'network': {'id': '7793786b-6674-4632-8e23-0a064a11186d', 'name': 'ctest-vn-69006849', 'tenant_id': '28fb6451d41d4dd3828de980623ddb1c', 'project_id': '28fb6451d41d4dd3828de980623ddb1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68815374', 'ctest-vn-69006849'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:32:58,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '36fb642e-79ea-4ca6-a322-d3f60ef30886', 'name': '', 'tenant_id': '28fb6451d41d4dd3828de980623ddb1c', 'network_id': '7793786b-6674-4632-8e23-0a064a11186d', 'ip_version': 4, 'cidr': '15.200.107.192/26', 'allocation_pools': [{'start': '15.200.107.194', 'end': '15.200.107.254'}], 'gateway_ip': '15.200.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.200.107.194', 'tags': [], 'project_id': '28fb6451d41d4dd3828de980623ddb1c'}} 2025-08-22 16:32:58,307 - INFO - Created VN ctest-vn-69006849 2025-08-22 16:32:58,357 - DEBUG - VN ctest-vn-69006849 UUID is 7793786b-6674-4632-8e23-0a064a11186d 2025-08-22 16:32:58,719 - DEBUG - Response for create_network : {'network': {'id': 'b882d77a-03f3-43d5-bed7-335d7d4e324b', 'name': 'ctest-ext_vn-09067021', 'tenant_id': '28fb6451d41d4dd3828de980623ddb1c', 'project_id': '28fb6451d41d4dd3828de980623ddb1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68815374', 'ctest-ext_vn-09067021'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:32:58,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c0157c8-9f65-473e-a7ba-2e0edef13f81', 'name': '', 'tenant_id': '28fb6451d41d4dd3828de980623ddb1c', 'network_id': 'b882d77a-03f3-43d5-bed7-335d7d4e324b', 'ip_version': 4, 'cidr': '51.33.167.192/26', 'allocation_pools': [{'start': '51.33.167.194', 'end': '51.33.167.254'}], 'gateway_ip': '51.33.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.33.167.194', 'tags': [], 'project_id': '28fb6451d41d4dd3828de980623ddb1c'}} 2025-08-22 16:32:58,927 - INFO - Created VN ctest-ext_vn-09067021 2025-08-22 16:32:58,977 - DEBUG - VN ctest-ext_vn-09067021 UUID is b882d77a-03f3-43d5-bed7-335d7d4e324b 2025-08-22 16:32:59,175 - DEBUG - Services list from nova: [, , ] 2025-08-22 16:33:00,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:33:01,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:33:01,413 - INFO - Setting gateway for router 656bcdb5-5ead-4ccf-b9dc-c12c8df3a324 to network b882d77a-03f3-43d5-bed7-335d7d4e324b 2025-08-22 16:33:01,528 - INFO - Adding interface with subnet_id 36fb642e-79ea-4ca6-a322-d3f60ef30886, port_id None to router 656bcdb5-5ead-4ccf-b9dc-c12c8df3a324 2025-08-22 16:33:01,857 - INFO - Waiting for VM ctest-TestRoutersBasic-68815374-01935418 to be up.. 2025-08-22 16:33:02,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 16:33:07,103 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:33:07,104 - INFO - VM name : ctest-TestRoutersBasic-68815374-01935418 2025-08-22 16:33:07,183 - DEBUG - VM ctest-TestRoutersBasic-68815374-01935418 ID is 0be592ad-1d66-4600-ab9e-f83ea40eaab8 2025-08-22 16:33:07,204 - DEBUG - VM ctest-TestRoutersBasic-68815374-01935418 launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:33:07,289 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0be592ad-1d66-4600-ab9e-f83ea40eaab8 2025-08-22 16:33:07,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0be592ad-1d66-4600-ab9e-f83ea40eaab8 2025-08-22 16:33:07,621 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e32b2572-2a92-4bc5-82b4-ae4de2b73785 2025-08-22 16:33:10,893 - 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 1014ms') 2025-08-22 16:33:10,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68815374-01935418 failed! 2025-08-22 16:33:10,949 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68815374:ctest-vn-69006849 is 15.200.107.193 and allocation pool is NOT set 2025-08-22 16:33:13,013 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.408/2.089/3.770/1.681 ms') 2025-08-22 16:33:13,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68815374-01935418 passed 2025-08-22 16:33:13,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:33:13,165 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68815374-01935418, IP 15.200.107.195, Port 22 2025-08-22 16:33:13,331 - DEBUG - VM ctest-TestRoutersBasic-68815374-01935418 is ready for SSH connections 2025-08-22 16:33:13,331 - INFO - Waiting for VM ctest-TestRoutersBasic-68815374-35332020 to be up.. 2025-08-22 16:33:13,400 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:33:13,400 - INFO - VM name : ctest-TestRoutersBasic-68815374-35332020 2025-08-22 16:33:13,471 - DEBUG - VM ctest-TestRoutersBasic-68815374-35332020 ID is 185d6021-f414-44ca-bc22-15ae30cce357 2025-08-22 16:33:13,471 - DEBUG - VM ctest-TestRoutersBasic-68815374-35332020 launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:33:13,541 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/185d6021-f414-44ca-bc22-15ae30cce357 2025-08-22 16:33:13,549 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/02f1c3ad-6ba8-4511-a208-4237dc312529 2025-08-22 16:33:14,793 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/1.782/3.124/1.342 ms') 2025-08-22 16:33:14,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68815374-35332020 passed 2025-08-22 16:33:14,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:33:14,946 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68815374-35332020, IP 51.33.167.195, Port 22 2025-08-22 16:33:15,115 - DEBUG - VM ctest-TestRoutersBasic-68815374-35332020 is ready for SSH connections 2025-08-22 16:33:15,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:33:15,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.33.167.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 16:33:15,116 - DEBUG - ping -s 56 -c 3 -W 1 51.33.167.195 2025-08-22 16:33:18,750 - DEBUG - PING 51.33.167.195 (51.33.167.195): 56 data bytes 64 bytes from 51.33.167.195: seq=0 ttl=62 time=6.042 ms 64 bytes from 51.33.167.195: seq=1 ttl=62 time=0.813 ms 64 bytes from 51.33.167.195: seq=2 ttl=62 time=1.540 ms --- 51.33.167.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/2.798/6.042 ms 2025-08-22 16:33:18,750 - INFO - Ping to IP 51.33.167.195 from VM ctest-TestRoutersBasic-68815374-01935418 passed 2025-08-22 16:33:18,750 - INFO - Deleting interface with subnet_id 36fb642e-79ea-4ca6-a322-d3f60ef30886, port_id None from router 656bcdb5-5ead-4ccf-b9dc-c12c8df3a324 2025-08-22 16:33:18,944 - INFO - Deleting VM ctest-TestRoutersBasic-68815374-35332020 2025-08-22 16:33:19,007 - INFO - Deleting VM ctest-TestRoutersBasic-68815374-01935418 2025-08-22 16:33:19,111 - INFO - Deleting VN ctest-ext_vn-09067021 2025-08-22 16:33:19,184 - DEBUG - VN b882d77a-03f3-43d5-bed7-335d7d4e324b still in use: Unable to complete operation on network b882d77a-03f3-43d5-bed7-335d7d4e324b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38974dbf-3f20-4743-9a51-92b7c6f637d5'] 2025-08-22 16:33:19,184 - WARNING - Deleting VN ctest-ext_vn-09067021 failed..Will retry 2025-08-22 16:33:21,298 - DEBUG - Response for deleting network () 2025-08-22 16:33:21,298 - INFO - Deleting VN ctest-vn-69006849 2025-08-22 16:33:21,417 - DEBUG - Response for deleting network () 2025-08-22 16:33:21,678 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 16:33:21,678 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-22 16:33:21,678 - INFO - -------------------------------------------------------------------------------- 2025-08-22 16:33:22,368 - INFO - Deleted project: ctest-TestRoutersBasic-68815374, ID : 28fb6451-d41d-4dd3-828d-e980623ddb1c