2026-11-29 11:41:08,032 - INFO - Domain Default found not creating 2026-11-29 11:41:08,212 - INFO - Project ctest-TestRoutersBasic-29744162 not found, creating it 2026-11-29 11:41:08,791 - INFO - Created Project:ctest-TestRoutersBasic-29744162, ID : 4e082340-bf4f-4542-8036-6232ae339929 2026-11-29 11:41:10,550 - INFO - ================================================================================ 2026-11-29 11:41:10,550 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-29 11:41:10,550 - 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-11-29 11:41:10,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-11-29 11:41:10,818 - INFO - Initial checks done. Running the testcase now 2026-11-29 11:41:10,818 - INFO - 2026-11-29 11:41:11,685 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29744162 2026-11-29 11:41:11,782 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29744162 2026-11-29 11:41:12,114 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29744162', 'default']} 2026-11-29 11:41:12,424 - DEBUG - Response for create_network : {'network': {'id': '0a74a0a2-d3d8-4a64-972f-149e7cf03b90', 'name': 'ctest-vn-38533570', 'tenant_id': '4e082340bf4f454280366232ae339929', 'project_id': '4e082340bf4f454280366232ae339929', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29744162', 'ctest-vn-38533570'], 'port_security_enabled': True, 'description': ''}} 2026-11-29 11:41:12,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bf62fb5-265d-4713-8174-0f0af7606b87', 'name': '', 'tenant_id': '4e082340bf4f454280366232ae339929', 'network_id': '0a74a0a2-d3d8-4a64-972f-149e7cf03b90', 'ip_version': 4, 'cidr': '51.121.54.192/26', 'allocation_pools': [{'start': '51.121.54.194', 'end': '51.121.54.254'}], 'gateway_ip': '51.121.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.121.54.194', 'tags': [], 'project_id': '4e082340bf4f454280366232ae339929'}} 2026-11-29 11:41:12,617 - INFO - Created VN ctest-vn-38533570 2026-11-29 11:41:12,670 - DEBUG - VN ctest-vn-38533570 UUID is 0a74a0a2-d3d8-4a64-972f-149e7cf03b90 2026-11-29 11:41:13,006 - DEBUG - Response for create_network : {'network': {'id': 'a218ffeb-4b1b-4678-a8df-944c966c5f68', 'name': 'ctest-ext_vn-28632668', 'tenant_id': '4e082340bf4f454280366232ae339929', 'project_id': '4e082340bf4f454280366232ae339929', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29744162', 'ctest-ext_vn-28632668'], 'port_security_enabled': True, 'description': ''}} 2026-11-29 11:41:13,168 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2a86f30-61dd-4466-8c14-a65712316002', 'name': '', 'tenant_id': '4e082340bf4f454280366232ae339929', 'network_id': 'a218ffeb-4b1b-4678-a8df-944c966c5f68', 'ip_version': 4, 'cidr': '202.75.119.128/26', 'allocation_pools': [{'start': '202.75.119.130', 'end': '202.75.119.190'}], 'gateway_ip': '202.75.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.75.119.130', 'tags': [], 'project_id': '4e082340bf4f454280366232ae339929'}} 2026-11-29 11:41:13,185 - INFO - Created VN ctest-ext_vn-28632668 2026-11-29 11:41:13,238 - DEBUG - VN ctest-ext_vn-28632668 UUID is a218ffeb-4b1b-4678-a8df-944c966c5f68 2026-11-29 11:41:13,439 - DEBUG - Services list from nova: [, , ] 2026-11-29 11:41:13,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6519-1) 2026-11-29 11:41:14,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6519-1) 2026-11-29 11:41:14,235 - INFO - Setting gateway for router 3d9bc3a5-dc6e-4e47-b5b5-b29d113bf11a to network a218ffeb-4b1b-4678-a8df-944c966c5f68 2026-11-29 11:41:14,288 - INFO - Adding interface with subnet_id 5bf62fb5-265d-4713-8174-0f0af7606b87, port_id None to router 3d9bc3a5-dc6e-4e47-b5b5-b29d113bf11a 2026-11-29 11:41:14,502 - INFO - Waiting for VM ctest-TestRoutersBasic-29744162-90955426 to be up.. 2026-11-29 11:41:14,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:19,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:24,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:29,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:34,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:40,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:45,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:50,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:41:55,309 - DEBUG - VM is in ACTIVE state now 2026-11-29 11:41:55,309 - INFO - VM name : ctest-TestRoutersBasic-29744162-90955426 2026-11-29 11:41:55,398 - DEBUG - VM ctest-TestRoutersBasic-29744162-90955426 ID is 992e12c5-7e67-424b-bd0e-076b01888929 2026-11-29 11:41:55,419 - DEBUG - VM ctest-TestRoutersBasic-29744162-90955426 launched on Node cn-jenkins-deploy-platform-ansible-os-6519-1 2026-11-29 11:41:55,501 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/992e12c5-7e67-424b-bd0e-076b01888929 2026-11-29 11:41:55,893 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/992e12c5-7e67-424b-bd0e-076b01888929 2026-11-29 11:41:55,938 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/12f8c3f9-d145-4ac8-99b5-d13a7fd1512c 2026-11-29 11:41:59,214 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-11-29 11:41:59,214 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29744162-90955426 failed! 2026-11-29 11:41:59,278 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29744162:ctest-vn-38533570 is 51.121.54.193 and allocation pool is NOT set 2026-11-29 11:42:01,344 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.97 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.629 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.629/5.298/9.968/4.669 ms') 2026-11-29 11:42:01,345 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29744162-90955426 passed 2026-11-29 11:42:01,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:42:01,494 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29744162-90955426, IP 51.121.54.195, Port 22 2026-11-29 11:42:01,660 - DEBUG - VM ctest-TestRoutersBasic-29744162-90955426 is ready for SSH connections 2026-11-29 11:42:01,660 - INFO - Waiting for VM ctest-TestRoutersBasic-29744162-48217503 to be up.. 2026-11-29 11:42:01,749 - DEBUG - VM is in ACTIVE state now 2026-11-29 11:42:01,749 - INFO - VM name : ctest-TestRoutersBasic-29744162-48217503 2026-11-29 11:42:01,834 - DEBUG - VM ctest-TestRoutersBasic-29744162-48217503 ID is 86631d27-b913-4828-a4bd-af08e9a0e566 2026-11-29 11:42:01,835 - DEBUG - VM ctest-TestRoutersBasic-29744162-48217503 launched on Node cn-jenkins-deploy-platform-ansible-os-6519-1 2026-11-29 11:42:01,919 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/86631d27-b913-4828-a4bd-af08e9a0e566 2026-11-29 11:42:01,932 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/913ac523-fe18-4df3-9a6d-c492b63089f9 2026-11-29 11:42:03,167 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.21 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.520 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.520/2.363/4.206/1.843 ms') 2026-11-29 11:42:03,167 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-29744162-48217503 passed 2026-11-29 11:42:03,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:42:03,314 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29744162-48217503, IP 202.75.119.132, Port 22 2026-11-29 11:42:03,380 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-29 11:42:03,464 - DEBUG - VM ctest-TestRoutersBasic-29744162-48217503 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-29 11:42:08,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:42:08,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29744162-48217503, IP 202.75.119.132, Port 22 2026-11-29 11:42:08,631 - DEBUG - VM ctest-TestRoutersBasic-29744162-48217503 is ready for SSH connections 2026-11-29 11:42:08,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:42:08,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.75.119.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-29 11:42:08,632 - DEBUG - ping -s 56 -c 3 -W 1 202.75.119.132 2026-11-29 11:42:11,722 - DEBUG - PING 202.75.119.132 (202.75.119.132): 56 data bytes 64 bytes from 202.75.119.132: seq=0 ttl=62 time=8.956 ms 64 bytes from 202.75.119.132: seq=1 ttl=62 time=0.958 ms 64 bytes from 202.75.119.132: seq=2 ttl=62 time=0.943 ms --- 202.75.119.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/3.619/8.956 ms 2026-11-29 11:42:11,722 - INFO - Ping to IP 202.75.119.132 from VM ctest-TestRoutersBasic-29744162-90955426 passed 2026-11-29 11:42:11,722 - INFO - Deleting interface with subnet_id 5bf62fb5-265d-4713-8174-0f0af7606b87, port_id None from router 3d9bc3a5-dc6e-4e47-b5b5-b29d113bf11a 2026-11-29 11:42:11,926 - INFO - Deleting VM ctest-TestRoutersBasic-29744162-48217503 2026-11-29 11:42:12,019 - INFO - Deleting VM ctest-TestRoutersBasic-29744162-90955426 2026-11-29 11:42:12,102 - INFO - Deleting VN ctest-ext_vn-28632668 2026-11-29 11:42:12,181 - DEBUG - VN a218ffeb-4b1b-4678-a8df-944c966c5f68 still in use: Unable to complete operation on network a218ffeb-4b1b-4678-a8df-944c966c5f68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6e825da-fa25-4061-b783-9dc031ba0eb5'] 2026-11-29 11:42:12,181 - WARNING - Deleting VN ctest-ext_vn-28632668 failed..Will retry 2026-11-29 11:42:14,215 - DEBUG - VN a218ffeb-4b1b-4678-a8df-944c966c5f68 still in use: Unable to complete operation on network a218ffeb-4b1b-4678-a8df-944c966c5f68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d54e546-aab8-4e72-8f19-aa5d2668d36c'] 2026-11-29 11:42:14,215 - WARNING - Deleting VN ctest-ext_vn-28632668 failed..Will retry 2026-11-29 11:42:16,333 - DEBUG - Response for deleting network () 2026-11-29 11:42:16,333 - INFO - Deleting VN ctest-vn-38533570 2026-11-29 11:42:16,449 - DEBUG - Response for deleting network () 2026-11-29 11:42:16,708 - DEBUG - No XMPP flaps were noticed during the test
2026-11-29 11:42:16,708 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-11-29 11:42:16,708 - INFO - -------------------------------------------------------------------------------- 2026-11-29 11:42:17,493 - INFO - Deleted project: ctest-TestRoutersBasic-29744162, ID : 4e082340-bf4f-4542-8036-6232ae339929