2026-08-25 11:16:39,327 - INFO - Domain Default found not creating 2026-08-25 11:16:39,540 - INFO - Project ctest-TestRoutersBasic-66014130 not found, creating it 2026-08-25 11:16:40,072 - INFO - Created Project:ctest-TestRoutersBasic-66014130, ID : 604c7b7d-fd12-4094-9d18-f5b495e85f90 2026-08-25 11:16:41,786 - INFO - ================================================================================ 2026-08-25 11:16:41,786 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-25 11:16:41,786 - 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-08-25 11:16:42,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-25 11:16:42,063 - INFO - Initial checks done. Running the testcase now 2026-08-25 11:16:42,063 - INFO - 2026-08-25 11:16:42,919 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66014130 2026-08-25 11:16:43,020 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66014130 2026-08-25 11:16:43,347 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66014130', 'default']} 2026-08-25 11:16:43,692 - DEBUG - Response for create_network : {'network': {'id': 'a7d138e6-1f5a-4a32-a099-e19e948575c5', 'name': 'ctest-vn-67118741', 'tenant_id': '604c7b7dfd1240949d18f5b495e85f90', 'project_id': '604c7b7dfd1240949d18f5b495e85f90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66014130', 'ctest-vn-67118741'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 11:16:43,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a10bdb3-41fb-4bb3-9968-bef6d1c172a5', 'name': '', 'tenant_id': '604c7b7dfd1240949d18f5b495e85f90', 'network_id': 'a7d138e6-1f5a-4a32-a099-e19e948575c5', 'ip_version': 4, 'cidr': '169.134.141.0/26', 'allocation_pools': [{'start': '169.134.141.2', 'end': '169.134.141.62'}], 'gateway_ip': '169.134.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.134.141.2', 'tags': [], 'project_id': '604c7b7dfd1240949d18f5b495e85f90'}} 2026-08-25 11:16:43,901 - INFO - Created VN ctest-vn-67118741 2026-08-25 11:16:43,956 - DEBUG - VN ctest-vn-67118741 UUID is a7d138e6-1f5a-4a32-a099-e19e948575c5 2026-08-25 11:16:44,359 - DEBUG - Response for create_network : {'network': {'id': '2e1d77bb-33c0-49a6-be0f-720d7f508541', 'name': 'ctest-ext_vn-63279871', 'tenant_id': '604c7b7dfd1240949d18f5b495e85f90', 'project_id': '604c7b7dfd1240949d18f5b495e85f90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66014130', 'ctest-ext_vn-63279871'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 11:16:44,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '73fec6c7-58f9-4ae5-9718-ac354e79f07d', 'name': '', 'tenant_id': '604c7b7dfd1240949d18f5b495e85f90', 'network_id': '2e1d77bb-33c0-49a6-be0f-720d7f508541', 'ip_version': 4, 'cidr': '80.100.196.128/26', 'allocation_pools': [{'start': '80.100.196.130', 'end': '80.100.196.190'}], 'gateway_ip': '80.100.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.100.196.130', 'tags': [], 'project_id': '604c7b7dfd1240949d18f5b495e85f90'}} 2026-08-25 11:16:44,627 - INFO - Created VN ctest-ext_vn-63279871 2026-08-25 11:16:44,683 - DEBUG - VN ctest-ext_vn-63279871 UUID is 2e1d77bb-33c0-49a6-be0f-720d7f508541 2026-08-25 11:16:44,862 - DEBUG - Services list from nova: [, , ] 2026-08-25 11:16:45,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6222-1) 2026-08-25 11:16:45,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6222-1) 2026-08-25 11:16:45,744 - INFO - Setting gateway for router a24238ac-e040-44c6-8a78-f78e92ee339e to network 2e1d77bb-33c0-49a6-be0f-720d7f508541 2026-08-25 11:16:45,817 - INFO - Adding interface with subnet_id 5a10bdb3-41fb-4bb3-9968-bef6d1c172a5, port_id None to router a24238ac-e040-44c6-8a78-f78e92ee339e 2026-08-25 11:16:46,128 - INFO - Waiting for VM ctest-TestRoutersBasic-66014130-38349200 to be up.. 2026-08-25 11:16:46,206 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:16:51,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:16:56,400 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:17:01,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:17:06,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:17:11,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:17:16,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:17:21,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 11:17:27,121 - DEBUG - VM is in ACTIVE state now 2026-08-25 11:17:27,121 - INFO - VM name : ctest-TestRoutersBasic-66014130-38349200 2026-08-25 11:17:27,241 - DEBUG - VM ctest-TestRoutersBasic-66014130-38349200 ID is f78dd802-893e-4dc1-be0b-042b49d5e490 2026-08-25 11:17:27,266 - DEBUG - VM ctest-TestRoutersBasic-66014130-38349200 launched on Node cn-jenkins-deploy-platform-ansible-os-6222-1 2026-08-25 11:17:27,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f78dd802-893e-4dc1-be0b-042b49d5e490 2026-08-25 11:17:27,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f78dd802-893e-4dc1-be0b-042b49d5e490 2026-08-25 11:17:27,766 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0eda4af5-0c8b-4af8-878e-ac9e5d8c6288 2026-08-25 11:17:31,038 - 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=9.12 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 9.124/9.124/9.124/0.000 ms') 2026-08-25 11:17:31,039 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-66014130-38349200 passed 2026-08-25 11:17:31,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 11:17:31,196 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66014130-38349200, IP 169.134.141.3, Port 22 2026-08-25 11:17:31,366 - DEBUG - VM ctest-TestRoutersBasic-66014130-38349200 is ready for SSH connections 2026-08-25 11:17:31,367 - INFO - Waiting for VM ctest-TestRoutersBasic-66014130-01223124 to be up.. 2026-08-25 11:17:31,473 - DEBUG - VM is in ACTIVE state now 2026-08-25 11:17:31,473 - INFO - VM name : ctest-TestRoutersBasic-66014130-01223124 2026-08-25 11:17:31,585 - DEBUG - VM ctest-TestRoutersBasic-66014130-01223124 ID is ce28449f-553a-4440-b5ce-870960b82599 2026-08-25 11:17:31,585 - DEBUG - VM ctest-TestRoutersBasic-66014130-01223124 launched on Node cn-jenkins-deploy-platform-ansible-os-6222-1 2026-08-25 11:17:31,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce28449f-553a-4440-b5ce-870960b82599 2026-08-25 11:17:31,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/88b28537-9c3e-475c-bc60-f947b9596874 2026-08-25 11:17:34,970 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms') 2026-08-25 11:17:34,970 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-66014130-01223124 failed! 2026-08-25 11:17:35,028 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66014130:ctest-ext_vn-63279871 is 80.100.196.129 and allocation pool is NOT set 2026-08-25 11:17:37,096 - 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=3.78 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.632 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.632/2.204/3.776/1.572 ms') 2026-08-25 11:17:37,096 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-66014130-01223124 passed 2026-08-25 11:17:37,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 11:17:37,252 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66014130-01223124, IP 80.100.196.132, Port 22 2026-08-25 11:17:37,418 - DEBUG - VM ctest-TestRoutersBasic-66014130-01223124 is ready for SSH connections 2026-08-25 11:17:37,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 11:17:37,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.100.196.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-25 11:17:37,418 - DEBUG - ping -s 56 -c 3 -W 1 80.100.196.132 2026-08-25 11:17:40,619 - DEBUG - PING 80.100.196.132 (80.100.196.132): 56 data bytes 64 bytes from 80.100.196.132: seq=0 ttl=62 time=8.082 ms 64 bytes from 80.100.196.132: seq=1 ttl=62 time=1.270 ms 64 bytes from 80.100.196.132: seq=2 ttl=62 time=1.454 ms --- 80.100.196.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.270/3.602/8.082 ms 2026-08-25 11:17:40,619 - INFO - Ping to IP 80.100.196.132 from VM ctest-TestRoutersBasic-66014130-38349200 passed 2026-08-25 11:17:40,619 - INFO - Deleting interface with subnet_id 5a10bdb3-41fb-4bb3-9968-bef6d1c172a5, port_id None from router a24238ac-e040-44c6-8a78-f78e92ee339e 2026-08-25 11:17:40,881 - INFO - Deleting VM ctest-TestRoutersBasic-66014130-01223124 2026-08-25 11:17:40,965 - INFO - Deleting VM ctest-TestRoutersBasic-66014130-38349200 2026-08-25 11:17:41,064 - INFO - Deleting VN ctest-ext_vn-63279871 2026-08-25 11:17:41,159 - DEBUG - VN 2e1d77bb-33c0-49a6-be0f-720d7f508541 still in use: Unable to complete operation on network 2e1d77bb-33c0-49a6-be0f-720d7f508541. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2bac0615-e91d-4a3a-8b54-bcf87eb7b98f'] 2026-08-25 11:17:41,160 - WARNING - Deleting VN ctest-ext_vn-63279871 failed..Will retry 2026-08-25 11:17:43,212 - DEBUG - VN 2e1d77bb-33c0-49a6-be0f-720d7f508541 still in use: Unable to complete operation on network 2e1d77bb-33c0-49a6-be0f-720d7f508541. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99d0a97c-7aa1-4e18-9fed-70ff4abc61d4'] 2026-08-25 11:17:43,212 - WARNING - Deleting VN ctest-ext_vn-63279871 failed..Will retry 2026-08-25 11:17:45,415 - DEBUG - Response for deleting network () 2026-08-25 11:17:45,415 - INFO - Deleting VN ctest-vn-67118741 2026-08-25 11:17:45,535 - DEBUG - Response for deleting network () 2026-08-25 11:17:45,808 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 11:17:45,808 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-08-25 11:17:45,808 - INFO - -------------------------------------------------------------------------------- 2026-08-25 11:17:46,597 - INFO - Deleted project: ctest-TestRoutersBasic-66014130, ID : 604c7b7d-fd12-4094-9d18-f5b495e85f90