2026-11-06 10:12:12,140 - INFO - Domain Default found not creating 2026-11-06 10:12:12,383 - INFO - Project ctest-TestRoutersBasic-07223210 not found, creating it 2026-11-06 10:12:12,991 - INFO - Created Project:ctest-TestRoutersBasic-07223210, ID : 845db66a-065d-494d-8e9a-06f3a61784f8 2026-11-06 10:12:14,952 - INFO - ================================================================================ 2026-11-06 10:12:14,952 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-06 10:12:14,952 - 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-06 10:12:15,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-06 10:12:15,214 - INFO - Initial checks done. Running the testcase now 2026-11-06 10:12:15,215 - INFO - 2026-11-06 10:12:16,878 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07223210 2026-11-06 10:12:16,980 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07223210 2026-11-06 10:12:17,304 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07223210', 'default']} 2026-11-06 10:12:17,609 - DEBUG - Response for create_network : {'network': {'id': '9b658819-cf0b-4f00-8da4-1c7ac9eaa41c', 'name': 'ctest-vn-50973999', 'tenant_id': '845db66a065d494d8e9a06f3a61784f8', 'project_id': '845db66a065d494d8e9a06f3a61784f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07223210', 'ctest-vn-50973999'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 10:12:17,832 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f590d625-cdc7-497a-9a8c-ec20ef4f7658', 'name': '', 'tenant_id': '845db66a065d494d8e9a06f3a61784f8', 'network_id': '9b658819-cf0b-4f00-8da4-1c7ac9eaa41c', 'ip_version': 4, 'cidr': '216.248.148.192/26', 'allocation_pools': [{'start': '216.248.148.194', 'end': '216.248.148.254'}], 'gateway_ip': '216.248.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.248.148.194', 'tags': [], 'project_id': '845db66a065d494d8e9a06f3a61784f8'}} 2026-11-06 10:12:17,851 - INFO - Created VN ctest-vn-50973999 2026-11-06 10:12:17,904 - DEBUG - VN ctest-vn-50973999 UUID is 9b658819-cf0b-4f00-8da4-1c7ac9eaa41c 2026-11-06 10:12:18,266 - DEBUG - Response for create_network : {'network': {'id': 'd9493369-5056-4392-85c3-00fed72f76e9', 'name': 'ctest-ext_vn-96629615', 'tenant_id': '845db66a065d494d8e9a06f3a61784f8', 'project_id': '845db66a065d494d8e9a06f3a61784f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07223210', 'ctest-ext_vn-96629615'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 10:12:18,468 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f81b34fa-e2ea-401e-b808-f92e70d4e65a', 'name': '', 'tenant_id': '845db66a065d494d8e9a06f3a61784f8', 'network_id': 'd9493369-5056-4392-85c3-00fed72f76e9', 'ip_version': 4, 'cidr': '22.67.104.0/26', 'allocation_pools': [{'start': '22.67.104.2', 'end': '22.67.104.62'}], 'gateway_ip': '22.67.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.67.104.2', 'tags': [], 'project_id': '845db66a065d494d8e9a06f3a61784f8'}} 2026-11-06 10:12:18,490 - INFO - Created VN ctest-ext_vn-96629615 2026-11-06 10:12:18,544 - DEBUG - VN ctest-ext_vn-96629615 UUID is d9493369-5056-4392-85c3-00fed72f76e9 2026-11-06 10:12:18,714 - DEBUG - Services list from nova: [, , ] 2026-11-06 10:12:19,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6487-1) 2026-11-06 10:12:19,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6487-1) 2026-11-06 10:12:19,798 - INFO - Setting gateway for router 162aa35f-be4a-4e12-bf51-46b43772567d to network d9493369-5056-4392-85c3-00fed72f76e9 2026-11-06 10:12:19,892 - INFO - Adding interface with subnet_id f590d625-cdc7-497a-9a8c-ec20ef4f7658, port_id None to router 162aa35f-be4a-4e12-bf51-46b43772567d 2026-11-06 10:12:20,195 - INFO - Waiting for VM ctest-TestRoutersBasic-07223210-50098081 to be up.. 2026-11-06 10:12:20,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:12:25,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:12:30,462 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:12:35,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:12:40,653 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:12:45,737 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:12:50,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:12:55,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:13:01,061 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 10:13:06,157 - DEBUG - VM is in ACTIVE state now 2026-11-06 10:13:06,157 - INFO - VM name : ctest-TestRoutersBasic-07223210-50098081 2026-11-06 10:13:06,247 - DEBUG - VM ctest-TestRoutersBasic-07223210-50098081 ID is 230628a4-b174-4722-b861-19fa83a8187f 2026-11-06 10:13:06,274 - DEBUG - VM ctest-TestRoutersBasic-07223210-50098081 launched on Node cn-jenkins-deploy-platform-ansible-os-6487-1 2026-11-06 10:13:06,361 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/230628a4-b174-4722-b861-19fa83a8187f 2026-11-06 10:13:06,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/230628a4-b174-4722-b861-19fa83a8187f 2026-11-06 10:13:06,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/168d6d41-1772-4cda-a27b-3cf5ca981cf5 2026-11-06 10:13:10,030 - 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 1004ms') 2026-11-06 10:13:10,030 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07223210-50098081 failed! 2026-11-06 10:13:10,084 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07223210:ctest-vn-50973999 is 216.248.148.193 and allocation pool is NOT set 2026-11-06 10:13:12,150 - 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=10.9 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.91 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 = 3.911/7.427/10.944/3.516 ms') 2026-11-06 10:13:12,150 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07223210-50098081 passed 2026-11-06 10:13:12,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 10:13:12,308 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07223210-50098081, IP 216.248.148.195, Port 22 2026-11-06 10:13:12,378 - 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-11-06 10:13:12,484 - DEBUG - VM ctest-TestRoutersBasic-07223210-50098081 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-06 10:13:17,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 10:13:17,485 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07223210-50098081, IP 216.248.148.195, Port 22 2026-11-06 10:13:17,659 - DEBUG - VM ctest-TestRoutersBasic-07223210-50098081 is ready for SSH connections 2026-11-06 10:13:17,659 - INFO - Waiting for VM ctest-TestRoutersBasic-07223210-81997197 to be up.. 2026-11-06 10:13:17,819 - DEBUG - VM is in ACTIVE state now 2026-11-06 10:13:17,819 - INFO - VM name : ctest-TestRoutersBasic-07223210-81997197 2026-11-06 10:13:17,918 - DEBUG - VM ctest-TestRoutersBasic-07223210-81997197 ID is 25ac0f22-efdc-486f-92b7-f3a0aa540e23 2026-11-06 10:13:17,918 - DEBUG - VM ctest-TestRoutersBasic-07223210-81997197 launched on Node cn-jenkins-deploy-platform-ansible-os-6487-1 2026-11-06 10:13:18,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25ac0f22-efdc-486f-92b7-f3a0aa540e23 2026-11-06 10:13:18,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fc49d280-6386-433c-998c-2c3c678e1b52 2026-11-06 10:13:19,280 - 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.19 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 1001ms\r\nrtt min/avg/max/mdev = 0.520/2.356/4.193/1.836 ms') 2026-11-06 10:13:19,280 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-07223210-81997197 passed 2026-11-06 10:13:19,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 10:13:19,432 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07223210-81997197, IP 22.67.104.4, Port 22 2026-11-06 10:13:19,610 - DEBUG - VM ctest-TestRoutersBasic-07223210-81997197 is ready for SSH connections 2026-11-06 10:13:19,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 10:13:19,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.67.104.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-06 10:13:19,610 - DEBUG - ping -s 56 -c 3 -W 1 22.67.104.4 2026-11-06 10:13:22,741 - DEBUG - PING 22.67.104.4 (22.67.104.4): 56 data bytes 64 bytes from 22.67.104.4: seq=0 ttl=62 time=5.899 ms 64 bytes from 22.67.104.4: seq=1 ttl=62 time=1.285 ms 64 bytes from 22.67.104.4: seq=2 ttl=62 time=1.167 ms --- 22.67.104.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.167/2.783/5.899 ms 2026-11-06 10:13:22,741 - INFO - Ping to IP 22.67.104.4 from VM ctest-TestRoutersBasic-07223210-50098081 passed 2026-11-06 10:13:22,741 - INFO - Deleting interface with subnet_id f590d625-cdc7-497a-9a8c-ec20ef4f7658, port_id None from router 162aa35f-be4a-4e12-bf51-46b43772567d 2026-11-06 10:13:22,969 - INFO - Deleting VM ctest-TestRoutersBasic-07223210-81997197 2026-11-06 10:13:23,070 - INFO - Deleting VM ctest-TestRoutersBasic-07223210-50098081 2026-11-06 10:13:23,164 - INFO - Deleting VN ctest-ext_vn-96629615 2026-11-06 10:13:23,230 - DEBUG - VN d9493369-5056-4392-85c3-00fed72f76e9 still in use: Unable to complete operation on network d9493369-5056-4392-85c3-00fed72f76e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fea9a2b1-b06c-4dc7-b812-8509abe21630'] 2026-11-06 10:13:23,230 - WARNING - Deleting VN ctest-ext_vn-96629615 failed..Will retry 2026-11-06 10:13:25,280 - DEBUG - VN d9493369-5056-4392-85c3-00fed72f76e9 still in use: Unable to complete operation on network d9493369-5056-4392-85c3-00fed72f76e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1dcbe5ed-5ef4-4a32-8f8e-df3c3a3aa3d6'] 2026-11-06 10:13:25,280 - WARNING - Deleting VN ctest-ext_vn-96629615 failed..Will retry 2026-11-06 10:13:27,676 - DEBUG - Response for deleting network () 2026-11-06 10:13:27,676 - INFO - Deleting VN ctest-vn-50973999 2026-11-06 10:13:27,817 - DEBUG - Response for deleting network () 2026-11-06 10:13:28,099 - DEBUG - No XMPP flaps were noticed during the test
2026-11-06 10:13:28,099 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:14]
2026-11-06 10:13:28,100 - INFO - -------------------------------------------------------------------------------- 2026-11-06 10:13:28,930 - INFO - Deleted project: ctest-TestRoutersBasic-07223210, ID : 845db66a-065d-494d-8e9a-06f3a61784f8