2025-09-18 02:10:02,747 - INFO - Domain Default found not creating 2025-09-18 02:10:02,927 - INFO - Project ctest-TestRoutersBasic-96623771 not found, creating it 2025-09-18 02:10:03,489 - INFO - Created Project:ctest-TestRoutersBasic-96623771, ID : b4e3de97-f7d4-4317-b23d-4e5486c7cd20 2025-09-18 02:10:05,139 - INFO - ================================================================================ 2025-09-18 02:10:05,139 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-18 02:10:05,140 - 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-18 02:10:06,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-09-18 02:10:06,411 - INFO - Initial checks done. Running the testcase now 2025-09-18 02:10:06,411 - INFO - 2025-09-18 02:10:07,269 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96623771 2025-09-18 02:10:07,328 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96623771 2025-09-18 02:10:07,629 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96623771', 'default']} 2025-09-18 02:10:08,115 - DEBUG - Response for create_network : {'network': {'id': 'f649d131-1951-459b-a450-b42038dde296', 'name': 'ctest-vn-28598978', 'tenant_id': 'b4e3de97f7d44317b23d4e5486c7cd20', 'project_id': 'b4e3de97f7d44317b23d4e5486c7cd20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96623771', 'ctest-vn-28598978'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 02:10:08,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '693c234a-4e3d-4ff3-a8f8-28cc0c00af59', 'name': '', 'tenant_id': 'b4e3de97f7d44317b23d4e5486c7cd20', 'network_id': 'f649d131-1951-459b-a450-b42038dde296', 'ip_version': 4, 'cidr': '84.102.246.0/26', 'allocation_pools': [{'start': '84.102.246.2', 'end': '84.102.246.62'}], 'gateway_ip': '84.102.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.102.246.2', 'tags': [], 'project_id': 'b4e3de97f7d44317b23d4e5486c7cd20'}} 2025-09-18 02:10:08,662 - INFO - Created VN ctest-vn-28598978 2025-09-18 02:10:08,673 - DEBUG - VN ctest-vn-28598978 UUID is f649d131-1951-459b-a450-b42038dde296 2025-09-18 02:10:09,068 - DEBUG - Response for create_network : {'network': {'id': '5d259074-d89d-4a93-b214-a9a1f94716f2', 'name': 'ctest-ext_vn-05380315', 'tenant_id': 'b4e3de97f7d44317b23d4e5486c7cd20', 'project_id': 'b4e3de97f7d44317b23d4e5486c7cd20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96623771', 'ctest-ext_vn-05380315'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 02:10:09,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '82903de4-7f32-43ed-98b1-6d735e1910de', 'name': '', 'tenant_id': 'b4e3de97f7d44317b23d4e5486c7cd20', 'network_id': '5d259074-d89d-4a93-b214-a9a1f94716f2', 'ip_version': 4, 'cidr': '89.196.210.128/26', 'allocation_pools': [{'start': '89.196.210.130', 'end': '89.196.210.190'}], 'gateway_ip': '89.196.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.196.210.130', 'tags': [], 'project_id': 'b4e3de97f7d44317b23d4e5486c7cd20'}} 2025-09-18 02:10:09,391 - INFO - Created VN ctest-ext_vn-05380315 2025-09-18 02:10:09,405 - DEBUG - VN ctest-ext_vn-05380315 UUID is 5d259074-d89d-4a93-b214-a9a1f94716f2 2025-09-18 02:10:09,544 - DEBUG - Services list from nova: [, , , ] 2025-09-18 02:10:10,762 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4130-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4130-1) 2025-09-18 02:10:12,317 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4130-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4130-2) 2025-09-18 02:10:12,430 - INFO - Setting gateway for router 4b9b6177-c542-432c-b76b-cf9f4ca2eee2 to network 5d259074-d89d-4a93-b214-a9a1f94716f2 2025-09-18 02:10:12,547 - INFO - Adding interface with subnet_id 693c234a-4e3d-4ff3-a8f8-28cc0c00af59, port_id None to router 4b9b6177-c542-432c-b76b-cf9f4ca2eee2 2025-09-18 02:10:13,000 - INFO - Waiting for VM ctest-TestRoutersBasic-96623771-39049032 to be up.. 2025-09-18 02:10:13,146 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 02:10:18,251 - DEBUG - VM is in ACTIVE state now 2025-09-18 02:10:18,251 - INFO - VM name : ctest-TestRoutersBasic-96623771-39049032 2025-09-18 02:10:18,361 - DEBUG - VM ctest-TestRoutersBasic-96623771-39049032 ID is 97c1b8ea-2178-4471-9cbb-feedd02143c3 2025-09-18 02:10:18,402 - DEBUG - VM ctest-TestRoutersBasic-96623771-39049032 launched on Node an-jenkins-deploy-platform-ansible-os-4130-1 2025-09-18 02:10:18,494 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/97c1b8ea-2178-4471-9cbb-feedd02143c3 2025-09-18 02:10:18,870 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/97c1b8ea-2178-4471-9cbb-feedd02143c3 2025-09-18 02:10:18,909 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/067bfa3a-8347-477a-a51e-905cff111393 2025-09-18 02:10:22,087 - 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 1006ms') 2025-09-18 02:10:22,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96623771-39049032 failed! 2025-09-18 02:10:22,100 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96623771:ctest-vn-28598978 is 84.102.246.1 and allocation pool is NOT set 2025-09-18 02:10:24,167 - 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=5.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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.255/3.406/5.558/2.151 ms') 2025-09-18 02:10:24,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96623771-39049032 passed 2025-09-18 02:10:24,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:10:24,239 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96623771-39049032, IP 84.102.246.3, Port 22 2025-09-18 02:10:24,407 - DEBUG - VM ctest-TestRoutersBasic-96623771-39049032 is ready for SSH connections 2025-09-18 02:10:24,408 - INFO - Waiting for VM ctest-TestRoutersBasic-96623771-59893393 to be up.. 2025-09-18 02:10:24,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 02:10:29,730 - DEBUG - VM is in ACTIVE state now 2025-09-18 02:10:29,730 - INFO - VM name : ctest-TestRoutersBasic-96623771-59893393 2025-09-18 02:10:29,819 - DEBUG - VM ctest-TestRoutersBasic-96623771-59893393 ID is 495791eb-f848-42cb-9278-5c05d4c73c5d 2025-09-18 02:10:29,820 - DEBUG - VM ctest-TestRoutersBasic-96623771-59893393 launched on Node an-jenkins-deploy-platform-ansible-os-4130-2 2025-09-18 02:10:29,918 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/495791eb-f848-42cb-9278-5c05d4c73c5d 2025-09-18 02:10:29,936 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/20b8769d-b837-44bd-8a03-55fe82655da6 2025-09-18 02:10:33,137 - 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 1018ms') 2025-09-18 02:10:33,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96623771-59893393 failed! 2025-09-18 02:10:33,151 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96623771:ctest-ext_vn-05380315 is 89.196.210.129 and allocation pool is NOT set 2025-09-18 02:10:37,229 - 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=2 ttl=63 time=2.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 2.392/2.392/2.392/0.000 ms') 2025-09-18 02:10:37,230 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96623771-59893393 passed 2025-09-18 02:10:37,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:10:37,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96623771-59893393, IP 89.196.210.131, Port 22 2025-09-18 02:10:37,479 - DEBUG - VM ctest-TestRoutersBasic-96623771-59893393 is ready for SSH connections 2025-09-18 02:10:37,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:10:37,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.196.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-09-18 02:10:37,479 - DEBUG - ping -s 56 -c 3 -W 1 89.196.210.131 2025-09-18 02:10:41,160 - DEBUG - PING 89.196.210.131 (89.196.210.131): 56 data bytes 64 bytes from 89.196.210.131: seq=0 ttl=62 time=7.189 ms 64 bytes from 89.196.210.131: seq=1 ttl=62 time=1.384 ms 64 bytes from 89.196.210.131: seq=2 ttl=62 time=1.067 ms --- 89.196.210.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.067/3.213/7.189 ms 2025-09-18 02:10:41,160 - INFO - Ping to IP 89.196.210.131 from VM ctest-TestRoutersBasic-96623771-39049032 passed 2025-09-18 02:10:41,160 - INFO - Deleting interface with subnet_id 693c234a-4e3d-4ff3-a8f8-28cc0c00af59, port_id None from router 4b9b6177-c542-432c-b76b-cf9f4ca2eee2 2025-09-18 02:10:41,564 - INFO - Deleting VM ctest-TestRoutersBasic-96623771-59893393 2025-09-18 02:10:41,736 - INFO - Deleting VM ctest-TestRoutersBasic-96623771-39049032 2025-09-18 02:10:41,927 - INFO - Deleting VN ctest-ext_vn-05380315 2025-09-18 02:10:42,043 - DEBUG - VN 5d259074-d89d-4a93-b214-a9a1f94716f2 still in use: Unable to complete operation on network 5d259074-d89d-4a93-b214-a9a1f94716f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-149cb1d6-a593-4150-9247-f97cb8cb5e74'] 2025-09-18 02:10:42,043 - WARNING - Deleting VN ctest-ext_vn-05380315 failed..Will retry 2025-09-18 02:10:44,211 - DEBUG - Response for deleting network () 2025-09-18 02:10:44,212 - INFO - Deleting VN ctest-vn-28598978 2025-09-18 02:10:44,407 - DEBUG - Response for deleting network () 2025-09-18 02:10:45,693 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 02:10:45,693 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:40] 2025-09-18 02:10:45,693 - INFO - -------------------------------------------------------------------------------- 2025-09-18 02:10:46,455 - INFO - Deleted project: ctest-TestRoutersBasic-96623771, ID : b4e3de97-f7d4-4317-b23d-4e5486c7cd20