2026-01-26 02:24:51,657 - INFO - Domain Default found not creating 2026-01-26 02:24:51,826 - INFO - Project ctest-TestRoutersBasic-56042545 not found, creating it 2026-01-26 02:24:52,390 - INFO - Created Project:ctest-TestRoutersBasic-56042545, ID : 87317c04-6480-4a3e-b413-875d3d1f63d1 2026-01-26 02:24:54,759 - INFO - ================================================================================ 2026-01-26 02:24:54,759 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-26 02:24:54,760 - 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-26 02:24:56,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '0'}} with 2026-01-26 02:24:56,016 - INFO - Initial checks done. Running the testcase now 2026-01-26 02:24:56,016 - INFO - 2026-01-26 02:24:56,788 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56042545 2026-01-26 02:24:56,845 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56042545 2026-01-26 02:24:57,156 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56042545', 'default']} 2026-01-26 02:24:57,565 - DEBUG - Response for create_network : {'network': {'id': '056ae2e3-1772-4c05-8036-bd6ceea099b4', 'name': 'ctest-vn-36070636', 'tenant_id': '87317c0464804a3eb413875d3d1f63d1', 'project_id': '87317c0464804a3eb413875d3d1f63d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56042545', 'ctest-vn-36070636'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:24:57,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b8197e3-7a83-4e3f-9f54-4c04c2bb8f4d', 'name': '', 'tenant_id': '87317c0464804a3eb413875d3d1f63d1', 'network_id': '056ae2e3-1772-4c05-8036-bd6ceea099b4', 'ip_version': 4, 'cidr': '216.43.213.0/26', 'allocation_pools': [{'start': '216.43.213.2', 'end': '216.43.213.62'}], 'gateway_ip': '216.43.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.43.213.2', 'tags': [], 'project_id': '87317c0464804a3eb413875d3d1f63d1'}} 2026-01-26 02:24:57,868 - INFO - Created VN ctest-vn-36070636 2026-01-26 02:24:57,884 - DEBUG - VN ctest-vn-36070636 UUID is 056ae2e3-1772-4c05-8036-bd6ceea099b4 2026-01-26 02:24:58,324 - DEBUG - Response for create_network : {'network': {'id': 'e6e2d3b3-61db-4a14-9600-f44d16bf52ca', 'name': 'ctest-ext_vn-23633985', 'tenant_id': '87317c0464804a3eb413875d3d1f63d1', 'project_id': '87317c0464804a3eb413875d3d1f63d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56042545', 'ctest-ext_vn-23633985'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:24:58,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '73bcbad0-c2e0-441a-adc1-2b92a255fce8', 'name': '', 'tenant_id': '87317c0464804a3eb413875d3d1f63d1', 'network_id': 'e6e2d3b3-61db-4a14-9600-f44d16bf52ca', 'ip_version': 4, 'cidr': '88.187.26.0/26', 'allocation_pools': [{'start': '88.187.26.2', 'end': '88.187.26.62'}], 'gateway_ip': '88.187.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.187.26.2', 'tags': [], 'project_id': '87317c0464804a3eb413875d3d1f63d1'}} 2026-01-26 02:24:58,565 - INFO - Created VN ctest-ext_vn-23633985 2026-01-26 02:24:58,577 - DEBUG - VN ctest-ext_vn-23633985 UUID is e6e2d3b3-61db-4a14-9600-f44d16bf52ca 2026-01-26 02:24:58,714 - DEBUG - Services list from nova: [, , , ] 2026-01-26 02:24:59,755 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5076-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5076-1) 2026-01-26 02:25:01,220 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5076-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5076-2) 2026-01-26 02:25:01,348 - INFO - Setting gateway for router 56894f01-2768-42b4-993b-f55a9dd5aeec to network e6e2d3b3-61db-4a14-9600-f44d16bf52ca 2026-01-26 02:25:01,482 - INFO - Adding interface with subnet_id 8b8197e3-7a83-4e3f-9f54-4c04c2bb8f4d, port_id None to router 56894f01-2768-42b4-993b-f55a9dd5aeec 2026-01-26 02:25:01,976 - INFO - Waiting for VM ctest-TestRoutersBasic-56042545-27331025 to be up.. 2026-01-26 02:25:02,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 02:25:07,197 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:25:07,197 - INFO - VM name : ctest-TestRoutersBasic-56042545-27331025 2026-01-26 02:25:07,276 - DEBUG - VM ctest-TestRoutersBasic-56042545-27331025 ID is f7374c93-071b-4f8d-9618-8c85200aac2e 2026-01-26 02:25:07,303 - DEBUG - VM ctest-TestRoutersBasic-56042545-27331025 launched on Node an-jenkins-deploy-platform-ansible-os-5076-1 2026-01-26 02:25:07,384 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/f7374c93-071b-4f8d-9618-8c85200aac2e 2026-01-26 02:25:07,685 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/f7374c93-071b-4f8d-9618-8c85200aac2e 2026-01-26 02:25:07,720 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/b7a11dcf-8717-44a4-b120-a91f8139fda5 2026-01-26 02:25:10,898 - 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 1023ms') 2026-01-26 02:25:10,898 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56042545-27331025 failed! 2026-01-26 02:25:10,912 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56042545:ctest-vn-36070636 is 216.43.213.1 and allocation pool is NOT set 2026-01-26 02:25:12,976 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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.448/3.150/4.853/1.702 ms') 2026-01-26 02:25:12,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56042545-27331025 passed 2026-01-26 02:25:13,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:25:13,045 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56042545-27331025, IP 216.43.213.3, Port 22 2026-01-26 02:25:13,114 - 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-26 02:25:13,188 - DEBUG - VM ctest-TestRoutersBasic-56042545-27331025 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 02:25:18,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:25:18,189 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56042545-27331025, IP 216.43.213.3, Port 22 2026-01-26 02:25:18,351 - DEBUG - VM ctest-TestRoutersBasic-56042545-27331025 is ready for SSH connections 2026-01-26 02:25:18,351 - INFO - Waiting for VM ctest-TestRoutersBasic-56042545-71715853 to be up.. 2026-01-26 02:25:18,434 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:25:18,435 - INFO - VM name : ctest-TestRoutersBasic-56042545-71715853 2026-01-26 02:25:18,523 - DEBUG - VM ctest-TestRoutersBasic-56042545-71715853 ID is 864bd6e8-e660-4959-b898-86460416ca17 2026-01-26 02:25:18,523 - DEBUG - VM ctest-TestRoutersBasic-56042545-71715853 launched on Node an-jenkins-deploy-platform-ansible-os-5076-2 2026-01-26 02:25:18,628 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/864bd6e8-e660-4959-b898-86460416ca17 2026-01-26 02:25:18,641 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/ce1688e4-3124-4296-b26c-d1d3b0c667b0 2026-01-26 02:25:19,803 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/1.774/3.162/1.387 ms') 2026-01-26 02:25:19,803 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56042545-71715853 passed 2026-01-26 02:25:19,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:25:19,873 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56042545-71715853, IP 88.187.26.3, Port 22 2026-01-26 02:25:20,034 - DEBUG - VM ctest-TestRoutersBasic-56042545-71715853 is ready for SSH connections 2026-01-26 02:25:20,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:25:20,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.187.26.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-01-26 02:25:20,035 - DEBUG - ping -s 56 -c 3 -W 1 88.187.26.3 2026-01-26 02:25:23,686 - DEBUG - PING 88.187.26.3 (88.187.26.3): 56 data bytes 64 bytes from 88.187.26.3: seq=0 ttl=62 time=10.015 ms 64 bytes from 88.187.26.3: seq=1 ttl=62 time=1.859 ms 64 bytes from 88.187.26.3: seq=2 ttl=62 time=1.390 ms --- 88.187.26.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.390/4.421/10.015 ms 2026-01-26 02:25:23,686 - INFO - Ping to IP 88.187.26.3 from VM ctest-TestRoutersBasic-56042545-27331025 passed 2026-01-26 02:25:23,686 - INFO - Deleting interface with subnet_id 8b8197e3-7a83-4e3f-9f54-4c04c2bb8f4d, port_id None from router 56894f01-2768-42b4-993b-f55a9dd5aeec 2026-01-26 02:25:24,049 - INFO - Deleting VM ctest-TestRoutersBasic-56042545-71715853 2026-01-26 02:25:24,129 - INFO - Deleting VM ctest-TestRoutersBasic-56042545-27331025 2026-01-26 02:25:24,206 - INFO - Deleting VN ctest-ext_vn-23633985 2026-01-26 02:25:24,317 - DEBUG - VN e6e2d3b3-61db-4a14-9600-f44d16bf52ca still in use: Unable to complete operation on network e6e2d3b3-61db-4a14-9600-f44d16bf52ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd9df8d2-0218-4e12-9dc2-b97c95c9ba79'] 2026-01-26 02:25:24,318 - WARNING - Deleting VN ctest-ext_vn-23633985 failed..Will retry 2026-01-26 02:25:26,476 - DEBUG - Response for deleting network () 2026-01-26 02:25:26,477 - INFO - Deleting VN ctest-vn-36070636 2026-01-26 02:25:26,638 - DEBUG - Response for deleting network () 2026-01-26 02:25:27,920 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 02:25:27,920 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-01-26 02:25:27,921 - INFO - -------------------------------------------------------------------------------- 2026-01-26 02:25:28,631 - INFO - Deleted project: ctest-TestRoutersBasic-56042545, ID : 87317c04-6480-4a3e-b413-875d3d1f63d1