2025-09-09 15:21:50,579 - INFO - Domain Default found not creating 2025-09-09 15:21:50,707 - INFO - Project ctest-TestRoutersBasic-19386044 not found, creating it 2025-09-09 15:21:51,133 - INFO - Created Project:ctest-TestRoutersBasic-19386044, ID : d19d945d-57d7-4da4-9257-152a8f03aef7 2025-09-09 15:21:53,080 - INFO - ================================================================================ 2025-09-09 15:21:53,080 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-09 15:21:53,080 - 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-09 15:21:53,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-09 15:21:53,338 - INFO - Initial checks done. Running the testcase now 2025-09-09 15:21:53,338 - INFO - 2025-09-09 15:21:53,991 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19386044 2025-09-09 15:21:54,084 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19386044 2025-09-09 15:21:54,400 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19386044', 'default']} 2025-09-09 15:21:54,670 - DEBUG - Response for create_network : {'network': {'id': '11fa27f2-c355-4fbe-a3d8-9a2dea19e8c0', 'name': 'ctest-vn-77021464', 'tenant_id': 'd19d945d57d74da49257152a8f03aef7', 'project_id': 'd19d945d57d74da49257152a8f03aef7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19386044', 'ctest-vn-77021464'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:21:54,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '10663cc4-d632-4cb3-816b-9201aa7598c3', 'name': '', 'tenant_id': 'd19d945d57d74da49257152a8f03aef7', 'network_id': '11fa27f2-c355-4fbe-a3d8-9a2dea19e8c0', 'ip_version': 4, 'cidr': '50.248.89.128/26', 'allocation_pools': [{'start': '50.248.89.130', 'end': '50.248.89.190'}], 'gateway_ip': '50.248.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.248.89.130', 'tags': [], 'project_id': 'd19d945d57d74da49257152a8f03aef7'}} 2025-09-09 15:21:54,897 - INFO - Created VN ctest-vn-77021464 2025-09-09 15:21:54,948 - DEBUG - VN ctest-vn-77021464 UUID is 11fa27f2-c355-4fbe-a3d8-9a2dea19e8c0 2025-09-09 15:21:55,274 - DEBUG - Response for create_network : {'network': {'id': 'a1983f78-83a5-4a63-88b5-51f6f6c7057f', 'name': 'ctest-ext_vn-45824912', 'tenant_id': 'd19d945d57d74da49257152a8f03aef7', 'project_id': 'd19d945d57d74da49257152a8f03aef7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19386044', 'ctest-ext_vn-45824912'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:21:55,468 - DEBUG - Response for create_subnet : {'subnet': {'id': '69221e48-0aff-4063-94ae-53b5c58c115f', 'name': '', 'tenant_id': 'd19d945d57d74da49257152a8f03aef7', 'network_id': 'a1983f78-83a5-4a63-88b5-51f6f6c7057f', 'ip_version': 4, 'cidr': '133.116.161.0/26', 'allocation_pools': [{'start': '133.116.161.2', 'end': '133.116.161.62'}], 'gateway_ip': '133.116.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.116.161.2', 'tags': [], 'project_id': 'd19d945d57d74da49257152a8f03aef7'}} 2025-09-09 15:21:55,483 - INFO - Created VN ctest-ext_vn-45824912 2025-09-09 15:21:55,536 - DEBUG - VN ctest-ext_vn-45824912 UUID is a1983f78-83a5-4a63-88b5-51f6f6c7057f 2025-09-09 15:21:55,729 - DEBUG - Services list from nova: [, , ] 2025-09-09 15:21:56,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4061-1) 2025-09-09 15:21:57,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4061-1) 2025-09-09 15:21:57,865 - INFO - Setting gateway for router b4e3c691-4705-472b-b75a-46ce819ad2df to network a1983f78-83a5-4a63-88b5-51f6f6c7057f 2025-09-09 15:21:57,941 - INFO - Adding interface with subnet_id 10663cc4-d632-4cb3-816b-9201aa7598c3, port_id None to router b4e3c691-4705-472b-b75a-46ce819ad2df 2025-09-09 15:21:58,453 - INFO - Waiting for VM ctest-TestRoutersBasic-19386044-60654873 to be up.. 2025-09-09 15:21:58,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 15:22:03,641 - DEBUG - VM is in ACTIVE state now 2025-09-09 15:22:03,641 - INFO - VM name : ctest-TestRoutersBasic-19386044-60654873 2025-09-09 15:22:03,711 - DEBUG - VM ctest-TestRoutersBasic-19386044-60654873 ID is a6b5bb24-0aaf-4390-9428-e98b2292f995 2025-09-09 15:22:03,733 - DEBUG - VM ctest-TestRoutersBasic-19386044-60654873 launched on Node cn-jenkins-deploy-platform-ansible-os-4061-1 2025-09-09 15:22:03,804 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a6b5bb24-0aaf-4390-9428-e98b2292f995 2025-09-09 15:22:04,097 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a6b5bb24-0aaf-4390-9428-e98b2292f995 2025-09-09 15:22:04,129 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2be0e5a8-4b61-46fc-b2a8-b922cacecaf2 2025-09-09 15:22:07,397 - 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 1023ms') 2025-09-09 15:22:07,397 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19386044-60654873 failed! 2025-09-09 15:22:07,448 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19386044:ctest-vn-77021464 is 50.248.89.129 and allocation pool is NOT set 2025-09-09 15:22:09,514 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/1.614/2.747/1.132 ms') 2025-09-09 15:22:09,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19386044-60654873 passed 2025-09-09 15:22:09,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:22:09,664 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19386044-60654873, IP 50.248.89.131, Port 22 2025-09-09 15:22:09,820 - DEBUG - VM ctest-TestRoutersBasic-19386044-60654873 is ready for SSH connections 2025-09-09 15:22:09,820 - INFO - Waiting for VM ctest-TestRoutersBasic-19386044-16214758 to be up.. 2025-09-09 15:22:09,888 - DEBUG - VM is in ACTIVE state now 2025-09-09 15:22:09,888 - INFO - VM name : ctest-TestRoutersBasic-19386044-16214758 2025-09-09 15:22:09,959 - DEBUG - VM ctest-TestRoutersBasic-19386044-16214758 ID is bd19aa4c-ad1a-4e09-ad45-ae821ed525e7 2025-09-09 15:22:09,959 - DEBUG - VM ctest-TestRoutersBasic-19386044-16214758 launched on Node cn-jenkins-deploy-platform-ansible-os-4061-1 2025-09-09 15:22:10,029 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bd19aa4c-ad1a-4e09-ad45-ae821ed525e7 2025-09-09 15:22:10,037 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5703bba3-1c12-41e4-978c-6d7995e91a97 2025-09-09 15:22:11,281 - 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=4.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.44 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 = 1.436/3.020/4.604/1.584 ms') 2025-09-09 15:22:11,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19386044-16214758 passed 2025-09-09 15:22:11,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:22:11,428 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19386044-16214758, IP 133.116.161.3, Port 22 2025-09-09 15:22:11,584 - DEBUG - VM ctest-TestRoutersBasic-19386044-16214758 is ready for SSH connections 2025-09-09 15:22:11,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:22:11,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.116.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-09 15:22:11,584 - DEBUG - ping -s 56 -c 3 -W 1 133.116.161.3 2025-09-09 15:22:15,604 - DEBUG - PING 133.116.161.3 (133.116.161.3): 56 data bytes 64 bytes from 133.116.161.3: seq=0 ttl=62 time=6.663 ms 64 bytes from 133.116.161.3: seq=1 ttl=62 time=0.794 ms 64 bytes from 133.116.161.3: seq=2 ttl=62 time=0.814 ms --- 133.116.161.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/2.757/6.663 ms 2025-09-09 15:22:15,605 - INFO - Ping to IP 133.116.161.3 from VM ctest-TestRoutersBasic-19386044-60654873 passed 2025-09-09 15:22:15,605 - INFO - Deleting interface with subnet_id 10663cc4-d632-4cb3-816b-9201aa7598c3, port_id None from router b4e3c691-4705-472b-b75a-46ce819ad2df 2025-09-09 15:22:15,786 - INFO - Deleting VM ctest-TestRoutersBasic-19386044-16214758 2025-09-09 15:22:15,866 - INFO - Deleting VM ctest-TestRoutersBasic-19386044-60654873 2025-09-09 15:22:15,949 - INFO - Deleting VN ctest-ext_vn-45824912 2025-09-09 15:22:16,008 - DEBUG - VN a1983f78-83a5-4a63-88b5-51f6f6c7057f still in use: Unable to complete operation on network a1983f78-83a5-4a63-88b5-51f6f6c7057f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-240388ff-8d63-4b5d-a65f-65c40ca5ec0c'] 2025-09-09 15:22:16,008 - WARNING - Deleting VN ctest-ext_vn-45824912 failed..Will retry 2025-09-09 15:22:18,101 - DEBUG - Response for deleting network () 2025-09-09 15:22:18,102 - INFO - Deleting VN ctest-vn-77021464 2025-09-09 15:22:18,187 - DEBUG - Response for deleting network () 2025-09-09 15:22:18,440 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 15:22:18,440 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-09 15:22:18,440 - INFO - -------------------------------------------------------------------------------- 2025-09-09 15:22:19,106 - INFO - Deleted project: ctest-TestRoutersBasic-19386044, ID : d19d945d-57d7-4da4-9257-152a8f03aef7