2025-12-01 02:23:05,466 - INFO - Domain Default found not creating 2025-12-01 02:23:05,686 - INFO - Project ctest-TestRoutersBasic-57525327 not found, creating it 2025-12-01 02:23:06,280 - INFO - Created Project:ctest-TestRoutersBasic-57525327, ID : f80ac79e-f7f5-44e1-bd53-fdd5e4dba16f 2025-12-01 02:23:08,031 - INFO - ================================================================================ 2025-12-01 02:23:08,032 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-01 02:23:08,032 - 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-01 02:23:09,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0', '10.20.0.192': '0'}, '10.0.0.241': {'10.20.0.209': '0', '10.20.0.192': '0'}} with 2025-12-01 02:23:09,327 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:23:09,327 - INFO - 2025-12-01 02:23:10,226 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57525327 2025-12-01 02:23:10,292 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57525327 2025-12-01 02:23:10,625 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57525327', 'default']} 2025-12-01 02:23:11,085 - DEBUG - Response for create_network : {'network': {'id': '80b52344-bdc7-4eb7-a70e-66e40321230c', 'name': 'ctest-vn-43553325', 'tenant_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f', 'project_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57525327', 'ctest-vn-43553325'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:23:11,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c60c0c9-f8f4-4d92-8b8f-1f3abbe0526a', 'name': '', 'tenant_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f', 'network_id': '80b52344-bdc7-4eb7-a70e-66e40321230c', 'ip_version': 4, 'cidr': '81.58.169.128/26', 'allocation_pools': [{'start': '81.58.169.130', 'end': '81.58.169.190'}], 'gateway_ip': '81.58.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.58.169.130', 'tags': [], 'project_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f'}} 2025-12-01 02:23:11,416 - INFO - Created VN ctest-vn-43553325 2025-12-01 02:23:11,431 - DEBUG - VN ctest-vn-43553325 UUID is 80b52344-bdc7-4eb7-a70e-66e40321230c 2025-12-01 02:23:11,873 - DEBUG - Response for create_network : {'network': {'id': '68663ca6-a84b-467f-a818-8f5c0517ebb1', 'name': 'ctest-ext_vn-48312248', 'tenant_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f', 'project_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57525327', 'ctest-ext_vn-48312248'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:23:12,198 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3bfa23a-dcae-4aeb-bf66-5e38042f2c99', 'name': '', 'tenant_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f', 'network_id': '68663ca6-a84b-467f-a818-8f5c0517ebb1', 'ip_version': 4, 'cidr': '13.111.103.128/26', 'allocation_pools': [{'start': '13.111.103.130', 'end': '13.111.103.190'}], 'gateway_ip': '13.111.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.111.103.130', 'tags': [], 'project_id': 'f80ac79ef7f544e1bd53fdd5e4dba16f'}} 2025-12-01 02:23:12,220 - INFO - Created VN ctest-ext_vn-48312248 2025-12-01 02:23:12,234 - DEBUG - VN ctest-ext_vn-48312248 UUID is 68663ca6-a84b-467f-a818-8f5c0517ebb1 2025-12-01 02:23:12,389 - DEBUG - Services list from nova: [, , , ] 2025-12-01 02:23:13,613 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4827-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4827-1) 2025-12-01 02:23:15,052 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4827-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4827-2) 2025-12-01 02:23:15,199 - INFO - Setting gateway for router 800bab3f-4c18-4aae-b3f4-2ad21ee0be9d to network 68663ca6-a84b-467f-a818-8f5c0517ebb1 2025-12-01 02:23:15,299 - INFO - Adding interface with subnet_id 1c60c0c9-f8f4-4d92-8b8f-1f3abbe0526a, port_id None to router 800bab3f-4c18-4aae-b3f4-2ad21ee0be9d 2025-12-01 02:23:15,708 - INFO - Waiting for VM ctest-TestRoutersBasic-57525327-26656167 to be up.. 2025-12-01 02:23:15,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:23:21,000 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:23:21,000 - INFO - VM name : ctest-TestRoutersBasic-57525327-26656167 2025-12-01 02:23:21,097 - DEBUG - VM ctest-TestRoutersBasic-57525327-26656167 ID is 4c093b9c-089c-4d68-9c0e-ae6474adf34a 2025-12-01 02:23:21,123 - DEBUG - VM ctest-TestRoutersBasic-57525327-26656167 launched on Node an-jenkins-deploy-platform-ansible-os-4827-1 2025-12-01 02:23:21,216 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4c093b9c-089c-4d68-9c0e-ae6474adf34a 2025-12-01 02:23:21,557 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4c093b9c-089c-4d68-9c0e-ae6474adf34a 2025-12-01 02:23:21,599 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b8740194-3aad-4d64-9de9-e1a6282e911d 2025-12-01 02:23:24,770 - 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 1002ms') 2025-12-01 02:23:24,770 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57525327-26656167 failed! 2025-12-01 02:23:24,788 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57525327:ctest-vn-43553325 is 81.58.169.129 and allocation pool is NOT set 2025-12-01 02:23:26,855 - 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=9.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.720 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.720/5.313/9.906/4.593 ms') 2025-12-01 02:23:26,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57525327-26656167 passed 2025-12-01 02:23:26,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:23:26,934 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57525327-26656167, IP 81.58.169.131, Port 22 2025-12-01 02:23:27,109 - DEBUG - VM ctest-TestRoutersBasic-57525327-26656167 is ready for SSH connections 2025-12-01 02:23:27,109 - INFO - Waiting for VM ctest-TestRoutersBasic-57525327-93576799 to be up.. 2025-12-01 02:23:27,218 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:23:27,218 - INFO - VM name : ctest-TestRoutersBasic-57525327-93576799 2025-12-01 02:23:27,330 - DEBUG - VM ctest-TestRoutersBasic-57525327-93576799 ID is d351c3ba-39eb-4808-b69b-44ede6a683df 2025-12-01 02:23:27,330 - DEBUG - VM ctest-TestRoutersBasic-57525327-93576799 launched on Node an-jenkins-deploy-platform-ansible-os-4827-2 2025-12-01 02:23:27,434 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d351c3ba-39eb-4808-b69b-44ede6a683df 2025-12-01 02:23:27,450 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d89d5217-edf4-4b4b-a486-614c79d32c52 2025-12-01 02:23:28,656 - 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=4.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.669 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.669/2.577/4.485/1.908 ms') 2025-12-01 02:23:28,657 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57525327-93576799 passed 2025-12-01 02:23:28,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:23:28,732 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57525327-93576799, IP 13.111.103.131, Port 22 2025-12-01 02:23:28,905 - DEBUG - VM ctest-TestRoutersBasic-57525327-93576799 is ready for SSH connections 2025-12-01 02:23:28,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:23:28,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.111.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-01 02:23:28,906 - DEBUG - ping -s 56 -c 3 -W 1 13.111.103.131 2025-12-01 02:23:32,768 - DEBUG - PING 13.111.103.131 (13.111.103.131): 56 data bytes 64 bytes from 13.111.103.131: seq=0 ttl=62 time=11.402 ms 64 bytes from 13.111.103.131: seq=1 ttl=62 time=1.301 ms 64 bytes from 13.111.103.131: seq=2 ttl=62 time=1.112 ms --- 13.111.103.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.112/4.605/11.402 ms 2025-12-01 02:23:32,768 - INFO - Ping to IP 13.111.103.131 from VM ctest-TestRoutersBasic-57525327-26656167 passed 2025-12-01 02:23:32,769 - INFO - Deleting interface with subnet_id 1c60c0c9-f8f4-4d92-8b8f-1f3abbe0526a, port_id None from router 800bab3f-4c18-4aae-b3f4-2ad21ee0be9d 2025-12-01 02:23:33,206 - INFO - Deleting VM ctest-TestRoutersBasic-57525327-93576799 2025-12-01 02:23:33,331 - INFO - Deleting VM ctest-TestRoutersBasic-57525327-26656167 2025-12-01 02:23:33,483 - INFO - Deleting VN ctest-ext_vn-48312248 2025-12-01 02:23:33,661 - DEBUG - VN 68663ca6-a84b-467f-a818-8f5c0517ebb1 still in use: Unable to complete operation on network 68663ca6-a84b-467f-a818-8f5c0517ebb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efd71f2f-1555-4592-b65e-442cafacc5ca'] 2025-12-01 02:23:33,661 - WARNING - Deleting VN ctest-ext_vn-48312248 failed..Will retry 2025-12-01 02:23:35,890 - DEBUG - Response for deleting network () 2025-12-01 02:23:35,890 - INFO - Deleting VN ctest-vn-43553325 2025-12-01 02:23:36,060 - DEBUG - Response for deleting network () 2025-12-01 02:23:37,354 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 02:23:37,354 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-12-01 02:23:37,354 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:23:38,355 - INFO - Deleted project: ctest-TestRoutersBasic-57525327, ID : f80ac79e-f7f5-44e1-bd53-fdd5e4dba16f