2025-10-02 10:35:53,151 - INFO - Domain Default found not creating 2025-10-02 10:35:53,328 - INFO - Project ctest-TestRoutersBasic-62605969 not found, creating it 2025-10-02 10:35:53,806 - INFO - Created Project:ctest-TestRoutersBasic-62605969, ID : 8bcdf2d7-e26e-4600-ac9c-8dc02987f906 2025-10-02 10:35:55,773 - INFO - ================================================================================ 2025-10-02 10:35:55,773 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-02 10:35:55,774 - 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-10-02 10:35:56,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-02 10:35:56,030 - INFO - Initial checks done. Running the testcase now 2025-10-02 10:35:56,031 - INFO - 2025-10-02 10:35:56,798 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62605969 2025-10-02 10:35:56,900 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62605969 2025-10-02 10:35:57,224 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62605969', 'default']} 2025-10-02 10:35:57,532 - DEBUG - Response for create_network : {'network': {'id': '9678cbe9-3974-42f8-872d-9215f74e6fcf', 'name': 'ctest-vn-65658348', 'tenant_id': '8bcdf2d7e26e4600ac9c8dc02987f906', 'project_id': '8bcdf2d7e26e4600ac9c8dc02987f906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62605969', 'ctest-vn-65658348'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:35:57,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '475f3a68-8682-4c2e-b35e-0f1573ba8a91', 'name': '', 'tenant_id': '8bcdf2d7e26e4600ac9c8dc02987f906', 'network_id': '9678cbe9-3974-42f8-872d-9215f74e6fcf', 'ip_version': 4, 'cidr': '106.223.176.0/26', 'allocation_pools': [{'start': '106.223.176.2', 'end': '106.223.176.62'}], 'gateway_ip': '106.223.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.223.176.2', 'tags': [], 'project_id': '8bcdf2d7e26e4600ac9c8dc02987f906'}} 2025-10-02 10:35:57,729 - INFO - Created VN ctest-vn-65658348 2025-10-02 10:35:57,780 - DEBUG - VN ctest-vn-65658348 UUID is 9678cbe9-3974-42f8-872d-9215f74e6fcf 2025-10-02 10:35:58,115 - DEBUG - Response for create_network : {'network': {'id': 'a0ad5704-3b89-40b2-b9a6-ecdf3f7b59f8', 'name': 'ctest-ext_vn-96833117', 'tenant_id': '8bcdf2d7e26e4600ac9c8dc02987f906', 'project_id': '8bcdf2d7e26e4600ac9c8dc02987f906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62605969', 'ctest-ext_vn-96833117'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:35:58,313 - DEBUG - Response for create_subnet : {'subnet': {'id': '83a67c25-b31a-4c98-9851-4bc181ced221', 'name': '', 'tenant_id': '8bcdf2d7e26e4600ac9c8dc02987f906', 'network_id': 'a0ad5704-3b89-40b2-b9a6-ecdf3f7b59f8', 'ip_version': 4, 'cidr': '83.21.97.192/26', 'allocation_pools': [{'start': '83.21.97.194', 'end': '83.21.97.254'}], 'gateway_ip': '83.21.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.21.97.194', 'tags': [], 'project_id': '8bcdf2d7e26e4600ac9c8dc02987f906'}} 2025-10-02 10:35:58,333 - INFO - Created VN ctest-ext_vn-96833117 2025-10-02 10:35:58,384 - DEBUG - VN ctest-ext_vn-96833117 UUID is a0ad5704-3b89-40b2-b9a6-ecdf3f7b59f8 2025-10-02 10:35:58,563 - DEBUG - Services list from nova: [, , ] 2025-10-02 10:35:59,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:36:00,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:36:00,961 - INFO - Setting gateway for router 45f9d1f8-cbf9-4808-90cc-da217a8e7f8f to network a0ad5704-3b89-40b2-b9a6-ecdf3f7b59f8 2025-10-02 10:36:01,021 - INFO - Adding interface with subnet_id 475f3a68-8682-4c2e-b35e-0f1573ba8a91, port_id None to router 45f9d1f8-cbf9-4808-90cc-da217a8e7f8f 2025-10-02 10:36:01,398 - INFO - Waiting for VM ctest-TestRoutersBasic-62605969-07350341 to be up.. 2025-10-02 10:36:01,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 10:36:06,652 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:36:06,652 - INFO - VM name : ctest-TestRoutersBasic-62605969-07350341 2025-10-02 10:36:06,741 - DEBUG - VM ctest-TestRoutersBasic-62605969-07350341 ID is 400c3fe8-ae6b-4d51-a8f5-3d3686dbb8bf 2025-10-02 10:36:06,766 - DEBUG - VM ctest-TestRoutersBasic-62605969-07350341 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:36:06,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/400c3fe8-ae6b-4d51-a8f5-3d3686dbb8bf 2025-10-02 10:36:07,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/400c3fe8-ae6b-4d51-a8f5-3d3686dbb8bf 2025-10-02 10:36:07,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d4e10d90-8c68-44b0-803d-409b1835ff6e 2025-10-02 10:36:10,442 - 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-10-02 10:36:10,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62605969-07350341 failed! 2025-10-02 10:36:10,500 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62605969:ctest-vn-65658348 is 106.223.176.1 and allocation pool is NOT set 2025-10-02 10:36:12,561 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 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.559/1.865/3.172/1.306 ms') 2025-10-02 10:36:12,561 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62605969-07350341 passed 2025-10-02 10:36:12,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:36:12,724 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62605969-07350341, IP 106.223.176.3, Port 22 2025-10-02 10:36:12,894 - DEBUG - VM ctest-TestRoutersBasic-62605969-07350341 is ready for SSH connections 2025-10-02 10:36:12,894 - INFO - Waiting for VM ctest-TestRoutersBasic-62605969-15731759 to be up.. 2025-10-02 10:36:12,973 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:36:12,973 - INFO - VM name : ctest-TestRoutersBasic-62605969-15731759 2025-10-02 10:36:13,049 - DEBUG - VM ctest-TestRoutersBasic-62605969-15731759 ID is 07470374-a05a-4159-affe-4612ba44a2fa 2025-10-02 10:36:13,049 - DEBUG - VM ctest-TestRoutersBasic-62605969-15731759 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:36:13,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/07470374-a05a-4159-affe-4612ba44a2fa 2025-10-02 10:36:13,141 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a57bb369-c72f-4717-a53a-5ad66fa8025a 2025-10-02 10:36:14,385 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.40 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 = 1.401/3.245/5.089/1.844 ms') 2025-10-02 10:36:14,385 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62605969-15731759 passed 2025-10-02 10:36:14,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:36:14,536 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62605969-15731759, IP 83.21.97.195, Port 22 2025-10-02 10:36:14,696 - DEBUG - VM ctest-TestRoutersBasic-62605969-15731759 is ready for SSH connections 2025-10-02 10:36:14,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:36:14,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.21.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:36:14,696 - DEBUG - ping -s 56 -c 3 -W 1 83.21.97.195 2025-10-02 10:36:18,405 - DEBUG - PING 83.21.97.195 (83.21.97.195): 56 data bytes 64 bytes from 83.21.97.195: seq=0 ttl=62 time=5.820 ms 64 bytes from 83.21.97.195: seq=1 ttl=62 time=1.181 ms 64 bytes from 83.21.97.195: seq=2 ttl=62 time=1.090 ms --- 83.21.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/2.697/5.820 ms 2025-10-02 10:36:18,405 - INFO - Ping to IP 83.21.97.195 from VM ctest-TestRoutersBasic-62605969-07350341 passed 2025-10-02 10:36:18,405 - INFO - Deleting interface with subnet_id 475f3a68-8682-4c2e-b35e-0f1573ba8a91, port_id None from router 45f9d1f8-cbf9-4808-90cc-da217a8e7f8f 2025-10-02 10:36:18,638 - INFO - Deleting VM ctest-TestRoutersBasic-62605969-15731759 2025-10-02 10:36:18,709 - INFO - Deleting VM ctest-TestRoutersBasic-62605969-07350341 2025-10-02 10:36:18,806 - INFO - Deleting VN ctest-ext_vn-96833117 2025-10-02 10:36:18,892 - DEBUG - VN a0ad5704-3b89-40b2-b9a6-ecdf3f7b59f8 still in use: Unable to complete operation on network a0ad5704-3b89-40b2-b9a6-ecdf3f7b59f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c06d4831-0100-4ee0-9b79-f22fab205eb0'] 2025-10-02 10:36:18,892 - WARNING - Deleting VN ctest-ext_vn-96833117 failed..Will retry 2025-10-02 10:36:21,039 - DEBUG - Response for deleting network () 2025-10-02 10:36:21,039 - INFO - Deleting VN ctest-vn-65658348 2025-10-02 10:36:21,173 - DEBUG - Response for deleting network () 2025-10-02 10:36:21,444 - DEBUG - No XMPP flaps were noticed during the test 2025-10-02 10:36:21,444 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-02 10:36:21,444 - INFO - -------------------------------------------------------------------------------- 2025-10-02 10:36:22,145 - INFO - Deleted project: ctest-TestRoutersBasic-62605969, ID : 8bcdf2d7-e26e-4600-ac9c-8dc02987f906