2025-08-11 11:01:27,548 - INFO - Domain Default found not creating 2025-08-11 11:01:27,695 - INFO - Project ctest-TestRoutersBasic-53557710 not found, creating it 2025-08-11 11:01:28,215 - INFO - Created Project:ctest-TestRoutersBasic-53557710, ID : 46cfd044-0ec9-43b3-a395-a75ffbf0a83d 2025-08-11 11:01:29,703 - INFO - ================================================================================ 2025-08-11 11:01:29,703 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 11:01:29,703 - 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-11 11:01:30,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2025-08-11 11:01:30,951 - INFO - Initial checks done. Running the testcase now 2025-08-11 11:01:30,951 - INFO - 2025-08-11 11:01:31,641 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53557710 2025-08-11 11:01:31,695 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53557710 2025-08-11 11:01:32,001 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53557710', 'default']} 2025-08-11 11:01:32,351 - DEBUG - Response for create_network : {'network': {'id': '8ecf84b4-54e6-4be4-bca8-56360793b11a', 'name': 'ctest-vn-10240981', 'tenant_id': '46cfd0440ec943b3a395a75ffbf0a83d', 'project_id': '46cfd0440ec943b3a395a75ffbf0a83d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53557710', 'ctest-vn-10240981'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:01:32,593 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c3ecfc5-0e83-49ca-a311-28fdbefe538d', 'name': '', 'tenant_id': '46cfd0440ec943b3a395a75ffbf0a83d', 'network_id': '8ecf84b4-54e6-4be4-bca8-56360793b11a', 'ip_version': 4, 'cidr': '180.232.235.192/26', 'allocation_pools': [{'start': '180.232.235.194', 'end': '180.232.235.254'}], 'gateway_ip': '180.232.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.232.235.194', 'tags': [], 'project_id': '46cfd0440ec943b3a395a75ffbf0a83d'}} 2025-08-11 11:01:32,612 - INFO - Created VN ctest-vn-10240981 2025-08-11 11:01:32,622 - DEBUG - VN ctest-vn-10240981 UUID is 8ecf84b4-54e6-4be4-bca8-56360793b11a 2025-08-11 11:01:33,035 - DEBUG - Response for create_network : {'network': {'id': '78895f47-107c-46ca-a20e-bbc4565c5c97', 'name': 'ctest-ext_vn-07429435', 'tenant_id': '46cfd0440ec943b3a395a75ffbf0a83d', 'project_id': '46cfd0440ec943b3a395a75ffbf0a83d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53557710', 'ctest-ext_vn-07429435'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:01:33,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e6dd494-61d7-4cbb-8397-7ec0f9da3225', 'name': '', 'tenant_id': '46cfd0440ec943b3a395a75ffbf0a83d', 'network_id': '78895f47-107c-46ca-a20e-bbc4565c5c97', 'ip_version': 4, 'cidr': '146.62.44.128/26', 'allocation_pools': [{'start': '146.62.44.130', 'end': '146.62.44.190'}], 'gateway_ip': '146.62.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.62.44.130', 'tags': [], 'project_id': '46cfd0440ec943b3a395a75ffbf0a83d'}} 2025-08-11 11:01:33,252 - INFO - Created VN ctest-ext_vn-07429435 2025-08-11 11:01:33,263 - DEBUG - VN ctest-ext_vn-07429435 UUID is 78895f47-107c-46ca-a20e-bbc4565c5c97 2025-08-11 11:01:33,415 - DEBUG - Services list from nova: [, , , ] 2025-08-11 11:01:34,354 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3803-2) 2025-08-11 11:01:35,500 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3803-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3803-1) 2025-08-11 11:01:35,577 - INFO - Setting gateway for router 41d568ad-da96-4f46-ade3-8ca0d3035f02 to network 78895f47-107c-46ca-a20e-bbc4565c5c97 2025-08-11 11:01:35,655 - INFO - Adding interface with subnet_id 1c3ecfc5-0e83-49ca-a311-28fdbefe538d, port_id None to router 41d568ad-da96-4f46-ade3-8ca0d3035f02 2025-08-11 11:01:36,001 - INFO - Waiting for VM ctest-TestRoutersBasic-53557710-18546452 to be up.. 2025-08-11 11:01:36,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 11:01:41,267 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:01:41,267 - INFO - VM name : ctest-TestRoutersBasic-53557710-18546452 2025-08-11 11:01:41,341 - DEBUG - VM ctest-TestRoutersBasic-53557710-18546452 ID is acc7f7e6-8690-4843-95c2-689531e8788c 2025-08-11 11:01:41,367 - DEBUG - VM ctest-TestRoutersBasic-53557710-18546452 launched on Node an-jenkins-deploy-platform-ansible-os-3803-2 2025-08-11 11:01:41,437 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/acc7f7e6-8690-4843-95c2-689531e8788c 2025-08-11 11:01:41,729 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/acc7f7e6-8690-4843-95c2-689531e8788c 2025-08-11 11:01:41,760 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ec8ff96e-5c6e-495d-a6d3-4013ee71a845 2025-08-11 11:01:44,960 - 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 1008ms') 2025-08-11 11:01:44,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53557710-18546452 failed! 2025-08-11 11:01:44,976 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53557710:ctest-vn-10240981 is 180.232.235.193 and allocation pool is NOT set 2025-08-11 11:01:47,040 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.348 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.348/2.102/3.856/1.754 ms') 2025-08-11 11:01:47,040 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53557710-18546452 passed 2025-08-11 11:01:47,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:01:47,156 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53557710-18546452, IP 180.232.235.195, Port 22 2025-08-11 11:01:47,316 - DEBUG - VM ctest-TestRoutersBasic-53557710-18546452 is ready for SSH connections 2025-08-11 11:01:47,316 - INFO - Waiting for VM ctest-TestRoutersBasic-53557710-86025965 to be up.. 2025-08-11 11:01:47,385 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:01:47,386 - INFO - VM name : ctest-TestRoutersBasic-53557710-86025965 2025-08-11 11:01:47,463 - DEBUG - VM ctest-TestRoutersBasic-53557710-86025965 ID is cbb4ee0a-8bef-4d26-ba0e-8993a134cb95 2025-08-11 11:01:47,463 - DEBUG - VM ctest-TestRoutersBasic-53557710-86025965 launched on Node an-jenkins-deploy-platform-ansible-os-3803-1 2025-08-11 11:01:47,537 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cbb4ee0a-8bef-4d26-ba0e-8993a134cb95 2025-08-11 11:01:47,546 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1406002e-ed56-4784-aa80-d380ff729c07 2025-08-11 11:01:48,745 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.395/1.730/3.066/1.335 ms') 2025-08-11 11:01:48,745 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53557710-86025965 passed 2025-08-11 11:01:48,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:01:48,859 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53557710-86025965, IP 146.62.44.131, Port 22 2025-08-11 11:01:49,010 - DEBUG - VM ctest-TestRoutersBasic-53557710-86025965 is ready for SSH connections 2025-08-11 11:01:49,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:01:49,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.62.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 11:01:49,010 - DEBUG - ping -s 56 -c 3 -W 1 146.62.44.131 2025-08-11 11:01:52,632 - DEBUG - PING 146.62.44.131 (146.62.44.131): 56 data bytes 64 bytes from 146.62.44.131: seq=0 ttl=62 time=6.255 ms 64 bytes from 146.62.44.131: seq=1 ttl=62 time=1.006 ms 64 bytes from 146.62.44.131: seq=2 ttl=62 time=0.907 ms --- 146.62.44.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/2.722/6.255 ms 2025-08-11 11:01:52,632 - INFO - Ping to IP 146.62.44.131 from VM ctest-TestRoutersBasic-53557710-18546452 passed 2025-08-11 11:01:52,632 - INFO - Deleting interface with subnet_id 1c3ecfc5-0e83-49ca-a311-28fdbefe538d, port_id None from router 41d568ad-da96-4f46-ade3-8ca0d3035f02 2025-08-11 11:01:52,981 - INFO - Deleting VM ctest-TestRoutersBasic-53557710-86025965 2025-08-11 11:01:53,183 - INFO - Deleting VM ctest-TestRoutersBasic-53557710-18546452 2025-08-11 11:01:53,352 - INFO - Deleting VN ctest-ext_vn-07429435 2025-08-11 11:01:53,537 - DEBUG - VN 78895f47-107c-46ca-a20e-bbc4565c5c97 still in use: Unable to complete operation on network 78895f47-107c-46ca-a20e-bbc4565c5c97. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35d3ca9d-b7dc-4373-935e-24bd90b5be76'] 2025-08-11 11:01:53,537 - WARNING - Deleting VN ctest-ext_vn-07429435 failed..Will retry 2025-08-11 11:01:55,656 - DEBUG - Response for deleting network () 2025-08-11 11:01:55,656 - INFO - Deleting VN ctest-vn-10240981 2025-08-11 11:01:55,777 - DEBUG - Response for deleting network () 2025-08-11 11:01:57,031 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 11:01:57,031 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-08-11 11:01:57,031 - INFO - -------------------------------------------------------------------------------- 2025-08-11 11:01:57,719 - INFO - Deleted project: ctest-TestRoutersBasic-53557710, ID : 46cfd044-0ec9-43b3-a395-a75ffbf0a83d