2026-10-20 19:05:59,177 - INFO - Domain Default found not creating 2026-10-20 19:05:59,369 - INFO - Project ctest-TestRoutersBasic-28058730 not found, creating it 2026-10-20 19:05:59,830 - INFO - Created Project:ctest-TestRoutersBasic-28058730, ID : 8f619960-372c-464b-a2d6-c690d9e52ee0 2026-10-20 19:06:01,831 - INFO - ================================================================================ 2026-10-20 19:06:01,831 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-20 19:06:01,831 - 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-10-20 19:06:02,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-20 19:06:02,087 - INFO - Initial checks done. Running the testcase now 2026-10-20 19:06:02,087 - INFO - 2026-10-20 19:06:02,967 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28058730 2026-10-20 19:06:03,061 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28058730 2026-10-20 19:06:03,380 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28058730', 'default']} 2026-10-20 19:06:03,686 - DEBUG - Response for create_network : {'network': {'id': '34c614c9-fe34-4871-b730-86fe246ff7d8', 'name': 'ctest-vn-06121060', 'tenant_id': '8f619960372c464ba2d6c690d9e52ee0', 'project_id': '8f619960372c464ba2d6c690d9e52ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28058730', 'ctest-vn-06121060'], 'port_security_enabled': True, 'description': ''}} 2026-10-20 19:06:03,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea6be2f2-d7ca-4000-a60a-b6aa6a879add', 'name': '', 'tenant_id': '8f619960372c464ba2d6c690d9e52ee0', 'network_id': '34c614c9-fe34-4871-b730-86fe246ff7d8', 'ip_version': 4, 'cidr': '217.181.79.64/26', 'allocation_pools': [{'start': '217.181.79.66', 'end': '217.181.79.126'}], 'gateway_ip': '217.181.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.181.79.66', 'tags': [], 'project_id': '8f619960372c464ba2d6c690d9e52ee0'}} 2026-10-20 19:06:03,935 - INFO - Created VN ctest-vn-06121060 2026-10-20 19:06:03,989 - DEBUG - VN ctest-vn-06121060 UUID is 34c614c9-fe34-4871-b730-86fe246ff7d8 2026-10-20 19:06:04,374 - DEBUG - Response for create_network : {'network': {'id': '8a0bcb80-ecbb-4474-b9f1-2792641dab14', 'name': 'ctest-ext_vn-46501522', 'tenant_id': '8f619960372c464ba2d6c690d9e52ee0', 'project_id': '8f619960372c464ba2d6c690d9e52ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28058730', 'ctest-ext_vn-46501522'], 'port_security_enabled': True, 'description': ''}} 2026-10-20 19:06:04,556 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0d3c046-3115-49b1-9358-f3d81b845517', 'name': '', 'tenant_id': '8f619960372c464ba2d6c690d9e52ee0', 'network_id': '8a0bcb80-ecbb-4474-b9f1-2792641dab14', 'ip_version': 4, 'cidr': '152.49.203.192/26', 'allocation_pools': [{'start': '152.49.203.194', 'end': '152.49.203.254'}], 'gateway_ip': '152.49.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.49.203.194', 'tags': [], 'project_id': '8f619960372c464ba2d6c690d9e52ee0'}} 2026-10-20 19:06:04,574 - INFO - Created VN ctest-ext_vn-46501522 2026-10-20 19:06:04,640 - DEBUG - VN ctest-ext_vn-46501522 UUID is 8a0bcb80-ecbb-4474-b9f1-2792641dab14 2026-10-20 19:06:04,874 - DEBUG - Services list from nova: [, , ] 2026-10-20 19:06:05,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6376-1) 2026-10-20 19:06:05,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6376-1) 2026-10-20 19:06:05,813 - INFO - Setting gateway for router 74ea5ed0-7e6e-46cd-ac22-e5ec4bf23817 to network 8a0bcb80-ecbb-4474-b9f1-2792641dab14 2026-10-20 19:06:05,893 - INFO - Adding interface with subnet_id ea6be2f2-d7ca-4000-a60a-b6aa6a879add, port_id None to router 74ea5ed0-7e6e-46cd-ac22-e5ec4bf23817 2026-10-20 19:06:06,167 - INFO - Waiting for VM ctest-TestRoutersBasic-28058730-71989654 to be up.. 2026-10-20 19:06:06,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:11,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:16,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:21,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:26,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:31,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:36,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:41,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:46,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:06:52,002 - DEBUG - VM is in ACTIVE state now 2026-10-20 19:06:52,002 - INFO - VM name : ctest-TestRoutersBasic-28058730-71989654 2026-10-20 19:06:52,075 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 ID is 2ab3287b-f5ad-4f8a-ad54-65e778ad2f5e 2026-10-20 19:06:52,095 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 launched on Node cn-jenkins-deploy-platform-ansible-os-6376-1 2026-10-20 19:06:52,231 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/2ab3287b-f5ad-4f8a-ad54-65e778ad2f5e 2026-10-20 19:06:52,603 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/2ab3287b-f5ad-4f8a-ad54-65e778ad2f5e 2026-10-20 19:06:52,632 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/968d8893-0078-4936-a944-6592f888f3ad 2026-10-20 19:06:55,899 - 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=2 ttl=63 time=26.4 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 26.354/26.354/26.354/0.000 ms') 2026-10-20 19:06:55,900 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-28058730-71989654 passed 2026-10-20 19:06:56,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:06:56,081 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:06:56,146 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:06:56,215 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:01,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:01,216 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:01,272 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:07:01,352 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:06,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:06,354 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:06,423 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:07:06,499 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:11,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:11,500 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:11,566 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:07:11,640 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:16,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:16,643 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:16,700 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:07:16,764 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:21,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:21,765 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:21,824 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:07:21,890 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:26,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:26,891 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:26,948 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:07:27,062 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:32,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:32,063 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:32,120 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:07:32,195 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:07:37,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:37,196 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-71989654, IP 217.181.79.67, Port 22 2026-10-20 19:07:37,362 - DEBUG - VM ctest-TestRoutersBasic-28058730-71989654 is ready for SSH connections 2026-10-20 19:07:37,362 - INFO - Waiting for VM ctest-TestRoutersBasic-28058730-20338097 to be up.. 2026-10-20 19:07:37,443 - DEBUG - VM is in ACTIVE state now 2026-10-20 19:07:37,443 - INFO - VM name : ctest-TestRoutersBasic-28058730-20338097 2026-10-20 19:07:37,555 - DEBUG - VM ctest-TestRoutersBasic-28058730-20338097 ID is a5f5a2b4-7a5c-4b09-b09d-c1e2b4578645 2026-10-20 19:07:37,555 - DEBUG - VM ctest-TestRoutersBasic-28058730-20338097 launched on Node cn-jenkins-deploy-platform-ansible-os-6376-1 2026-10-20 19:07:37,634 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a5f5a2b4-7a5c-4b09-b09d-c1e2b4578645 2026-10-20 19:07:37,641 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/096ddb35-b6a4-4b53-ba31-619eda8d3669 2026-10-20 19:07:38,886 - 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=2.11 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.05 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.053/2.082/2.112/0.029 ms') 2026-10-20 19:07:38,891 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-28058730-20338097 passed 2026-10-20 19:07:39,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:39,057 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28058730-20338097, IP 152.49.203.196, Port 22 2026-10-20 19:07:39,216 - DEBUG - VM ctest-TestRoutersBasic-28058730-20338097 is ready for SSH connections 2026-10-20 19:07:39,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:07:39,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.49.203.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-20 19:07:39,217 - DEBUG - ping -s 56 -c 3 -W 1 152.49.203.196 2026-10-20 19:07:42,191 - DEBUG - PING 152.49.203.196 (152.49.203.196): 56 data bytes 64 bytes from 152.49.203.196: seq=0 ttl=62 time=5.634 ms 64 bytes from 152.49.203.196: seq=1 ttl=62 time=5.191 ms 64 bytes from 152.49.203.196: seq=2 ttl=62 time=1.038 ms --- 152.49.203.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/3.954/5.634 ms 2026-10-20 19:07:42,192 - INFO - Ping to IP 152.49.203.196 from VM ctest-TestRoutersBasic-28058730-71989654 passed 2026-10-20 19:07:42,192 - INFO - Deleting interface with subnet_id ea6be2f2-d7ca-4000-a60a-b6aa6a879add, port_id None from router 74ea5ed0-7e6e-46cd-ac22-e5ec4bf23817 2026-10-20 19:07:42,405 - INFO - Deleting VM ctest-TestRoutersBasic-28058730-20338097 2026-10-20 19:07:42,492 - INFO - Deleting VM ctest-TestRoutersBasic-28058730-71989654 2026-10-20 19:07:42,566 - INFO - Deleting VN ctest-ext_vn-46501522 2026-10-20 19:07:42,626 - DEBUG - VN 8a0bcb80-ecbb-4474-b9f1-2792641dab14 still in use: Unable to complete operation on network 8a0bcb80-ecbb-4474-b9f1-2792641dab14. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f538a5e8-eabf-43a8-acaa-862ea33d0e61'] 2026-10-20 19:07:42,626 - WARNING - Deleting VN ctest-ext_vn-46501522 failed..Will retry 2026-10-20 19:07:44,660 - DEBUG - VN 8a0bcb80-ecbb-4474-b9f1-2792641dab14 still in use: Unable to complete operation on network 8a0bcb80-ecbb-4474-b9f1-2792641dab14. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-883837ae-1685-4ccb-b993-55058dac013e'] 2026-10-20 19:07:44,660 - WARNING - Deleting VN ctest-ext_vn-46501522 failed..Will retry 2026-10-20 19:07:46,750 - DEBUG - Response for deleting network () 2026-10-20 19:07:46,751 - INFO - Deleting VN ctest-vn-06121060 2026-10-20 19:07:46,842 - DEBUG - Response for deleting network () 2026-10-20 19:07:47,098 - DEBUG - No XMPP flaps were noticed during the test 2026-10-20 19:07:47,098 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:46] 2026-10-20 19:07:47,098 - INFO - -------------------------------------------------------------------------------- 2026-10-20 19:07:47,867 - INFO - Deleted project: ctest-TestRoutersBasic-28058730, ID : 8f619960-372c-464b-a2d6-c690d9e52ee0