2026-08-21 05:16:28,099 - INFO - Domain Default found not creating 2026-08-21 05:16:28,245 - INFO - Project ctest-TestRoutersBasic-84939944 not found, creating it 2026-08-21 05:16:28,710 - INFO - Created Project:ctest-TestRoutersBasic-84939944, ID : aaeb9675-ecae-407a-b0bf-0b71e4d12cdc 2026-08-21 05:16:30,343 - INFO - ================================================================================ 2026-08-21 05:16:30,343 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-21 05:16:30,343 - 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-08-21 05:16:30,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-21 05:16:30,599 - INFO - Initial checks done. Running the testcase now 2026-08-21 05:16:30,600 - INFO - 2026-08-21 05:16:31,357 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84939944 2026-08-21 05:16:31,454 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84939944 2026-08-21 05:16:31,777 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84939944', 'default']} 2026-08-21 05:16:32,078 - DEBUG - Response for create_network : {'network': {'id': '6d41c63c-e4d5-4592-9091-5386b80ab629', 'name': 'ctest-vn-21153244', 'tenant_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc', 'project_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84939944', 'ctest-vn-21153244'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:16:32,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4b4189f-96ea-4eed-abcd-88159f7735be', 'name': '', 'tenant_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc', 'network_id': '6d41c63c-e4d5-4592-9091-5386b80ab629', 'ip_version': 4, 'cidr': '68.173.55.128/26', 'allocation_pools': [{'start': '68.173.55.130', 'end': '68.173.55.190'}], 'gateway_ip': '68.173.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.173.55.130', 'tags': [], 'project_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc'}} 2026-08-21 05:16:32,291 - INFO - Created VN ctest-vn-21153244 2026-08-21 05:16:32,341 - DEBUG - VN ctest-vn-21153244 UUID is 6d41c63c-e4d5-4592-9091-5386b80ab629 2026-08-21 05:16:32,705 - DEBUG - Response for create_network : {'network': {'id': '0b20bafc-eb83-426e-96c3-5cc8c76e951a', 'name': 'ctest-ext_vn-96513468', 'tenant_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc', 'project_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84939944', 'ctest-ext_vn-96513468'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:16:32,927 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e04d1f64-e676-4a5c-8da5-af4412e2d4c6', 'name': '', 'tenant_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc', 'network_id': '0b20bafc-eb83-426e-96c3-5cc8c76e951a', 'ip_version': 4, 'cidr': '210.65.139.128/26', 'allocation_pools': [{'start': '210.65.139.130', 'end': '210.65.139.190'}], 'gateway_ip': '210.65.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.65.139.130', 'tags': [], 'project_id': 'aaeb9675ecae407ab0bf0b71e4d12cdc'}} 2026-08-21 05:16:32,945 - INFO - Created VN ctest-ext_vn-96513468 2026-08-21 05:16:32,997 - DEBUG - VN ctest-ext_vn-96513468 UUID is 0b20bafc-eb83-426e-96c3-5cc8c76e951a 2026-08-21 05:16:33,200 - DEBUG - Services list from nova: [, , ] 2026-08-21 05:16:33,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6198-1) 2026-08-21 05:16:33,887 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6198-1) 2026-08-21 05:16:33,975 - INFO - Setting gateway for router 6a6a2403-4cd1-4373-a371-112a3120225f to network 0b20bafc-eb83-426e-96c3-5cc8c76e951a 2026-08-21 05:16:34,032 - INFO - Adding interface with subnet_id d4b4189f-96ea-4eed-abcd-88159f7735be, port_id None to router 6a6a2403-4cd1-4373-a371-112a3120225f 2026-08-21 05:16:34,368 - INFO - Waiting for VM ctest-TestRoutersBasic-84939944-06202486 to be up.. 2026-08-21 05:16:34,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:16:39,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:16:44,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:16:49,659 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:16:54,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:16:59,868 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:17:04,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:17:10,030 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:17:10,030 - INFO - VM name : ctest-TestRoutersBasic-84939944-06202486 2026-08-21 05:17:10,108 - DEBUG - VM ctest-TestRoutersBasic-84939944-06202486 ID is 273a379a-2c99-4c7a-935e-b48985fa0984 2026-08-21 05:17:10,129 - DEBUG - VM ctest-TestRoutersBasic-84939944-06202486 launched on Node cn-jenkins-deploy-platform-ansible-os-6198-1 2026-08-21 05:17:10,200 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/273a379a-2c99-4c7a-935e-b48985fa0984 2026-08-21 05:17:10,529 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/273a379a-2c99-4c7a-935e-b48985fa0984 2026-08-21 05:17:10,556 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/80002f3c-f09e-4bf4-9db2-32e8766883d0 2026-08-21 05:17:13,828 - 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-08-21 05:17:13,828 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-84939944-06202486 failed! 2026-08-21 05:17:13,885 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84939944:ctest-vn-21153244 is 68.173.55.129 and allocation pool is NOT set 2026-08-21 05:17:15,953 - 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=11.8 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.97 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.967/7.372/11.778/4.405 ms') 2026-08-21 05:17:15,953 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-84939944-06202486 passed 2026-08-21 05:17:16,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:17:16,105 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84939944-06202486, IP 68.173.55.131, Port 22 2026-08-21 05:17:16,171 - 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-08-21 05:17:16,244 - DEBUG - VM ctest-TestRoutersBasic-84939944-06202486 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 05:17:21,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:17:21,245 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84939944-06202486, IP 68.173.55.131, Port 22 2026-08-21 05:17:21,402 - DEBUG - VM ctest-TestRoutersBasic-84939944-06202486 is ready for SSH connections 2026-08-21 05:17:21,402 - INFO - Waiting for VM ctest-TestRoutersBasic-84939944-76985895 to be up.. 2026-08-21 05:17:21,475 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:17:21,475 - INFO - VM name : ctest-TestRoutersBasic-84939944-76985895 2026-08-21 05:17:21,549 - DEBUG - VM ctest-TestRoutersBasic-84939944-76985895 ID is 35ac88eb-d201-423b-9625-d639382dfb11 2026-08-21 05:17:21,549 - DEBUG - VM ctest-TestRoutersBasic-84939944-76985895 launched on Node cn-jenkins-deploy-platform-ansible-os-6198-1 2026-08-21 05:17:21,623 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/35ac88eb-d201-423b-9625-d639382dfb11 2026-08-21 05:17:21,633 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/6ca8c0bb-5a72-4c49-be83-9296e00f625a 2026-08-21 05:17:22,868 - 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=3.70 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.529 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 = 0.529/2.112/3.695/1.583 ms') 2026-08-21 05:17:22,868 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-84939944-76985895 passed 2026-08-21 05:17:23,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:17:23,021 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84939944-76985895, IP 210.65.139.132, Port 22 2026-08-21 05:17:23,177 - DEBUG - VM ctest-TestRoutersBasic-84939944-76985895 is ready for SSH connections 2026-08-21 05:17:23,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:17:23,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.65.139.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-21 05:17:23,177 - DEBUG - ping -s 56 -c 3 -W 1 210.65.139.132 2026-08-21 05:17:26,102 - DEBUG - PING 210.65.139.132 (210.65.139.132): 56 data bytes 64 bytes from 210.65.139.132: seq=0 ttl=62 time=6.363 ms 64 bytes from 210.65.139.132: seq=1 ttl=62 time=1.018 ms 64 bytes from 210.65.139.132: seq=2 ttl=62 time=1.399 ms --- 210.65.139.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.018/2.926/6.363 ms 2026-08-21 05:17:26,102 - INFO - Ping to IP 210.65.139.132 from VM ctest-TestRoutersBasic-84939944-06202486 passed 2026-08-21 05:17:26,102 - INFO - Deleting interface with subnet_id d4b4189f-96ea-4eed-abcd-88159f7735be, port_id None from router 6a6a2403-4cd1-4373-a371-112a3120225f 2026-08-21 05:17:26,291 - INFO - Deleting VM ctest-TestRoutersBasic-84939944-76985895 2026-08-21 05:17:26,366 - INFO - Deleting VM ctest-TestRoutersBasic-84939944-06202486 2026-08-21 05:17:26,435 - INFO - Deleting VN ctest-ext_vn-96513468 2026-08-21 05:17:26,497 - DEBUG - VN 0b20bafc-eb83-426e-96c3-5cc8c76e951a still in use: Unable to complete operation on network 0b20bafc-eb83-426e-96c3-5cc8c76e951a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7a9ae4e-74ef-49e6-a3cb-6493b3b9aab1'] 2026-08-21 05:17:26,497 - WARNING - Deleting VN ctest-ext_vn-96513468 failed..Will retry 2026-08-21 05:17:28,539 - DEBUG - VN 0b20bafc-eb83-426e-96c3-5cc8c76e951a still in use: Unable to complete operation on network 0b20bafc-eb83-426e-96c3-5cc8c76e951a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af6cfe9c-ad87-4d96-b3c2-fa0d760d1411'] 2026-08-21 05:17:28,539 - WARNING - Deleting VN ctest-ext_vn-96513468 failed..Will retry 2026-08-21 05:17:30,643 - DEBUG - Response for deleting network () 2026-08-21 05:17:30,644 - INFO - Deleting VN ctest-vn-21153244 2026-08-21 05:17:30,757 - DEBUG - Response for deleting network () 2026-08-21 05:17:31,016 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 05:17:31,016 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01] 2026-08-21 05:17:31,016 - INFO - -------------------------------------------------------------------------------- 2026-08-21 05:17:31,730 - INFO - Deleted project: ctest-TestRoutersBasic-84939944, ID : aaeb9675-ecae-407a-b0bf-0b71e4d12cdc