2026-09-08 11:58:09,945 - INFO - Domain Default found not creating 2026-09-08 11:58:10,113 - INFO - Project ctest-TestRoutersBasic-01246501 not found, creating it 2026-09-08 11:58:10,595 - INFO - Created Project:ctest-TestRoutersBasic-01246501, ID : 2df9f6af-b7a8-4487-a825-32002b0fc2ad 2026-09-08 11:58:12,204 - INFO - ================================================================================ 2026-09-08 11:58:12,204 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-08 11:58:12,204 - 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-09-08 11:58:12,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-08 11:58:12,468 - INFO - Initial checks done. Running the testcase now 2026-09-08 11:58:12,468 - INFO - 2026-09-08 11:58:13,241 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01246501 2026-09-08 11:58:13,338 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01246501 2026-09-08 11:58:13,670 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01246501', 'default']} 2026-09-08 11:58:13,972 - DEBUG - Response for create_network : {'network': {'id': '43a7c9f6-e35c-41c3-b9ad-a164ed6cafa1', 'name': 'ctest-vn-83230101', 'tenant_id': '2df9f6afb7a84487a82532002b0fc2ad', 'project_id': '2df9f6afb7a84487a82532002b0fc2ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01246501', 'ctest-vn-83230101'], 'port_security_enabled': True, 'description': ''}} 2026-09-08 11:58:14,166 - DEBUG - Response for create_subnet : {'subnet': {'id': '255c39c1-c7ab-496e-a3b5-64bbdb425a4c', 'name': '', 'tenant_id': '2df9f6afb7a84487a82532002b0fc2ad', 'network_id': '43a7c9f6-e35c-41c3-b9ad-a164ed6cafa1', 'ip_version': 4, 'cidr': '15.95.5.64/26', 'allocation_pools': [{'start': '15.95.5.66', 'end': '15.95.5.126'}], 'gateway_ip': '15.95.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.95.5.66', 'tags': [], 'project_id': '2df9f6afb7a84487a82532002b0fc2ad'}} 2026-09-08 11:58:14,183 - INFO - Created VN ctest-vn-83230101 2026-09-08 11:58:14,234 - DEBUG - VN ctest-vn-83230101 UUID is 43a7c9f6-e35c-41c3-b9ad-a164ed6cafa1 2026-09-08 11:58:14,612 - DEBUG - Response for create_network : {'network': {'id': '31403b86-f83f-4ab4-be5b-4d46f49f49b9', 'name': 'ctest-ext_vn-56474121', 'tenant_id': '2df9f6afb7a84487a82532002b0fc2ad', 'project_id': '2df9f6afb7a84487a82532002b0fc2ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01246501', 'ctest-ext_vn-56474121'], 'port_security_enabled': True, 'description': ''}} 2026-09-08 11:58:14,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e38dcdd2-9bff-4c4a-a15d-b7ab95d7be5e', 'name': '', 'tenant_id': '2df9f6afb7a84487a82532002b0fc2ad', 'network_id': '31403b86-f83f-4ab4-be5b-4d46f49f49b9', 'ip_version': 4, 'cidr': '66.149.237.0/26', 'allocation_pools': [{'start': '66.149.237.2', 'end': '66.149.237.62'}], 'gateway_ip': '66.149.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.149.237.2', 'tags': [], 'project_id': '2df9f6afb7a84487a82532002b0fc2ad'}} 2026-09-08 11:58:14,787 - INFO - Created VN ctest-ext_vn-56474121 2026-09-08 11:58:14,842 - DEBUG - VN ctest-ext_vn-56474121 UUID is 31403b86-f83f-4ab4-be5b-4d46f49f49b9 2026-09-08 11:58:15,041 - DEBUG - Services list from nova: [, , ] 2026-09-08 11:58:15,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6263-1) 2026-09-08 11:58:15,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6263-1) 2026-09-08 11:58:15,823 - INFO - Setting gateway for router 52580706-f963-45d1-9b6b-ef48235b75fc to network 31403b86-f83f-4ab4-be5b-4d46f49f49b9 2026-09-08 11:58:15,892 - INFO - Adding interface with subnet_id 255c39c1-c7ab-496e-a3b5-64bbdb425a4c, port_id None to router 52580706-f963-45d1-9b6b-ef48235b75fc 2026-09-08 11:58:16,175 - INFO - Waiting for VM ctest-TestRoutersBasic-01246501-01528935 to be up.. 2026-09-08 11:58:16,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:21,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:26,404 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:31,486 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:36,563 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:41,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:46,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:51,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:58:56,941 - DEBUG - VM is in ACTIVE state now 2026-09-08 11:58:56,941 - INFO - VM name : ctest-TestRoutersBasic-01246501-01528935 2026-09-08 11:58:57,017 - DEBUG - VM ctest-TestRoutersBasic-01246501-01528935 ID is 6121413b-2202-4f27-be5f-56199608afd2 2026-09-08 11:58:57,037 - DEBUG - VM ctest-TestRoutersBasic-01246501-01528935 launched on Node cn-jenkins-deploy-platform-ansible-os-6263-1 2026-09-08 11:58:57,120 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6121413b-2202-4f27-be5f-56199608afd2 2026-09-08 11:58:57,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6121413b-2202-4f27-be5f-56199608afd2 2026-09-08 11:58:57,485 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a221a72a-a700-4e93-94a7-7f2ff970c6af 2026-09-08 11:59:00,732 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=4.07 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 4.067/4.067/4.067/0.000 ms') 2026-09-08 11:59:00,732 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-01246501-01528935 passed 2026-09-08 11:59:00,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-08 11:59:00,883 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01246501-01528935, IP 15.95.5.67, Port 22 2026-09-08 11:59:01,049 - DEBUG - VM ctest-TestRoutersBasic-01246501-01528935 is ready for SSH connections 2026-09-08 11:59:01,049 - INFO - Waiting for VM ctest-TestRoutersBasic-01246501-09605318 to be up.. 2026-09-08 11:59:01,136 - DEBUG - VM is in ACTIVE state now 2026-09-08 11:59:01,136 - INFO - VM name : ctest-TestRoutersBasic-01246501-09605318 2026-09-08 11:59:01,221 - DEBUG - VM ctest-TestRoutersBasic-01246501-09605318 ID is faeea073-9f9c-43dd-8e56-3551ba005625 2026-09-08 11:59:01,221 - DEBUG - VM ctest-TestRoutersBasic-01246501-09605318 launched on Node cn-jenkins-deploy-platform-ansible-os-6263-1 2026-09-08 11:59:01,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/faeea073-9f9c-43dd-8e56-3551ba005625 2026-09-08 11:59:01,314 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e11acc6b-b949-435d-b77e-739a0fddc987 2026-09-08 11:59:02,563 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=7.43 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.552 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.552/3.993/7.434/3.441 ms') 2026-09-08 11:59:02,563 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-01246501-09605318 passed 2026-09-08 11:59:02,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-08 11:59:02,719 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01246501-09605318, IP 66.149.237.4, Port 22 2026-09-08 11:59:02,877 - DEBUG - VM ctest-TestRoutersBasic-01246501-09605318 is ready for SSH connections 2026-09-08 11:59:02,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-08 11:59:02,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.149.237.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-08 11:59:02,878 - DEBUG - ping -s 56 -c 3 -W 1 66.149.237.4 2026-09-08 11:59:05,821 - DEBUG - PING 66.149.237.4 (66.149.237.4): 56 data bytes 64 bytes from 66.149.237.4: seq=0 ttl=62 time=6.899 ms 64 bytes from 66.149.237.4: seq=1 ttl=62 time=0.914 ms 64 bytes from 66.149.237.4: seq=2 ttl=62 time=1.072 ms --- 66.149.237.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/2.961/6.899 ms 2026-09-08 11:59:05,821 - INFO - Ping to IP 66.149.237.4 from VM ctest-TestRoutersBasic-01246501-01528935 passed 2026-09-08 11:59:05,821 - INFO - Deleting interface with subnet_id 255c39c1-c7ab-496e-a3b5-64bbdb425a4c, port_id None from router 52580706-f963-45d1-9b6b-ef48235b75fc 2026-09-08 11:59:06,015 - INFO - Deleting VM ctest-TestRoutersBasic-01246501-09605318 2026-09-08 11:59:06,108 - INFO - Deleting VM ctest-TestRoutersBasic-01246501-01528935 2026-09-08 11:59:06,190 - INFO - Deleting VN ctest-ext_vn-56474121 2026-09-08 11:59:06,266 - DEBUG - VN 31403b86-f83f-4ab4-be5b-4d46f49f49b9 still in use: Unable to complete operation on network 31403b86-f83f-4ab4-be5b-4d46f49f49b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9b35baf5-3b8a-44b9-872f-b31a39e017fd'] 2026-09-08 11:59:06,266 - WARNING - Deleting VN ctest-ext_vn-56474121 failed..Will retry 2026-09-08 11:59:08,422 - DEBUG - Response for deleting network () 2026-09-08 11:59:08,422 - INFO - Deleting VN ctest-vn-83230101 2026-09-08 11:59:08,645 - DEBUG - Response for deleting network () 2026-09-08 11:59:08,901 - DEBUG - No XMPP flaps were noticed during the test
2026-09-08 11:59:08,901 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:56]
2026-09-08 11:59:08,901 - INFO - -------------------------------------------------------------------------------- 2026-09-08 11:59:09,649 - INFO - Deleted project: ctest-TestRoutersBasic-01246501, ID : 2df9f6af-b7a8-4487-a825-32002b0fc2ad