2025-11-10 18:51:05,450 - INFO - Domain Default found not creating 2025-11-10 18:51:05,645 - INFO - Project ctest-TestRoutersBasic-40634902 not found, creating it 2025-11-10 18:51:06,152 - INFO - Created Project:ctest-TestRoutersBasic-40634902, ID : 827e3a34-2d00-457c-aa26-f00963de6ab3 2025-11-10 18:51:08,530 - INFO - ================================================================================ 2025-11-10 18:51:08,530 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-10 18:51:08,530 - 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-11-10 18:51:08,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-10 18:51:08,813 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:51:08,813 - INFO - 2025-11-10 18:51:09,547 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40634902 2025-11-10 18:51:09,646 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40634902 2025-11-10 18:51:09,982 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40634902', 'default']} 2025-11-10 18:51:10,315 - DEBUG - Response for create_network : {'network': {'id': 'd053b7a1-9cab-42c3-b829-d2304962d094', 'name': 'ctest-vn-77021336', 'tenant_id': '827e3a342d00457caa26f00963de6ab3', 'project_id': '827e3a342d00457caa26f00963de6ab3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40634902', 'ctest-vn-77021336'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:10,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b624c18-87bc-4272-999e-d8f82af74d69', 'name': '', 'tenant_id': '827e3a342d00457caa26f00963de6ab3', 'network_id': 'd053b7a1-9cab-42c3-b829-d2304962d094', 'ip_version': 4, 'cidr': '91.210.52.64/26', 'allocation_pools': [{'start': '91.210.52.66', 'end': '91.210.52.126'}], 'gateway_ip': '91.210.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.210.52.66', 'tags': [], 'project_id': '827e3a342d00457caa26f00963de6ab3'}} 2025-11-10 18:51:10,519 - INFO - Created VN ctest-vn-77021336 2025-11-10 18:51:10,570 - DEBUG - VN ctest-vn-77021336 UUID is d053b7a1-9cab-42c3-b829-d2304962d094 2025-11-10 18:51:10,922 - DEBUG - Response for create_network : {'network': {'id': 'fba8c2c0-9996-4dd4-9938-3c51d4c2d956', 'name': 'ctest-ext_vn-97983916', 'tenant_id': '827e3a342d00457caa26f00963de6ab3', 'project_id': '827e3a342d00457caa26f00963de6ab3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40634902', 'ctest-ext_vn-97983916'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:11,129 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb57f4b9-a8cd-4d4e-aab1-70cba43f5e11', 'name': '', 'tenant_id': '827e3a342d00457caa26f00963de6ab3', 'network_id': 'fba8c2c0-9996-4dd4-9938-3c51d4c2d956', 'ip_version': 4, 'cidr': '197.181.71.192/26', 'allocation_pools': [{'start': '197.181.71.194', 'end': '197.181.71.254'}], 'gateway_ip': '197.181.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.181.71.194', 'tags': [], 'project_id': '827e3a342d00457caa26f00963de6ab3'}} 2025-11-10 18:51:11,149 - INFO - Created VN ctest-ext_vn-97983916 2025-11-10 18:51:11,206 - DEBUG - VN ctest-ext_vn-97983916 UUID is fba8c2c0-9996-4dd4-9938-3c51d4c2d956 2025-11-10 18:51:11,434 - DEBUG - Services list from nova: [, , ] 2025-11-10 18:51:12,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:51:13,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:51:13,865 - INFO - Setting gateway for router 3d536737-9480-4ca6-aa0f-a1b849000f34 to network fba8c2c0-9996-4dd4-9938-3c51d4c2d956 2025-11-10 18:51:13,958 - INFO - Adding interface with subnet_id 4b624c18-87bc-4272-999e-d8f82af74d69, port_id None to router 3d536737-9480-4ca6-aa0f-a1b849000f34 2025-11-10 18:51:14,424 - INFO - Waiting for VM ctest-TestRoutersBasic-40634902-44030673 to be up.. 2025-11-10 18:51:14,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 18:51:19,648 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:51:19,648 - INFO - VM name : ctest-TestRoutersBasic-40634902-44030673 2025-11-10 18:51:19,731 - DEBUG - VM ctest-TestRoutersBasic-40634902-44030673 ID is d223d016-0275-4e24-8edf-c3ede89a6d01 2025-11-10 18:51:19,753 - DEBUG - VM ctest-TestRoutersBasic-40634902-44030673 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:51:19,827 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d223d016-0275-4e24-8edf-c3ede89a6d01 2025-11-10 18:51:20,124 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d223d016-0275-4e24-8edf-c3ede89a6d01 2025-11-10 18:51:20,168 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d4cbcfda-2947-49f0-9185-91112ecddda4 2025-11-10 18:51:23,440 - 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 1001ms') 2025-11-10 18:51:23,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40634902-44030673 failed! 2025-11-10 18:51:23,506 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40634902:ctest-vn-77021336 is 91.210.52.65 and allocation pool is NOT set 2025-11-10 18:51:25,572 - 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=7.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.722 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.722/4.086/7.450/3.364 ms') 2025-11-10 18:51:25,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40634902-44030673 passed 2025-11-10 18:51:25,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:51:25,726 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40634902-44030673, IP 91.210.52.67, Port 22 2025-11-10 18:51:25,890 - DEBUG - VM ctest-TestRoutersBasic-40634902-44030673 is ready for SSH connections 2025-11-10 18:51:25,890 - INFO - Waiting for VM ctest-TestRoutersBasic-40634902-25960935 to be up.. 2025-11-10 18:51:25,966 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:51:25,966 - INFO - VM name : ctest-TestRoutersBasic-40634902-25960935 2025-11-10 18:51:26,062 - DEBUG - VM ctest-TestRoutersBasic-40634902-25960935 ID is 0e09f7bb-b86c-4e85-9603-6317d74d0cd6 2025-11-10 18:51:26,062 - DEBUG - VM ctest-TestRoutersBasic-40634902-25960935 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:51:26,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0e09f7bb-b86c-4e85-9603-6317d74d0cd6 2025-11-10 18:51:26,176 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/35e44268-4c3c-40d8-b27b-b445cc2e0477 2025-11-10 18:51:27,435 - 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=3.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.703 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.703/1.932/3.162/1.229 ms') 2025-11-10 18:51:27,435 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40634902-25960935 passed 2025-11-10 18:51:27,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:51:27,586 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40634902-25960935, IP 197.181.71.195, Port 22 2025-11-10 18:51:27,748 - DEBUG - VM ctest-TestRoutersBasic-40634902-25960935 is ready for SSH connections 2025-11-10 18:51:27,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:51:27,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.181.71.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:51:27,749 - DEBUG - ping -s 56 -c 3 -W 1 197.181.71.195 2025-11-10 18:51:31,603 - DEBUG - PING 197.181.71.195 (197.181.71.195): 56 data bytes 64 bytes from 197.181.71.195: seq=0 ttl=62 time=9.205 ms 64 bytes from 197.181.71.195: seq=1 ttl=62 time=1.270 ms 64 bytes from 197.181.71.195: seq=2 ttl=62 time=0.796 ms --- 197.181.71.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/3.757/9.205 ms 2025-11-10 18:51:31,604 - INFO - Ping to IP 197.181.71.195 from VM ctest-TestRoutersBasic-40634902-44030673 passed 2025-11-10 18:51:31,604 - INFO - Deleting interface with subnet_id 4b624c18-87bc-4272-999e-d8f82af74d69, port_id None from router 3d536737-9480-4ca6-aa0f-a1b849000f34 2025-11-10 18:51:31,833 - INFO - Deleting VM ctest-TestRoutersBasic-40634902-25960935 2025-11-10 18:51:31,909 - INFO - Deleting VM ctest-TestRoutersBasic-40634902-44030673 2025-11-10 18:51:31,986 - INFO - Deleting VN ctest-ext_vn-97983916 2025-11-10 18:51:32,057 - DEBUG - VN fba8c2c0-9996-4dd4-9938-3c51d4c2d956 still in use: Unable to complete operation on network fba8c2c0-9996-4dd4-9938-3c51d4c2d956. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e8cb414-c8f7-4f9c-9dd9-41a0278f2195'] 2025-11-10 18:51:32,058 - WARNING - Deleting VN ctest-ext_vn-97983916 failed..Will retry 2025-11-10 18:51:34,186 - DEBUG - Response for deleting network () 2025-11-10 18:51:34,187 - INFO - Deleting VN ctest-vn-77021336 2025-11-10 18:51:34,289 - DEBUG - Response for deleting network () 2025-11-10 18:51:34,544 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 18:51:34,544 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-10 18:51:34,544 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:51:35,289 - INFO - Deleted project: ctest-TestRoutersBasic-40634902, ID : 827e3a34-2d00-457c-aa26-f00963de6ab3