2025-10-14 18:15:15,357 - INFO - Domain Default found not creating 2025-10-14 18:15:15,537 - INFO - Project ctest-TestRoutersBasic-91159494 not found, creating it 2025-10-14 18:15:16,005 - INFO - Created Project:ctest-TestRoutersBasic-91159494, ID : 86a3d2f8-99d2-4945-8bc6-2a20fde4a85c 2025-10-14 18:15:17,444 - INFO - ================================================================================ 2025-10-14 18:15:17,444 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-14 18:15:17,444 - 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-10-14 18:15:17,698 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.18': '0'}} with 2025-10-14 18:15:17,698 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:15:17,698 - INFO - 2025-10-14 18:15:18,406 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91159494 2025-10-14 18:15:18,505 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91159494 2025-10-14 18:15:18,833 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91159494', 'default']} 2025-10-14 18:15:19,145 - DEBUG - Response for create_network : {'network': {'id': '9fde5092-5a87-4f24-a459-d77ee5cd9158', 'name': 'ctest-vn-35106790', 'tenant_id': '86a3d2f899d249458bc62a20fde4a85c', 'project_id': '86a3d2f899d249458bc62a20fde4a85c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91159494', 'ctest-vn-35106790'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:19,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '5668c904-e561-4aab-bb4e-6a2cfbc72f95', 'name': '', 'tenant_id': '86a3d2f899d249458bc62a20fde4a85c', 'network_id': '9fde5092-5a87-4f24-a459-d77ee5cd9158', 'ip_version': 4, 'cidr': '2.11.43.192/26', 'allocation_pools': [{'start': '2.11.43.194', 'end': '2.11.43.254'}], 'gateway_ip': '2.11.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.11.43.194', 'tags': [], 'project_id': '86a3d2f899d249458bc62a20fde4a85c'}} 2025-10-14 18:15:19,351 - INFO - Created VN ctest-vn-35106790 2025-10-14 18:15:19,401 - DEBUG - VN ctest-vn-35106790 UUID is 9fde5092-5a87-4f24-a459-d77ee5cd9158 2025-10-14 18:15:19,745 - DEBUG - Response for create_network : {'network': {'id': 'e430e8b2-add1-49f4-af19-63550773faec', 'name': 'ctest-ext_vn-00225577', 'tenant_id': '86a3d2f899d249458bc62a20fde4a85c', 'project_id': '86a3d2f899d249458bc62a20fde4a85c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91159494', 'ctest-ext_vn-00225577'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:19,922 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e425c1b5-b359-4679-adbd-5ac201bd2aa4', 'name': '', 'tenant_id': '86a3d2f899d249458bc62a20fde4a85c', 'network_id': 'e430e8b2-add1-49f4-af19-63550773faec', 'ip_version': 4, 'cidr': '104.10.35.128/26', 'allocation_pools': [{'start': '104.10.35.130', 'end': '104.10.35.190'}], 'gateway_ip': '104.10.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.10.35.130', 'tags': [], 'project_id': '86a3d2f899d249458bc62a20fde4a85c'}} 2025-10-14 18:15:19,940 - INFO - Created VN ctest-ext_vn-00225577 2025-10-14 18:15:19,993 - DEBUG - VN ctest-ext_vn-00225577 UUID is e430e8b2-add1-49f4-af19-63550773faec 2025-10-14 18:15:20,169 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:15:21,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4318-1) 2025-10-14 18:15:22,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4318-1) 2025-10-14 18:15:22,434 - INFO - Setting gateway for router 95443b40-a094-4b22-bbc4-77839f7c1caf to network e430e8b2-add1-49f4-af19-63550773faec 2025-10-14 18:15:22,494 - INFO - Adding interface with subnet_id 5668c904-e561-4aab-bb4e-6a2cfbc72f95, port_id None to router 95443b40-a094-4b22-bbc4-77839f7c1caf 2025-10-14 18:15:22,795 - INFO - Waiting for VM ctest-TestRoutersBasic-91159494-71889610 to be up.. 2025-10-14 18:15:22,909 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:15:27,993 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:15:27,994 - INFO - VM name : ctest-TestRoutersBasic-91159494-71889610 2025-10-14 18:15:28,088 - DEBUG - VM ctest-TestRoutersBasic-91159494-71889610 ID is 5cd31fb9-23f1-48d7-8cec-ffb7021a2aec 2025-10-14 18:15:28,109 - DEBUG - VM ctest-TestRoutersBasic-91159494-71889610 launched on Node cn-jenkins-deploy-platform-ansible-os-4318-1 2025-10-14 18:15:28,184 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5cd31fb9-23f1-48d7-8cec-ffb7021a2aec 2025-10-14 18:15:28,507 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5cd31fb9-23f1-48d7-8cec-ffb7021a2aec 2025-10-14 18:15:28,543 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e1acd8ad-63ba-492b-bb60-231dd2d02ba9 2025-10-14 18:15:31,785 - 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') 2025-10-14 18:15:31,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91159494-71889610 failed! 2025-10-14 18:15:31,841 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91159494:ctest-vn-35106790 is 2.11.43.193 and allocation pool is NOT set 2025-10-14 18:15:33,908 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.742 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.742/2.131/3.520/1.389 ms') 2025-10-14 18:15:33,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91159494-71889610 passed 2025-10-14 18:15:34,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:15:34,061 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91159494-71889610, IP 2.11.43.195, Port 22 2025-10-14 18:15:34,228 - DEBUG - VM ctest-TestRoutersBasic-91159494-71889610 is ready for SSH connections 2025-10-14 18:15:34,228 - INFO - Waiting for VM ctest-TestRoutersBasic-91159494-19894398 to be up.. 2025-10-14 18:15:34,303 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:15:34,303 - INFO - VM name : ctest-TestRoutersBasic-91159494-19894398 2025-10-14 18:15:34,374 - DEBUG - VM ctest-TestRoutersBasic-91159494-19894398 ID is f5c060bf-0587-44ad-8f14-7302a0854280 2025-10-14 18:15:34,374 - DEBUG - VM ctest-TestRoutersBasic-91159494-19894398 launched on Node cn-jenkins-deploy-platform-ansible-os-4318-1 2025-10-14 18:15:34,452 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f5c060bf-0587-44ad-8f14-7302a0854280 2025-10-14 18:15:34,460 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9c703ae4-68e1-486d-a5b3-37d337008354 2025-10-14 18:15:35,700 - 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=5.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.539 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.539/2.767/4.996/2.228 ms') 2025-10-14 18:15:35,700 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91159494-19894398 passed 2025-10-14 18:15:35,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:15:35,857 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91159494-19894398, IP 104.10.35.131, Port 22 2025-10-14 18:15:36,013 - DEBUG - VM ctest-TestRoutersBasic-91159494-19894398 is ready for SSH connections 2025-10-14 18:15:36,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:15:36,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.10.35.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-14 18:15:36,013 - DEBUG - ping -s 56 -c 3 -W 1 104.10.35.131 2025-10-14 18:15:40,058 - DEBUG - PING 104.10.35.131 (104.10.35.131): 56 data bytes 64 bytes from 104.10.35.131: seq=0 ttl=62 time=6.097 ms 64 bytes from 104.10.35.131: seq=1 ttl=62 time=0.969 ms 64 bytes from 104.10.35.131: seq=2 ttl=62 time=0.910 ms --- 104.10.35.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.658/6.097 ms 2025-10-14 18:15:40,058 - INFO - Ping to IP 104.10.35.131 from VM ctest-TestRoutersBasic-91159494-71889610 passed 2025-10-14 18:15:40,058 - INFO - Deleting interface with subnet_id 5668c904-e561-4aab-bb4e-6a2cfbc72f95, port_id None from router 95443b40-a094-4b22-bbc4-77839f7c1caf 2025-10-14 18:15:40,243 - INFO - Deleting VM ctest-TestRoutersBasic-91159494-19894398 2025-10-14 18:15:40,329 - INFO - Deleting VM ctest-TestRoutersBasic-91159494-71889610 2025-10-14 18:15:40,414 - INFO - Deleting VN ctest-ext_vn-00225577 2025-10-14 18:15:40,499 - DEBUG - VN e430e8b2-add1-49f4-af19-63550773faec still in use: Unable to complete operation on network e430e8b2-add1-49f4-af19-63550773faec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23f765d2-64da-489b-955b-c9cf78c1512e'] 2025-10-14 18:15:40,499 - WARNING - Deleting VN ctest-ext_vn-00225577 failed..Will retry 2025-10-14 18:15:42,617 - DEBUG - Response for deleting network () 2025-10-14 18:15:42,617 - INFO - Deleting VN ctest-vn-35106790 2025-10-14 18:15:42,726 - DEBUG - Response for deleting network () 2025-10-14 18:15:42,978 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:15:42,979 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-14 18:15:42,979 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:15:43,662 - INFO - Deleted project: ctest-TestRoutersBasic-91159494, ID : 86a3d2f8-99d2-4945-8bc6-2a20fde4a85c