2026-03-13 14:30:20,581 - INFO - Domain Default found not creating 2026-03-13 14:30:20,847 - INFO - Project ctest-TestRoutersBasic-27719062 not found, creating it 2026-03-13 14:30:21,371 - INFO - Created Project:ctest-TestRoutersBasic-27719062, ID : dd773e97-72d8-434f-93b4-704c4d682f97 2026-03-13 14:30:23,185 - INFO - ================================================================================ 2026-03-13 14:30:23,185 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-13 14:30:23,185 - 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-03-13 14:30:23,481 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-03-13 14:30:23,481 - INFO - Initial checks done. Running the testcase now 2026-03-13 14:30:23,481 - INFO - 2026-03-13 14:30:24,352 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27719062 2026-03-13 14:30:24,447 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27719062 2026-03-13 14:30:24,797 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27719062', 'default']} 2026-03-13 14:30:25,231 - DEBUG - Response for create_network : {'network': {'id': '5fe12a04-4469-49e4-baad-6e210d2c31b9', 'name': 'ctest-vn-38893775', 'tenant_id': 'dd773e9772d8434f93b4704c4d682f97', 'project_id': 'dd773e9772d8434f93b4704c4d682f97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27719062', 'ctest-vn-38893775'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 14:30:25,468 - DEBUG - Response for create_subnet : {'subnet': {'id': '9540abc3-9748-4ab7-9f81-f9892318a419', 'name': '', 'tenant_id': 'dd773e9772d8434f93b4704c4d682f97', 'network_id': '5fe12a04-4469-49e4-baad-6e210d2c31b9', 'ip_version': 4, 'cidr': '19.17.147.0/26', 'allocation_pools': [{'start': '19.17.147.2', 'end': '19.17.147.62'}], 'gateway_ip': '19.17.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.17.147.2', 'tags': [], 'project_id': 'dd773e9772d8434f93b4704c4d682f97'}} 2026-03-13 14:30:25,495 - INFO - Created VN ctest-vn-38893775 2026-03-13 14:30:25,555 - DEBUG - VN ctest-vn-38893775 UUID is 5fe12a04-4469-49e4-baad-6e210d2c31b9 2026-03-13 14:30:25,955 - DEBUG - Response for create_network : {'network': {'id': 'eb990968-aaf9-412e-8a28-9e03d4dd078d', 'name': 'ctest-ext_vn-44929256', 'tenant_id': 'dd773e9772d8434f93b4704c4d682f97', 'project_id': 'dd773e9772d8434f93b4704c4d682f97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27719062', 'ctest-ext_vn-44929256'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 14:30:26,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd8b8c67-7e51-4c47-8502-e0818c2ebd08', 'name': '', 'tenant_id': 'dd773e9772d8434f93b4704c4d682f97', 'network_id': 'eb990968-aaf9-412e-8a28-9e03d4dd078d', 'ip_version': 4, 'cidr': '151.236.123.128/26', 'allocation_pools': [{'start': '151.236.123.130', 'end': '151.236.123.190'}], 'gateway_ip': '151.236.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.236.123.130', 'tags': [], 'project_id': 'dd773e9772d8434f93b4704c4d682f97'}} 2026-03-13 14:30:26,186 - INFO - Created VN ctest-ext_vn-44929256 2026-03-13 14:30:26,247 - DEBUG - VN ctest-ext_vn-44929256 UUID is eb990968-aaf9-412e-8a28-9e03d4dd078d 2026-03-13 14:30:26,446 - DEBUG - Services list from nova: [, , ] 2026-03-13 14:30:27,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5465-1) 2026-03-13 14:30:29,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5465-1) 2026-03-13 14:30:29,118 - INFO - Setting gateway for router 67940b67-cd41-463c-87cf-34fed6495a67 to network eb990968-aaf9-412e-8a28-9e03d4dd078d 2026-03-13 14:30:29,178 - INFO - Adding interface with subnet_id 9540abc3-9748-4ab7-9f81-f9892318a419, port_id None to router 67940b67-cd41-463c-87cf-34fed6495a67 2026-03-13 14:30:29,579 - INFO - Waiting for VM ctest-TestRoutersBasic-27719062-53499344 to be up.. 2026-03-13 14:30:29,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 14:30:34,890 - DEBUG - VM is in ACTIVE state now 2026-03-13 14:30:34,890 - INFO - VM name : ctest-TestRoutersBasic-27719062-53499344 2026-03-13 14:30:35,005 - DEBUG - VM ctest-TestRoutersBasic-27719062-53499344 ID is ed43fa4e-ba1a-4bfa-8bc4-46d51a51756f 2026-03-13 14:30:35,027 - DEBUG - VM ctest-TestRoutersBasic-27719062-53499344 launched on Node cn-jenkins-deploy-platform-ansible-os-5465-1 2026-03-13 14:30:35,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ed43fa4e-ba1a-4bfa-8bc4-46d51a51756f 2026-03-13 14:30:35,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ed43fa4e-ba1a-4bfa-8bc4-46d51a51756f 2026-03-13 14:30:35,582 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b859ead4-3216-42dd-ab49-fec8ab91a091 2026-03-13 14:30:38,866 - 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 1027ms') 2026-03-13 14:30:38,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27719062-53499344 failed! 2026-03-13 14:30:38,943 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27719062:ctest-vn-38893775 is 19.17.147.1 and allocation pool is NOT set 2026-03-13 14:30:41,017 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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 = 1.877/3.049/4.221/1.172 ms') 2026-03-13 14:30:41,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27719062-53499344 passed 2026-03-13 14:30:41,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:30:41,183 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27719062-53499344, IP 19.17.147.3, Port 22 2026-03-13 14:30:41,375 - DEBUG - VM ctest-TestRoutersBasic-27719062-53499344 is ready for SSH connections 2026-03-13 14:30:41,376 - INFO - Waiting for VM ctest-TestRoutersBasic-27719062-56095839 to be up.. 2026-03-13 14:30:41,564 - DEBUG - VM is in ACTIVE state now 2026-03-13 14:30:41,564 - INFO - VM name : ctest-TestRoutersBasic-27719062-56095839 2026-03-13 14:30:41,731 - DEBUG - VM ctest-TestRoutersBasic-27719062-56095839 ID is 9ede96cb-6634-476c-8b4e-ef9e8035e260 2026-03-13 14:30:41,732 - DEBUG - VM ctest-TestRoutersBasic-27719062-56095839 launched on Node cn-jenkins-deploy-platform-ansible-os-5465-1 2026-03-13 14:30:41,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9ede96cb-6634-476c-8b4e-ef9e8035e260 2026-03-13 14:30:41,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/758bb375-0c26-45bd-a20d-d39c1d94f876 2026-03-13 14:30:43,178 - 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=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.374/2.206/4.039/1.832 ms') 2026-03-13 14:30:43,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27719062-56095839 passed 2026-03-13 14:30:43,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:30:43,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27719062-56095839, IP 151.236.123.131, Port 22 2026-03-13 14:30:43,517 - DEBUG - VM ctest-TestRoutersBasic-27719062-56095839 is ready for SSH connections 2026-03-13 14:30:43,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:30:43,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.236.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-13 14:30:43,517 - DEBUG - ping -s 56 -c 3 -W 1 151.236.123.131 2026-03-13 14:30:47,559 - DEBUG - PING 151.236.123.131 (151.236.123.131): 56 data bytes 64 bytes from 151.236.123.131: seq=0 ttl=62 time=8.176 ms 64 bytes from 151.236.123.131: seq=1 ttl=62 time=2.213 ms 64 bytes from 151.236.123.131: seq=2 ttl=62 time=1.360 ms --- 151.236.123.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.360/3.916/8.176 ms 2026-03-13 14:30:47,559 - INFO - Ping to IP 151.236.123.131 from VM ctest-TestRoutersBasic-27719062-53499344 passed 2026-03-13 14:30:47,559 - INFO - Deleting interface with subnet_id 9540abc3-9748-4ab7-9f81-f9892318a419, port_id None from router 67940b67-cd41-463c-87cf-34fed6495a67 2026-03-13 14:30:47,803 - INFO - Deleting VM ctest-TestRoutersBasic-27719062-56095839 2026-03-13 14:30:47,890 - INFO - Deleting VM ctest-TestRoutersBasic-27719062-53499344 2026-03-13 14:30:47,960 - INFO - Deleting VN ctest-ext_vn-44929256 2026-03-13 14:30:48,051 - DEBUG - VN eb990968-aaf9-412e-8a28-9e03d4dd078d still in use: Unable to complete operation on network eb990968-aaf9-412e-8a28-9e03d4dd078d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e1525c5-ce8d-4350-8474-3b1e3ac32256'] 2026-03-13 14:30:48,051 - WARNING - Deleting VN ctest-ext_vn-44929256 failed..Will retry 2026-03-13 14:30:50,197 - DEBUG - Response for deleting network () 2026-03-13 14:30:50,197 - INFO - Deleting VN ctest-vn-38893775 2026-03-13 14:30:50,327 - DEBUG - Response for deleting network () 2026-03-13 14:30:50,604 - DEBUG - No XMPP flaps were noticed during the test
2026-03-13 14:30:50,604 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2026-03-13 14:30:50,604 - INFO - -------------------------------------------------------------------------------- 2026-03-13 14:30:51,391 - INFO - Deleted project: ctest-TestRoutersBasic-27719062, ID : dd773e97-72d8-434f-93b4-704c4d682f97