2026-02-12 02:27:17,120 - INFO - Domain Default found not creating 2026-02-12 02:27:17,272 - INFO - Project ctest-TestRoutersBasic-50999159 not found, creating it 2026-02-12 02:27:17,797 - INFO - Created Project:ctest-TestRoutersBasic-50999159, ID : 7284b924-24a3-45c9-9679-9966306b9847 2026-02-12 02:27:19,286 - INFO - ================================================================================ 2026-02-12 02:27:19,286 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-12 02:27:19,286 - 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-02-12 02:27:20,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2026-02-12 02:27:20,561 - INFO - Initial checks done. Running the testcase now 2026-02-12 02:27:20,561 - INFO - 2026-02-12 02:27:21,310 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50999159 2026-02-12 02:27:21,366 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50999159 2026-02-12 02:27:21,677 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50999159', 'default']} 2026-02-12 02:27:22,164 - DEBUG - Response for create_network : {'network': {'id': '36bf6fff-92a6-4ddd-b274-4d803b4f2bea', 'name': 'ctest-vn-31628488', 'tenant_id': '7284b92424a345c996799966306b9847', 'project_id': '7284b92424a345c996799966306b9847', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50999159', 'ctest-vn-31628488'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:27:22,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '55c0baa2-aa45-4b99-a094-b2967aeee16a', 'name': '', 'tenant_id': '7284b92424a345c996799966306b9847', 'network_id': '36bf6fff-92a6-4ddd-b274-4d803b4f2bea', 'ip_version': 4, 'cidr': '150.44.92.0/26', 'allocation_pools': [{'start': '150.44.92.2', 'end': '150.44.92.62'}], 'gateway_ip': '150.44.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.44.92.2', 'tags': [], 'project_id': '7284b92424a345c996799966306b9847'}} 2026-02-12 02:27:22,497 - INFO - Created VN ctest-vn-31628488 2026-02-12 02:27:22,510 - DEBUG - VN ctest-vn-31628488 UUID is 36bf6fff-92a6-4ddd-b274-4d803b4f2bea 2026-02-12 02:27:22,934 - DEBUG - Response for create_network : {'network': {'id': 'c696090f-29de-4ad0-9aa9-ad4740d3b92d', 'name': 'ctest-ext_vn-24744718', 'tenant_id': '7284b92424a345c996799966306b9847', 'project_id': '7284b92424a345c996799966306b9847', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50999159', 'ctest-ext_vn-24744718'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:27:23,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '27483511-8156-4ff9-9803-18f7c59bf9e8', 'name': '', 'tenant_id': '7284b92424a345c996799966306b9847', 'network_id': 'c696090f-29de-4ad0-9aa9-ad4740d3b92d', 'ip_version': 4, 'cidr': '131.6.225.0/26', 'allocation_pools': [{'start': '131.6.225.2', 'end': '131.6.225.62'}], 'gateway_ip': '131.6.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.6.225.2', 'tags': [], 'project_id': '7284b92424a345c996799966306b9847'}} 2026-02-12 02:27:23,225 - INFO - Created VN ctest-ext_vn-24744718 2026-02-12 02:27:23,236 - DEBUG - VN ctest-ext_vn-24744718 UUID is c696090f-29de-4ad0-9aa9-ad4740d3b92d 2026-02-12 02:27:23,407 - DEBUG - Services list from nova: [, , , ] 2026-02-12 02:27:24,501 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-2) 2026-02-12 02:27:25,760 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-1) 2026-02-12 02:27:25,890 - INFO - Setting gateway for router 3e418aba-90fe-4be8-b04c-ac150d4bd00d to network c696090f-29de-4ad0-9aa9-ad4740d3b92d 2026-02-12 02:27:25,973 - INFO - Adding interface with subnet_id 55c0baa2-aa45-4b99-a094-b2967aeee16a, port_id None to router 3e418aba-90fe-4be8-b04c-ac150d4bd00d 2026-02-12 02:27:26,446 - INFO - Waiting for VM ctest-TestRoutersBasic-50999159-83009377 to be up.. 2026-02-12 02:27:26,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 02:27:31,685 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:27:31,685 - INFO - VM name : ctest-TestRoutersBasic-50999159-83009377 2026-02-12 02:27:31,759 - DEBUG - VM ctest-TestRoutersBasic-50999159-83009377 ID is 4918e789-cf4d-4b39-abdf-1ba38dd66ea2 2026-02-12 02:27:31,785 - DEBUG - VM ctest-TestRoutersBasic-50999159-83009377 launched on Node an-jenkins-deploy-platform-ansible-os-5305-2 2026-02-12 02:27:31,878 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4918e789-cf4d-4b39-abdf-1ba38dd66ea2 2026-02-12 02:27:32,177 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4918e789-cf4d-4b39-abdf-1ba38dd66ea2 2026-02-12 02:27:32,221 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/6d732d62-4edc-408a-9ba3-39ef9ec259f7 2026-02-12 02:27:35,400 - 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 1019ms') 2026-02-12 02:27:35,400 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50999159-83009377 failed! 2026-02-12 02:27:35,415 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50999159:ctest-vn-31628488 is 150.44.92.1 and allocation pool is NOT set 2026-02-12 02:27:37,484 - 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=4.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.33 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 = 3.327/3.893/4.459/0.566 ms') 2026-02-12 02:27:37,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50999159-83009377 passed 2026-02-12 02:27:37,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:27:37,555 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50999159-83009377, IP 150.44.92.3, Port 22 2026-02-12 02:27:37,623 - 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-02-12 02:27:37,712 - DEBUG - VM ctest-TestRoutersBasic-50999159-83009377 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 02:27:42,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:27:42,713 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50999159-83009377, IP 150.44.92.3, Port 22 2026-02-12 02:27:42,873 - DEBUG - VM ctest-TestRoutersBasic-50999159-83009377 is ready for SSH connections 2026-02-12 02:27:42,873 - INFO - Waiting for VM ctest-TestRoutersBasic-50999159-29316685 to be up.. 2026-02-12 02:27:42,953 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:27:42,954 - INFO - VM name : ctest-TestRoutersBasic-50999159-29316685 2026-02-12 02:27:43,041 - DEBUG - VM ctest-TestRoutersBasic-50999159-29316685 ID is ee9c0786-70a9-417a-ac8b-da2dc730f698 2026-02-12 02:27:43,041 - DEBUG - VM ctest-TestRoutersBasic-50999159-29316685 launched on Node an-jenkins-deploy-platform-ansible-os-5305-1 2026-02-12 02:27:43,119 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ee9c0786-70a9-417a-ac8b-da2dc730f698 2026-02-12 02:27:43,129 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5872f155-53a5-4373-b974-d761fddee39a 2026-02-12 02:27:44,277 - 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=3.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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 = 0.368/1.691/3.014/1.323 ms') 2026-02-12 02:27:44,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50999159-29316685 passed 2026-02-12 02:27:44,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:27:44,347 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50999159-29316685, IP 131.6.225.3, Port 22 2026-02-12 02:27:44,503 - DEBUG - VM ctest-TestRoutersBasic-50999159-29316685 is ready for SSH connections 2026-02-12 02:27:44,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:27:44,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.6.225.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:27:44,503 - DEBUG - ping -s 56 -c 3 -W 1 131.6.225.3 2026-02-12 02:27:48,166 - DEBUG - PING 131.6.225.3 (131.6.225.3): 56 data bytes 64 bytes from 131.6.225.3: seq=0 ttl=62 time=8.249 ms 64 bytes from 131.6.225.3: seq=1 ttl=62 time=1.233 ms 64 bytes from 131.6.225.3: seq=2 ttl=62 time=1.779 ms --- 131.6.225.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.233/3.753/8.249 ms 2026-02-12 02:27:48,166 - INFO - Ping to IP 131.6.225.3 from VM ctest-TestRoutersBasic-50999159-83009377 passed 2026-02-12 02:27:48,167 - INFO - Deleting interface with subnet_id 55c0baa2-aa45-4b99-a094-b2967aeee16a, port_id None from router 3e418aba-90fe-4be8-b04c-ac150d4bd00d 2026-02-12 02:27:48,492 - INFO - Deleting VM ctest-TestRoutersBasic-50999159-29316685 2026-02-12 02:27:48,608 - INFO - Deleting VM ctest-TestRoutersBasic-50999159-83009377 2026-02-12 02:27:48,703 - INFO - Deleting VN ctest-ext_vn-24744718 2026-02-12 02:27:48,797 - DEBUG - VN c696090f-29de-4ad0-9aa9-ad4740d3b92d still in use: Unable to complete operation on network c696090f-29de-4ad0-9aa9-ad4740d3b92d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e464802-f963-4144-b914-37fa39aa3de1'] 2026-02-12 02:27:48,797 - WARNING - Deleting VN ctest-ext_vn-24744718 failed..Will retry 2026-02-12 02:27:50,963 - DEBUG - Response for deleting network () 2026-02-12 02:27:50,963 - INFO - Deleting VN ctest-vn-31628488 2026-02-12 02:27:51,122 - DEBUG - Response for deleting network () 2026-02-12 02:27:52,408 - DEBUG - No XMPP flaps were noticed during the test 2026-02-12 02:27:52,408 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-02-12 02:27:52,408 - INFO - -------------------------------------------------------------------------------- 2026-02-12 02:27:53,102 - INFO - Deleted project: ctest-TestRoutersBasic-50999159, ID : 7284b924-24a3-45c9-9679-9966306b9847