2026-04-30 02:27:01,087 - INFO - Domain Default found not creating 2026-04-30 02:27:01,306 - INFO - Project ctest-TestRoutersBasic-16936512 not found, creating it 2026-04-30 02:27:01,803 - INFO - Created Project:ctest-TestRoutersBasic-16936512, ID : 0f436b8c-d802-4896-84ed-f755ed68158c 2026-04-30 02:27:03,437 - INFO - ================================================================================ 2026-04-30 02:27:03,438 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-30 02:27:03,438 - 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 2026-04-30 02:27:03,710 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2026-04-30 02:27:03,710 - INFO - Initial checks done. Running the testcase now 2026-04-30 02:27:03,710 - INFO - 2026-04-30 02:27:04,429 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16936512 2026-04-30 02:27:04,524 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16936512 2026-04-30 02:27:04,852 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16936512', 'default']} 2026-04-30 02:27:05,198 - DEBUG - Response for create_network : {'network': {'id': '16338d71-b5f9-43b6-8007-4fb24243a499', 'name': 'ctest-vn-75931628', 'tenant_id': '0f436b8cd802489684edf755ed68158c', 'project_id': '0f436b8cd802489684edf755ed68158c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16936512', 'ctest-vn-75931628'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:27:05,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '58245201-d1da-4716-a794-64a29d136ba6', 'name': '', 'tenant_id': '0f436b8cd802489684edf755ed68158c', 'network_id': '16338d71-b5f9-43b6-8007-4fb24243a499', 'ip_version': 4, 'cidr': '138.140.104.64/26', 'allocation_pools': [{'start': '138.140.104.66', 'end': '138.140.104.126'}], 'gateway_ip': '138.140.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.140.104.66', 'tags': [], 'project_id': '0f436b8cd802489684edf755ed68158c'}} 2026-04-30 02:27:05,385 - INFO - Created VN ctest-vn-75931628 2026-04-30 02:27:05,440 - DEBUG - VN ctest-vn-75931628 UUID is 16338d71-b5f9-43b6-8007-4fb24243a499 2026-04-30 02:27:05,806 - DEBUG - Response for create_network : {'network': {'id': '7d13804c-dd71-49ca-a5fa-5f493b979b0a', 'name': 'ctest-ext_vn-25261162', 'tenant_id': '0f436b8cd802489684edf755ed68158c', 'project_id': '0f436b8cd802489684edf755ed68158c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16936512', 'ctest-ext_vn-25261162'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:27:05,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a85e98a-04c7-451a-8932-70f3b006a311', 'name': '', 'tenant_id': '0f436b8cd802489684edf755ed68158c', 'network_id': '7d13804c-dd71-49ca-a5fa-5f493b979b0a', 'ip_version': 4, 'cidr': '108.224.239.0/26', 'allocation_pools': [{'start': '108.224.239.2', 'end': '108.224.239.62'}], 'gateway_ip': '108.224.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.224.239.2', 'tags': [], 'project_id': '0f436b8cd802489684edf755ed68158c'}} 2026-04-30 02:27:05,980 - INFO - Created VN ctest-ext_vn-25261162 2026-04-30 02:27:06,036 - DEBUG - VN ctest-ext_vn-25261162 UUID is 7d13804c-dd71-49ca-a5fa-5f493b979b0a 2026-04-30 02:27:06,240 - DEBUG - Services list from nova: [, , ] 2026-04-30 02:27:07,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5722-1) 2026-04-30 02:27:08,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5722-1) 2026-04-30 02:27:08,569 - INFO - Setting gateway for router f9e43a50-0bcc-473f-84f6-2e12a50e764a to network 7d13804c-dd71-49ca-a5fa-5f493b979b0a 2026-04-30 02:27:08,639 - INFO - Adding interface with subnet_id 58245201-d1da-4716-a794-64a29d136ba6, port_id None to router f9e43a50-0bcc-473f-84f6-2e12a50e764a 2026-04-30 02:27:09,014 - INFO - Waiting for VM ctest-TestRoutersBasic-16936512-84379951 to be up.. 2026-04-30 02:27:09,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 02:27:14,289 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:27:14,289 - INFO - VM name : ctest-TestRoutersBasic-16936512-84379951 2026-04-30 02:27:14,399 - DEBUG - VM ctest-TestRoutersBasic-16936512-84379951 ID is b1cb50ca-6817-4a40-877d-bdde67dad794 2026-04-30 02:27:14,425 - DEBUG - VM ctest-TestRoutersBasic-16936512-84379951 launched on Node cn-jenkins-deploy-platform-ansible-os-5722-1 2026-04-30 02:27:14,528 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b1cb50ca-6817-4a40-877d-bdde67dad794 2026-04-30 02:27:14,826 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b1cb50ca-6817-4a40-877d-bdde67dad794 2026-04-30 02:27:14,861 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/5d343d1e-24f5-4f1e-834e-7b8f1e4f8b8d 2026-04-30 02:27:18,122 - 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') 2026-04-30 02:27:18,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16936512-84379951 failed! 2026-04-30 02:27:18,176 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16936512:ctest-vn-75931628 is 138.140.104.65 and allocation pool is NOT set 2026-04-30 02:27:20,248 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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.048/2.560/3.073/0.512 ms') 2026-04-30 02:27:20,248 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16936512-84379951 passed 2026-04-30 02:27:20,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:27:20,404 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16936512-84379951, IP 138.140.104.67, Port 22 2026-04-30 02:27:20,470 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-30 02:27:20,569 - DEBUG - VM ctest-TestRoutersBasic-16936512-84379951 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 02:27:25,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:27:25,570 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16936512-84379951, IP 138.140.104.67, Port 22 2026-04-30 02:27:25,732 - DEBUG - VM ctest-TestRoutersBasic-16936512-84379951 is ready for SSH connections 2026-04-30 02:27:25,732 - INFO - Waiting for VM ctest-TestRoutersBasic-16936512-79358192 to be up.. 2026-04-30 02:27:25,815 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:27:25,815 - INFO - VM name : ctest-TestRoutersBasic-16936512-79358192 2026-04-30 02:27:25,892 - DEBUG - VM ctest-TestRoutersBasic-16936512-79358192 ID is 4facc988-48fa-4776-b052-ada860bae343 2026-04-30 02:27:25,892 - DEBUG - VM ctest-TestRoutersBasic-16936512-79358192 launched on Node cn-jenkins-deploy-platform-ansible-os-5722-1 2026-04-30 02:27:25,979 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4facc988-48fa-4776-b052-ada860bae343 2026-04-30 02:27:25,988 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/eb917df4-0fe0-470a-a3de-a8169aa039b6 2026-04-30 02:27:27,226 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/2.131/3.910/1.778 ms') 2026-04-30 02:27:27,226 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16936512-79358192 passed 2026-04-30 02:27:27,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:27:27,376 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16936512-79358192, IP 108.224.239.3, Port 22 2026-04-30 02:27:27,532 - DEBUG - VM ctest-TestRoutersBasic-16936512-79358192 is ready for SSH connections 2026-04-30 02:27:27,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:27:27,532 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.224.239.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-30 02:27:27,532 - DEBUG - ping -s 56 -c 3 -W 1 108.224.239.3 2026-04-30 02:27:31,285 - DEBUG - PING 108.224.239.3 (108.224.239.3): 56 data bytes 64 bytes from 108.224.239.3: seq=0 ttl=62 time=8.768 ms 64 bytes from 108.224.239.3: seq=1 ttl=62 time=1.025 ms 64 bytes from 108.224.239.3: seq=2 ttl=62 time=1.189 ms --- 108.224.239.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.025/3.660/8.768 ms 2026-04-30 02:27:31,285 - INFO - Ping to IP 108.224.239.3 from VM ctest-TestRoutersBasic-16936512-84379951 passed 2026-04-30 02:27:31,285 - INFO - Deleting interface with subnet_id 58245201-d1da-4716-a794-64a29d136ba6, port_id None from router f9e43a50-0bcc-473f-84f6-2e12a50e764a 2026-04-30 02:27:31,524 - INFO - Deleting VM ctest-TestRoutersBasic-16936512-79358192 2026-04-30 02:27:31,615 - INFO - Deleting VM ctest-TestRoutersBasic-16936512-84379951 2026-04-30 02:27:31,718 - INFO - Deleting VN ctest-ext_vn-25261162 2026-04-30 02:27:31,789 - DEBUG - VN 7d13804c-dd71-49ca-a5fa-5f493b979b0a still in use: Unable to complete operation on network 7d13804c-dd71-49ca-a5fa-5f493b979b0a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7be5ab9-6779-4a00-b5b9-47a222153cf5'] 2026-04-30 02:27:31,789 - WARNING - Deleting VN ctest-ext_vn-25261162 failed..Will retry 2026-04-30 02:27:33,898 - DEBUG - Response for deleting network () 2026-04-30 02:27:33,898 - INFO - Deleting VN ctest-vn-75931628 2026-04-30 02:27:34,001 - DEBUG - Response for deleting network () 2026-04-30 02:27:34,257 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 02:27:34,257 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-04-30 02:27:34,257 - INFO - -------------------------------------------------------------------------------- 2026-04-30 02:27:35,037 - INFO - Deleted project: ctest-TestRoutersBasic-16936512, ID : 0f436b8c-d802-4896-84ed-f755ed68158c