2025-10-09 02:19:06,300 - INFO - Domain Default found not creating 2025-10-09 02:19:06,448 - INFO - Project ctest-TestRoutersBasic-99654081 not found, creating it 2025-10-09 02:19:06,953 - INFO - Created Project:ctest-TestRoutersBasic-99654081, ID : 9f956e21-2bd9-4e2d-b359-ba37af55a62f 2025-10-09 02:19:08,833 - INFO - ================================================================================ 2025-10-09 02:19:08,833 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 02:19:08,833 - 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-09 02:19:10,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-10-09 02:19:10,101 - INFO - Initial checks done. Running the testcase now 2025-10-09 02:19:10,101 - INFO - 2025-10-09 02:19:10,799 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99654081 2025-10-09 02:19:10,860 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99654081 2025-10-09 02:19:11,198 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99654081', 'default']} 2025-10-09 02:19:11,614 - DEBUG - Response for create_network : {'network': {'id': '582e8b4c-9d87-46eb-887f-710eec3bb2ab', 'name': 'ctest-vn-52612944', 'tenant_id': '9f956e212bd94e2db359ba37af55a62f', 'project_id': '9f956e212bd94e2db359ba37af55a62f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99654081', 'ctest-vn-52612944'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:19:11,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '05a33ada-8654-4e40-8f4a-68ccc73e0cc4', 'name': '', 'tenant_id': '9f956e212bd94e2db359ba37af55a62f', 'network_id': '582e8b4c-9d87-46eb-887f-710eec3bb2ab', 'ip_version': 4, 'cidr': '70.120.133.192/26', 'allocation_pools': [{'start': '70.120.133.194', 'end': '70.120.133.254'}], 'gateway_ip': '70.120.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.120.133.194', 'tags': [], 'project_id': '9f956e212bd94e2db359ba37af55a62f'}} 2025-10-09 02:19:11,879 - INFO - Created VN ctest-vn-52612944 2025-10-09 02:19:11,892 - DEBUG - VN ctest-vn-52612944 UUID is 582e8b4c-9d87-46eb-887f-710eec3bb2ab 2025-10-09 02:19:12,279 - DEBUG - Response for create_network : {'network': {'id': 'c34a01f9-4413-47d0-af38-944ca89bd600', 'name': 'ctest-ext_vn-80438492', 'tenant_id': '9f956e212bd94e2db359ba37af55a62f', 'project_id': '9f956e212bd94e2db359ba37af55a62f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99654081', 'ctest-ext_vn-80438492'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:19:12,516 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c9ea997-70f0-4419-a032-0d333836f477', 'name': '', 'tenant_id': '9f956e212bd94e2db359ba37af55a62f', 'network_id': 'c34a01f9-4413-47d0-af38-944ca89bd600', 'ip_version': 4, 'cidr': '77.180.195.192/26', 'allocation_pools': [{'start': '77.180.195.194', 'end': '77.180.195.254'}], 'gateway_ip': '77.180.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.180.195.194', 'tags': [], 'project_id': '9f956e212bd94e2db359ba37af55a62f'}} 2025-10-09 02:19:12,539 - INFO - Created VN ctest-ext_vn-80438492 2025-10-09 02:19:12,548 - DEBUG - VN ctest-ext_vn-80438492 UUID is c34a01f9-4413-47d0-af38-944ca89bd600 2025-10-09 02:19:12,677 - DEBUG - Services list from nova: [, , , ] 2025-10-09 02:19:13,702 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-2) 2025-10-09 02:19:15,028 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-1) 2025-10-09 02:19:15,156 - INFO - Setting gateway for router 46ea1e37-3391-4b64-bda1-fdc6d3a7b675 to network c34a01f9-4413-47d0-af38-944ca89bd600 2025-10-09 02:19:15,261 - INFO - Adding interface with subnet_id 05a33ada-8654-4e40-8f4a-68ccc73e0cc4, port_id None to router 46ea1e37-3391-4b64-bda1-fdc6d3a7b675 2025-10-09 02:19:15,814 - INFO - Waiting for VM ctest-TestRoutersBasic-99654081-46651442 to be up.. 2025-10-09 02:19:16,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 02:19:21,081 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:19:21,082 - INFO - VM name : ctest-TestRoutersBasic-99654081-46651442 2025-10-09 02:19:21,158 - DEBUG - VM ctest-TestRoutersBasic-99654081-46651442 ID is 63885f46-20e1-4f75-a6d9-b8eb8de5ba86 2025-10-09 02:19:21,182 - DEBUG - VM ctest-TestRoutersBasic-99654081-46651442 launched on Node an-jenkins-deploy-platform-ansible-os-4252-2 2025-10-09 02:19:21,259 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/63885f46-20e1-4f75-a6d9-b8eb8de5ba86 2025-10-09 02:19:21,575 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/63885f46-20e1-4f75-a6d9-b8eb8de5ba86 2025-10-09 02:19:21,608 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a0a72da5-e67a-43c1-9d9a-179806f18d81 2025-10-09 02:19:24,783 - 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 1026ms') 2025-10-09 02:19:24,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99654081-46651442 failed! 2025-10-09 02:19:24,799 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99654081:ctest-vn-52612944 is 70.120.133.193 and allocation pool is NOT set 2025-10-09 02:19:26,861 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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.489/1.988/3.488/1.499 ms') 2025-10-09 02:19:26,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99654081-46651442 passed 2025-10-09 02:19:26,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:19:26,936 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99654081-46651442, IP 70.120.133.195, Port 22 2025-10-09 02:19:27,098 - DEBUG - VM ctest-TestRoutersBasic-99654081-46651442 is ready for SSH connections 2025-10-09 02:19:27,098 - INFO - Waiting for VM ctest-TestRoutersBasic-99654081-03597385 to be up.. 2025-10-09 02:19:27,186 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:19:27,186 - INFO - VM name : ctest-TestRoutersBasic-99654081-03597385 2025-10-09 02:19:27,264 - DEBUG - VM ctest-TestRoutersBasic-99654081-03597385 ID is 1aaeceb2-a06f-4309-9498-649d3bd760da 2025-10-09 02:19:27,264 - DEBUG - VM ctest-TestRoutersBasic-99654081-03597385 launched on Node an-jenkins-deploy-platform-ansible-os-4252-1 2025-10-09 02:19:27,343 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1aaeceb2-a06f-4309-9498-649d3bd760da 2025-10-09 02:19:27,354 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4cd520d5-29e9-4d11-b2de-b5062ca2b79e 2025-10-09 02:19:28,516 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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 = 1.531/3.163/4.796/1.632 ms') 2025-10-09 02:19:28,517 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99654081-03597385 passed 2025-10-09 02:19:28,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:19:28,607 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99654081-03597385, IP 77.180.195.195, Port 22 2025-10-09 02:19:28,780 - DEBUG - VM ctest-TestRoutersBasic-99654081-03597385 is ready for SSH connections 2025-10-09 02:19:28,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:19:28,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.180.195.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 02:19:28,780 - DEBUG - ping -s 56 -c 3 -W 1 77.180.195.195 2025-10-09 02:19:32,444 - DEBUG - PING 77.180.195.195 (77.180.195.195): 56 data bytes 64 bytes from 77.180.195.195: seq=0 ttl=62 time=6.798 ms 64 bytes from 77.180.195.195: seq=1 ttl=62 time=1.353 ms 64 bytes from 77.180.195.195: seq=2 ttl=62 time=1.659 ms --- 77.180.195.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.353/3.270/6.798 ms 2025-10-09 02:19:32,445 - INFO - Ping to IP 77.180.195.195 from VM ctest-TestRoutersBasic-99654081-46651442 passed 2025-10-09 02:19:32,445 - INFO - Deleting interface with subnet_id 05a33ada-8654-4e40-8f4a-68ccc73e0cc4, port_id None from router 46ea1e37-3391-4b64-bda1-fdc6d3a7b675 2025-10-09 02:19:32,848 - INFO - Deleting VM ctest-TestRoutersBasic-99654081-03597385 2025-10-09 02:19:32,952 - INFO - Deleting VM ctest-TestRoutersBasic-99654081-46651442 2025-10-09 02:19:33,077 - INFO - Deleting VN ctest-ext_vn-80438492 2025-10-09 02:19:33,192 - DEBUG - VN c34a01f9-4413-47d0-af38-944ca89bd600 still in use: Unable to complete operation on network c34a01f9-4413-47d0-af38-944ca89bd600. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf4815c4-5423-40ac-8101-ea1fb14ae443'] 2025-10-09 02:19:33,192 - WARNING - Deleting VN ctest-ext_vn-80438492 failed..Will retry 2025-10-09 02:19:35,397 - DEBUG - Response for deleting network () 2025-10-09 02:19:35,397 - INFO - Deleting VN ctest-vn-52612944 2025-10-09 02:19:35,601 - DEBUG - Response for deleting network () 2025-10-09 02:19:36,887 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 02:19:36,887 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-09 02:19:36,887 - INFO - -------------------------------------------------------------------------------- 2025-10-09 02:19:37,713 - INFO - Deleted project: ctest-TestRoutersBasic-99654081, ID : 9f956e21-2bd9-4e2d-b359-ba37af55a62f