2026-03-26 02:31:14,980 - INFO - Domain Default found not creating 2026-03-26 02:31:15,351 - INFO - Project ctest-TestRoutersBasic-75033075 not found, creating it 2026-03-26 02:31:15,995 - INFO - Created Project:ctest-TestRoutersBasic-75033075, ID : 426493e5-3a3f-4ecd-bc0e-3d71e79d2530 2026-03-26 02:31:18,153 - INFO - ================================================================================ 2026-03-26 02:31:18,154 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-26 02:31:18,154 - 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-03-26 02:31:18,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.252': '0'}} with 2026-03-26 02:31:18,467 - INFO - Initial checks done. Running the testcase now 2026-03-26 02:31:18,467 - INFO - 2026-03-26 02:31:19,331 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75033075 2026-03-26 02:31:19,440 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75033075 2026-03-26 02:31:19,812 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75033075', 'default']} 2026-03-26 02:31:20,258 - DEBUG - Response for create_network : {'network': {'id': '10659799-05de-4110-851c-697655957321', 'name': 'ctest-vn-96075357', 'tenant_id': '426493e53a3f4ecdbc0e3d71e79d2530', 'project_id': '426493e53a3f4ecdbc0e3d71e79d2530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75033075', 'ctest-vn-96075357'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:31:20,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '12985c33-41a8-4616-8157-447f4ddb4e74', 'name': '', 'tenant_id': '426493e53a3f4ecdbc0e3d71e79d2530', 'network_id': '10659799-05de-4110-851c-697655957321', 'ip_version': 4, 'cidr': '95.125.232.128/26', 'allocation_pools': [{'start': '95.125.232.130', 'end': '95.125.232.190'}], 'gateway_ip': '95.125.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.125.232.130', 'tags': [], 'project_id': '426493e53a3f4ecdbc0e3d71e79d2530'}} 2026-03-26 02:31:20,477 - INFO - Created VN ctest-vn-96075357 2026-03-26 02:31:20,536 - DEBUG - VN ctest-vn-96075357 UUID is 10659799-05de-4110-851c-697655957321 2026-03-26 02:31:20,939 - DEBUG - Response for create_network : {'network': {'id': 'c0c5982f-7756-4111-a33b-5bcdf0e79d65', 'name': 'ctest-ext_vn-64037052', 'tenant_id': '426493e53a3f4ecdbc0e3d71e79d2530', 'project_id': '426493e53a3f4ecdbc0e3d71e79d2530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75033075', 'ctest-ext_vn-64037052'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:31:21,182 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2733e4f-c50b-4b56-b58f-50ad33fee46e', 'name': '', 'tenant_id': '426493e53a3f4ecdbc0e3d71e79d2530', 'network_id': 'c0c5982f-7756-4111-a33b-5bcdf0e79d65', 'ip_version': 4, 'cidr': '172.56.233.192/26', 'allocation_pools': [{'start': '172.56.233.194', 'end': '172.56.233.254'}], 'gateway_ip': '172.56.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.56.233.194', 'tags': [], 'project_id': '426493e53a3f4ecdbc0e3d71e79d2530'}} 2026-03-26 02:31:21,198 - INFO - Created VN ctest-ext_vn-64037052 2026-03-26 02:31:21,251 - DEBUG - VN ctest-ext_vn-64037052 UUID is c0c5982f-7756-4111-a33b-5bcdf0e79d65 2026-03-26 02:31:21,473 - DEBUG - Services list from nova: [, , ] 2026-03-26 02:31:22,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5542-1) 2026-03-26 02:31:24,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5542-1) 2026-03-26 02:31:24,420 - INFO - Setting gateway for router b75ff439-05d8-43d5-b0ab-ca88e3ee5835 to network c0c5982f-7756-4111-a33b-5bcdf0e79d65 2026-03-26 02:31:24,476 - INFO - Adding interface with subnet_id 12985c33-41a8-4616-8157-447f4ddb4e74, port_id None to router b75ff439-05d8-43d5-b0ab-ca88e3ee5835 2026-03-26 02:31:24,807 - INFO - Waiting for VM ctest-TestRoutersBasic-75033075-84432346 to be up.. 2026-03-26 02:31:24,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 02:31:30,072 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:31:30,072 - INFO - VM name : ctest-TestRoutersBasic-75033075-84432346 2026-03-26 02:31:30,163 - DEBUG - VM ctest-TestRoutersBasic-75033075-84432346 ID is 1eaf68ce-a243-4c3e-9076-78d2293de008 2026-03-26 02:31:30,188 - DEBUG - VM ctest-TestRoutersBasic-75033075-84432346 launched on Node cn-jenkins-deploy-platform-ansible-os-5542-1 2026-03-26 02:31:30,277 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1eaf68ce-a243-4c3e-9076-78d2293de008 2026-03-26 02:31:30,577 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1eaf68ce-a243-4c3e-9076-78d2293de008 2026-03-26 02:31:30,617 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fe565401-3b97-4e10-9078-aebfc4b50122 2026-03-26 02:31:33,890 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-03-26 02:31:33,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75033075-84432346 failed! 2026-03-26 02:31:33,951 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75033075:ctest-vn-96075357 is 95.125.232.129 and allocation pool is NOT set 2026-03-26 02:31:36,034 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.319/8.132/11.946/3.813 ms') 2026-03-26 02:31:36,035 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75033075-84432346 passed 2026-03-26 02:31:36,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:31:36,199 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75033075-84432346, IP 95.125.232.131, Port 22 2026-03-26 02:31:36,266 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-26 02:31:36,386 - DEBUG - VM ctest-TestRoutersBasic-75033075-84432346 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 02:31:41,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:31:41,387 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75033075-84432346, IP 95.125.232.131, Port 22 2026-03-26 02:31:41,580 - DEBUG - VM ctest-TestRoutersBasic-75033075-84432346 is ready for SSH connections 2026-03-26 02:31:41,580 - INFO - Waiting for VM ctest-TestRoutersBasic-75033075-26863947 to be up.. 2026-03-26 02:31:41,725 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:31:41,725 - INFO - VM name : ctest-TestRoutersBasic-75033075-26863947 2026-03-26 02:31:41,899 - DEBUG - VM ctest-TestRoutersBasic-75033075-26863947 ID is 50aa1ef8-75fe-4e44-85eb-bcc2458ad155 2026-03-26 02:31:41,899 - DEBUG - VM ctest-TestRoutersBasic-75033075-26863947 launched on Node cn-jenkins-deploy-platform-ansible-os-5542-1 2026-03-26 02:31:42,019 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/50aa1ef8-75fe-4e44-85eb-bcc2458ad155 2026-03-26 02:31:42,034 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/991a9074-f8ad-4002-8040-b79f4cf0af66 2026-03-26 02:31:43,315 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=6.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.681 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.681/3.399/6.117/2.718 ms') 2026-03-26 02:31:43,316 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75033075-26863947 passed 2026-03-26 02:31:43,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:31:43,480 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75033075-26863947, IP 172.56.233.195, Port 22 2026-03-26 02:31:43,685 - DEBUG - VM ctest-TestRoutersBasic-75033075-26863947 is ready for SSH connections 2026-03-26 02:31:43,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:31:43,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.56.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-03-26 02:31:43,685 - DEBUG - ping -s 56 -c 3 -W 1 172.56.233.195 2026-03-26 02:31:47,814 - DEBUG - PING 172.56.233.195 (172.56.233.195): 56 data bytes 64 bytes from 172.56.233.195: seq=0 ttl=62 time=5.361 ms 64 bytes from 172.56.233.195: seq=1 ttl=62 time=2.111 ms 64 bytes from 172.56.233.195: seq=2 ttl=62 time=1.615 ms --- 172.56.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.615/3.029/5.361 ms 2026-03-26 02:31:47,814 - INFO - Ping to IP 172.56.233.195 from VM ctest-TestRoutersBasic-75033075-84432346 passed 2026-03-26 02:31:47,814 - INFO - Deleting interface with subnet_id 12985c33-41a8-4616-8157-447f4ddb4e74, port_id None from router b75ff439-05d8-43d5-b0ab-ca88e3ee5835 2026-03-26 02:31:48,157 - INFO - Deleting VM ctest-TestRoutersBasic-75033075-26863947 2026-03-26 02:31:48,263 - INFO - Deleting VM ctest-TestRoutersBasic-75033075-84432346 2026-03-26 02:31:48,362 - INFO - Deleting VN ctest-ext_vn-64037052 2026-03-26 02:31:48,459 - DEBUG - VN c0c5982f-7756-4111-a33b-5bcdf0e79d65 still in use: Unable to complete operation on network c0c5982f-7756-4111-a33b-5bcdf0e79d65. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd51265d-761d-4d06-8fbd-1becf5f37090'] 2026-03-26 02:31:48,459 - WARNING - Deleting VN ctest-ext_vn-64037052 failed..Will retry 2026-03-26 02:31:50,617 - DEBUG - Response for deleting network () 2026-03-26 02:31:50,617 - INFO - Deleting VN ctest-vn-96075357 2026-03-26 02:31:50,719 - DEBUG - Response for deleting network () 2026-03-26 02:31:51,013 - DEBUG - No XMPP flaps were noticed during the test
2026-03-26 02:31:51,013 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-03-26 02:31:51,013 - INFO - -------------------------------------------------------------------------------- 2026-03-26 02:31:51,945 - INFO - Deleted project: ctest-TestRoutersBasic-75033075, ID : 426493e5-3a3f-4ecd-bc0e-3d71e79d2530