2026-04-30 02:48:57,603 - INFO - Domain Default found not creating 2026-04-30 02:48:57,759 - INFO - Project ctest-TestRoutersBasic-90065137 not found, creating it 2026-04-30 02:48:58,282 - INFO - Created Project:ctest-TestRoutersBasic-90065137, ID : 1a0d1cc8-ccf6-41c2-badd-a4b55818bf68 2026-04-30 02:48:59,786 - INFO - ================================================================================ 2026-04-30 02:48:59,787 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-30 02:48:59,787 - 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-30 02:49:01,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.241': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2026-04-30 02:49:01,108 - INFO - Initial checks done. Running the testcase now 2026-04-30 02:49:01,108 - INFO - 2026-04-30 02:49:01,866 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90065137 2026-04-30 02:49:01,925 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90065137 2026-04-30 02:49:02,254 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90065137', 'default']} 2026-04-30 02:49:02,714 - DEBUG - Response for create_network : {'network': {'id': 'b6a3f348-1c03-4d7c-9faa-a9decd8b619e', 'name': 'ctest-vn-86303879', 'tenant_id': '1a0d1cc8ccf641c2badda4b55818bf68', 'project_id': '1a0d1cc8ccf641c2badda4b55818bf68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90065137', 'ctest-vn-86303879'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:49:02,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '21653742-0f0b-4fe9-8c4d-0b1dc6ea9d20', 'name': '', 'tenant_id': '1a0d1cc8ccf641c2badda4b55818bf68', 'network_id': 'b6a3f348-1c03-4d7c-9faa-a9decd8b619e', 'ip_version': 4, 'cidr': '181.151.123.192/26', 'allocation_pools': [{'start': '181.151.123.194', 'end': '181.151.123.254'}], 'gateway_ip': '181.151.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.151.123.194', 'tags': [], 'project_id': '1a0d1cc8ccf641c2badda4b55818bf68'}} 2026-04-30 02:49:03,010 - INFO - Created VN ctest-vn-86303879 2026-04-30 02:49:03,031 - DEBUG - VN ctest-vn-86303879 UUID is b6a3f348-1c03-4d7c-9faa-a9decd8b619e 2026-04-30 02:49:03,440 - DEBUG - Response for create_network : {'network': {'id': 'c633556b-d552-4c88-8aff-5e781bfa6ece', 'name': 'ctest-ext_vn-52755347', 'tenant_id': '1a0d1cc8ccf641c2badda4b55818bf68', 'project_id': '1a0d1cc8ccf641c2badda4b55818bf68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90065137', 'ctest-ext_vn-52755347'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:49:03,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bcd8c97-8059-4459-b161-31eafb80308c', 'name': '', 'tenant_id': '1a0d1cc8ccf641c2badda4b55818bf68', 'network_id': 'c633556b-d552-4c88-8aff-5e781bfa6ece', 'ip_version': 4, 'cidr': '184.250.244.128/26', 'allocation_pools': [{'start': '184.250.244.130', 'end': '184.250.244.190'}], 'gateway_ip': '184.250.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.250.244.130', 'tags': [], 'project_id': '1a0d1cc8ccf641c2badda4b55818bf68'}} 2026-04-30 02:49:03,753 - INFO - Created VN ctest-ext_vn-52755347 2026-04-30 02:49:03,767 - DEBUG - VN ctest-ext_vn-52755347 UUID is c633556b-d552-4c88-8aff-5e781bfa6ece 2026-04-30 02:49:03,927 - DEBUG - Services list from nova: [, , , ] 2026-04-30 02:49:05,188 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5725-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5725-2) 2026-04-30 02:49:06,579 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5725-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5725-1) 2026-04-30 02:49:06,704 - INFO - Setting gateway for router b1352280-393a-4d94-846f-41f69d0e13fb to network c633556b-d552-4c88-8aff-5e781bfa6ece 2026-04-30 02:49:06,851 - INFO - Adding interface with subnet_id 21653742-0f0b-4fe9-8c4d-0b1dc6ea9d20, port_id None to router b1352280-393a-4d94-846f-41f69d0e13fb 2026-04-30 02:49:07,285 - INFO - Waiting for VM ctest-TestRoutersBasic-90065137-28510293 to be up.. 2026-04-30 02:49:07,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 02:49:12,551 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:49:12,551 - INFO - VM name : ctest-TestRoutersBasic-90065137-28510293 2026-04-30 02:49:12,626 - DEBUG - VM ctest-TestRoutersBasic-90065137-28510293 ID is 088c42b1-88c3-42b2-a1ec-bed07744825e 2026-04-30 02:49:12,660 - DEBUG - VM ctest-TestRoutersBasic-90065137-28510293 launched on Node an-jenkins-deploy-platform-ansible-os-5725-2 2026-04-30 02:49:12,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/088c42b1-88c3-42b2-a1ec-bed07744825e 2026-04-30 02:49:13,047 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/088c42b1-88c3-42b2-a1ec-bed07744825e 2026-04-30 02:49:13,080 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8088fa6f-f327-48cd-a8c2-0a96d944a57f 2026-04-30 02:49:16,261 - 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 1014ms') 2026-04-30 02:49:16,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90065137-28510293 failed! 2026-04-30 02:49:16,275 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90065137:ctest-vn-86303879 is 181.151.123.193 and allocation pool is NOT set 2026-04-30 02:49:18,344 - 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=6.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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.108/3.587/6.067/2.479 ms') 2026-04-30 02:49:18,344 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90065137-28510293 passed 2026-04-30 02:49:18,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:49:18,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90065137-28510293, IP 181.151.123.195, Port 22 2026-04-30 02:49:18,588 - DEBUG - VM ctest-TestRoutersBasic-90065137-28510293 is ready for SSH connections 2026-04-30 02:49:18,588 - INFO - Waiting for VM ctest-TestRoutersBasic-90065137-47360599 to be up.. 2026-04-30 02:49:18,684 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:49:18,684 - INFO - VM name : ctest-TestRoutersBasic-90065137-47360599 2026-04-30 02:49:18,783 - DEBUG - VM ctest-TestRoutersBasic-90065137-47360599 ID is 9a41691f-0f23-4edb-953e-5ec4a81d94a9 2026-04-30 02:49:18,783 - DEBUG - VM ctest-TestRoutersBasic-90065137-47360599 launched on Node an-jenkins-deploy-platform-ansible-os-5725-1 2026-04-30 02:49:18,868 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9a41691f-0f23-4edb-953e-5ec4a81d94a9 2026-04-30 02:49:18,878 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e7dd4955-8615-4f87-a10c-38f8b208b81f 2026-04-30 02:49:20,044 - 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=5.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.821 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.821/2.930/5.040/2.109 ms') 2026-04-30 02:49:20,045 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90065137-47360599 passed 2026-04-30 02:49:20,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:49:20,123 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90065137-47360599, IP 184.250.244.131, Port 22 2026-04-30 02:49:20,304 - DEBUG - VM ctest-TestRoutersBasic-90065137-47360599 is ready for SSH connections 2026-04-30 02:49:20,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:49:20,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.250.244.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-30 02:49:20,305 - DEBUG - ping -s 56 -c 3 -W 1 184.250.244.131 2026-04-30 02:49:24,012 - DEBUG - PING 184.250.244.131 (184.250.244.131): 56 data bytes 64 bytes from 184.250.244.131: seq=0 ttl=62 time=10.951 ms 64 bytes from 184.250.244.131: seq=1 ttl=62 time=1.515 ms 64 bytes from 184.250.244.131: seq=2 ttl=62 time=1.649 ms --- 184.250.244.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.515/4.705/10.951 ms 2026-04-30 02:49:24,012 - INFO - Ping to IP 184.250.244.131 from VM ctest-TestRoutersBasic-90065137-28510293 passed 2026-04-30 02:49:24,012 - INFO - Deleting interface with subnet_id 21653742-0f0b-4fe9-8c4d-0b1dc6ea9d20, port_id None from router b1352280-393a-4d94-846f-41f69d0e13fb 2026-04-30 02:49:24,350 - INFO - Deleting VM ctest-TestRoutersBasic-90065137-47360599 2026-04-30 02:49:24,484 - INFO - Deleting VM ctest-TestRoutersBasic-90065137-28510293 2026-04-30 02:49:24,633 - INFO - Deleting VN ctest-ext_vn-52755347 2026-04-30 02:49:24,714 - DEBUG - VN c633556b-d552-4c88-8aff-5e781bfa6ece still in use: Unable to complete operation on network c633556b-d552-4c88-8aff-5e781bfa6ece. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d5f8516-6652-4a6d-9fd0-b54cf0cf8b83'] 2026-04-30 02:49:24,714 - WARNING - Deleting VN ctest-ext_vn-52755347 failed..Will retry 2026-04-30 02:49:26,874 - DEBUG - Response for deleting network () 2026-04-30 02:49:26,874 - INFO - Deleting VN ctest-vn-86303879 2026-04-30 02:49:27,025 - DEBUG - Response for deleting network () 2026-04-30 02:49:28,333 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 02:49:28,333 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2026-04-30 02:49:28,334 - INFO - -------------------------------------------------------------------------------- 2026-04-30 02:49:29,066 - INFO - Deleted project: ctest-TestRoutersBasic-90065137, ID : 1a0d1cc8-ccf6-41c2-badd-a4b55818bf68