2026-03-16 16:32:12,470 - INFO - Domain Default found not creating 2026-03-16 16:32:12,822 - INFO - Project ctest-TestRoutersBasic-62054748 not found, creating it 2026-03-16 16:32:13,363 - INFO - Created Project:ctest-TestRoutersBasic-62054748, ID : 812c1fd1-6014-4a27-8734-2741b3724c40 2026-03-16 16:32:15,311 - INFO - ================================================================================ 2026-03-16 16:32:15,311 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-16 16:32:15,311 - 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-03-16 16:32:15,605 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-03-16 16:32:15,605 - INFO - Initial checks done. Running the testcase now 2026-03-16 16:32:15,605 - INFO - 2026-03-16 16:32:16,535 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62054748 2026-03-16 16:32:16,636 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62054748 2026-03-16 16:32:16,984 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62054748', 'default']} 2026-03-16 16:32:17,434 - DEBUG - Response for create_network : {'network': {'id': 'ae6e6246-d516-47ae-8f74-96ec3682867c', 'name': 'ctest-vn-28284450', 'tenant_id': '812c1fd160144a2787342741b3724c40', 'project_id': '812c1fd160144a2787342741b3724c40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62054748', 'ctest-vn-28284450'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 16:32:17,696 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ded20a31-1fb5-4055-a0d1-1400d0686a3b', 'name': '', 'tenant_id': '812c1fd160144a2787342741b3724c40', 'network_id': 'ae6e6246-d516-47ae-8f74-96ec3682867c', 'ip_version': 4, 'cidr': '36.139.252.128/26', 'allocation_pools': [{'start': '36.139.252.130', 'end': '36.139.252.190'}], 'gateway_ip': '36.139.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.139.252.130', 'tags': [], 'project_id': '812c1fd160144a2787342741b3724c40'}} 2026-03-16 16:32:17,720 - INFO - Created VN ctest-vn-28284450 2026-03-16 16:32:17,776 - DEBUG - VN ctest-vn-28284450 UUID is ae6e6246-d516-47ae-8f74-96ec3682867c 2026-03-16 16:32:18,164 - DEBUG - Response for create_network : {'network': {'id': '45128ba4-623f-4c0c-870f-86487632cc33', 'name': 'ctest-ext_vn-47910408', 'tenant_id': '812c1fd160144a2787342741b3724c40', 'project_id': '812c1fd160144a2787342741b3724c40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62054748', 'ctest-ext_vn-47910408'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 16:32:18,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a2ced65-78e6-4dfb-b73a-9fa6de75513e', 'name': '', 'tenant_id': '812c1fd160144a2787342741b3724c40', 'network_id': '45128ba4-623f-4c0c-870f-86487632cc33', 'ip_version': 4, 'cidr': '223.193.81.192/26', 'allocation_pools': [{'start': '223.193.81.194', 'end': '223.193.81.254'}], 'gateway_ip': '223.193.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.193.81.194', 'tags': [], 'project_id': '812c1fd160144a2787342741b3724c40'}} 2026-03-16 16:32:18,359 - INFO - Created VN ctest-ext_vn-47910408 2026-03-16 16:32:18,413 - DEBUG - VN ctest-ext_vn-47910408 UUID is 45128ba4-623f-4c0c-870f-86487632cc33 2026-03-16 16:32:18,679 - DEBUG - Services list from nova: [, , ] 2026-03-16 16:32:20,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5477-1) 2026-03-16 16:32:21,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5477-1) 2026-03-16 16:32:21,635 - INFO - Setting gateway for router 4a19ac90-cb6f-47a6-918f-28642f9f70e2 to network 45128ba4-623f-4c0c-870f-86487632cc33 2026-03-16 16:32:21,698 - INFO - Adding interface with subnet_id ded20a31-1fb5-4055-a0d1-1400d0686a3b, port_id None to router 4a19ac90-cb6f-47a6-918f-28642f9f70e2 2026-03-16 16:32:22,067 - INFO - Waiting for VM ctest-TestRoutersBasic-62054748-50149636 to be up.. 2026-03-16 16:32:22,283 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-16 16:32:27,404 - DEBUG - VM is in ACTIVE state now 2026-03-16 16:32:27,404 - INFO - VM name : ctest-TestRoutersBasic-62054748-50149636 2026-03-16 16:32:27,485 - DEBUG - VM ctest-TestRoutersBasic-62054748-50149636 ID is 1b1535e9-5cf5-4b8c-9c62-7d68ea2ba902 2026-03-16 16:32:27,514 - DEBUG - VM ctest-TestRoutersBasic-62054748-50149636 launched on Node cn-jenkins-deploy-platform-ansible-os-5477-1 2026-03-16 16:32:27,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1b1535e9-5cf5-4b8c-9c62-7d68ea2ba902 2026-03-16 16:32:27,909 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1b1535e9-5cf5-4b8c-9c62-7d68ea2ba902 2026-03-16 16:32:27,947 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f8fde334-5182-4230-ae1f-40defa515217 2026-03-16 16:32:31,230 - 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 1029ms') 2026-03-16 16:32:31,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62054748-50149636 failed! 2026-03-16 16:32:31,296 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62054748:ctest-vn-28284450 is 36.139.252.129 and allocation pool is NOT set 2026-03-16 16:32:33,378 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.25 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 = 3.252/3.448/3.644/0.196 ms') 2026-03-16 16:32:33,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62054748-50149636 passed 2026-03-16 16:32:33,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:32:33,553 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62054748-50149636, IP 36.139.252.131, Port 22 2026-03-16 16:32:33,738 - DEBUG - VM ctest-TestRoutersBasic-62054748-50149636 is ready for SSH connections 2026-03-16 16:32:33,739 - INFO - Waiting for VM ctest-TestRoutersBasic-62054748-15021809 to be up.. 2026-03-16 16:32:33,831 - DEBUG - VM is in ACTIVE state now 2026-03-16 16:32:33,831 - INFO - VM name : ctest-TestRoutersBasic-62054748-15021809 2026-03-16 16:32:33,919 - DEBUG - VM ctest-TestRoutersBasic-62054748-15021809 ID is 97411e42-fd8f-4465-9ccd-71312603efb5 2026-03-16 16:32:33,920 - DEBUG - VM ctest-TestRoutersBasic-62054748-15021809 launched on Node cn-jenkins-deploy-platform-ansible-os-5477-1 2026-03-16 16:32:34,019 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/97411e42-fd8f-4465-9ccd-71312603efb5 2026-03-16 16:32:34,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/06d5f129-0a3d-420f-96c4-cec985146911 2026-03-16 16:32:35,293 - 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=4.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.978 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.978/2.569/4.160/1.591 ms') 2026-03-16 16:32:35,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62054748-15021809 passed 2026-03-16 16:32:35,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:32:35,456 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62054748-15021809, IP 223.193.81.195, Port 22 2026-03-16 16:32:35,523 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-16 16:32:35,636 - DEBUG - VM ctest-TestRoutersBasic-62054748-15021809 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-16 16:32:40,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:32:40,637 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62054748-15021809, IP 223.193.81.195, Port 22 2026-03-16 16:32:40,838 - DEBUG - VM ctest-TestRoutersBasic-62054748-15021809 is ready for SSH connections 2026-03-16 16:32:40,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:32:40,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.193.81.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-16 16:32:40,839 - DEBUG - ping -s 56 -c 3 -W 1 223.193.81.195 2026-03-16 16:32:44,932 - DEBUG - PING 223.193.81.195 (223.193.81.195): 56 data bytes 64 bytes from 223.193.81.195: seq=0 ttl=62 time=6.402 ms 64 bytes from 223.193.81.195: seq=1 ttl=62 time=2.113 ms 64 bytes from 223.193.81.195: seq=2 ttl=62 time=1.937 ms --- 223.193.81.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.937/3.484/6.402 ms 2026-03-16 16:32:44,932 - INFO - Ping to IP 223.193.81.195 from VM ctest-TestRoutersBasic-62054748-50149636 passed 2026-03-16 16:32:44,933 - INFO - Deleting interface with subnet_id ded20a31-1fb5-4055-a0d1-1400d0686a3b, port_id None from router 4a19ac90-cb6f-47a6-918f-28642f9f70e2 2026-03-16 16:32:45,197 - INFO - Deleting VM ctest-TestRoutersBasic-62054748-15021809 2026-03-16 16:32:45,268 - INFO - Deleting VM ctest-TestRoutersBasic-62054748-50149636 2026-03-16 16:32:45,367 - INFO - Deleting VN ctest-ext_vn-47910408 2026-03-16 16:32:45,454 - DEBUG - VN 45128ba4-623f-4c0c-870f-86487632cc33 still in use: Unable to complete operation on network 45128ba4-623f-4c0c-870f-86487632cc33. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9cb5531d-5a3d-4637-aa25-24246e502aa5'] 2026-03-16 16:32:45,454 - WARNING - Deleting VN ctest-ext_vn-47910408 failed..Will retry 2026-03-16 16:32:47,592 - DEBUG - Response for deleting network () 2026-03-16 16:32:47,592 - INFO - Deleting VN ctest-vn-28284450 2026-03-16 16:32:47,722 - DEBUG - Response for deleting network () 2026-03-16 16:32:48,031 - DEBUG - No XMPP flaps were noticed during the test 2026-03-16 16:32:48,032 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-03-16 16:32:48,032 - INFO - -------------------------------------------------------------------------------- 2026-03-16 16:32:48,892 - INFO - Deleted project: ctest-TestRoutersBasic-62054748, ID : 812c1fd1-6014-4a27-8734-2741b3724c40