2025-12-08 17:19:59,607 - INFO - Domain Default found not creating 2025-12-08 17:19:59,746 - INFO - Project ctest-TestRoutersBasic-88424291 not found, creating it 2025-12-08 17:20:00,168 - INFO - Created Project:ctest-TestRoutersBasic-88424291, ID : 48f5a7a9-10bb-4730-bde7-a55ff871bcce 2025-12-08 17:20:01,591 - INFO - ================================================================================ 2025-12-08 17:20:01,591 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-08 17:20:01,591 - 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-12-08 17:20:01,851 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-08 17:20:01,852 - INFO - Initial checks done. Running the testcase now 2025-12-08 17:20:01,852 - INFO - 2025-12-08 17:20:03,130 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88424291 2025-12-08 17:20:03,223 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88424291 2025-12-08 17:20:03,551 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88424291', 'default']} 2025-12-08 17:20:03,815 - DEBUG - Response for create_network : {'network': {'id': '1188695f-7b09-4359-9d7a-878ddb549c59', 'name': 'ctest-vn-77007123', 'tenant_id': '48f5a7a910bb4730bde7a55ff871bcce', 'project_id': '48f5a7a910bb4730bde7a55ff871bcce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88424291', 'ctest-vn-77007123'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:20:03,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9c5f390-c712-4ab5-8443-493a86badcb1', 'name': '', 'tenant_id': '48f5a7a910bb4730bde7a55ff871bcce', 'network_id': '1188695f-7b09-4359-9d7a-878ddb549c59', 'ip_version': 4, 'cidr': '9.247.186.128/26', 'allocation_pools': [{'start': '9.247.186.130', 'end': '9.247.186.190'}], 'gateway_ip': '9.247.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.247.186.130', 'tags': [], 'project_id': '48f5a7a910bb4730bde7a55ff871bcce'}} 2025-12-08 17:20:03,964 - INFO - Created VN ctest-vn-77007123 2025-12-08 17:20:04,015 - DEBUG - VN ctest-vn-77007123 UUID is 1188695f-7b09-4359-9d7a-878ddb549c59 2025-12-08 17:20:04,321 - DEBUG - Response for create_network : {'network': {'id': '7010ee12-8178-4232-871a-114a4752d9e7', 'name': 'ctest-ext_vn-44183309', 'tenant_id': '48f5a7a910bb4730bde7a55ff871bcce', 'project_id': '48f5a7a910bb4730bde7a55ff871bcce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88424291', 'ctest-ext_vn-44183309'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:20:04,465 - DEBUG - Response for create_subnet : {'subnet': {'id': '1258aeb6-8740-446b-a66d-bbfd1c249055', 'name': '', 'tenant_id': '48f5a7a910bb4730bde7a55ff871bcce', 'network_id': '7010ee12-8178-4232-871a-114a4752d9e7', 'ip_version': 4, 'cidr': '166.175.141.128/26', 'allocation_pools': [{'start': '166.175.141.130', 'end': '166.175.141.190'}], 'gateway_ip': '166.175.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.175.141.130', 'tags': [], 'project_id': '48f5a7a910bb4730bde7a55ff871bcce'}} 2025-12-08 17:20:04,480 - INFO - Created VN ctest-ext_vn-44183309 2025-12-08 17:20:04,531 - DEBUG - VN ctest-ext_vn-44183309 UUID is 7010ee12-8178-4232-871a-114a4752d9e7 2025-12-08 17:20:04,724 - DEBUG - Services list from nova: [, , ] 2025-12-08 17:20:05,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1) 2025-12-08 17:20:06,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1) 2025-12-08 17:20:06,872 - INFO - Setting gateway for router 303b2223-6b63-47b4-868d-d8a21b6dcac1 to network 7010ee12-8178-4232-871a-114a4752d9e7 2025-12-08 17:20:06,917 - INFO - Adding interface with subnet_id e9c5f390-c712-4ab5-8443-493a86badcb1, port_id None to router 303b2223-6b63-47b4-868d-d8a21b6dcac1 2025-12-08 17:20:07,293 - INFO - Waiting for VM ctest-TestRoutersBasic-88424291-79973886 to be up.. 2025-12-08 17:20:07,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 17:20:12,520 - DEBUG - VM is in ACTIVE state now 2025-12-08 17:20:12,520 - INFO - VM name : ctest-TestRoutersBasic-88424291-79973886 2025-12-08 17:20:12,598 - DEBUG - VM ctest-TestRoutersBasic-88424291-79973886 ID is f8b097ce-68e3-4c25-af5f-b84f6818247b 2025-12-08 17:20:12,619 - DEBUG - VM ctest-TestRoutersBasic-88424291-79973886 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1 2025-12-08 17:20:12,696 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f8b097ce-68e3-4c25-af5f-b84f6818247b 2025-12-08 17:20:12,992 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f8b097ce-68e3-4c25-af5f-b84f6818247b 2025-12-08 17:20:13,021 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/de0779d8-f1fd-4c59-ab3d-fe423cdd7697 2025-12-08 17:20:16,250 - 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 1004ms') 2025-12-08 17:20:16,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88424291-79973886 failed! 2025-12-08 17:20:16,303 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88424291:ctest-vn-77007123 is 9.247.186.129 and allocation pool is NOT set 2025-12-08 17:20:18,364 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/2.017/3.675/1.658 ms') 2025-12-08 17:20:18,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88424291-79973886 passed 2025-12-08 17:20:18,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:20:18,519 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88424291-79973886, IP 9.247.186.131, Port 22 2025-12-08 17:20:18,674 - DEBUG - VM ctest-TestRoutersBasic-88424291-79973886 is ready for SSH connections 2025-12-08 17:20:18,674 - INFO - Waiting for VM ctest-TestRoutersBasic-88424291-96375885 to be up.. 2025-12-08 17:20:18,738 - DEBUG - VM is in ACTIVE state now 2025-12-08 17:20:18,738 - INFO - VM name : ctest-TestRoutersBasic-88424291-96375885 2025-12-08 17:20:18,801 - DEBUG - VM ctest-TestRoutersBasic-88424291-96375885 ID is c953f812-ad64-4034-8ba3-794d7c676b32 2025-12-08 17:20:18,801 - DEBUG - VM ctest-TestRoutersBasic-88424291-96375885 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1 2025-12-08 17:20:18,861 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c953f812-ad64-4034-8ba3-794d7c676b32 2025-12-08 17:20:18,867 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/ac9088e0-e361-4248-8425-71b55c8e0218 2025-12-08 17:20:20,097 - 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=2.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 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 = 0.321/1.464/2.608/1.143 ms') 2025-12-08 17:20:20,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88424291-96375885 passed 2025-12-08 17:20:20,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:20:20,247 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88424291-96375885, IP 166.175.141.131, Port 22 2025-12-08 17:20:20,406 - DEBUG - VM ctest-TestRoutersBasic-88424291-96375885 is ready for SSH connections 2025-12-08 17:20:20,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:20:20,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.175.141.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:20:20,407 - DEBUG - ping -s 56 -c 3 -W 1 166.175.141.131 2025-12-08 17:20:24,404 - DEBUG - PING 166.175.141.131 (166.175.141.131): 56 data bytes 64 bytes from 166.175.141.131: seq=0 ttl=62 time=4.740 ms 64 bytes from 166.175.141.131: seq=1 ttl=62 time=4.046 ms 64 bytes from 166.175.141.131: seq=2 ttl=62 time=0.854 ms --- 166.175.141.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/3.213/4.740 ms 2025-12-08 17:20:24,405 - INFO - Ping to IP 166.175.141.131 from VM ctest-TestRoutersBasic-88424291-79973886 passed 2025-12-08 17:20:24,405 - INFO - Deleting interface with subnet_id e9c5f390-c712-4ab5-8443-493a86badcb1, port_id None from router 303b2223-6b63-47b4-868d-d8a21b6dcac1 2025-12-08 17:20:24,573 - INFO - Deleting VM ctest-TestRoutersBasic-88424291-96375885 2025-12-08 17:20:24,642 - INFO - Deleting VM ctest-TestRoutersBasic-88424291-79973886 2025-12-08 17:20:24,713 - INFO - Deleting VN ctest-ext_vn-44183309 2025-12-08 17:20:24,766 - DEBUG - VN 7010ee12-8178-4232-871a-114a4752d9e7 still in use: Unable to complete operation on network 7010ee12-8178-4232-871a-114a4752d9e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-989d0a31-88f2-4878-8a4e-42ef237711d6'] 2025-12-08 17:20:24,766 - WARNING - Deleting VN ctest-ext_vn-44183309 failed..Will retry 2025-12-08 17:20:26,851 - DEBUG - Response for deleting network () 2025-12-08 17:20:26,851 - INFO - Deleting VN ctest-vn-77007123 2025-12-08 17:20:26,928 - DEBUG - Response for deleting network () 2025-12-08 17:20:27,183 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 17:20:27,183 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-08 17:20:27,183 - INFO - -------------------------------------------------------------------------------- 2025-12-08 17:20:27,833 - INFO - Deleted project: ctest-TestRoutersBasic-88424291, ID : 48f5a7a9-10bb-4730-bde7-a55ff871bcce