2026-04-23 02:22:04,797 - INFO - Domain Default found not creating 2026-04-23 02:22:04,987 - INFO - Project ctest-TestRoutersBasic-52432025 not found, creating it 2026-04-23 02:22:05,486 - INFO - Created Project:ctest-TestRoutersBasic-52432025, ID : 7e9e3993-36d9-4d1b-b89c-b8a447351641 2026-04-23 02:22:06,929 - INFO - ================================================================================ 2026-04-23 02:22:06,929 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-23 02:22:06,929 - 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-04-23 02:22:08,189 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.131': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2026-04-23 02:22:08,189 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:22:08,190 - INFO - 2026-04-23 02:22:08,940 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52432025 2026-04-23 02:22:08,998 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52432025 2026-04-23 02:22:09,305 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52432025', 'default']} 2026-04-23 02:22:09,739 - DEBUG - Response for create_network : {'network': {'id': 'ae0ae9ab-bcf6-4139-8b4a-4235b5e0eb4c', 'name': 'ctest-vn-33403278', 'tenant_id': '7e9e399336d94d1bb89cb8a447351641', 'project_id': '7e9e399336d94d1bb89cb8a447351641', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52432025', 'ctest-vn-33403278'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:22:10,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f28ab68-5f22-42a5-bc0c-5dff17112678', 'name': '', 'tenant_id': '7e9e399336d94d1bb89cb8a447351641', 'network_id': 'ae0ae9ab-bcf6-4139-8b4a-4235b5e0eb4c', 'ip_version': 4, 'cidr': '24.177.247.192/26', 'allocation_pools': [{'start': '24.177.247.194', 'end': '24.177.247.254'}], 'gateway_ip': '24.177.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.177.247.194', 'tags': [], 'project_id': '7e9e399336d94d1bb89cb8a447351641'}} 2026-04-23 02:22:10,047 - INFO - Created VN ctest-vn-33403278 2026-04-23 02:22:10,062 - DEBUG - VN ctest-vn-33403278 UUID is ae0ae9ab-bcf6-4139-8b4a-4235b5e0eb4c 2026-04-23 02:22:10,507 - DEBUG - Response for create_network : {'network': {'id': 'e5298183-05a1-430f-9a9d-f0f347287eee', 'name': 'ctest-ext_vn-33951565', 'tenant_id': '7e9e399336d94d1bb89cb8a447351641', 'project_id': '7e9e399336d94d1bb89cb8a447351641', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52432025', 'ctest-ext_vn-33951565'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:22:10,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f9df8bf-83cd-4dc7-a4f7-77cff219dbf9', 'name': '', 'tenant_id': '7e9e399336d94d1bb89cb8a447351641', 'network_id': 'e5298183-05a1-430f-9a9d-f0f347287eee', 'ip_version': 4, 'cidr': '17.233.221.64/26', 'allocation_pools': [{'start': '17.233.221.66', 'end': '17.233.221.126'}], 'gateway_ip': '17.233.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.233.221.66', 'tags': [], 'project_id': '7e9e399336d94d1bb89cb8a447351641'}} 2026-04-23 02:22:10,775 - INFO - Created VN ctest-ext_vn-33951565 2026-04-23 02:22:10,786 - DEBUG - VN ctest-ext_vn-33951565 UUID is e5298183-05a1-430f-9a9d-f0f347287eee 2026-04-23 02:22:10,920 - DEBUG - Services list from nova: [, , , ] 2026-04-23 02:22:12,019 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5672-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5672-2) 2026-04-23 02:22:13,365 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5672-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5672-1) 2026-04-23 02:22:13,491 - INFO - Setting gateway for router 19813897-55b3-4f4b-9a4d-a56cbebb42bb to network e5298183-05a1-430f-9a9d-f0f347287eee 2026-04-23 02:22:13,564 - INFO - Adding interface with subnet_id 1f28ab68-5f22-42a5-bc0c-5dff17112678, port_id None to router 19813897-55b3-4f4b-9a4d-a56cbebb42bb 2026-04-23 02:22:14,012 - INFO - Waiting for VM ctest-TestRoutersBasic-52432025-24714874 to be up.. 2026-04-23 02:22:14,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:22:19,255 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:22:19,255 - INFO - VM name : ctest-TestRoutersBasic-52432025-24714874 2026-04-23 02:22:19,340 - DEBUG - VM ctest-TestRoutersBasic-52432025-24714874 ID is 36238f94-bc22-4856-887d-d4780dcd554c 2026-04-23 02:22:19,369 - DEBUG - VM ctest-TestRoutersBasic-52432025-24714874 launched on Node an-jenkins-deploy-platform-ansible-os-5672-2 2026-04-23 02:22:19,466 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/36238f94-bc22-4856-887d-d4780dcd554c 2026-04-23 02:22:19,764 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/36238f94-bc22-4856-887d-d4780dcd554c 2026-04-23 02:22:19,800 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e51254b0-de8d-4d26-b521-f7ac4567d4ca 2026-04-23 02:22:22,981 - 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 1016ms') 2026-04-23 02:22:22,981 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52432025-24714874 failed! 2026-04-23 02:22:22,996 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52432025:ctest-vn-33403278 is 24.177.247.193 and allocation pool is NOT set 2026-04-23 02:22:25,058 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 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 = 1.935/3.157/4.380/1.222 ms') 2026-04-23 02:22:25,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52432025-24714874 passed 2026-04-23 02:22:25,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:22:25,135 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52432025-24714874, IP 24.177.247.195, Port 22 2026-04-23 02:22:25,201 - 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-04-23 02:22:25,288 - DEBUG - VM ctest-TestRoutersBasic-52432025-24714874 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-23 02:22:30,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:22:30,288 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52432025-24714874, IP 24.177.247.195, Port 22 2026-04-23 02:22:30,456 - DEBUG - VM ctest-TestRoutersBasic-52432025-24714874 is ready for SSH connections 2026-04-23 02:22:30,456 - INFO - Waiting for VM ctest-TestRoutersBasic-52432025-50983030 to be up.. 2026-04-23 02:22:30,565 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:22:30,565 - INFO - VM name : ctest-TestRoutersBasic-52432025-50983030 2026-04-23 02:22:30,663 - DEBUG - VM ctest-TestRoutersBasic-52432025-50983030 ID is 50f26e96-8916-4c3b-a587-c60754134702 2026-04-23 02:22:30,663 - DEBUG - VM ctest-TestRoutersBasic-52432025-50983030 launched on Node an-jenkins-deploy-platform-ansible-os-5672-1 2026-04-23 02:22:30,760 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/50f26e96-8916-4c3b-a587-c60754134702 2026-04-23 02:22:30,775 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1f34497a-a8c9-4982-aeff-bdbe463b18d1 2026-04-23 02:22:33,988 - 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 1024ms') 2026-04-23 02:22:33,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52432025-50983030 failed! 2026-04-23 02:22:34,001 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52432025:ctest-ext_vn-33951565 is 17.233.221.65 and allocation pool is NOT set 2026-04-23 02:22:38,080 - 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 1018ms') 2026-04-23 02:22:38,080 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52432025-50983030 failed! 2026-04-23 02:22:38,094 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52432025:ctest-ext_vn-33951565 is 17.233.221.65 and allocation pool is NOT set 2026-04-23 02:22:40,154 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.638 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 = 0.638/2.286/3.934/1.648 ms') 2026-04-23 02:22:40,154 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52432025-50983030 passed 2026-04-23 02:22:40,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:22:40,222 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52432025-50983030, IP 17.233.221.67, Port 22 2026-04-23 02:22:40,403 - DEBUG - VM ctest-TestRoutersBasic-52432025-50983030 is ready for SSH connections 2026-04-23 02:22:40,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:22:40,403 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.233.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-04-23 02:22:40,403 - DEBUG - ping -s 56 -c 3 -W 1 17.233.221.67 2026-04-23 02:22:44,164 - DEBUG - PING 17.233.221.67 (17.233.221.67): 56 data bytes 64 bytes from 17.233.221.67: seq=0 ttl=62 time=13.323 ms 64 bytes from 17.233.221.67: seq=1 ttl=62 time=1.726 ms 64 bytes from 17.233.221.67: seq=2 ttl=62 time=1.613 ms --- 17.233.221.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.613/5.554/13.323 ms 2026-04-23 02:22:44,164 - INFO - Ping to IP 17.233.221.67 from VM ctest-TestRoutersBasic-52432025-24714874 passed 2026-04-23 02:22:44,164 - INFO - Deleting interface with subnet_id 1f28ab68-5f22-42a5-bc0c-5dff17112678, port_id None from router 19813897-55b3-4f4b-9a4d-a56cbebb42bb 2026-04-23 02:22:44,513 - INFO - Deleting VM ctest-TestRoutersBasic-52432025-50983030 2026-04-23 02:22:44,632 - INFO - Deleting VM ctest-TestRoutersBasic-52432025-24714874 2026-04-23 02:22:44,725 - INFO - Deleting VN ctest-ext_vn-33951565 2026-04-23 02:22:44,840 - DEBUG - VN e5298183-05a1-430f-9a9d-f0f347287eee still in use: Unable to complete operation on network e5298183-05a1-430f-9a9d-f0f347287eee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea6e3881-ec5b-452c-b670-0fe30f13d876'] 2026-04-23 02:22:44,840 - WARNING - Deleting VN ctest-ext_vn-33951565 failed..Will retry 2026-04-23 02:22:46,996 - DEBUG - Response for deleting network () 2026-04-23 02:22:46,997 - INFO - Deleting VN ctest-vn-33403278 2026-04-23 02:22:47,171 - DEBUG - Response for deleting network () 2026-04-23 02:22:48,450 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:22:48,450 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:42]
2026-04-23 02:22:48,450 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:22:49,223 - INFO - Deleted project: ctest-TestRoutersBasic-52432025, ID : 7e9e3993-36d9-4d1b-b89c-b8a447351641