2026-11-20 13:56:11,598 - INFO - Domain Default found not creating 2026-11-20 13:56:11,773 - INFO - Project ctest-TestRoutersBasic-48291603 not found, creating it 2026-11-20 13:56:12,222 - INFO - Created Project:ctest-TestRoutersBasic-48291603, ID : 11d97792-00c1-47d7-941a-a39b622f6aa3 2026-11-20 13:56:13,969 - INFO - ================================================================================ 2026-11-20 13:56:13,969 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-20 13:56:13,969 - 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-11-20 13:56:14,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-20 13:56:14,229 - INFO - Initial checks done. Running the testcase now 2026-11-20 13:56:14,229 - INFO - 2026-11-20 13:56:15,059 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48291603 2026-11-20 13:56:15,155 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48291603 2026-11-20 13:56:15,470 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48291603', 'default']} 2026-11-20 13:56:15,753 - DEBUG - Response for create_network : {'network': {'id': '077e2f30-2e5e-4d8b-a951-7dc7df03daad', 'name': 'ctest-vn-16998521', 'tenant_id': '11d9779200c147d7941aa39b622f6aa3', 'project_id': '11d9779200c147d7941aa39b622f6aa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48291603', 'ctest-vn-16998521'], 'port_security_enabled': True, 'description': ''}} 2026-11-20 13:56:15,940 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a879be1b-a7ca-46bc-b7a2-173eccfbbd5d', 'name': '', 'tenant_id': '11d9779200c147d7941aa39b622f6aa3', 'network_id': '077e2f30-2e5e-4d8b-a951-7dc7df03daad', 'ip_version': 4, 'cidr': '151.177.114.0/26', 'allocation_pools': [{'start': '151.177.114.2', 'end': '151.177.114.62'}], 'gateway_ip': '151.177.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.177.114.2', 'tags': [], 'project_id': '11d9779200c147d7941aa39b622f6aa3'}} 2026-11-20 13:56:15,955 - INFO - Created VN ctest-vn-16998521 2026-11-20 13:56:16,007 - DEBUG - VN ctest-vn-16998521 UUID is 077e2f30-2e5e-4d8b-a951-7dc7df03daad 2026-11-20 13:56:16,356 - DEBUG - Response for create_network : {'network': {'id': 'b421241a-9989-45c7-be86-0d2ac61e84b9', 'name': 'ctest-ext_vn-33307547', 'tenant_id': '11d9779200c147d7941aa39b622f6aa3', 'project_id': '11d9779200c147d7941aa39b622f6aa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48291603', 'ctest-ext_vn-33307547'], 'port_security_enabled': True, 'description': ''}} 2026-11-20 13:56:16,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f433c2e-a488-4cae-8327-6adf860c261e', 'name': '', 'tenant_id': '11d9779200c147d7941aa39b622f6aa3', 'network_id': 'b421241a-9989-45c7-be86-0d2ac61e84b9', 'ip_version': 4, 'cidr': '159.196.40.128/26', 'allocation_pools': [{'start': '159.196.40.130', 'end': '159.196.40.190'}], 'gateway_ip': '159.196.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.196.40.130', 'tags': [], 'project_id': '11d9779200c147d7941aa39b622f6aa3'}} 2026-11-20 13:56:16,580 - INFO - Created VN ctest-ext_vn-33307547 2026-11-20 13:56:16,631 - DEBUG - VN ctest-ext_vn-33307547 UUID is b421241a-9989-45c7-be86-0d2ac61e84b9 2026-11-20 13:56:16,855 - DEBUG - Services list from nova: [, , ] 2026-11-20 13:56:17,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6511-1) 2026-11-20 13:56:17,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6511-1) 2026-11-20 13:56:17,604 - INFO - Setting gateway for router 0338b35c-2ca7-43e6-8755-88a5e0d66ca5 to network b421241a-9989-45c7-be86-0d2ac61e84b9 2026-11-20 13:56:17,660 - INFO - Adding interface with subnet_id a879be1b-a7ca-46bc-b7a2-173eccfbbd5d, port_id None to router 0338b35c-2ca7-43e6-8755-88a5e0d66ca5 2026-11-20 13:56:17,911 - INFO - Waiting for VM ctest-TestRoutersBasic-48291603-42275791 to be up.. 2026-11-20 13:56:17,969 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:23,041 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:28,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:33,187 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:38,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:43,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:48,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:53,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-20 13:56:58,690 - DEBUG - VM is in ACTIVE state now 2026-11-20 13:56:58,690 - INFO - VM name : ctest-TestRoutersBasic-48291603-42275791 2026-11-20 13:56:58,764 - DEBUG - VM ctest-TestRoutersBasic-48291603-42275791 ID is 1b7b8eaa-9ca6-4dd9-8cb1-f4fecc609328 2026-11-20 13:56:58,787 - DEBUG - VM ctest-TestRoutersBasic-48291603-42275791 launched on Node cn-jenkins-deploy-platform-ansible-os-6511-1 2026-11-20 13:56:58,861 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1b7b8eaa-9ca6-4dd9-8cb1-f4fecc609328 2026-11-20 13:56:59,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1b7b8eaa-9ca6-4dd9-8cb1-f4fecc609328 2026-11-20 13:56:59,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/89555f8e-60b9-4d31-a0c6-0ecc56cc5b61 2026-11-20 13:57:02,521 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-11-20 13:57:02,521 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-48291603-42275791 failed! 2026-11-20 13:57:02,574 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48291603:ctest-vn-16998521 is 151.177.114.1 and allocation pool is NOT set 2026-11-20 13:57:04,634 - 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=1 ttl=63 time=5.49 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.716 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.716/3.105/5.494/2.389 ms') 2026-11-20 13:57:04,634 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-48291603-42275791 passed 2026-11-20 13:57:04,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-20 13:57:04,783 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48291603-42275791, IP 151.177.114.3, Port 22 2026-11-20 13:57:04,942 - DEBUG - VM ctest-TestRoutersBasic-48291603-42275791 is ready for SSH connections 2026-11-20 13:57:04,942 - INFO - Waiting for VM ctest-TestRoutersBasic-48291603-48696362 to be up.. 2026-11-20 13:57:05,014 - DEBUG - VM is in ACTIVE state now 2026-11-20 13:57:05,014 - INFO - VM name : ctest-TestRoutersBasic-48291603-48696362 2026-11-20 13:57:05,087 - DEBUG - VM ctest-TestRoutersBasic-48291603-48696362 ID is da1109ce-565c-45a1-80f7-ba9ac14ae07f 2026-11-20 13:57:05,087 - DEBUG - VM ctest-TestRoutersBasic-48291603-48696362 launched on Node cn-jenkins-deploy-platform-ansible-os-6511-1 2026-11-20 13:57:05,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/da1109ce-565c-45a1-80f7-ba9ac14ae07f 2026-11-20 13:57:05,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/800e0d61-149e-452c-949a-b68a799adabf 2026-11-20 13:57:06,387 - 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.42 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.343 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.343/1.882/3.421/1.539 ms') 2026-11-20 13:57:06,387 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-48291603-48696362 passed 2026-11-20 13:57:06,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-20 13:57:06,531 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48291603-48696362, IP 159.196.40.132, Port 22 2026-11-20 13:57:06,686 - DEBUG - VM ctest-TestRoutersBasic-48291603-48696362 is ready for SSH connections 2026-11-20 13:57:06,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-20 13:57:06,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.196.40.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-20 13:57:06,686 - DEBUG - ping -s 56 -c 3 -W 1 159.196.40.132 2026-11-20 13:57:09,616 - DEBUG - PING 159.196.40.132 (159.196.40.132): 56 data bytes 64 bytes from 159.196.40.132: seq=0 ttl=62 time=10.312 ms 64 bytes from 159.196.40.132: seq=1 ttl=62 time=0.840 ms 64 bytes from 159.196.40.132: seq=2 ttl=62 time=0.857 ms --- 159.196.40.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/4.003/10.312 ms 2026-11-20 13:57:09,616 - INFO - Ping to IP 159.196.40.132 from VM ctest-TestRoutersBasic-48291603-42275791 passed 2026-11-20 13:57:09,616 - INFO - Deleting interface with subnet_id a879be1b-a7ca-46bc-b7a2-173eccfbbd5d, port_id None from router 0338b35c-2ca7-43e6-8755-88a5e0d66ca5 2026-11-20 13:57:09,789 - INFO - Deleting VM ctest-TestRoutersBasic-48291603-48696362 2026-11-20 13:57:09,862 - INFO - Deleting VM ctest-TestRoutersBasic-48291603-42275791 2026-11-20 13:57:09,932 - INFO - Deleting VN ctest-ext_vn-33307547 2026-11-20 13:57:09,988 - DEBUG - VN b421241a-9989-45c7-be86-0d2ac61e84b9 still in use: Unable to complete operation on network b421241a-9989-45c7-be86-0d2ac61e84b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c84e1270-1083-4158-84e9-61e118dd1d86'] 2026-11-20 13:57:09,988 - WARNING - Deleting VN ctest-ext_vn-33307547 failed..Will retry 2026-11-20 13:57:12,020 - DEBUG - VN b421241a-9989-45c7-be86-0d2ac61e84b9 still in use: Unable to complete operation on network b421241a-9989-45c7-be86-0d2ac61e84b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-62762400-e949-49a0-a0ab-16b1479bdc5d'] 2026-11-20 13:57:12,021 - WARNING - Deleting VN ctest-ext_vn-33307547 failed..Will retry 2026-11-20 13:57:14,129 - DEBUG - Response for deleting network () 2026-11-20 13:57:14,129 - INFO - Deleting VN ctest-vn-16998521 2026-11-20 13:57:14,226 - DEBUG - Response for deleting network () 2026-11-20 13:57:14,484 - DEBUG - No XMPP flaps were noticed during the test
2026-11-20 13:57:14,484 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-11-20 13:57:14,484 - INFO - -------------------------------------------------------------------------------- 2026-11-20 13:57:15,277 - INFO - Deleted project: ctest-TestRoutersBasic-48291603, ID : 11d97792-00c1-47d7-941a-a39b622f6aa3