2025-10-27 11:51:32,190 - INFO - Domain Default found not creating 2025-10-27 11:51:32,364 - INFO - Project ctest-TestRoutersBasic-62540600 not found, creating it 2025-10-27 11:51:32,834 - INFO - Created Project:ctest-TestRoutersBasic-62540600, ID : 570a8178-1efc-4be9-a467-3c93fd5d6c9f 2025-10-27 11:51:34,480 - INFO - ================================================================================ 2025-10-27 11:51:34,480 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 11:51:34,480 - 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-27 11:51:34,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.25': '0'}} with 2025-10-27 11:51:34,760 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:51:34,761 - INFO - 2025-10-27 11:51:35,578 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62540600 2025-10-27 11:51:35,678 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62540600 2025-10-27 11:51:35,998 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62540600', 'default']} 2025-10-27 11:51:36,322 - DEBUG - Response for create_network : {'network': {'id': 'fc014478-e78f-4cb1-9fcf-ca22be90a085', 'name': 'ctest-vn-50164749', 'tenant_id': '570a81781efc4be9a4673c93fd5d6c9f', 'project_id': '570a81781efc4be9a4673c93fd5d6c9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62540600', 'ctest-vn-50164749'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:51:36,567 - DEBUG - Response for create_subnet : {'subnet': {'id': '626c5485-8926-4ec7-aa04-7c0d85602346', 'name': '', 'tenant_id': '570a81781efc4be9a4673c93fd5d6c9f', 'network_id': 'fc014478-e78f-4cb1-9fcf-ca22be90a085', 'ip_version': 4, 'cidr': '62.221.10.128/26', 'allocation_pools': [{'start': '62.221.10.130', 'end': '62.221.10.190'}], 'gateway_ip': '62.221.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.221.10.130', 'tags': [], 'project_id': '570a81781efc4be9a4673c93fd5d6c9f'}} 2025-10-27 11:51:36,587 - INFO - Created VN ctest-vn-50164749 2025-10-27 11:51:36,642 - DEBUG - VN ctest-vn-50164749 UUID is fc014478-e78f-4cb1-9fcf-ca22be90a085 2025-10-27 11:51:37,006 - DEBUG - Response for create_network : {'network': {'id': '88bf906e-6844-4b65-8135-eb662973d398', 'name': 'ctest-ext_vn-12059275', 'tenant_id': '570a81781efc4be9a4673c93fd5d6c9f', 'project_id': '570a81781efc4be9a4673c93fd5d6c9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62540600', 'ctest-ext_vn-12059275'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:51:37,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a3e522f-765c-40eb-96eb-db528919b52d', 'name': '', 'tenant_id': '570a81781efc4be9a4673c93fd5d6c9f', 'network_id': '88bf906e-6844-4b65-8135-eb662973d398', 'ip_version': 4, 'cidr': '204.246.45.128/26', 'allocation_pools': [{'start': '204.246.45.130', 'end': '204.246.45.190'}], 'gateway_ip': '204.246.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.246.45.130', 'tags': [], 'project_id': '570a81781efc4be9a4673c93fd5d6c9f'}} 2025-10-27 11:51:37,269 - INFO - Created VN ctest-ext_vn-12059275 2025-10-27 11:51:37,326 - DEBUG - VN ctest-ext_vn-12059275 UUID is 88bf906e-6844-4b65-8135-eb662973d398 2025-10-27 11:51:37,574 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:51:38,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:51:40,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:51:40,150 - INFO - Setting gateway for router ccadeb94-17c4-40cb-9d5e-f1d77707ed35 to network 88bf906e-6844-4b65-8135-eb662973d398 2025-10-27 11:51:40,213 - INFO - Adding interface with subnet_id 626c5485-8926-4ec7-aa04-7c0d85602346, port_id None to router ccadeb94-17c4-40cb-9d5e-f1d77707ed35 2025-10-27 11:51:40,585 - INFO - Waiting for VM ctest-TestRoutersBasic-62540600-16751446 to be up.. 2025-10-27 11:51:40,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:51:45,900 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:51:45,900 - INFO - VM name : ctest-TestRoutersBasic-62540600-16751446 2025-10-27 11:51:45,989 - DEBUG - VM ctest-TestRoutersBasic-62540600-16751446 ID is 385be48d-00b4-4f51-a946-8f250d554586 2025-10-27 11:51:46,011 - DEBUG - VM ctest-TestRoutersBasic-62540600-16751446 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:51:46,100 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/385be48d-00b4-4f51-a946-8f250d554586 2025-10-27 11:51:46,444 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/385be48d-00b4-4f51-a946-8f250d554586 2025-10-27 11:51:46,485 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/b8e5768c-43c2-4558-b84e-1f4f5a014756 2025-10-27 11:51:49,734 - 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 1013ms') 2025-10-27 11:51:49,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62540600-16751446 failed! 2025-10-27 11:51:49,795 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62540600:ctest-vn-50164749 is 62.221.10.129 and allocation pool is NOT set 2025-10-27 11:51:51,857 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.706 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.706/2.183/3.660/1.477 ms') 2025-10-27 11:51:51,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62540600-16751446 passed 2025-10-27 11:51:52,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:52,006 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62540600-16751446, IP 62.221.10.131, Port 22 2025-10-27 11:51:52,166 - DEBUG - VM ctest-TestRoutersBasic-62540600-16751446 is ready for SSH connections 2025-10-27 11:51:52,166 - INFO - Waiting for VM ctest-TestRoutersBasic-62540600-77703880 to be up.. 2025-10-27 11:51:52,251 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:51:52,252 - INFO - VM name : ctest-TestRoutersBasic-62540600-77703880 2025-10-27 11:51:52,350 - DEBUG - VM ctest-TestRoutersBasic-62540600-77703880 ID is 8caae273-8889-4f3f-b2e8-f5a6ceeb65b4 2025-10-27 11:51:52,350 - DEBUG - VM ctest-TestRoutersBasic-62540600-77703880 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:51:52,437 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/8caae273-8889-4f3f-b2e8-f5a6ceeb65b4 2025-10-27 11:51:52,449 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/1010c6e2-5c79-4ac6-bb29-f62da94de924 2025-10-27 11:51:53,698 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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 = 1.051/3.149/5.247/2.098 ms') 2025-10-27 11:51:53,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62540600-77703880 passed 2025-10-27 11:51:53,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:53,850 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62540600-77703880, IP 204.246.45.131, Port 22 2025-10-27 11:51:54,016 - DEBUG - VM ctest-TestRoutersBasic-62540600-77703880 is ready for SSH connections 2025-10-27 11:51:54,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:54,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.246.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:51:54,016 - DEBUG - ping -s 56 -c 3 -W 1 204.246.45.131 2025-10-27 11:51:57,788 - DEBUG - PING 204.246.45.131 (204.246.45.131): 56 data bytes 64 bytes from 204.246.45.131: seq=0 ttl=62 time=6.595 ms 64 bytes from 204.246.45.131: seq=1 ttl=62 time=1.013 ms 64 bytes from 204.246.45.131: seq=2 ttl=62 time=0.968 ms --- 204.246.45.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/2.858/6.595 ms 2025-10-27 11:51:57,789 - INFO - Ping to IP 204.246.45.131 from VM ctest-TestRoutersBasic-62540600-16751446 passed 2025-10-27 11:51:57,789 - INFO - Deleting interface with subnet_id 626c5485-8926-4ec7-aa04-7c0d85602346, port_id None from router ccadeb94-17c4-40cb-9d5e-f1d77707ed35 2025-10-27 11:51:57,988 - INFO - Deleting VM ctest-TestRoutersBasic-62540600-77703880 2025-10-27 11:51:58,067 - INFO - Deleting VM ctest-TestRoutersBasic-62540600-16751446 2025-10-27 11:51:58,157 - INFO - Deleting VN ctest-ext_vn-12059275 2025-10-27 11:51:58,228 - DEBUG - VN 88bf906e-6844-4b65-8135-eb662973d398 still in use: Unable to complete operation on network 88bf906e-6844-4b65-8135-eb662973d398. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe336bda-046f-465f-b031-ed6322031779'] 2025-10-27 11:51:58,229 - WARNING - Deleting VN ctest-ext_vn-12059275 failed..Will retry 2025-10-27 11:52:00,361 - DEBUG - Response for deleting network () 2025-10-27 11:52:00,361 - INFO - Deleting VN ctest-vn-50164749 2025-10-27 11:52:00,493 - DEBUG - Response for deleting network () 2025-10-27 11:52:00,756 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:52:00,756 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-27 11:52:00,756 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:52:01,525 - INFO - Deleted project: ctest-TestRoutersBasic-62540600, ID : 570a8178-1efc-4be9-a467-3c93fd5d6c9f