2025-11-12 09:07:23,791 - INFO - Domain Default found not creating 2025-11-12 09:07:23,950 - INFO - Project ctest-TestRoutersBasic-08272726 not found, creating it 2025-11-12 09:07:24,421 - INFO - Created Project:ctest-TestRoutersBasic-08272726, ID : eb872398-2dc0-48b9-92b5-6f8d13569bd6 2025-11-12 09:07:25,989 - INFO - ================================================================================ 2025-11-12 09:07:25,989 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-12 09:07:25,990 - 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-12 09:07:26,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-11-12 09:07:26,249 - INFO - Initial checks done. Running the testcase now 2025-11-12 09:07:26,249 - INFO - 2025-11-12 09:07:26,955 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08272726 2025-11-12 09:07:27,051 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08272726 2025-11-12 09:07:27,371 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08272726', 'default']} 2025-11-12 09:07:27,663 - DEBUG - Response for create_network : {'network': {'id': 'c838dbad-3c73-4e15-9d3b-dd9b65f86561', 'name': 'ctest-vn-61236638', 'tenant_id': 'eb8723982dc048b992b56f8d13569bd6', 'project_id': 'eb8723982dc048b992b56f8d13569bd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08272726', 'ctest-vn-61236638'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:07:27,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '46fc450b-7147-4f5d-adbc-49c341611db2', 'name': '', 'tenant_id': 'eb8723982dc048b992b56f8d13569bd6', 'network_id': 'c838dbad-3c73-4e15-9d3b-dd9b65f86561', 'ip_version': 4, 'cidr': '103.74.242.192/26', 'allocation_pools': [{'start': '103.74.242.194', 'end': '103.74.242.254'}], 'gateway_ip': '103.74.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.74.242.194', 'tags': [], 'project_id': 'eb8723982dc048b992b56f8d13569bd6'}} 2025-11-12 09:07:27,868 - INFO - Created VN ctest-vn-61236638 2025-11-12 09:07:27,919 - DEBUG - VN ctest-vn-61236638 UUID is c838dbad-3c73-4e15-9d3b-dd9b65f86561 2025-11-12 09:07:28,290 - DEBUG - Response for create_network : {'network': {'id': '6f5101c1-5a5f-46aa-8660-7b5918e74300', 'name': 'ctest-ext_vn-21575449', 'tenant_id': 'eb8723982dc048b992b56f8d13569bd6', 'project_id': 'eb8723982dc048b992b56f8d13569bd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08272726', 'ctest-ext_vn-21575449'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:07:28,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '61a5c7da-37a1-4147-90c7-8d067c952235', 'name': '', 'tenant_id': 'eb8723982dc048b992b56f8d13569bd6', 'network_id': '6f5101c1-5a5f-46aa-8660-7b5918e74300', 'ip_version': 4, 'cidr': '114.12.216.128/26', 'allocation_pools': [{'start': '114.12.216.130', 'end': '114.12.216.190'}], 'gateway_ip': '114.12.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.12.216.130', 'tags': [], 'project_id': 'eb8723982dc048b992b56f8d13569bd6'}} 2025-11-12 09:07:28,463 - INFO - Created VN ctest-ext_vn-21575449 2025-11-12 09:07:28,515 - DEBUG - VN ctest-ext_vn-21575449 UUID is 6f5101c1-5a5f-46aa-8660-7b5918e74300 2025-11-12 09:07:28,726 - DEBUG - Services list from nova: [, , ] 2025-11-12 09:07:29,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4702-1) 2025-11-12 09:07:30,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4702-1) 2025-11-12 09:07:31,026 - INFO - Setting gateway for router b11caa23-70b2-4460-8439-926682b0d612 to network 6f5101c1-5a5f-46aa-8660-7b5918e74300 2025-11-12 09:07:31,087 - INFO - Adding interface with subnet_id 46fc450b-7147-4f5d-adbc-49c341611db2, port_id None to router b11caa23-70b2-4460-8439-926682b0d612 2025-11-12 09:07:31,415 - INFO - Waiting for VM ctest-TestRoutersBasic-08272726-56224155 to be up.. 2025-11-12 09:07:31,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 09:07:36,624 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:07:36,624 - INFO - VM name : ctest-TestRoutersBasic-08272726-56224155 2025-11-12 09:07:36,704 - DEBUG - VM ctest-TestRoutersBasic-08272726-56224155 ID is c4a6df24-6192-4dda-8f7e-e0b8e4c093fc 2025-11-12 09:07:36,723 - DEBUG - VM ctest-TestRoutersBasic-08272726-56224155 launched on Node cn-jenkins-deploy-platform-ansible-os-4702-1 2025-11-12 09:07:36,806 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c4a6df24-6192-4dda-8f7e-e0b8e4c093fc 2025-11-12 09:07:37,112 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c4a6df24-6192-4dda-8f7e-e0b8e4c093fc 2025-11-12 09:07:37,143 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b896cbaf-1bc3-4490-9360-a3137defa3b0 2025-11-12 09:07:40,389 - 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-11-12 09:07:40,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08272726-56224155 failed! 2025-11-12 09:07:40,443 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08272726:ctest-vn-61236638 is 103.74.242.193 and allocation pool is NOT set 2025-11-12 09:07:42,506 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 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.573/1.953/3.333/1.380 ms') 2025-11-12 09:07:42,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08272726-56224155 passed 2025-11-12 09:07:42,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:07:42,655 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08272726-56224155, IP 103.74.242.195, Port 22 2025-11-12 09:07:42,814 - DEBUG - VM ctest-TestRoutersBasic-08272726-56224155 is ready for SSH connections 2025-11-12 09:07:42,814 - INFO - Waiting for VM ctest-TestRoutersBasic-08272726-89298583 to be up.. 2025-11-12 09:07:42,893 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:07:42,893 - INFO - VM name : ctest-TestRoutersBasic-08272726-89298583 2025-11-12 09:07:42,962 - DEBUG - VM ctest-TestRoutersBasic-08272726-89298583 ID is ced9af2a-d2ee-4170-81fb-56f8ae7610d2 2025-11-12 09:07:42,962 - DEBUG - VM ctest-TestRoutersBasic-08272726-89298583 launched on Node cn-jenkins-deploy-platform-ansible-os-4702-1 2025-11-12 09:07:43,040 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ced9af2a-d2ee-4170-81fb-56f8ae7610d2 2025-11-12 09:07:43,051 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ca688e2d-1d53-46be-bcc4-e0af3da4a6ac 2025-11-12 09:07:44,287 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/2.272/3.978/1.706 ms') 2025-11-12 09:07:44,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08272726-89298583 passed 2025-11-12 09:07:44,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:07:44,439 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08272726-89298583, IP 114.12.216.131, Port 22 2025-11-12 09:07:44,598 - DEBUG - VM ctest-TestRoutersBasic-08272726-89298583 is ready for SSH connections 2025-11-12 09:07:44,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:07:44,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.12.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-12 09:07:44,598 - DEBUG - ping -s 56 -c 3 -W 1 114.12.216.131 2025-11-12 09:07:48,359 - DEBUG - PING 114.12.216.131 (114.12.216.131): 56 data bytes 64 bytes from 114.12.216.131: seq=0 ttl=62 time=6.815 ms 64 bytes from 114.12.216.131: seq=1 ttl=62 time=0.867 ms 64 bytes from 114.12.216.131: seq=2 ttl=62 time=0.930 ms --- 114.12.216.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/2.870/6.815 ms 2025-11-12 09:07:48,359 - INFO - Ping to IP 114.12.216.131 from VM ctest-TestRoutersBasic-08272726-56224155 passed 2025-11-12 09:07:48,359 - INFO - Deleting interface with subnet_id 46fc450b-7147-4f5d-adbc-49c341611db2, port_id None from router b11caa23-70b2-4460-8439-926682b0d612 2025-11-12 09:07:48,529 - INFO - Deleting VM ctest-TestRoutersBasic-08272726-89298583 2025-11-12 09:07:48,604 - INFO - Deleting VM ctest-TestRoutersBasic-08272726-56224155 2025-11-12 09:07:48,689 - INFO - Deleting VN ctest-ext_vn-21575449 2025-11-12 09:07:48,756 - DEBUG - VN 6f5101c1-5a5f-46aa-8660-7b5918e74300 still in use: Unable to complete operation on network 6f5101c1-5a5f-46aa-8660-7b5918e74300. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3814743d-ba24-446b-b583-97ca8650600c'] 2025-11-12 09:07:48,756 - WARNING - Deleting VN ctest-ext_vn-21575449 failed..Will retry 2025-11-12 09:07:50,851 - DEBUG - Response for deleting network () 2025-11-12 09:07:50,851 - INFO - Deleting VN ctest-vn-61236638 2025-11-12 09:07:50,954 - DEBUG - Response for deleting network () 2025-11-12 09:07:51,213 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 09:07:51,213 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-12 09:07:51,213 - INFO - -------------------------------------------------------------------------------- 2025-11-12 09:07:51,920 - INFO - Deleted project: ctest-TestRoutersBasic-08272726, ID : eb872398-2dc0-48b9-92b5-6f8d13569bd6