2026-06-08 10:51:46,329 - INFO - Domain Default found not creating 2026-06-08 10:51:46,484 - INFO - Project ctest-TestRoutersBasic-51908307 not found, creating it 2026-06-08 10:51:47,128 - INFO - Created Project:ctest-TestRoutersBasic-51908307, ID : 07b7e5b9-d158-4012-93da-7e0fa69981b2 2026-06-08 10:51:48,620 - INFO - ================================================================================ 2026-06-08 10:51:48,620 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-08 10:51:48,620 - 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-06-08 10:51:49,891 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2026-06-08 10:51:49,891 - INFO - Initial checks done. Running the testcase now 2026-06-08 10:51:49,891 - INFO - 2026-06-08 10:51:50,662 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51908307 2026-06-08 10:51:50,724 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51908307 2026-06-08 10:51:51,124 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51908307', 'default']} 2026-06-08 10:51:51,833 - DEBUG - Response for create_network : {'network': {'id': '9f724181-9025-4189-ba4c-e65340994fbd', 'name': 'ctest-vn-44697654', 'tenant_id': '07b7e5b9d158401293da7e0fa69981b2', 'project_id': '07b7e5b9d158401293da7e0fa69981b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51908307', 'ctest-vn-44697654'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 10:51:52,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e4e4e08-b2fb-43fd-9293-35e954bce2b7', 'name': '', 'tenant_id': '07b7e5b9d158401293da7e0fa69981b2', 'network_id': '9f724181-9025-4189-ba4c-e65340994fbd', 'ip_version': 4, 'cidr': '94.27.63.64/26', 'allocation_pools': [{'start': '94.27.63.66', 'end': '94.27.63.126'}], 'gateway_ip': '94.27.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.27.63.66', 'tags': [], 'project_id': '07b7e5b9d158401293da7e0fa69981b2'}} 2026-06-08 10:51:52,186 - INFO - Created VN ctest-vn-44697654 2026-06-08 10:51:52,197 - DEBUG - VN ctest-vn-44697654 UUID is 9f724181-9025-4189-ba4c-e65340994fbd 2026-06-08 10:51:52,707 - DEBUG - Response for create_network : {'network': {'id': '8d46f6a5-5dfb-48ab-96c7-16c8e0625821', 'name': 'ctest-ext_vn-90473453', 'tenant_id': '07b7e5b9d158401293da7e0fa69981b2', 'project_id': '07b7e5b9d158401293da7e0fa69981b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51908307', 'ctest-ext_vn-90473453'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 10:51:52,972 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b9add46-d3f8-46ed-927d-338f40e6536f', 'name': '', 'tenant_id': '07b7e5b9d158401293da7e0fa69981b2', 'network_id': '8d46f6a5-5dfb-48ab-96c7-16c8e0625821', 'ip_version': 4, 'cidr': '9.54.31.128/26', 'allocation_pools': [{'start': '9.54.31.130', 'end': '9.54.31.190'}], 'gateway_ip': '9.54.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.54.31.130', 'tags': [], 'project_id': '07b7e5b9d158401293da7e0fa69981b2'}} 2026-06-08 10:51:52,994 - INFO - Created VN ctest-ext_vn-90473453 2026-06-08 10:51:53,009 - DEBUG - VN ctest-ext_vn-90473453 UUID is 8d46f6a5-5dfb-48ab-96c7-16c8e0625821 2026-06-08 10:51:53,146 - DEBUG - Services list from nova: [, , , ] 2026-06-08 10:51:54,253 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5904-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5904-2) 2026-06-08 10:51:55,697 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5904-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5904-1) 2026-06-08 10:51:55,818 - INFO - Setting gateway for router 87735c82-e82c-48ef-88cb-a758e497cf95 to network 8d46f6a5-5dfb-48ab-96c7-16c8e0625821 2026-06-08 10:51:55,911 - INFO - Adding interface with subnet_id 0e4e4e08-b2fb-43fd-9293-35e954bce2b7, port_id None to router 87735c82-e82c-48ef-88cb-a758e497cf95 2026-06-08 10:51:56,509 - INFO - Waiting for VM ctest-TestRoutersBasic-51908307-32108731 to be up.. 2026-06-08 10:51:56,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-08 10:52:01,728 - DEBUG - VM is in ACTIVE state now 2026-06-08 10:52:01,728 - INFO - VM name : ctest-TestRoutersBasic-51908307-32108731 2026-06-08 10:52:01,830 - DEBUG - VM ctest-TestRoutersBasic-51908307-32108731 ID is 39f1404b-8883-48b2-95f6-6b7c56a4f064 2026-06-08 10:52:01,857 - DEBUG - VM ctest-TestRoutersBasic-51908307-32108731 launched on Node an-jenkins-deploy-platform-ansible-os-5904-2 2026-06-08 10:52:01,954 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/39f1404b-8883-48b2-95f6-6b7c56a4f064 2026-06-08 10:52:02,256 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/39f1404b-8883-48b2-95f6-6b7c56a4f064 2026-06-08 10:52:02,295 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d22bfa1f-7bd6-4bff-949c-685cf38bdbdc 2026-06-08 10:52:05,472 - 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 1011ms') 2026-06-08 10:52:05,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51908307-32108731 failed! 2026-06-08 10:52:05,488 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51908307:ctest-vn-44697654 is 94.27.63.65 and allocation pool is NOT set 2026-06-08 10:52:07,547 - 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=7.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 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.504/3.793/7.083/3.289 ms') 2026-06-08 10:52:07,547 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51908307-32108731 passed 2026-06-08 10:52:07,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 10:52:07,616 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51908307-32108731, IP 94.27.63.67, Port 22 2026-06-08 10:52:07,791 - DEBUG - VM ctest-TestRoutersBasic-51908307-32108731 is ready for SSH connections 2026-06-08 10:52:07,791 - INFO - Waiting for VM ctest-TestRoutersBasic-51908307-38683696 to be up.. 2026-06-08 10:52:07,901 - DEBUG - VM is in ACTIVE state now 2026-06-08 10:52:07,901 - INFO - VM name : ctest-TestRoutersBasic-51908307-38683696 2026-06-08 10:52:07,996 - DEBUG - VM ctest-TestRoutersBasic-51908307-38683696 ID is 74ecc8ac-dd55-49ff-94ae-b2262eb4aee5 2026-06-08 10:52:07,996 - DEBUG - VM ctest-TestRoutersBasic-51908307-38683696 launched on Node an-jenkins-deploy-platform-ansible-os-5904-1 2026-06-08 10:52:08,087 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/74ecc8ac-dd55-49ff-94ae-b2262eb4aee5 2026-06-08 10:52:08,097 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4f3760f2-25ca-407b-bf2a-615c8b79ab1e 2026-06-08 10:52:09,261 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.823 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.823/3.340/5.858/2.517 ms') 2026-06-08 10:52:09,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51908307-38683696 passed 2026-06-08 10:52:09,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 10:52:09,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51908307-38683696, IP 9.54.31.131, Port 22 2026-06-08 10:52:09,493 - DEBUG - VM ctest-TestRoutersBasic-51908307-38683696 is ready for SSH connections 2026-06-08 10:52:09,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 10:52:09,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.54.31.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-08 10:52:09,493 - DEBUG - ping -s 56 -c 3 -W 1 9.54.31.131 2026-06-08 10:52:13,164 - DEBUG - PING 9.54.31.131 (9.54.31.131): 56 data bytes 64 bytes from 9.54.31.131: seq=0 ttl=62 time=12.457 ms 64 bytes from 9.54.31.131: seq=1 ttl=62 time=1.297 ms 64 bytes from 9.54.31.131: seq=2 ttl=62 time=1.225 ms --- 9.54.31.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.225/4.993/12.457 ms 2026-06-08 10:52:13,164 - INFO - Ping to IP 9.54.31.131 from VM ctest-TestRoutersBasic-51908307-32108731 passed 2026-06-08 10:52:13,164 - INFO - Deleting interface with subnet_id 0e4e4e08-b2fb-43fd-9293-35e954bce2b7, port_id None from router 87735c82-e82c-48ef-88cb-a758e497cf95 2026-06-08 10:52:13,519 - INFO - Deleting VM ctest-TestRoutersBasic-51908307-38683696 2026-06-08 10:52:13,591 - INFO - Deleting VM ctest-TestRoutersBasic-51908307-32108731 2026-06-08 10:52:13,693 - INFO - Deleting VN ctest-ext_vn-90473453 2026-06-08 10:52:13,832 - DEBUG - VN 8d46f6a5-5dfb-48ab-96c7-16c8e0625821 still in use: Unable to complete operation on network 8d46f6a5-5dfb-48ab-96c7-16c8e0625821. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1eafc3e5-9c53-41af-933f-33135983905d'] 2026-06-08 10:52:13,833 - WARNING - Deleting VN ctest-ext_vn-90473453 failed..Will retry 2026-06-08 10:52:16,030 - DEBUG - Response for deleting network () 2026-06-08 10:52:16,030 - INFO - Deleting VN ctest-vn-44697654 2026-06-08 10:52:16,265 - DEBUG - Response for deleting network () 2026-06-08 10:52:17,562 - DEBUG - No XMPP flaps were noticed during the test 2026-06-08 10:52:17,562 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2026-06-08 10:52:17,562 - INFO - -------------------------------------------------------------------------------- 2026-06-08 10:52:18,326 - INFO - Deleted project: ctest-TestRoutersBasic-51908307, ID : 07b7e5b9-d158-4012-93da-7e0fa69981b2