2025-06-20 08:17:57,222 - INFO - Domain Default found not creating 2025-06-20 08:17:57,381 - INFO - Project ctest-TestRoutersBasic-56846553 not found, creating it 2025-06-20 08:17:57,877 - INFO - Created Project:ctest-TestRoutersBasic-56846553, ID : 585b9260-ff2e-4992-9007-27869df4a756 2025-06-20 08:17:59,437 - INFO - ================================================================================ 2025-06-20 08:17:59,437 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-20 08:17:59,437 - 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-06-20 08:17:59,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-20 08:17:59,694 - INFO - Initial checks done. Running the testcase now 2025-06-20 08:17:59,694 - INFO - 2025-06-20 08:18:00,484 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56846553 2025-06-20 08:18:00,583 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56846553 2025-06-20 08:18:00,907 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56846553', 'default']} 2025-06-20 08:18:01,224 - DEBUG - Response for create_network : {'network': {'id': 'fb8c2353-393e-4aae-8376-971c8a323863', 'name': 'ctest-vn-92702558', 'tenant_id': '585b9260ff2e4992900727869df4a756', 'project_id': '585b9260ff2e4992900727869df4a756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56846553', 'ctest-vn-92702558'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:18:01,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '249b86df-7cb8-4dc6-afe0-0bcba6dd1a77', 'name': '', 'tenant_id': '585b9260ff2e4992900727869df4a756', 'network_id': 'fb8c2353-393e-4aae-8376-971c8a323863', 'ip_version': 4, 'cidr': '32.65.76.0/26', 'allocation_pools': [{'start': '32.65.76.2', 'end': '32.65.76.62'}], 'gateway_ip': '32.65.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.65.76.2', 'tags': [], 'project_id': '585b9260ff2e4992900727869df4a756'}} 2025-06-20 08:18:01,459 - INFO - Created VN ctest-vn-92702558 2025-06-20 08:18:01,515 - DEBUG - VN ctest-vn-92702558 UUID is fb8c2353-393e-4aae-8376-971c8a323863 2025-06-20 08:18:01,867 - DEBUG - Response for create_network : {'network': {'id': 'a9b4c878-7826-47fa-90e3-0c3da102b243', 'name': 'ctest-ext_vn-89363687', 'tenant_id': '585b9260ff2e4992900727869df4a756', 'project_id': '585b9260ff2e4992900727869df4a756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56846553', 'ctest-ext_vn-89363687'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:18:02,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '600f127a-addb-41b5-a460-7c29da71e6ae', 'name': '', 'tenant_id': '585b9260ff2e4992900727869df4a756', 'network_id': 'a9b4c878-7826-47fa-90e3-0c3da102b243', 'ip_version': 4, 'cidr': '194.114.57.128/26', 'allocation_pools': [{'start': '194.114.57.130', 'end': '194.114.57.190'}], 'gateway_ip': '194.114.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.114.57.130', 'tags': [], 'project_id': '585b9260ff2e4992900727869df4a756'}} 2025-06-20 08:18:02,113 - INFO - Created VN ctest-ext_vn-89363687 2025-06-20 08:18:02,167 - DEBUG - VN ctest-ext_vn-89363687 UUID is a9b4c878-7826-47fa-90e3-0c3da102b243 2025-06-20 08:18:02,357 - DEBUG - Services list from nova: [, , ] 2025-06-20 08:18:03,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3502-1) 2025-06-20 08:18:04,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3502-1) 2025-06-20 08:18:04,876 - INFO - Setting gateway for router ff461b58-5a47-409e-9cef-9283a14aeb1f to network a9b4c878-7826-47fa-90e3-0c3da102b243 2025-06-20 08:18:04,946 - INFO - Adding interface with subnet_id 249b86df-7cb8-4dc6-afe0-0bcba6dd1a77, port_id None to router ff461b58-5a47-409e-9cef-9283a14aeb1f 2025-06-20 08:18:05,455 - INFO - Waiting for VM ctest-TestRoutersBasic-56846553-74777847 to be up.. 2025-06-20 08:18:05,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 08:18:10,750 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:18:10,750 - INFO - VM name : ctest-TestRoutersBasic-56846553-74777847 2025-06-20 08:18:10,875 - DEBUG - VM ctest-TestRoutersBasic-56846553-74777847 ID is 646f5450-8e7a-4299-9d2b-543bd4d646d2 2025-06-20 08:18:10,904 - DEBUG - VM ctest-TestRoutersBasic-56846553-74777847 launched on Node cn-jenkins-deploy-platform-ansible-os-3502-1 2025-06-20 08:18:11,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/646f5450-8e7a-4299-9d2b-543bd4d646d2 2025-06-20 08:18:11,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/646f5450-8e7a-4299-9d2b-543bd4d646d2 2025-06-20 08:18:11,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3e605c62-2309-49d7-b583-e0de15288928 2025-06-20 08:18:14,654 - 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 1014ms') 2025-06-20 08:18:14,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56846553-74777847 failed! 2025-06-20 08:18:14,711 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56846553:ctest-vn-92702558 is 32.65.76.1 and allocation pool is NOT set 2025-06-20 08:18:16,775 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.858/3.354/1.495 ms') 2025-06-20 08:18:16,775 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56846553-74777847 passed 2025-06-20 08:18:16,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:18:16,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56846553-74777847, IP 32.65.76.3, Port 22 2025-06-20 08:18:17,087 - DEBUG - VM ctest-TestRoutersBasic-56846553-74777847 is ready for SSH connections 2025-06-20 08:18:17,087 - INFO - Waiting for VM ctest-TestRoutersBasic-56846553-42053158 to be up.. 2025-06-20 08:18:17,166 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:18:17,167 - INFO - VM name : ctest-TestRoutersBasic-56846553-42053158 2025-06-20 08:18:17,243 - DEBUG - VM ctest-TestRoutersBasic-56846553-42053158 ID is 27654768-ff18-400f-ad2e-17ad32a1cd37 2025-06-20 08:18:17,243 - DEBUG - VM ctest-TestRoutersBasic-56846553-42053158 launched on Node cn-jenkins-deploy-platform-ansible-os-3502-1 2025-06-20 08:18:17,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27654768-ff18-400f-ad2e-17ad32a1cd37 2025-06-20 08:18:17,339 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a6723af-af3d-44cd-ac0f-e967f6808964 2025-06-20 08:18:18,593 - 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=5.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.41 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.410/3.870/5.331/1.460 ms') 2025-06-20 08:18:18,593 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56846553-42053158 passed 2025-06-20 08:18:18,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:18:18,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56846553-42053158, IP 194.114.57.131, Port 22 2025-06-20 08:18:18,903 - DEBUG - VM ctest-TestRoutersBasic-56846553-42053158 is ready for SSH connections 2025-06-20 08:18:18,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:18:18,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.114.57.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-20 08:18:18,904 - DEBUG - ping -s 56 -c 3 -W 1 194.114.57.131 2025-06-20 08:18:22,621 - DEBUG - PING 194.114.57.131 (194.114.57.131): 56 data bytes 64 bytes from 194.114.57.131: seq=0 ttl=62 time=7.478 ms 64 bytes from 194.114.57.131: seq=1 ttl=62 time=0.892 ms 64 bytes from 194.114.57.131: seq=2 ttl=62 time=1.020 ms --- 194.114.57.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/3.130/7.478 ms 2025-06-20 08:18:22,621 - INFO - Ping to IP 194.114.57.131 from VM ctest-TestRoutersBasic-56846553-74777847 passed 2025-06-20 08:18:22,621 - INFO - Deleting interface with subnet_id 249b86df-7cb8-4dc6-afe0-0bcba6dd1a77, port_id None from router ff461b58-5a47-409e-9cef-9283a14aeb1f 2025-06-20 08:18:22,845 - INFO - Deleting VM ctest-TestRoutersBasic-56846553-42053158 2025-06-20 08:18:22,919 - INFO - Deleting VM ctest-TestRoutersBasic-56846553-74777847 2025-06-20 08:18:23,004 - INFO - Deleting VN ctest-ext_vn-89363687 2025-06-20 08:18:23,086 - DEBUG - VN a9b4c878-7826-47fa-90e3-0c3da102b243 still in use: Unable to complete operation on network a9b4c878-7826-47fa-90e3-0c3da102b243. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23f549cc-c929-403d-819b-eb9272c7c31a'] 2025-06-20 08:18:23,086 - WARNING - Deleting VN ctest-ext_vn-89363687 failed..Will retry 2025-06-20 08:18:25,205 - DEBUG - Response for deleting network () 2025-06-20 08:18:25,206 - INFO - Deleting VN ctest-vn-92702558 2025-06-20 08:18:25,335 - DEBUG - Response for deleting network () 2025-06-20 08:18:25,594 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 08:18:25,595 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-20 08:18:25,595 - INFO - -------------------------------------------------------------------------------- 2025-06-20 08:18:26,338 - INFO - Deleted project: ctest-TestRoutersBasic-56846553, ID : 585b9260-ff2e-4992-9007-27869df4a756