2026-06-23 12:59:55,491 - INFO - Domain Default found not creating 2026-06-23 12:59:55,632 - INFO - Project ctest-TestRoutersBasic-18027416 not found, creating it 2026-06-23 12:59:56,147 - INFO - Created Project:ctest-TestRoutersBasic-18027416, ID : 9db8f1ef-e72c-462d-86d8-cbb5317f8f35 2026-06-23 12:59:57,669 - INFO - ================================================================================ 2026-06-23 12:59:57,669 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-23 12:59:57,669 - 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-06-23 12:59:57,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-23 12:59:57,920 - INFO - Initial checks done. Running the testcase now 2026-06-23 12:59:57,920 - INFO - 2026-06-23 12:59:58,648 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18027416 2026-06-23 12:59:58,744 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18027416 2026-06-23 12:59:59,060 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18027416', 'default']} 2026-06-23 12:59:59,313 - DEBUG - Response for create_network : {'network': {'id': '0a841e11-eab8-4e92-9a60-b07b358afd1a', 'name': 'ctest-vn-69213625', 'tenant_id': '9db8f1efe72c462d86d8cbb5317f8f35', 'project_id': '9db8f1efe72c462d86d8cbb5317f8f35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18027416', 'ctest-vn-69213625'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 12:59:59,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '47aaf11c-38af-488e-835e-4905892fd2ab', 'name': '', 'tenant_id': '9db8f1efe72c462d86d8cbb5317f8f35', 'network_id': '0a841e11-eab8-4e92-9a60-b07b358afd1a', 'ip_version': 4, 'cidr': '89.160.56.64/26', 'allocation_pools': [{'start': '89.160.56.66', 'end': '89.160.56.126'}], 'gateway_ip': '89.160.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.160.56.66', 'tags': [], 'project_id': '9db8f1efe72c462d86d8cbb5317f8f35'}} 2026-06-23 12:59:59,483 - INFO - Created VN ctest-vn-69213625 2026-06-23 12:59:59,532 - DEBUG - VN ctest-vn-69213625 UUID is 0a841e11-eab8-4e92-9a60-b07b358afd1a 2026-06-23 12:59:59,846 - DEBUG - Response for create_network : {'network': {'id': 'df50f4dc-37d0-4b5d-9dda-db2e07f89213', 'name': 'ctest-ext_vn-47438857', 'tenant_id': '9db8f1efe72c462d86d8cbb5317f8f35', 'project_id': '9db8f1efe72c462d86d8cbb5317f8f35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18027416', 'ctest-ext_vn-47438857'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 13:00:00,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b07aeb5-aeeb-4ff6-a58c-045027bd0de0', 'name': '', 'tenant_id': '9db8f1efe72c462d86d8cbb5317f8f35', 'network_id': 'df50f4dc-37d0-4b5d-9dda-db2e07f89213', 'ip_version': 4, 'cidr': '27.220.132.64/26', 'allocation_pools': [{'start': '27.220.132.66', 'end': '27.220.132.126'}], 'gateway_ip': '27.220.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.220.132.66', 'tags': [], 'project_id': '9db8f1efe72c462d86d8cbb5317f8f35'}} 2026-06-23 13:00:00,050 - INFO - Created VN ctest-ext_vn-47438857 2026-06-23 13:00:00,100 - DEBUG - VN ctest-ext_vn-47438857 UUID is df50f4dc-37d0-4b5d-9dda-db2e07f89213 2026-06-23 13:00:00,283 - DEBUG - Services list from nova: [, , ] 2026-06-23 13:00:01,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6026-1) 2026-06-23 13:00:02,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6026-1) 2026-06-23 13:00:02,784 - INFO - Setting gateway for router 3e1c5be5-1651-43ad-b187-c02a999ade1e to network df50f4dc-37d0-4b5d-9dda-db2e07f89213 2026-06-23 13:00:02,827 - INFO - Adding interface with subnet_id 47aaf11c-38af-488e-835e-4905892fd2ab, port_id None to router 3e1c5be5-1651-43ad-b187-c02a999ade1e 2026-06-23 13:00:03,008 - INFO - Waiting for VM ctest-TestRoutersBasic-18027416-12514341 to be up.. 2026-06-23 13:00:03,099 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 13:00:08,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 13:00:13,280 - DEBUG - VM is in ACTIVE state now 2026-06-23 13:00:13,281 - INFO - VM name : ctest-TestRoutersBasic-18027416-12514341 2026-06-23 13:00:13,345 - DEBUG - VM ctest-TestRoutersBasic-18027416-12514341 ID is d78dd100-5c3a-4ca6-b6b0-9d5a14e6c1a8 2026-06-23 13:00:13,363 - DEBUG - VM ctest-TestRoutersBasic-18027416-12514341 launched on Node cn-jenkins-deploy-platform-ansible-os-6026-1 2026-06-23 13:00:13,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d78dd100-5c3a-4ca6-b6b0-9d5a14e6c1a8 2026-06-23 13:00:13,768 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d78dd100-5c3a-4ca6-b6b0-9d5a14e6c1a8 2026-06-23 13:00:13,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98afc259-ce92-4b6a-9272-f600bd5fbb78 2026-06-23 13:00:17,051 - 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 1015ms') 2026-06-23 13:00:17,051 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-18027416-12514341 failed! 2026-06-23 13:00:17,108 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18027416:ctest-vn-69213625 is 89.160.56.65 and allocation pool is NOT set 2026-06-23 13:00:19,166 - 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=3.18 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.429 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 = 0.429/1.806/3.183/1.377 ms') 2026-06-23 13:00:19,166 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-18027416-12514341 passed 2026-06-23 13:00:19,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 13:00:19,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18027416-12514341, IP 89.160.56.67, Port 22 2026-06-23 13:00:19,468 - DEBUG - VM ctest-TestRoutersBasic-18027416-12514341 is ready for SSH connections 2026-06-23 13:00:19,468 - INFO - Waiting for VM ctest-TestRoutersBasic-18027416-31840812 to be up.. 2026-06-23 13:00:19,530 - DEBUG - VM is in ACTIVE state now 2026-06-23 13:00:19,530 - INFO - VM name : ctest-TestRoutersBasic-18027416-31840812 2026-06-23 13:00:19,589 - DEBUG - VM ctest-TestRoutersBasic-18027416-31840812 ID is 002be264-81c2-4148-95a8-cb8c285719b2 2026-06-23 13:00:19,589 - DEBUG - VM ctest-TestRoutersBasic-18027416-31840812 launched on Node cn-jenkins-deploy-platform-ansible-os-6026-1 2026-06-23 13:00:19,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/002be264-81c2-4148-95a8-cb8c285719b2 2026-06-23 13:00:19,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/af45c7b6-d098-439f-9559-76439dab5d0a 2026-06-23 13:00:20,894 - 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.83 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.972 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.972/2.902/4.832/1.930 ms') 2026-06-23 13:00:20,895 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-18027416-31840812 passed 2026-06-23 13:00:21,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 13:00:21,044 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18027416-31840812, IP 27.220.132.68, Port 22 2026-06-23 13:00:21,110 - 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-06-23 13:00:21,172 - DEBUG - VM ctest-TestRoutersBasic-18027416-31840812 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-23 13:00:26,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 13:00:26,173 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18027416-31840812, IP 27.220.132.68, Port 22 2026-06-23 13:00:26,323 - DEBUG - VM ctest-TestRoutersBasic-18027416-31840812 is ready for SSH connections 2026-06-23 13:00:26,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 13:00:26,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.220.132.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-23 13:00:26,323 - DEBUG - ping -s 56 -c 3 -W 1 27.220.132.68 2026-06-23 13:00:28,913 - DEBUG - PING 27.220.132.68 (27.220.132.68): 56 data bytes 64 bytes from 27.220.132.68: seq=0 ttl=62 time=6.165 ms 64 bytes from 27.220.132.68: seq=1 ttl=62 time=0.897 ms 64 bytes from 27.220.132.68: seq=2 ttl=62 time=0.844 ms --- 27.220.132.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/2.635/6.165 ms 2026-06-23 13:00:28,913 - INFO - Ping to IP 27.220.132.68 from VM ctest-TestRoutersBasic-18027416-12514341 passed 2026-06-23 13:00:28,913 - INFO - Deleting interface with subnet_id 47aaf11c-38af-488e-835e-4905892fd2ab, port_id None from router 3e1c5be5-1651-43ad-b187-c02a999ade1e 2026-06-23 13:00:29,071 - INFO - Deleting VM ctest-TestRoutersBasic-18027416-31840812 2026-06-23 13:00:29,134 - INFO - Deleting VM ctest-TestRoutersBasic-18027416-12514341 2026-06-23 13:00:29,201 - INFO - Deleting VN ctest-ext_vn-47438857 2026-06-23 13:00:29,247 - DEBUG - VN df50f4dc-37d0-4b5d-9dda-db2e07f89213 still in use: Unable to complete operation on network df50f4dc-37d0-4b5d-9dda-db2e07f89213. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6b03c4c3-c335-4211-90b8-079873256a7f'] 2026-06-23 13:00:29,247 - WARNING - Deleting VN ctest-ext_vn-47438857 failed..Will retry 2026-06-23 13:00:31,283 - DEBUG - VN df50f4dc-37d0-4b5d-9dda-db2e07f89213 still in use: Unable to complete operation on network df50f4dc-37d0-4b5d-9dda-db2e07f89213. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0741fb61-586b-4200-af0b-a7469c04583f'] 2026-06-23 13:00:31,283 - WARNING - Deleting VN ctest-ext_vn-47438857 failed..Will retry 2026-06-23 13:00:33,378 - DEBUG - Response for deleting network () 2026-06-23 13:00:33,378 - INFO - Deleting VN ctest-vn-69213625 2026-06-23 13:00:33,468 - DEBUG - Response for deleting network () 2026-06-23 13:00:33,720 - DEBUG - No XMPP flaps were noticed during the test
2026-06-23 13:00:33,720 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2026-06-23 13:00:33,720 - INFO - -------------------------------------------------------------------------------- 2026-06-23 13:00:34,384 - INFO - Deleted project: ctest-TestRoutersBasic-18027416, ID : 9db8f1ef-e72c-462d-86d8-cbb5317f8f35