2026-01-19 15:03:37,830 - INFO - Domain Default found not creating 2026-01-19 15:03:37,979 - INFO - Project ctest-TestRoutersBasic-08445937 not found, creating it 2026-01-19 15:03:38,686 - INFO - Created Project:ctest-TestRoutersBasic-08445937, ID : f5351e7d-2c10-4d97-a4ba-18061b4027b7 2026-01-19 15:03:40,221 - INFO - ================================================================================ 2026-01-19 15:03:40,221 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-19 15:03:40,221 - 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-01-19 15:03:41,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.240': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2026-01-19 15:03:41,519 - INFO - Initial checks done. Running the testcase now 2026-01-19 15:03:41,519 - INFO - 2026-01-19 15:03:42,274 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08445937 2026-01-19 15:03:42,334 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08445937 2026-01-19 15:03:42,701 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08445937', 'default']} 2026-01-19 15:03:43,179 - DEBUG - Response for create_network : {'network': {'id': '5499eff8-9a86-49f2-9b9b-b7f55abd5302', 'name': 'ctest-vn-00870167', 'tenant_id': 'f5351e7d2c104d97a4ba18061b4027b7', 'project_id': 'f5351e7d2c104d97a4ba18061b4027b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08445937', 'ctest-vn-00870167'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 15:03:43,486 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e39e273f-8bc5-487a-96d1-78c580509a10', 'name': '', 'tenant_id': 'f5351e7d2c104d97a4ba18061b4027b7', 'network_id': '5499eff8-9a86-49f2-9b9b-b7f55abd5302', 'ip_version': 4, 'cidr': '178.102.155.64/26', 'allocation_pools': [{'start': '178.102.155.66', 'end': '178.102.155.126'}], 'gateway_ip': '178.102.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.102.155.66', 'tags': [], 'project_id': 'f5351e7d2c104d97a4ba18061b4027b7'}} 2026-01-19 15:03:43,525 - INFO - Created VN ctest-vn-00870167 2026-01-19 15:03:43,543 - DEBUG - VN ctest-vn-00870167 UUID is 5499eff8-9a86-49f2-9b9b-b7f55abd5302 2026-01-19 15:03:44,040 - DEBUG - Response for create_network : {'network': {'id': 'd2a19079-4516-47a6-9ae1-f5b8af96a597', 'name': 'ctest-ext_vn-06647482', 'tenant_id': 'f5351e7d2c104d97a4ba18061b4027b7', 'project_id': 'f5351e7d2c104d97a4ba18061b4027b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08445937', 'ctest-ext_vn-06647482'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 15:03:44,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '05e11f44-e779-4d79-a0e7-3ed74a456268', 'name': '', 'tenant_id': 'f5351e7d2c104d97a4ba18061b4027b7', 'network_id': 'd2a19079-4516-47a6-9ae1-f5b8af96a597', 'ip_version': 4, 'cidr': '8.28.165.192/26', 'allocation_pools': [{'start': '8.28.165.194', 'end': '8.28.165.254'}], 'gateway_ip': '8.28.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.28.165.194', 'tags': [], 'project_id': 'f5351e7d2c104d97a4ba18061b4027b7'}} 2026-01-19 15:03:44,329 - INFO - Created VN ctest-ext_vn-06647482 2026-01-19 15:03:44,344 - DEBUG - VN ctest-ext_vn-06647482 UUID is d2a19079-4516-47a6-9ae1-f5b8af96a597 2026-01-19 15:03:44,487 - DEBUG - Services list from nova: [, , , ] 2026-01-19 15:03:45,563 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5045-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5045-1) 2026-01-19 15:03:46,894 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5045-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5045-2) 2026-01-19 15:03:47,035 - INFO - Setting gateway for router 76f559f7-4507-428c-9d62-52f1e31b9736 to network d2a19079-4516-47a6-9ae1-f5b8af96a597 2026-01-19 15:03:47,146 - INFO - Adding interface with subnet_id e39e273f-8bc5-487a-96d1-78c580509a10, port_id None to router 76f559f7-4507-428c-9d62-52f1e31b9736 2026-01-19 15:03:47,761 - INFO - Waiting for VM ctest-TestRoutersBasic-08445937-96156277 to be up.. 2026-01-19 15:03:47,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 15:03:53,021 - DEBUG - VM is in ACTIVE state now 2026-01-19 15:03:53,021 - INFO - VM name : ctest-TestRoutersBasic-08445937-96156277 2026-01-19 15:03:53,134 - DEBUG - VM ctest-TestRoutersBasic-08445937-96156277 ID is 94f7a935-84ee-4faf-abbb-2f53ef407a25 2026-01-19 15:03:53,172 - DEBUG - VM ctest-TestRoutersBasic-08445937-96156277 launched on Node an-jenkins-deploy-platform-ansible-os-5045-1 2026-01-19 15:03:53,276 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/94f7a935-84ee-4faf-abbb-2f53ef407a25 2026-01-19 15:03:53,600 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/94f7a935-84ee-4faf-abbb-2f53ef407a25 2026-01-19 15:03:53,644 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/59f80656-ce65-4830-9332-3e500baead93 2026-01-19 15:03:56,900 - 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 1027ms') 2026-01-19 15:03:56,900 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08445937-96156277 failed! 2026-01-19 15:03:56,921 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08445937:ctest-vn-00870167 is 178.102.155.65 and allocation pool is NOT set 2026-01-19 15:03:58,988 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.597/2.763/1.166 ms') 2026-01-19 15:03:58,988 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08445937-96156277 passed 2026-01-19 15:03:59,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:03:59,099 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08445937-96156277, IP 178.102.155.67, Port 22 2026-01-19 15:03:59,258 - DEBUG - VM ctest-TestRoutersBasic-08445937-96156277 is ready for SSH connections 2026-01-19 15:03:59,258 - INFO - Waiting for VM ctest-TestRoutersBasic-08445937-87293347 to be up.. 2026-01-19 15:03:59,350 - DEBUG - VM is in ACTIVE state now 2026-01-19 15:03:59,351 - INFO - VM name : ctest-TestRoutersBasic-08445937-87293347 2026-01-19 15:03:59,432 - DEBUG - VM ctest-TestRoutersBasic-08445937-87293347 ID is 1861123e-1d79-4e9b-9d19-a809abf846aa 2026-01-19 15:03:59,432 - DEBUG - VM ctest-TestRoutersBasic-08445937-87293347 launched on Node an-jenkins-deploy-platform-ansible-os-5045-2 2026-01-19 15:03:59,512 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1861123e-1d79-4e9b-9d19-a809abf846aa 2026-01-19 15:03:59,525 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5c156842-ed62-4cef-938c-40e3bb8bcfac 2026-01-19 15:04:00,727 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.559/3.246/4.933/1.687 ms') 2026-01-19 15:04:00,727 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08445937-87293347 passed 2026-01-19 15:04:00,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:04:00,845 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08445937-87293347, IP 8.28.165.195, Port 22 2026-01-19 15:04:00,903 - 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-01-19 15:04:00,988 - DEBUG - VM ctest-TestRoutersBasic-08445937-87293347 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-19 15:04:05,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:04:05,989 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08445937-87293347, IP 8.28.165.195, Port 22 2026-01-19 15:04:06,157 - DEBUG - VM ctest-TestRoutersBasic-08445937-87293347 is ready for SSH connections 2026-01-19 15:04:06,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:04:06,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.28.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-19 15:04:06,157 - DEBUG - ping -s 56 -c 3 -W 1 8.28.165.195 2026-01-19 15:04:09,796 - DEBUG - PING 8.28.165.195 (8.28.165.195): 56 data bytes 64 bytes from 8.28.165.195: seq=0 ttl=62 time=10.102 ms 64 bytes from 8.28.165.195: seq=1 ttl=62 time=1.453 ms 64 bytes from 8.28.165.195: seq=2 ttl=62 time=1.063 ms --- 8.28.165.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/4.206/10.102 ms 2026-01-19 15:04:09,796 - INFO - Ping to IP 8.28.165.195 from VM ctest-TestRoutersBasic-08445937-96156277 passed 2026-01-19 15:04:09,796 - INFO - Deleting interface with subnet_id e39e273f-8bc5-487a-96d1-78c580509a10, port_id None from router 76f559f7-4507-428c-9d62-52f1e31b9736 2026-01-19 15:04:10,297 - INFO - Deleting VM ctest-TestRoutersBasic-08445937-87293347 2026-01-19 15:04:10,371 - INFO - Deleting VM ctest-TestRoutersBasic-08445937-96156277 2026-01-19 15:04:10,442 - INFO - Deleting VN ctest-ext_vn-06647482 2026-01-19 15:04:10,628 - DEBUG - VN d2a19079-4516-47a6-9ae1-f5b8af96a597 still in use: Unable to complete operation on network d2a19079-4516-47a6-9ae1-f5b8af96a597. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6614508-a8e8-45bb-a7d8-e49f5ae04104'] 2026-01-19 15:04:10,629 - WARNING - Deleting VN ctest-ext_vn-06647482 failed..Will retry 2026-01-19 15:04:12,846 - DEBUG - Response for deleting network () 2026-01-19 15:04:12,847 - INFO - Deleting VN ctest-vn-00870167 2026-01-19 15:04:13,052 - DEBUG - Response for deleting network () 2026-01-19 15:04:14,335 - DEBUG - No XMPP flaps were noticed during the test 2026-01-19 15:04:14,335 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-01-19 15:04:14,335 - INFO - -------------------------------------------------------------------------------- 2026-01-19 15:04:15,133 - INFO - Deleted project: ctest-TestRoutersBasic-08445937, ID : f5351e7d-2c10-4d97-a4ba-18061b4027b7