2025-06-10 17:14:54,677 - INFO - Domain Default found not creating 2025-06-10 17:14:54,822 - INFO - Project ctest-TestRoutersBasic-27586091 not found, creating it 2025-06-10 17:14:55,297 - INFO - Created Project:ctest-TestRoutersBasic-27586091, ID : e9df688b-9d1c-4ed3-ad32-2b927bc2ffd2 2025-06-10 17:14:56,723 - INFO - ================================================================================ 2025-06-10 17:14:56,723 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-10 17:14:56,724 - 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-06-10 17:14:56,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-10 17:14:56,979 - INFO - Initial checks done. Running the testcase now 2025-06-10 17:14:56,979 - INFO - 2025-06-10 17:14:57,704 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27586091 2025-06-10 17:14:57,800 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27586091 2025-06-10 17:14:58,148 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27586091', 'default']} 2025-06-10 17:14:58,514 - DEBUG - Response for create_network : {'network': {'id': 'c9b87860-aa0f-4426-994f-2c10db0ec3de', 'name': 'ctest-vn-38457211', 'tenant_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2', 'project_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27586091', 'ctest-vn-38457211'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 17:14:58,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '2244cd81-3e91-4024-9ce9-1db92276732f', 'name': '', 'tenant_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2', 'network_id': 'c9b87860-aa0f-4426-994f-2c10db0ec3de', 'ip_version': 4, 'cidr': '28.68.123.128/26', 'allocation_pools': [{'start': '28.68.123.130', 'end': '28.68.123.190'}], 'gateway_ip': '28.68.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.68.123.130', 'tags': [], 'project_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2'}} 2025-06-10 17:14:58,782 - INFO - Created VN ctest-vn-38457211 2025-06-10 17:14:58,836 - DEBUG - VN ctest-vn-38457211 UUID is c9b87860-aa0f-4426-994f-2c10db0ec3de 2025-06-10 17:14:59,194 - DEBUG - Response for create_network : {'network': {'id': 'ae0cb63e-822b-420c-83b6-177ea3cecac2', 'name': 'ctest-ext_vn-17744866', 'tenant_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2', 'project_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27586091', 'ctest-ext_vn-17744866'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 17:14:59,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f79c0185-df1d-467e-a177-5d4554b3e458', 'name': '', 'tenant_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2', 'network_id': 'ae0cb63e-822b-420c-83b6-177ea3cecac2', 'ip_version': 4, 'cidr': '109.155.14.128/26', 'allocation_pools': [{'start': '109.155.14.130', 'end': '109.155.14.190'}], 'gateway_ip': '109.155.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.155.14.130', 'tags': [], 'project_id': 'e9df688b9d1c4ed3ad322b927bc2ffd2'}} 2025-06-10 17:14:59,446 - INFO - Created VN ctest-ext_vn-17744866 2025-06-10 17:14:59,500 - DEBUG - VN ctest-ext_vn-17744866 UUID is ae0cb63e-822b-420c-83b6-177ea3cecac2 2025-06-10 17:14:59,673 - DEBUG - Services list from nova: [, , ] 2025-06-10 17:15:00,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3436-1) 2025-06-10 17:15:01,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3436-1) 2025-06-10 17:15:02,027 - INFO - Setting gateway for router a4df1c91-79c2-4efd-9876-6e34edc2153d to network ae0cb63e-822b-420c-83b6-177ea3cecac2 2025-06-10 17:15:02,128 - INFO - Adding interface with subnet_id 2244cd81-3e91-4024-9ce9-1db92276732f, port_id None to router a4df1c91-79c2-4efd-9876-6e34edc2153d 2025-06-10 17:15:02,720 - INFO - Waiting for VM ctest-TestRoutersBasic-27586091-44107880 to be up.. 2025-06-10 17:15:02,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 17:15:08,036 - DEBUG - VM is in ACTIVE state now 2025-06-10 17:15:08,036 - INFO - VM name : ctest-TestRoutersBasic-27586091-44107880 2025-06-10 17:15:08,115 - DEBUG - VM ctest-TestRoutersBasic-27586091-44107880 ID is 40177031-1cab-4629-a4a5-310c72559453 2025-06-10 17:15:08,134 - DEBUG - VM ctest-TestRoutersBasic-27586091-44107880 launched on Node cn-jenkins-deploy-platform-ansible-os-3436-1 2025-06-10 17:15:08,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40177031-1cab-4629-a4a5-310c72559453 2025-06-10 17:15:08,502 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40177031-1cab-4629-a4a5-310c72559453 2025-06-10 17:15:08,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f4813f28-cac8-4430-9801-b99b6ed36456 2025-06-10 17:15:11,813 - 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 1027ms') 2025-06-10 17:15:11,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27586091-44107880 failed! 2025-06-10 17:15:11,868 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27586091:ctest-vn-38457211 is 28.68.123.129 and allocation pool is NOT set 2025-06-10 17:15:13,932 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.099/2.995/3.891/0.896 ms') 2025-06-10 17:15:13,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27586091-44107880 passed 2025-06-10 17:15:14,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 17:15:14,092 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27586091-44107880, IP 28.68.123.131, Port 22 2025-06-10 17:15:14,261 - DEBUG - VM ctest-TestRoutersBasic-27586091-44107880 is ready for SSH connections 2025-06-10 17:15:14,261 - INFO - Waiting for VM ctest-TestRoutersBasic-27586091-08458775 to be up.. 2025-06-10 17:15:14,358 - DEBUG - VM is in ACTIVE state now 2025-06-10 17:15:14,358 - INFO - VM name : ctest-TestRoutersBasic-27586091-08458775 2025-06-10 17:15:14,438 - DEBUG - VM ctest-TestRoutersBasic-27586091-08458775 ID is 154bc7d1-adde-40be-84a5-b4dfb99ca5bd 2025-06-10 17:15:14,438 - DEBUG - VM ctest-TestRoutersBasic-27586091-08458775 launched on Node cn-jenkins-deploy-platform-ansible-os-3436-1 2025-06-10 17:15:14,520 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/154bc7d1-adde-40be-84a5-b4dfb99ca5bd 2025-06-10 17:15:14,530 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b8688983-55fe-4794-b4a2-48bd588305ae 2025-06-10 17:15:15,777 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.413/1.496/2.579/1.083 ms') 2025-06-10 17:15:15,777 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27586091-08458775 passed 2025-06-10 17:15:15,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 17:15:15,932 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27586091-08458775, IP 109.155.14.131, Port 22 2025-06-10 17:15:16,094 - DEBUG - VM ctest-TestRoutersBasic-27586091-08458775 is ready for SSH connections 2025-06-10 17:15:16,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 17:15:16,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.155.14.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-10 17:15:16,095 - DEBUG - ping -s 56 -c 3 -W 1 109.155.14.131 2025-06-10 17:15:20,123 - DEBUG - PING 109.155.14.131 (109.155.14.131): 56 data bytes 64 bytes from 109.155.14.131: seq=0 ttl=62 time=6.067 ms 64 bytes from 109.155.14.131: seq=1 ttl=62 time=0.840 ms 64 bytes from 109.155.14.131: seq=2 ttl=62 time=1.005 ms --- 109.155.14.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/2.637/6.067 ms 2025-06-10 17:15:20,123 - INFO - Ping to IP 109.155.14.131 from VM ctest-TestRoutersBasic-27586091-44107880 passed 2025-06-10 17:15:20,123 - INFO - Deleting interface with subnet_id 2244cd81-3e91-4024-9ce9-1db92276732f, port_id None from router a4df1c91-79c2-4efd-9876-6e34edc2153d 2025-06-10 17:15:20,329 - INFO - Deleting VM ctest-TestRoutersBasic-27586091-08458775 2025-06-10 17:15:20,396 - INFO - Deleting VM ctest-TestRoutersBasic-27586091-44107880 2025-06-10 17:15:20,487 - INFO - Deleting VN ctest-ext_vn-17744866 2025-06-10 17:15:20,569 - DEBUG - VN ae0cb63e-822b-420c-83b6-177ea3cecac2 still in use: Unable to complete operation on network ae0cb63e-822b-420c-83b6-177ea3cecac2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45245455-d294-4a5d-a066-f9896a0583f5'] 2025-06-10 17:15:20,569 - WARNING - Deleting VN ctest-ext_vn-17744866 failed..Will retry 2025-06-10 17:15:22,685 - DEBUG - Response for deleting network () 2025-06-10 17:15:22,685 - INFO - Deleting VN ctest-vn-38457211 2025-06-10 17:15:22,781 - DEBUG - Response for deleting network () 2025-06-10 17:15:23,037 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 17:15:23,037 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-06-10 17:15:23,037 - INFO - -------------------------------------------------------------------------------- 2025-06-10 17:15:23,726 - INFO - Deleted project: ctest-TestRoutersBasic-27586091, ID : e9df688b-9d1c-4ed3-ad32-2b927bc2ffd2