2025-04-23 16:28:01,096 - INFO - Domain Default found not creating 2025-04-23 16:28:01,250 - INFO - Project ctest-TestRoutersBasic-96761837 not found, creating it 2025-04-23 16:28:01,710 - INFO - Created Project:ctest-TestRoutersBasic-96761837, ID : 59134a4b-3273-486b-aadb-2632947c6a7d 2025-04-23 16:28:03,259 - INFO - ================================================================================ 2025-04-23 16:28:03,259 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-23 16:28:03,259 - 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-04-23 16:28:03,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-04-23 16:28:03,515 - INFO - Initial checks done. Running the testcase now 2025-04-23 16:28:03,515 - INFO - 2025-04-23 16:28:04,293 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96761837 2025-04-23 16:28:04,388 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96761837 2025-04-23 16:28:04,716 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96761837', 'default']} 2025-04-23 16:28:05,024 - DEBUG - Response for create_network : {'network': {'id': '3aa98760-32fa-4ddb-8e36-33eca565905e', 'name': 'ctest-vn-12524397', 'tenant_id': '59134a4b3273486baadb2632947c6a7d', 'project_id': '59134a4b3273486baadb2632947c6a7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96761837', 'ctest-vn-12524397'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:28:05,231 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ad15c0d-e9a0-4d10-8e36-17da022d682f', 'name': '', 'tenant_id': '59134a4b3273486baadb2632947c6a7d', 'network_id': '3aa98760-32fa-4ddb-8e36-33eca565905e', 'ip_version': 4, 'cidr': '199.202.214.128/26', 'allocation_pools': [{'start': '199.202.214.130', 'end': '199.202.214.190'}], 'gateway_ip': '199.202.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.202.214.130', 'tags': [], 'project_id': '59134a4b3273486baadb2632947c6a7d'}} 2025-04-23 16:28:05,251 - INFO - Created VN ctest-vn-12524397 2025-04-23 16:28:05,304 - DEBUG - VN ctest-vn-12524397 UUID is 3aa98760-32fa-4ddb-8e36-33eca565905e 2025-04-23 16:28:05,667 - DEBUG - Response for create_network : {'network': {'id': '68447c59-4399-48e3-81a3-c2dd5d960ca5', 'name': 'ctest-ext_vn-92681141', 'tenant_id': '59134a4b3273486baadb2632947c6a7d', 'project_id': '59134a4b3273486baadb2632947c6a7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96761837', 'ctest-ext_vn-92681141'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:28:05,882 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd269d9f-0fde-4aa6-97b8-adcff22fbc53', 'name': '', 'tenant_id': '59134a4b3273486baadb2632947c6a7d', 'network_id': '68447c59-4399-48e3-81a3-c2dd5d960ca5', 'ip_version': 4, 'cidr': '84.24.226.0/26', 'allocation_pools': [{'start': '84.24.226.2', 'end': '84.24.226.62'}], 'gateway_ip': '84.24.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.24.226.2', 'tags': [], 'project_id': '59134a4b3273486baadb2632947c6a7d'}} 2025-04-23 16:28:05,903 - INFO - Created VN ctest-ext_vn-92681141 2025-04-23 16:28:05,956 - DEBUG - VN ctest-ext_vn-92681141 UUID is 68447c59-4399-48e3-81a3-c2dd5d960ca5 2025-04-23 16:28:06,132 - DEBUG - Services list from nova: [, , ] 2025-04-23 16:28:07,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3191-1) 2025-04-23 16:28:08,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3191-1) 2025-04-23 16:28:08,533 - INFO - Setting gateway for router acc7f852-65e1-4c40-8a85-d5ef0fd94b8b to network 68447c59-4399-48e3-81a3-c2dd5d960ca5 2025-04-23 16:28:08,607 - INFO - Adding interface with subnet_id 1ad15c0d-e9a0-4d10-8e36-17da022d682f, port_id None to router acc7f852-65e1-4c40-8a85-d5ef0fd94b8b 2025-04-23 16:28:09,061 - INFO - Waiting for VM ctest-TestRoutersBasic-96761837-41360740 to be up.. 2025-04-23 16:28:09,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 16:28:14,312 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:28:14,312 - INFO - VM name : ctest-TestRoutersBasic-96761837-41360740 2025-04-23 16:28:14,385 - DEBUG - VM ctest-TestRoutersBasic-96761837-41360740 ID is 9e983005-e886-4930-891a-734e3377a104 2025-04-23 16:28:14,403 - DEBUG - VM ctest-TestRoutersBasic-96761837-41360740 launched on Node cn-jenkins-deploy-platform-ansible-os-3191-1 2025-04-23 16:28:14,477 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9e983005-e886-4930-891a-734e3377a104 2025-04-23 16:28:14,812 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9e983005-e886-4930-891a-734e3377a104 2025-04-23 16:28:14,844 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7c7735da-63cb-4b63-a5a9-d27645a9f735 2025-04-23 16:28:18,115 - 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 1031ms') 2025-04-23 16:28:18,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96761837-41360740 failed! 2025-04-23 16:28:18,172 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96761837:ctest-vn-12524397 is 199.202.214.129 and allocation pool is NOT set 2025-04-23 16:28:20,240 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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.376/1.916/3.457/1.540 ms') 2025-04-23 16:28:20,240 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96761837-41360740 passed 2025-04-23 16:28:20,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:28:20,396 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96761837-41360740, IP 199.202.214.131, Port 22 2025-04-23 16:28:20,568 - DEBUG - VM ctest-TestRoutersBasic-96761837-41360740 is ready for SSH connections 2025-04-23 16:28:20,568 - INFO - Waiting for VM ctest-TestRoutersBasic-96761837-74157258 to be up.. 2025-04-23 16:28:20,649 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:28:20,649 - INFO - VM name : ctest-TestRoutersBasic-96761837-74157258 2025-04-23 16:28:20,740 - DEBUG - VM ctest-TestRoutersBasic-96761837-74157258 ID is 1df33770-73dc-443a-b5db-f28f4edb5e6b 2025-04-23 16:28:20,741 - DEBUG - VM ctest-TestRoutersBasic-96761837-74157258 launched on Node cn-jenkins-deploy-platform-ansible-os-3191-1 2025-04-23 16:28:20,848 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/1df33770-73dc-443a-b5db-f28f4edb5e6b 2025-04-23 16:28:20,860 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4040726c-0e69-4365-9dd2-f84a2889da2d 2025-04-23 16:28:22,112 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.89 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.887/3.195/4.503/1.308 ms') 2025-04-23 16:28:22,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96761837-74157258 passed 2025-04-23 16:28:22,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:28:22,264 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96761837-74157258, IP 84.24.226.3, Port 22 2025-04-23 16:28:22,427 - DEBUG - VM ctest-TestRoutersBasic-96761837-74157258 is ready for SSH connections 2025-04-23 16:28:22,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:28:22,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.24.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-23 16:28:22,428 - DEBUG - ping -s 56 -c 3 -W 1 84.24.226.3 2025-04-23 16:28:26,171 - DEBUG - PING 84.24.226.3 (84.24.226.3): 56 data bytes 64 bytes from 84.24.226.3: seq=0 ttl=62 time=7.666 ms 64 bytes from 84.24.226.3: seq=1 ttl=62 time=0.778 ms 64 bytes from 84.24.226.3: seq=2 ttl=62 time=0.745 ms --- 84.24.226.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/3.063/7.666 ms 2025-04-23 16:28:26,171 - INFO - Ping to IP 84.24.226.3 from VM ctest-TestRoutersBasic-96761837-41360740 passed 2025-04-23 16:28:26,171 - INFO - Deleting interface with subnet_id 1ad15c0d-e9a0-4d10-8e36-17da022d682f, port_id None from router acc7f852-65e1-4c40-8a85-d5ef0fd94b8b 2025-04-23 16:28:26,389 - INFO - Deleting VM ctest-TestRoutersBasic-96761837-74157258 2025-04-23 16:28:26,468 - INFO - Deleting VM ctest-TestRoutersBasic-96761837-41360740 2025-04-23 16:28:26,549 - INFO - Deleting VN ctest-ext_vn-92681141 2025-04-23 16:28:26,623 - DEBUG - VN 68447c59-4399-48e3-81a3-c2dd5d960ca5 still in use: Unable to complete operation on network 68447c59-4399-48e3-81a3-c2dd5d960ca5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6b24115-4bee-4fb2-add7-18e06b569ff1'] 2025-04-23 16:28:26,623 - WARNING - Deleting VN ctest-ext_vn-92681141 failed..Will retry 2025-04-23 16:28:28,742 - DEBUG - Response for deleting network () 2025-04-23 16:28:28,743 - INFO - Deleting VN ctest-vn-12524397 2025-04-23 16:28:28,860 - DEBUG - Response for deleting network () 2025-04-23 16:28:29,113 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 16:28:29,113 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-23 16:28:29,114 - INFO - -------------------------------------------------------------------------------- 2025-04-23 16:28:29,830 - INFO - Deleted project: ctest-TestRoutersBasic-96761837, ID : 59134a4b-3273-486b-aadb-2632947c6a7d