2026-04-02 14:24:32,303 - INFO - Domain Default found not creating 2026-04-02 14:24:32,484 - INFO - Project ctest-TestRoutersBasic-11256668 not found, creating it 2026-04-02 14:24:32,935 - INFO - Created Project:ctest-TestRoutersBasic-11256668, ID : 6e05351e-7e4f-4f3a-9d0a-3a8aa78eebaf 2026-04-02 14:24:34,408 - INFO - ================================================================================ 2026-04-02 14:24:34,408 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-02 14:24:34,408 - 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-02 14:24:34,662 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-02 14:24:34,663 - INFO - Initial checks done. Running the testcase now 2026-04-02 14:24:34,663 - INFO - 2026-04-02 14:24:35,396 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11256668 2026-04-02 14:24:35,490 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11256668 2026-04-02 14:24:35,805 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11256668', 'default']} 2026-04-02 14:24:36,083 - DEBUG - Response for create_network : {'network': {'id': '403ff1c9-6f24-47c2-a678-92e7aba91962', 'name': 'ctest-vn-04344306', 'tenant_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf', 'project_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11256668', 'ctest-vn-04344306'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 14:24:36,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '313e5de1-a494-46ec-90d9-bb56b2ff8ccc', 'name': '', 'tenant_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf', 'network_id': '403ff1c9-6f24-47c2-a678-92e7aba91962', 'ip_version': 4, 'cidr': '51.108.70.64/26', 'allocation_pools': [{'start': '51.108.70.66', 'end': '51.108.70.126'}], 'gateway_ip': '51.108.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.108.70.66', 'tags': [], 'project_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf'}} 2026-04-02 14:24:36,293 - INFO - Created VN ctest-vn-04344306 2026-04-02 14:24:36,345 - DEBUG - VN ctest-vn-04344306 UUID is 403ff1c9-6f24-47c2-a678-92e7aba91962 2026-04-02 14:24:36,705 - DEBUG - Response for create_network : {'network': {'id': '86ec62b4-64ba-40d6-a49d-5a4b78468746', 'name': 'ctest-ext_vn-71436031', 'tenant_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf', 'project_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11256668', 'ctest-ext_vn-71436031'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 14:24:36,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd23fccf-3041-472d-b980-29141d48419f', 'name': '', 'tenant_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf', 'network_id': '86ec62b4-64ba-40d6-a49d-5a4b78468746', 'ip_version': 4, 'cidr': '120.220.32.128/26', 'allocation_pools': [{'start': '120.220.32.130', 'end': '120.220.32.190'}], 'gateway_ip': '120.220.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.220.32.130', 'tags': [], 'project_id': '6e05351e7e4f4f3a9d0a3a8aa78eebaf'}} 2026-04-02 14:24:36,926 - INFO - Created VN ctest-ext_vn-71436031 2026-04-02 14:24:36,977 - DEBUG - VN ctest-ext_vn-71436031 UUID is 86ec62b4-64ba-40d6-a49d-5a4b78468746 2026-04-02 14:24:37,183 - DEBUG - Services list from nova: [, , ] 2026-04-02 14:24:38,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5584-1) 2026-04-02 14:24:39,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5584-1) 2026-04-02 14:24:39,424 - INFO - Setting gateway for router 90f92404-5990-4cfc-8cb9-8f9e78ba230f to network 86ec62b4-64ba-40d6-a49d-5a4b78468746 2026-04-02 14:24:39,494 - INFO - Adding interface with subnet_id 313e5de1-a494-46ec-90d9-bb56b2ff8ccc, port_id None to router 90f92404-5990-4cfc-8cb9-8f9e78ba230f 2026-04-02 14:24:39,844 - INFO - Waiting for VM ctest-TestRoutersBasic-11256668-20579749 to be up.. 2026-04-02 14:24:39,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 14:24:45,064 - DEBUG - VM is in ACTIVE state now 2026-04-02 14:24:45,064 - INFO - VM name : ctest-TestRoutersBasic-11256668-20579749 2026-04-02 14:24:45,139 - DEBUG - VM ctest-TestRoutersBasic-11256668-20579749 ID is 8173c67b-d924-42ce-8389-97cc4704b47f 2026-04-02 14:24:45,158 - DEBUG - VM ctest-TestRoutersBasic-11256668-20579749 launched on Node cn-jenkins-deploy-platform-ansible-os-5584-1 2026-04-02 14:24:45,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8173c67b-d924-42ce-8389-97cc4704b47f 2026-04-02 14:24:45,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8173c67b-d924-42ce-8389-97cc4704b47f 2026-04-02 14:24:45,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0381ba0e-bb45-4a83-836d-520f69adb3aa 2026-04-02 14:24:48,832 - 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-04-02 14:24:48,832 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11256668-20579749 failed! 2026-04-02 14:24:48,885 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11256668:ctest-vn-04344306 is 51.108.70.65 and allocation pool is NOT set 2026-04-02 14:24:50,954 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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 = 2.644/3.359/4.074/0.715 ms') 2026-04-02 14:24:50,954 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11256668-20579749 passed 2026-04-02 14:24:51,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 14:24:51,102 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11256668-20579749, IP 51.108.70.67, Port 22 2026-04-02 14:24:51,257 - DEBUG - VM ctest-TestRoutersBasic-11256668-20579749 is ready for SSH connections 2026-04-02 14:24:51,257 - INFO - Waiting for VM ctest-TestRoutersBasic-11256668-69408385 to be up.. 2026-04-02 14:24:51,335 - DEBUG - VM is in ACTIVE state now 2026-04-02 14:24:51,335 - INFO - VM name : ctest-TestRoutersBasic-11256668-69408385 2026-04-02 14:24:51,404 - DEBUG - VM ctest-TestRoutersBasic-11256668-69408385 ID is 24c4b14f-9ecd-40dd-93c0-e2fd5db86606 2026-04-02 14:24:51,404 - DEBUG - VM ctest-TestRoutersBasic-11256668-69408385 launched on Node cn-jenkins-deploy-platform-ansible-os-5584-1 2026-04-02 14:24:51,482 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/24c4b14f-9ecd-40dd-93c0-e2fd5db86606 2026-04-02 14:24:51,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6af89b78-6405-4586-9618-e05719f2d743 2026-04-02 14:24:52,734 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.536/1.672/2.809/1.136 ms') 2026-04-02 14:24:52,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11256668-69408385 passed 2026-04-02 14:24:52,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 14:24:52,882 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11256668-69408385, IP 120.220.32.131, Port 22 2026-04-02 14:24:53,048 - DEBUG - VM ctest-TestRoutersBasic-11256668-69408385 is ready for SSH connections 2026-04-02 14:24:53,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 14:24:53,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.220.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 14:24:53,049 - DEBUG - ping -s 56 -c 3 -W 1 120.220.32.131 2026-04-02 14:24:56,727 - DEBUG - PING 120.220.32.131 (120.220.32.131): 56 data bytes 64 bytes from 120.220.32.131: seq=0 ttl=62 time=6.083 ms 64 bytes from 120.220.32.131: seq=1 ttl=62 time=0.962 ms 64 bytes from 120.220.32.131: seq=2 ttl=62 time=1.095 ms --- 120.220.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.962/2.713/6.083 ms 2026-04-02 14:24:56,727 - INFO - Ping to IP 120.220.32.131 from VM ctest-TestRoutersBasic-11256668-20579749 passed 2026-04-02 14:24:56,727 - INFO - Deleting interface with subnet_id 313e5de1-a494-46ec-90d9-bb56b2ff8ccc, port_id None from router 90f92404-5990-4cfc-8cb9-8f9e78ba230f 2026-04-02 14:24:56,924 - INFO - Deleting VM ctest-TestRoutersBasic-11256668-69408385 2026-04-02 14:24:56,999 - INFO - Deleting VM ctest-TestRoutersBasic-11256668-20579749 2026-04-02 14:24:57,080 - INFO - Deleting VN ctest-ext_vn-71436031 2026-04-02 14:24:57,142 - DEBUG - VN 86ec62b4-64ba-40d6-a49d-5a4b78468746 still in use: Unable to complete operation on network 86ec62b4-64ba-40d6-a49d-5a4b78468746. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42b5d01f-9620-4167-88e1-648eda5dc8bf'] 2026-04-02 14:24:57,142 - WARNING - Deleting VN ctest-ext_vn-71436031 failed..Will retry 2026-04-02 14:24:59,230 - DEBUG - Response for deleting network () 2026-04-02 14:24:59,230 - INFO - Deleting VN ctest-vn-04344306 2026-04-02 14:24:59,329 - DEBUG - Response for deleting network () 2026-04-02 14:24:59,583 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 14:24:59,583 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-02 14:24:59,583 - INFO - -------------------------------------------------------------------------------- 2026-04-02 14:25:00,260 - INFO - Deleted project: ctest-TestRoutersBasic-11256668, ID : 6e05351e-7e4f-4f3a-9d0a-3a8aa78eebaf