2026-08-18 07:16:05,633 - INFO - Domain Default found not creating 2026-08-18 07:16:05,802 - INFO - Project ctest-TestRoutersBasic-19601138 not found, creating it 2026-08-18 07:16:06,306 - INFO - Created Project:ctest-TestRoutersBasic-19601138, ID : 8531b7ec-8f93-4e7c-97b6-ebc083bd46fd 2026-08-18 07:16:08,162 - INFO - ================================================================================ 2026-08-18 07:16:08,162 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-18 07:16:08,162 - 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-18 07:16:08,422 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2026-08-18 07:16:08,422 - INFO - Initial checks done. Running the testcase now 2026-08-18 07:16:08,422 - INFO - 2026-08-18 07:16:09,308 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19601138 2026-08-18 07:16:09,408 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19601138 2026-08-18 07:16:09,747 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19601138', 'default']} 2026-08-18 07:16:10,064 - DEBUG - Response for create_network : {'network': {'id': 'ad1d7ebb-b34f-4775-a32a-3e15a51589ed', 'name': 'ctest-vn-45490858', 'tenant_id': '8531b7ec8f934e7c97b6ebc083bd46fd', 'project_id': '8531b7ec8f934e7c97b6ebc083bd46fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19601138', 'ctest-vn-45490858'], 'port_security_enabled': True, 'description': ''}} 2026-08-18 07:16:10,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '59ff4d13-95a5-4514-827a-aeb788b7fe38', 'name': '', 'tenant_id': '8531b7ec8f934e7c97b6ebc083bd46fd', 'network_id': 'ad1d7ebb-b34f-4775-a32a-3e15a51589ed', 'ip_version': 4, 'cidr': '81.72.77.64/26', 'allocation_pools': [{'start': '81.72.77.66', 'end': '81.72.77.126'}], 'gateway_ip': '81.72.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.72.77.66', 'tags': [], 'project_id': '8531b7ec8f934e7c97b6ebc083bd46fd'}} 2026-08-18 07:16:10,310 - INFO - Created VN ctest-vn-45490858 2026-08-18 07:16:10,364 - DEBUG - VN ctest-vn-45490858 UUID is ad1d7ebb-b34f-4775-a32a-3e15a51589ed 2026-08-18 07:16:10,732 - DEBUG - Response for create_network : {'network': {'id': 'c2045760-2e57-439d-9ef8-1a3c488d9e4d', 'name': 'ctest-ext_vn-16948173', 'tenant_id': '8531b7ec8f934e7c97b6ebc083bd46fd', 'project_id': '8531b7ec8f934e7c97b6ebc083bd46fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19601138', 'ctest-ext_vn-16948173'], 'port_security_enabled': True, 'description': ''}} 2026-08-18 07:16:10,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f71c2c8-b601-49d2-b3fe-ec90765ba6f2', 'name': '', 'tenant_id': '8531b7ec8f934e7c97b6ebc083bd46fd', 'network_id': 'c2045760-2e57-439d-9ef8-1a3c488d9e4d', 'ip_version': 4, 'cidr': '63.133.123.128/26', 'allocation_pools': [{'start': '63.133.123.130', 'end': '63.133.123.190'}], 'gateway_ip': '63.133.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.133.123.130', 'tags': [], 'project_id': '8531b7ec8f934e7c97b6ebc083bd46fd'}} 2026-08-18 07:16:10,935 - INFO - Created VN ctest-ext_vn-16948173 2026-08-18 07:16:10,988 - DEBUG - VN ctest-ext_vn-16948173 UUID is c2045760-2e57-439d-9ef8-1a3c488d9e4d 2026-08-18 07:16:11,198 - DEBUG - Services list from nova: [, , ] 2026-08-18 07:16:11,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6179-1) 2026-08-18 07:16:11,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6179-1) 2026-08-18 07:16:12,058 - INFO - Setting gateway for router f8a9c752-dc75-4e1b-9ffb-7bb4f860efe4 to network c2045760-2e57-439d-9ef8-1a3c488d9e4d 2026-08-18 07:16:12,127 - INFO - Adding interface with subnet_id 59ff4d13-95a5-4514-827a-aeb788b7fe38, port_id None to router f8a9c752-dc75-4e1b-9ffb-7bb4f860efe4 2026-08-18 07:16:12,472 - INFO - Waiting for VM ctest-TestRoutersBasic-19601138-00234103 to be up.. 2026-08-18 07:16:12,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:17,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:22,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:27,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:32,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:38,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:43,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:48,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 07:16:53,301 - DEBUG - VM is in ACTIVE state now 2026-08-18 07:16:53,301 - INFO - VM name : ctest-TestRoutersBasic-19601138-00234103 2026-08-18 07:16:53,384 - DEBUG - VM ctest-TestRoutersBasic-19601138-00234103 ID is c3e2c72d-ca8f-4d0a-a5c4-4fad391d219a 2026-08-18 07:16:53,412 - DEBUG - VM ctest-TestRoutersBasic-19601138-00234103 launched on Node cn-jenkins-deploy-platform-ansible-os-6179-1 2026-08-18 07:16:53,507 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c3e2c72d-ca8f-4d0a-a5c4-4fad391d219a 2026-08-18 07:16:53,886 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c3e2c72d-ca8f-4d0a-a5c4-4fad391d219a 2026-08-18 07:16:53,927 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7ea0cd7f-06a1-4118-9e56-022e32b5081d 2026-08-18 07:16:57,205 - 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=3.75 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 = 3.751/3.751/3.751/0.000 ms') 2026-08-18 07:16:57,205 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-19601138-00234103 passed 2026-08-18 07:16:57,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 07:16:57,356 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19601138-00234103, IP 81.72.77.67, Port 22 2026-08-18 07:16:57,526 - DEBUG - VM ctest-TestRoutersBasic-19601138-00234103 is ready for SSH connections 2026-08-18 07:16:57,526 - INFO - Waiting for VM ctest-TestRoutersBasic-19601138-27248329 to be up.. 2026-08-18 07:16:57,613 - DEBUG - VM is in ACTIVE state now 2026-08-18 07:16:57,613 - INFO - VM name : ctest-TestRoutersBasic-19601138-27248329 2026-08-18 07:16:57,697 - DEBUG - VM ctest-TestRoutersBasic-19601138-27248329 ID is f97ae451-c8f5-413b-8972-864ee6d60e3f 2026-08-18 07:16:57,697 - DEBUG - VM ctest-TestRoutersBasic-19601138-27248329 launched on Node cn-jenkins-deploy-platform-ansible-os-6179-1 2026-08-18 07:16:57,790 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f97ae451-c8f5-413b-8972-864ee6d60e3f 2026-08-18 07:16:57,800 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8a801b6c-374c-42f7-9bb0-e29755319155 2026-08-18 07:16:59,049 - 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=13.1 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.94 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 = 1.942/7.531/13.121/5.589 ms') 2026-08-18 07:16:59,049 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-19601138-27248329 passed 2026-08-18 07:16:59,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 07:16:59,204 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19601138-27248329, IP 63.133.123.132, Port 22 2026-08-18 07:16:59,270 - 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-08-18 07:16:59,362 - DEBUG - VM ctest-TestRoutersBasic-19601138-27248329 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-18 07:17:04,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 07:17:04,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19601138-27248329, IP 63.133.123.132, Port 22 2026-08-18 07:17:04,535 - DEBUG - VM ctest-TestRoutersBasic-19601138-27248329 is ready for SSH connections 2026-08-18 07:17:04,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 07:17:04,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.133.123.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-08-18 07:17:04,535 - DEBUG - ping -s 56 -c 3 -W 1 63.133.123.132 2026-08-18 07:17:07,592 - DEBUG - PING 63.133.123.132 (63.133.123.132): 56 data bytes 64 bytes from 63.133.123.132: seq=0 ttl=62 time=7.298 ms 64 bytes from 63.133.123.132: seq=1 ttl=62 time=1.136 ms 64 bytes from 63.133.123.132: seq=2 ttl=62 time=1.236 ms --- 63.133.123.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.136/3.223/7.298 ms 2026-08-18 07:17:07,592 - INFO - Ping to IP 63.133.123.132 from VM ctest-TestRoutersBasic-19601138-00234103 passed 2026-08-18 07:17:07,592 - INFO - Deleting interface with subnet_id 59ff4d13-95a5-4514-827a-aeb788b7fe38, port_id None from router f8a9c752-dc75-4e1b-9ffb-7bb4f860efe4 2026-08-18 07:17:07,819 - INFO - Deleting VM ctest-TestRoutersBasic-19601138-27248329 2026-08-18 07:17:07,906 - INFO - Deleting VM ctest-TestRoutersBasic-19601138-00234103 2026-08-18 07:17:07,985 - INFO - Deleting VN ctest-ext_vn-16948173 2026-08-18 07:17:08,050 - DEBUG - VN c2045760-2e57-439d-9ef8-1a3c488d9e4d still in use: Unable to complete operation on network c2045760-2e57-439d-9ef8-1a3c488d9e4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c3f4df4-3a24-44ed-849d-804fc20238e4'] 2026-08-18 07:17:08,050 - WARNING - Deleting VN ctest-ext_vn-16948173 failed..Will retry 2026-08-18 07:17:10,092 - DEBUG - VN c2045760-2e57-439d-9ef8-1a3c488d9e4d still in use: Unable to complete operation on network c2045760-2e57-439d-9ef8-1a3c488d9e4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03a2b8bb-0953-4851-ba85-077d933a810e'] 2026-08-18 07:17:10,092 - WARNING - Deleting VN ctest-ext_vn-16948173 failed..Will retry 2026-08-18 07:17:12,207 - DEBUG - Response for deleting network () 2026-08-18 07:17:12,207 - INFO - Deleting VN ctest-vn-45490858 2026-08-18 07:17:12,327 - DEBUG - Response for deleting network () 2026-08-18 07:17:12,596 - DEBUG - No XMPP flaps were noticed during the test 2026-08-18 07:17:12,596 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04] 2026-08-18 07:17:12,596 - INFO - -------------------------------------------------------------------------------- 2026-08-18 07:17:13,393 - INFO - Deleted project: ctest-TestRoutersBasic-19601138, ID : 8531b7ec-8f93-4e7c-97b6-ebc083bd46fd