2026-04-17 11:51:24,333 - INFO - Domain Default found not creating 2026-04-17 11:51:24,508 - INFO - Project ctest-TestRoutersBasic-33297856 not found, creating it 2026-04-17 11:51:24,958 - INFO - Created Project:ctest-TestRoutersBasic-33297856, ID : c7b712e8-40f5-44af-ad0e-13ba030fbe9c 2026-04-17 11:51:26,471 - INFO - ================================================================================ 2026-04-17 11:51:26,471 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-17 11:51:26,471 - 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 2026-04-17 11:51:26,723 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2026-04-17 11:51:26,723 - INFO - Initial checks done. Running the testcase now 2026-04-17 11:51:26,723 - INFO - 2026-04-17 11:51:27,449 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33297856 2026-04-17 11:51:27,550 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33297856 2026-04-17 11:51:27,869 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33297856', 'default']} 2026-04-17 11:51:28,158 - DEBUG - Response for create_network : {'network': {'id': 'bf69c72d-6bf3-4fb6-b8c9-04855dd3567b', 'name': 'ctest-vn-78349051', 'tenant_id': 'c7b712e840f544afad0e13ba030fbe9c', 'project_id': 'c7b712e840f544afad0e13ba030fbe9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33297856', 'ctest-vn-78349051'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 11:51:28,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '6019e13d-7a9b-4644-8b9f-be87f39603e4', 'name': '', 'tenant_id': 'c7b712e840f544afad0e13ba030fbe9c', 'network_id': 'bf69c72d-6bf3-4fb6-b8c9-04855dd3567b', 'ip_version': 4, 'cidr': '22.227.174.0/26', 'allocation_pools': [{'start': '22.227.174.2', 'end': '22.227.174.62'}], 'gateway_ip': '22.227.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.227.174.2', 'tags': [], 'project_id': 'c7b712e840f544afad0e13ba030fbe9c'}} 2026-04-17 11:51:28,363 - INFO - Created VN ctest-vn-78349051 2026-04-17 11:51:28,414 - DEBUG - VN ctest-vn-78349051 UUID is bf69c72d-6bf3-4fb6-b8c9-04855dd3567b 2026-04-17 11:51:28,698 - DEBUG - Response for create_network : {'network': {'id': '11128b95-5dbf-4044-8296-a9845731e058', 'name': 'ctest-ext_vn-45428172', 'tenant_id': 'c7b712e840f544afad0e13ba030fbe9c', 'project_id': 'c7b712e840f544afad0e13ba030fbe9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33297856', 'ctest-ext_vn-45428172'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 11:51:28,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c17f62c1-d9e7-4bd9-a69f-4f90a294891b', 'name': '', 'tenant_id': 'c7b712e840f544afad0e13ba030fbe9c', 'network_id': '11128b95-5dbf-4044-8296-a9845731e058', 'ip_version': 4, 'cidr': '197.175.185.0/26', 'allocation_pools': [{'start': '197.175.185.2', 'end': '197.175.185.62'}], 'gateway_ip': '197.175.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.175.185.2', 'tags': [], 'project_id': 'c7b712e840f544afad0e13ba030fbe9c'}} 2026-04-17 11:51:28,848 - INFO - Created VN ctest-ext_vn-45428172 2026-04-17 11:51:28,901 - DEBUG - VN ctest-ext_vn-45428172 UUID is 11128b95-5dbf-4044-8296-a9845731e058 2026-04-17 11:51:29,104 - DEBUG - Services list from nova: [, , ] 2026-04-17 11:51:30,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5634-1) 2026-04-17 11:51:31,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5634-1) 2026-04-17 11:51:31,425 - INFO - Setting gateway for router 548683fb-f651-4415-b5a9-988059472ffe to network 11128b95-5dbf-4044-8296-a9845731e058 2026-04-17 11:51:31,483 - INFO - Adding interface with subnet_id 6019e13d-7a9b-4644-8b9f-be87f39603e4, port_id None to router 548683fb-f651-4415-b5a9-988059472ffe 2026-04-17 11:51:31,850 - INFO - Waiting for VM ctest-TestRoutersBasic-33297856-54707758 to be up.. 2026-04-17 11:51:31,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 11:51:37,071 - DEBUG - VM is in ACTIVE state now 2026-04-17 11:51:37,071 - INFO - VM name : ctest-TestRoutersBasic-33297856-54707758 2026-04-17 11:51:37,148 - DEBUG - VM ctest-TestRoutersBasic-33297856-54707758 ID is 0c5f191f-975f-4a4f-9dca-94e85fd970c2 2026-04-17 11:51:37,165 - DEBUG - VM ctest-TestRoutersBasic-33297856-54707758 launched on Node cn-jenkins-deploy-platform-ansible-os-5634-1 2026-04-17 11:51:37,243 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0c5f191f-975f-4a4f-9dca-94e85fd970c2 2026-04-17 11:51:37,548 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0c5f191f-975f-4a4f-9dca-94e85fd970c2 2026-04-17 11:51:37,583 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/72a0a2d4-b944-4e18-a452-9f339b6cb243 2026-04-17 11:51:40,846 - 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 1019ms') 2026-04-17 11:51:40,846 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33297856-54707758 failed! 2026-04-17 11:51:40,898 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33297856:ctest-vn-78349051 is 22.227.174.1 and allocation pool is NOT set 2026-04-17 11:51:42,953 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/1.689/2.985/1.296 ms') 2026-04-17 11:51:42,953 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33297856-54707758 passed 2026-04-17 11:51:43,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 11:51:43,102 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33297856-54707758, IP 22.227.174.3, Port 22 2026-04-17 11:51:43,267 - DEBUG - VM ctest-TestRoutersBasic-33297856-54707758 is ready for SSH connections 2026-04-17 11:51:43,267 - INFO - Waiting for VM ctest-TestRoutersBasic-33297856-93259447 to be up.. 2026-04-17 11:51:43,338 - DEBUG - VM is in ACTIVE state now 2026-04-17 11:51:43,338 - INFO - VM name : ctest-TestRoutersBasic-33297856-93259447 2026-04-17 11:51:43,405 - DEBUG - VM ctest-TestRoutersBasic-33297856-93259447 ID is ab5f75ce-f8bf-457c-b03e-746013381b95 2026-04-17 11:51:43,405 - DEBUG - VM ctest-TestRoutersBasic-33297856-93259447 launched on Node cn-jenkins-deploy-platform-ansible-os-5634-1 2026-04-17 11:51:43,478 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ab5f75ce-f8bf-457c-b03e-746013381b95 2026-04-17 11:51:43,485 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e83195c6-332d-4571-a1af-919bae0c3d22 2026-04-17 11:51:44,711 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.666/2.879/1.212 ms') 2026-04-17 11:51:44,711 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33297856-93259447 passed 2026-04-17 11:51:44,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 11:51:44,862 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33297856-93259447, IP 197.175.185.3, Port 22 2026-04-17 11:51:45,022 - DEBUG - VM ctest-TestRoutersBasic-33297856-93259447 is ready for SSH connections 2026-04-17 11:51:45,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 11:51:45,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.175.185.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-04-17 11:51:45,022 - DEBUG - ping -s 56 -c 3 -W 1 197.175.185.3 2026-04-17 11:51:48,713 - DEBUG - PING 197.175.185.3 (197.175.185.3): 56 data bytes 64 bytes from 197.175.185.3: seq=0 ttl=62 time=5.595 ms 64 bytes from 197.175.185.3: seq=1 ttl=62 time=0.859 ms 64 bytes from 197.175.185.3: seq=2 ttl=62 time=0.787 ms --- 197.175.185.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/2.413/5.595 ms 2026-04-17 11:51:48,713 - INFO - Ping to IP 197.175.185.3 from VM ctest-TestRoutersBasic-33297856-54707758 passed 2026-04-17 11:51:48,713 - INFO - Deleting interface with subnet_id 6019e13d-7a9b-4644-8b9f-be87f39603e4, port_id None from router 548683fb-f651-4415-b5a9-988059472ffe 2026-04-17 11:51:48,891 - INFO - Deleting VM ctest-TestRoutersBasic-33297856-93259447 2026-04-17 11:51:48,963 - INFO - Deleting VM ctest-TestRoutersBasic-33297856-54707758 2026-04-17 11:51:49,035 - INFO - Deleting VN ctest-ext_vn-45428172 2026-04-17 11:51:49,112 - DEBUG - VN 11128b95-5dbf-4044-8296-a9845731e058 still in use: Unable to complete operation on network 11128b95-5dbf-4044-8296-a9845731e058. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7abb15e-44a0-44f2-ad8f-a7ecf13c7e9f'] 2026-04-17 11:51:49,112 - WARNING - Deleting VN ctest-ext_vn-45428172 failed..Will retry 2026-04-17 11:51:51,247 - DEBUG - Response for deleting network () 2026-04-17 11:51:51,247 - INFO - Deleting VN ctest-vn-78349051 2026-04-17 11:51:51,359 - DEBUG - Response for deleting network () 2026-04-17 11:51:51,619 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 11:51:51,619 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-17 11:51:51,619 - INFO - -------------------------------------------------------------------------------- 2026-04-17 11:51:52,304 - INFO - Deleted project: ctest-TestRoutersBasic-33297856, ID : c7b712e8-40f5-44af-ad0e-13ba030fbe9c