2025-10-15 16:22:34,477 - INFO - Domain Default found not creating 2025-10-15 16:22:34,806 - INFO - Project ctest-TestRoutersBasic-56477571 not found, creating it 2025-10-15 16:22:35,543 - INFO - Created Project:ctest-TestRoutersBasic-56477571, ID : 9de959d8-6d47-453b-8b12-d20309ac8c74 2025-10-15 16:22:37,704 - INFO - ================================================================================ 2025-10-15 16:22:37,704 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-15 16:22:37,704 - 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-15 16:22:38,009 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.253': '0'}} with 2025-10-15 16:22:38,009 - INFO - Initial checks done. Running the testcase now 2025-10-15 16:22:38,009 - INFO - 2025-10-15 16:22:38,949 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56477571 2025-10-15 16:22:39,056 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56477571 2025-10-15 16:22:39,462 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56477571', 'default']} 2025-10-15 16:22:39,848 - DEBUG - Response for create_network : {'network': {'id': 'e3dce6ed-32f2-46e0-bc78-fb2753276bfe', 'name': 'ctest-vn-83334639', 'tenant_id': '9de959d86d47453b8b12d20309ac8c74', 'project_id': '9de959d86d47453b8b12d20309ac8c74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56477571', 'ctest-vn-83334639'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 16:22:40,087 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8ac9082-dcba-49e3-a5e1-f847dbda3d28', 'name': '', 'tenant_id': '9de959d86d47453b8b12d20309ac8c74', 'network_id': 'e3dce6ed-32f2-46e0-bc78-fb2753276bfe', 'ip_version': 4, 'cidr': '109.108.23.0/26', 'allocation_pools': [{'start': '109.108.23.2', 'end': '109.108.23.62'}], 'gateway_ip': '109.108.23.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.108.23.2', 'tags': [], 'project_id': '9de959d86d47453b8b12d20309ac8c74'}} 2025-10-15 16:22:40,118 - INFO - Created VN ctest-vn-83334639 2025-10-15 16:22:40,183 - DEBUG - VN ctest-vn-83334639 UUID is e3dce6ed-32f2-46e0-bc78-fb2753276bfe 2025-10-15 16:22:40,621 - DEBUG - Response for create_network : {'network': {'id': 'cfca84a5-9678-4f4e-8f54-0d6afd663b92', 'name': 'ctest-ext_vn-83783719', 'tenant_id': '9de959d86d47453b8b12d20309ac8c74', 'project_id': '9de959d86d47453b8b12d20309ac8c74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56477571', 'ctest-ext_vn-83783719'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 16:22:40,839 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc33f575-a681-40ac-812e-c55528ccf4b2', 'name': '', 'tenant_id': '9de959d86d47453b8b12d20309ac8c74', 'network_id': 'cfca84a5-9678-4f4e-8f54-0d6afd663b92', 'ip_version': 4, 'cidr': '148.105.68.0/26', 'allocation_pools': [{'start': '148.105.68.2', 'end': '148.105.68.62'}], 'gateway_ip': '148.105.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.105.68.2', 'tags': [], 'project_id': '9de959d86d47453b8b12d20309ac8c74'}} 2025-10-15 16:22:40,870 - INFO - Created VN ctest-ext_vn-83783719 2025-10-15 16:22:40,936 - DEBUG - VN ctest-ext_vn-83783719 UUID is cfca84a5-9678-4f4e-8f54-0d6afd663b92 2025-10-15 16:22:41,228 - DEBUG - Services list from nova: [, , ] 2025-10-15 16:22:42,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4332-1) 2025-10-15 16:22:44,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4332-1) 2025-10-15 16:22:44,240 - INFO - Setting gateway for router d1201a96-b6c8-4419-a150-c78ad182e55f to network cfca84a5-9678-4f4e-8f54-0d6afd663b92 2025-10-15 16:22:44,313 - INFO - Adding interface with subnet_id e8ac9082-dcba-49e3-a5e1-f847dbda3d28, port_id None to router d1201a96-b6c8-4419-a150-c78ad182e55f 2025-10-15 16:22:44,650 - INFO - Waiting for VM ctest-TestRoutersBasic-56477571-53811460 to be up.. 2025-10-15 16:22:44,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 16:22:49,931 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:22:49,931 - INFO - VM name : ctest-TestRoutersBasic-56477571-53811460 2025-10-15 16:22:50,047 - DEBUG - VM ctest-TestRoutersBasic-56477571-53811460 ID is 610aefbc-9992-4952-b85d-64445fcba00f 2025-10-15 16:22:50,078 - DEBUG - VM ctest-TestRoutersBasic-56477571-53811460 launched on Node cn-jenkins-deploy-platform-ansible-os-4332-1 2025-10-15 16:22:50,183 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/610aefbc-9992-4952-b85d-64445fcba00f 2025-10-15 16:22:50,490 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/610aefbc-9992-4952-b85d-64445fcba00f 2025-10-15 16:22:50,534 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/7296e221-75cb-41ee-95de-c6cb4329475e 2025-10-15 16:22:53,829 - 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 1014ms') 2025-10-15 16:22:53,829 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56477571-53811460 failed! 2025-10-15 16:22:53,891 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56477571:ctest-vn-83334639 is 109.108.23.1 and allocation pool is NOT set 2025-10-15 16:22:55,976 - 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=5.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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 = 2.369/3.755/5.141/1.386 ms') 2025-10-15 16:22:55,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56477571-53811460 passed 2025-10-15 16:22:56,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:22:56,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56477571-53811460, IP 109.108.23.3, Port 22 2025-10-15 16:22:56,343 - DEBUG - VM ctest-TestRoutersBasic-56477571-53811460 is ready for SSH connections 2025-10-15 16:22:56,343 - INFO - Waiting for VM ctest-TestRoutersBasic-56477571-16063791 to be up.. 2025-10-15 16:22:56,522 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:22:56,522 - INFO - VM name : ctest-TestRoutersBasic-56477571-16063791 2025-10-15 16:22:56,706 - DEBUG - VM ctest-TestRoutersBasic-56477571-16063791 ID is be9846d9-ca4a-47ab-a94e-6b5734377288 2025-10-15 16:22:56,706 - DEBUG - VM ctest-TestRoutersBasic-56477571-16063791 launched on Node cn-jenkins-deploy-platform-ansible-os-4332-1 2025-10-15 16:22:56,881 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/be9846d9-ca4a-47ab-a94e-6b5734377288 2025-10-15 16:22:56,900 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/ede986ee-0bd9-4a09-a587-0a5df0c212cd 2025-10-15 16:22:58,207 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.46 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 = 2.463/3.771/5.079/1.308 ms') 2025-10-15 16:22:58,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56477571-16063791 passed 2025-10-15 16:22:58,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:22:58,388 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56477571-16063791, IP 148.105.68.3, Port 22 2025-10-15 16:22:58,597 - DEBUG - VM ctest-TestRoutersBasic-56477571-16063791 is ready for SSH connections 2025-10-15 16:22:58,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:22:58,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.105.68.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-15 16:22:58,598 - DEBUG - ping -s 56 -c 3 -W 1 148.105.68.3 2025-10-15 16:23:02,687 - DEBUG - PING 148.105.68.3 (148.105.68.3): 56 data bytes 64 bytes from 148.105.68.3: seq=0 ttl=62 time=8.322 ms 64 bytes from 148.105.68.3: seq=1 ttl=62 time=1.461 ms 64 bytes from 148.105.68.3: seq=2 ttl=62 time=0.953 ms --- 148.105.68.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/3.578/8.322 ms 2025-10-15 16:23:02,687 - INFO - Ping to IP 148.105.68.3 from VM ctest-TestRoutersBasic-56477571-53811460 passed 2025-10-15 16:23:02,687 - INFO - Deleting interface with subnet_id e8ac9082-dcba-49e3-a5e1-f847dbda3d28, port_id None from router d1201a96-b6c8-4419-a150-c78ad182e55f 2025-10-15 16:23:02,889 - INFO - Deleting VM ctest-TestRoutersBasic-56477571-16063791 2025-10-15 16:23:02,957 - INFO - Deleting VM ctest-TestRoutersBasic-56477571-53811460 2025-10-15 16:23:03,039 - INFO - Deleting VN ctest-ext_vn-83783719 2025-10-15 16:23:03,109 - DEBUG - VN cfca84a5-9678-4f4e-8f54-0d6afd663b92 still in use: Unable to complete operation on network cfca84a5-9678-4f4e-8f54-0d6afd663b92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c69bcfe-17a6-41df-9961-484976cec27d'] 2025-10-15 16:23:03,109 - WARNING - Deleting VN ctest-ext_vn-83783719 failed..Will retry 2025-10-15 16:23:05,315 - DEBUG - Response for deleting network () 2025-10-15 16:23:05,316 - INFO - Deleting VN ctest-vn-83334639 2025-10-15 16:23:05,474 - DEBUG - Response for deleting network () 2025-10-15 16:23:05,785 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 16:23:05,785 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-15 16:23:05,785 - INFO - -------------------------------------------------------------------------------- 2025-10-15 16:23:06,608 - INFO - Deleted project: ctest-TestRoutersBasic-56477571, ID : 9de959d8-6d47-453b-8b12-d20309ac8c74