2026-04-06 02:41:17,526 - INFO - Domain Default found not creating 2026-04-06 02:41:17,685 - INFO - Project ctest-TestRoutersBasic-51766587 not found, creating it 2026-04-06 02:41:18,222 - INFO - Created Project:ctest-TestRoutersBasic-51766587, ID : e1584bbd-6249-4185-a393-44b68216c0a7 2026-04-06 02:41:19,675 - INFO - ================================================================================ 2026-04-06 02:41:19,676 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-06 02:41:19,676 - 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-06 02:41:20,939 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.241': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2026-04-06 02:41:20,939 - INFO - Initial checks done. Running the testcase now 2026-04-06 02:41:20,939 - INFO - 2026-04-06 02:41:21,829 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51766587 2026-04-06 02:41:21,891 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51766587 2026-04-06 02:41:22,227 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51766587', 'default']} 2026-04-06 02:41:22,698 - DEBUG - Response for create_network : {'network': {'id': '0976d643-1d63-46d3-9f2a-dc75c8735e25', 'name': 'ctest-vn-31005427', 'tenant_id': 'e1584bbd62494185a39344b68216c0a7', 'project_id': 'e1584bbd62494185a39344b68216c0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51766587', 'ctest-vn-31005427'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:41:22,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc8324f2-0bdf-469c-93cf-07f63d214792', 'name': '', 'tenant_id': 'e1584bbd62494185a39344b68216c0a7', 'network_id': '0976d643-1d63-46d3-9f2a-dc75c8735e25', 'ip_version': 4, 'cidr': '52.128.49.0/26', 'allocation_pools': [{'start': '52.128.49.2', 'end': '52.128.49.62'}], 'gateway_ip': '52.128.49.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.128.49.2', 'tags': [], 'project_id': 'e1584bbd62494185a39344b68216c0a7'}} 2026-04-06 02:41:23,012 - INFO - Created VN ctest-vn-31005427 2026-04-06 02:41:23,028 - DEBUG - VN ctest-vn-31005427 UUID is 0976d643-1d63-46d3-9f2a-dc75c8735e25 2026-04-06 02:41:23,496 - DEBUG - Response for create_network : {'network': {'id': '15809c4e-2f83-412b-ba74-2de24009d3c6', 'name': 'ctest-ext_vn-24213566', 'tenant_id': 'e1584bbd62494185a39344b68216c0a7', 'project_id': 'e1584bbd62494185a39344b68216c0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51766587', 'ctest-ext_vn-24213566'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:41:23,763 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f63ecdca-dd3d-40aa-a70b-23cf1d8a0a81', 'name': '', 'tenant_id': 'e1584bbd62494185a39344b68216c0a7', 'network_id': '15809c4e-2f83-412b-ba74-2de24009d3c6', 'ip_version': 4, 'cidr': '82.20.59.0/26', 'allocation_pools': [{'start': '82.20.59.2', 'end': '82.20.59.62'}], 'gateway_ip': '82.20.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.20.59.2', 'tags': [], 'project_id': 'e1584bbd62494185a39344b68216c0a7'}} 2026-04-06 02:41:23,785 - INFO - Created VN ctest-ext_vn-24213566 2026-04-06 02:41:23,796 - DEBUG - VN ctest-ext_vn-24213566 UUID is 15809c4e-2f83-412b-ba74-2de24009d3c6 2026-04-06 02:41:23,959 - DEBUG - Services list from nova: [, , , ] 2026-04-06 02:41:24,992 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-2) 2026-04-06 02:41:26,251 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-1) 2026-04-06 02:41:26,361 - INFO - Setting gateway for router b3e0a232-1bf2-40bd-913d-cb9020f71b33 to network 15809c4e-2f83-412b-ba74-2de24009d3c6 2026-04-06 02:41:26,456 - INFO - Adding interface with subnet_id bc8324f2-0bdf-469c-93cf-07f63d214792, port_id None to router b3e0a232-1bf2-40bd-913d-cb9020f71b33 2026-04-06 02:41:26,849 - INFO - Waiting for VM ctest-TestRoutersBasic-51766587-74959282 to be up.. 2026-04-06 02:41:27,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-06 02:41:32,127 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:41:32,128 - INFO - VM name : ctest-TestRoutersBasic-51766587-74959282 2026-04-06 02:41:32,202 - DEBUG - VM ctest-TestRoutersBasic-51766587-74959282 ID is 6fd280ce-7f5b-4c6d-a16e-450f970fc54d 2026-04-06 02:41:32,224 - DEBUG - VM ctest-TestRoutersBasic-51766587-74959282 launched on Node an-jenkins-deploy-platform-ansible-os-5596-2 2026-04-06 02:41:32,310 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6fd280ce-7f5b-4c6d-a16e-450f970fc54d 2026-04-06 02:41:32,605 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6fd280ce-7f5b-4c6d-a16e-450f970fc54d 2026-04-06 02:41:32,639 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6ea60523-2954-4c9d-b8cf-dcd1813222f0 2026-04-06 02:41:35,834 - 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 1032ms') 2026-04-06 02:41:35,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51766587-74959282 failed! 2026-04-06 02:41:35,849 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51766587:ctest-vn-31005427 is 52.128.49.1 and allocation pool is NOT set 2026-04-06 02:41:37,916 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/1.583/2.720/1.137 ms') 2026-04-06 02:41:37,916 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51766587-74959282 passed 2026-04-06 02:41:37,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:41:37,985 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51766587-74959282, IP 52.128.49.3, Port 22 2026-04-06 02:41:38,142 - DEBUG - VM ctest-TestRoutersBasic-51766587-74959282 is ready for SSH connections 2026-04-06 02:41:38,142 - INFO - Waiting for VM ctest-TestRoutersBasic-51766587-16512790 to be up.. 2026-04-06 02:41:38,222 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:41:38,222 - INFO - VM name : ctest-TestRoutersBasic-51766587-16512790 2026-04-06 02:41:38,302 - DEBUG - VM ctest-TestRoutersBasic-51766587-16512790 ID is a6b827fd-e80a-49ce-9708-a82d146d041b 2026-04-06 02:41:38,302 - DEBUG - VM ctest-TestRoutersBasic-51766587-16512790 launched on Node an-jenkins-deploy-platform-ansible-os-5596-1 2026-04-06 02:41:38,385 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a6b827fd-e80a-49ce-9708-a82d146d041b 2026-04-06 02:41:38,400 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/70be7a60-bebf-4314-835e-0901b325a74e 2026-04-06 02:41:39,571 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.85 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.846/3.204/3.563/0.358 ms') 2026-04-06 02:41:39,571 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51766587-16512790 passed 2026-04-06 02:41:39,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:41:39,641 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51766587-16512790, IP 82.20.59.3, Port 22 2026-04-06 02:41:39,798 - DEBUG - VM ctest-TestRoutersBasic-51766587-16512790 is ready for SSH connections 2026-04-06 02:41:39,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:41:39,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.20.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-06 02:41:39,798 - DEBUG - ping -s 56 -c 3 -W 1 82.20.59.3 2026-04-06 02:41:43,452 - DEBUG - PING 82.20.59.3 (82.20.59.3): 56 data bytes 64 bytes from 82.20.59.3: seq=0 ttl=62 time=7.853 ms 64 bytes from 82.20.59.3: seq=1 ttl=62 time=1.724 ms 64 bytes from 82.20.59.3: seq=2 ttl=62 time=1.404 ms --- 82.20.59.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.404/3.660/7.853 ms 2026-04-06 02:41:43,452 - INFO - Ping to IP 82.20.59.3 from VM ctest-TestRoutersBasic-51766587-74959282 passed 2026-04-06 02:41:43,452 - INFO - Deleting interface with subnet_id bc8324f2-0bdf-469c-93cf-07f63d214792, port_id None from router b3e0a232-1bf2-40bd-913d-cb9020f71b33 2026-04-06 02:41:43,806 - INFO - Deleting VM ctest-TestRoutersBasic-51766587-16512790 2026-04-06 02:41:43,933 - INFO - Deleting VM ctest-TestRoutersBasic-51766587-74959282 2026-04-06 02:41:44,078 - INFO - Deleting VN ctest-ext_vn-24213566 2026-04-06 02:41:44,182 - DEBUG - VN 15809c4e-2f83-412b-ba74-2de24009d3c6 still in use: Unable to complete operation on network 15809c4e-2f83-412b-ba74-2de24009d3c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f02dcee2-c4cc-45fd-82b6-2917fe059b83'] 2026-04-06 02:41:44,183 - WARNING - Deleting VN ctest-ext_vn-24213566 failed..Will retry 2026-04-06 02:41:46,330 - DEBUG - Response for deleting network () 2026-04-06 02:41:46,330 - INFO - Deleting VN ctest-vn-31005427 2026-04-06 02:41:46,525 - DEBUG - Response for deleting network () 2026-04-06 02:41:47,783 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 02:41:47,783 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-04-06 02:41:47,783 - INFO - -------------------------------------------------------------------------------- 2026-04-06 02:41:48,496 - INFO - Deleted project: ctest-TestRoutersBasic-51766587, ID : e1584bbd-6249-4185-a393-44b68216c0a7