2025-09-10 16:29:31,337 - INFO - Domain Default found not creating 2025-09-10 16:29:31,510 - INFO - Project ctest-TestRoutersBasic-46686120 not found, creating it 2025-09-10 16:29:31,972 - INFO - Created Project:ctest-TestRoutersBasic-46686120, ID : 6fa5d2bb-1afe-4405-81ea-e68307043e56 2025-09-10 16:29:33,522 - INFO - ================================================================================ 2025-09-10 16:29:33,523 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-10 16:29:33,524 - 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-09-10 16:29:33,780 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-09-10 16:29:33,780 - INFO - Initial checks done. Running the testcase now 2025-09-10 16:29:33,780 - INFO - 2025-09-10 16:29:34,475 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46686120 2025-09-10 16:29:34,570 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46686120 2025-09-10 16:29:34,901 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46686120', 'default']} 2025-09-10 16:29:35,189 - DEBUG - Response for create_network : {'network': {'id': '8a80fa73-73e2-4590-82c9-e47b2fe39ee5', 'name': 'ctest-vn-87766519', 'tenant_id': '6fa5d2bb1afe440581eae68307043e56', 'project_id': '6fa5d2bb1afe440581eae68307043e56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46686120', 'ctest-vn-87766519'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:29:35,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad7e5167-76d4-417c-a743-c958f77c6552', 'name': '', 'tenant_id': '6fa5d2bb1afe440581eae68307043e56', 'network_id': '8a80fa73-73e2-4590-82c9-e47b2fe39ee5', 'ip_version': 4, 'cidr': '201.71.88.0/26', 'allocation_pools': [{'start': '201.71.88.2', 'end': '201.71.88.62'}], 'gateway_ip': '201.71.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.71.88.2', 'tags': [], 'project_id': '6fa5d2bb1afe440581eae68307043e56'}} 2025-09-10 16:29:35,434 - INFO - Created VN ctest-vn-87766519 2025-09-10 16:29:35,486 - DEBUG - VN ctest-vn-87766519 UUID is 8a80fa73-73e2-4590-82c9-e47b2fe39ee5 2025-09-10 16:29:35,807 - DEBUG - Response for create_network : {'network': {'id': '84f82cb6-8820-45e1-b9e0-d8eb55450151', 'name': 'ctest-ext_vn-17526312', 'tenant_id': '6fa5d2bb1afe440581eae68307043e56', 'project_id': '6fa5d2bb1afe440581eae68307043e56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46686120', 'ctest-ext_vn-17526312'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:29:36,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '482bfd61-0f48-4682-8ee3-4dc30a05dfa8', 'name': '', 'tenant_id': '6fa5d2bb1afe440581eae68307043e56', 'network_id': '84f82cb6-8820-45e1-b9e0-d8eb55450151', 'ip_version': 4, 'cidr': '201.209.137.64/26', 'allocation_pools': [{'start': '201.209.137.66', 'end': '201.209.137.126'}], 'gateway_ip': '201.209.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.209.137.66', 'tags': [], 'project_id': '6fa5d2bb1afe440581eae68307043e56'}} 2025-09-10 16:29:36,052 - INFO - Created VN ctest-ext_vn-17526312 2025-09-10 16:29:36,106 - DEBUG - VN ctest-ext_vn-17526312 UUID is 84f82cb6-8820-45e1-b9e0-d8eb55450151 2025-09-10 16:29:36,277 - DEBUG - Services list from nova: [, , ] 2025-09-10 16:29:37,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4071-1) 2025-09-10 16:29:38,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4071-1) 2025-09-10 16:29:38,482 - INFO - Setting gateway for router cf8aa8a8-d121-47a6-a90b-c69321e2e885 to network 84f82cb6-8820-45e1-b9e0-d8eb55450151 2025-09-10 16:29:38,552 - INFO - Adding interface with subnet_id ad7e5167-76d4-417c-a743-c958f77c6552, port_id None to router cf8aa8a8-d121-47a6-a90b-c69321e2e885 2025-09-10 16:29:38,901 - INFO - Waiting for VM ctest-TestRoutersBasic-46686120-21924523 to be up.. 2025-09-10 16:29:39,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-10 16:29:44,125 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:29:44,125 - INFO - VM name : ctest-TestRoutersBasic-46686120-21924523 2025-09-10 16:29:44,208 - DEBUG - VM ctest-TestRoutersBasic-46686120-21924523 ID is 22bf8561-bb9c-4322-820c-4a66d3fc6a33 2025-09-10 16:29:44,234 - DEBUG - VM ctest-TestRoutersBasic-46686120-21924523 launched on Node cn-jenkins-deploy-platform-ansible-os-4071-1 2025-09-10 16:29:44,328 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/22bf8561-bb9c-4322-820c-4a66d3fc6a33 2025-09-10 16:29:44,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/22bf8561-bb9c-4322-820c-4a66d3fc6a33 2025-09-10 16:29:44,668 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/63da1807-12cd-4713-b2fc-f2c85b421145 2025-09-10 16:29:47,907 - 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 1001ms') 2025-09-10 16:29:47,908 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46686120-21924523 failed! 2025-09-10 16:29:47,962 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46686120:ctest-vn-87766519 is 201.71.88.1 and allocation pool is NOT set 2025-09-10 16:29:50,021 - 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=4.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.922 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.922/2.526/4.130/1.604 ms') 2025-09-10 16:29:50,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46686120-21924523 passed 2025-09-10 16:29:50,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:29:50,170 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46686120-21924523, IP 201.71.88.3, Port 22 2025-09-10 16:29:50,333 - DEBUG - VM ctest-TestRoutersBasic-46686120-21924523 is ready for SSH connections 2025-09-10 16:29:50,333 - INFO - Waiting for VM ctest-TestRoutersBasic-46686120-83164919 to be up.. 2025-09-10 16:29:50,412 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:29:50,412 - INFO - VM name : ctest-TestRoutersBasic-46686120-83164919 2025-09-10 16:29:50,488 - DEBUG - VM ctest-TestRoutersBasic-46686120-83164919 ID is b52e5e47-71e1-4104-b58b-2043aba1be03 2025-09-10 16:29:50,488 - DEBUG - VM ctest-TestRoutersBasic-46686120-83164919 launched on Node cn-jenkins-deploy-platform-ansible-os-4071-1 2025-09-10 16:29:50,573 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b52e5e47-71e1-4104-b58b-2043aba1be03 2025-09-10 16:29:50,583 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/11508d2d-08eb-45f6-991b-e509a18b4a25 2025-09-10 16:29:51,826 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/1.930/3.397/1.467 ms') 2025-09-10 16:29:51,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46686120-83164919 passed 2025-09-10 16:29:51,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:29:51,982 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46686120-83164919, IP 201.209.137.67, Port 22 2025-09-10 16:29:52,159 - DEBUG - VM ctest-TestRoutersBasic-46686120-83164919 is ready for SSH connections 2025-09-10 16:29:52,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:29:52,160 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.209.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-10 16:29:52,160 - DEBUG - ping -s 56 -c 3 -W 1 201.209.137.67 2025-09-10 16:29:55,929 - DEBUG - PING 201.209.137.67 (201.209.137.67): 56 data bytes 64 bytes from 201.209.137.67: seq=0 ttl=62 time=5.167 ms 64 bytes from 201.209.137.67: seq=1 ttl=62 time=0.935 ms 64 bytes from 201.209.137.67: seq=2 ttl=62 time=0.916 ms --- 201.209.137.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/2.339/5.167 ms 2025-09-10 16:29:55,929 - INFO - Ping to IP 201.209.137.67 from VM ctest-TestRoutersBasic-46686120-21924523 passed 2025-09-10 16:29:55,929 - INFO - Deleting interface with subnet_id ad7e5167-76d4-417c-a743-c958f77c6552, port_id None from router cf8aa8a8-d121-47a6-a90b-c69321e2e885 2025-09-10 16:29:56,139 - INFO - Deleting VM ctest-TestRoutersBasic-46686120-83164919 2025-09-10 16:29:56,228 - INFO - Deleting VM ctest-TestRoutersBasic-46686120-21924523 2025-09-10 16:29:56,307 - INFO - Deleting VN ctest-ext_vn-17526312 2025-09-10 16:29:56,386 - DEBUG - VN 84f82cb6-8820-45e1-b9e0-d8eb55450151 still in use: Unable to complete operation on network 84f82cb6-8820-45e1-b9e0-d8eb55450151. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a400bae-4156-4457-aba9-c007eb5c6527'] 2025-09-10 16:29:56,386 - WARNING - Deleting VN ctest-ext_vn-17526312 failed..Will retry 2025-09-10 16:29:58,494 - DEBUG - Response for deleting network () 2025-09-10 16:29:58,494 - INFO - Deleting VN ctest-vn-87766519 2025-09-10 16:29:58,653 - DEBUG - Response for deleting network () 2025-09-10 16:29:58,910 - DEBUG - No XMPP flaps were noticed during the test 2025-09-10 16:29:58,910 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-10 16:29:58,910 - INFO - -------------------------------------------------------------------------------- 2025-09-10 16:29:59,570 - INFO - Deleted project: ctest-TestRoutersBasic-46686120, ID : 6fa5d2bb-1afe-4405-81ea-e68307043e56