2026-08-20 10:46:31,164 - INFO - Domain Default found not creating 2026-08-20 10:46:31,325 - INFO - Project ctest-TestRoutersBasic-14750249 not found, creating it 2026-08-20 10:46:31,808 - INFO - Created Project:ctest-TestRoutersBasic-14750249, ID : b6600c47-1bdb-4b26-90ce-e34126c02972 2026-08-20 10:46:33,608 - INFO - ================================================================================ 2026-08-20 10:46:33,608 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-20 10:46:33,608 - 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-20 10:46:33,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-20 10:46:33,885 - INFO - Initial checks done. Running the testcase now 2026-08-20 10:46:33,885 - INFO - 2026-08-20 10:46:34,753 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14750249 2026-08-20 10:46:34,850 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14750249 2026-08-20 10:46:35,186 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14750249', 'default']} 2026-08-20 10:46:35,514 - DEBUG - Response for create_network : {'network': {'id': 'd32c538d-5bf2-4b1b-835c-63b70f70c579', 'name': 'ctest-vn-38371473', 'tenant_id': 'b6600c471bdb4b2690cee34126c02972', 'project_id': 'b6600c471bdb4b2690cee34126c02972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14750249', 'ctest-vn-38371473'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 10:46:35,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '1606fefd-7387-4d06-8be3-f99f802fdd32', 'name': '', 'tenant_id': 'b6600c471bdb4b2690cee34126c02972', 'network_id': 'd32c538d-5bf2-4b1b-835c-63b70f70c579', 'ip_version': 4, 'cidr': '58.71.43.0/26', 'allocation_pools': [{'start': '58.71.43.2', 'end': '58.71.43.62'}], 'gateway_ip': '58.71.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.71.43.2', 'tags': [], 'project_id': 'b6600c471bdb4b2690cee34126c02972'}} 2026-08-20 10:46:35,742 - INFO - Created VN ctest-vn-38371473 2026-08-20 10:46:35,799 - DEBUG - VN ctest-vn-38371473 UUID is d32c538d-5bf2-4b1b-835c-63b70f70c579 2026-08-20 10:46:36,193 - DEBUG - Response for create_network : {'network': {'id': '90b13496-044a-4322-8fed-d0d12fbcfe68', 'name': 'ctest-ext_vn-83027942', 'tenant_id': 'b6600c471bdb4b2690cee34126c02972', 'project_id': 'b6600c471bdb4b2690cee34126c02972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14750249', 'ctest-ext_vn-83027942'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 10:46:36,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '24fffebd-facb-4f33-a7ea-265292d7892f', 'name': '', 'tenant_id': 'b6600c471bdb4b2690cee34126c02972', 'network_id': '90b13496-044a-4322-8fed-d0d12fbcfe68', 'ip_version': 4, 'cidr': '195.165.84.192/26', 'allocation_pools': [{'start': '195.165.84.194', 'end': '195.165.84.254'}], 'gateway_ip': '195.165.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.165.84.194', 'tags': [], 'project_id': 'b6600c471bdb4b2690cee34126c02972'}} 2026-08-20 10:46:36,458 - INFO - Created VN ctest-ext_vn-83027942 2026-08-20 10:46:36,519 - DEBUG - VN ctest-ext_vn-83027942 UUID is 90b13496-044a-4322-8fed-d0d12fbcfe68 2026-08-20 10:46:36,712 - DEBUG - Services list from nova: [, , ] 2026-08-20 10:46:37,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6184-1) 2026-08-20 10:46:37,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6184-1) 2026-08-20 10:46:37,615 - INFO - Setting gateway for router 2d3cafa6-55e1-4643-9b16-89b511d8983b to network 90b13496-044a-4322-8fed-d0d12fbcfe68 2026-08-20 10:46:37,681 - INFO - Adding interface with subnet_id 1606fefd-7387-4d06-8be3-f99f802fdd32, port_id None to router 2d3cafa6-55e1-4643-9b16-89b511d8983b 2026-08-20 10:46:37,949 - INFO - Waiting for VM ctest-TestRoutersBasic-14750249-32751015 to be up.. 2026-08-20 10:46:38,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:46:43,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:46:48,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:46:53,329 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:46:58,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:47:03,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:47:08,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:47:13,712 - DEBUG - VM is in ACTIVE state now 2026-08-20 10:47:13,712 - INFO - VM name : ctest-TestRoutersBasic-14750249-32751015 2026-08-20 10:47:13,791 - DEBUG - VM ctest-TestRoutersBasic-14750249-32751015 ID is b7eed49d-160d-4cb7-a666-3f6c0d967b56 2026-08-20 10:47:13,812 - DEBUG - VM ctest-TestRoutersBasic-14750249-32751015 launched on Node cn-jenkins-deploy-platform-ansible-os-6184-1 2026-08-20 10:47:13,919 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b7eed49d-160d-4cb7-a666-3f6c0d967b56 2026-08-20 10:47:14,305 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b7eed49d-160d-4cb7-a666-3f6c0d967b56 2026-08-20 10:47:14,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d81c1dbf-5c4b-41a6-8be4-08a84ff6ab51 2026-08-20 10:47:17,611 - 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 1014ms') 2026-08-20 10:47:17,612 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14750249-32751015 failed! 2026-08-20 10:47:17,666 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14750249:ctest-vn-38371473 is 58.71.43.1 and allocation pool is NOT set 2026-08-20 10:47:21,741 - 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=10.8 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 = 10.840/10.840/10.840/0.000 ms') 2026-08-20 10:47:21,741 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14750249-32751015 passed 2026-08-20 10:47:21,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:47:21,891 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14750249-32751015, IP 58.71.43.3, Port 22 2026-08-20 10:47:22,056 - DEBUG - VM ctest-TestRoutersBasic-14750249-32751015 is ready for SSH connections 2026-08-20 10:47:22,056 - INFO - Waiting for VM ctest-TestRoutersBasic-14750249-85356109 to be up.. 2026-08-20 10:47:22,139 - DEBUG - VM is in ACTIVE state now 2026-08-20 10:47:22,139 - INFO - VM name : ctest-TestRoutersBasic-14750249-85356109 2026-08-20 10:47:22,220 - DEBUG - VM ctest-TestRoutersBasic-14750249-85356109 ID is a3b0c6d8-4552-4857-9f98-e10a3b4543cc 2026-08-20 10:47:22,220 - DEBUG - VM ctest-TestRoutersBasic-14750249-85356109 launched on Node cn-jenkins-deploy-platform-ansible-os-6184-1 2026-08-20 10:47:22,304 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a3b0c6d8-4552-4857-9f98-e10a3b4543cc 2026-08-20 10:47:22,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/97a3658a-5a02-4660-a0c8-be2736482870 2026-08-20 10:47:23,567 - 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.38 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.76 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 = 2.763/5.072/7.382/2.309 ms') 2026-08-20 10:47:23,567 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-14750249-85356109 passed 2026-08-20 10:47:23,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:47:23,718 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14750249-85356109, IP 195.165.84.196, Port 22 2026-08-20 10:47:23,888 - DEBUG - VM ctest-TestRoutersBasic-14750249-85356109 is ready for SSH connections 2026-08-20 10:47:23,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:47:23,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.165.84.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-20 10:47:23,888 - DEBUG - ping -s 56 -c 3 -W 1 195.165.84.196 2026-08-20 10:47:26,931 - DEBUG - PING 195.165.84.196 (195.165.84.196): 56 data bytes 64 bytes from 195.165.84.196: seq=0 ttl=62 time=7.279 ms 64 bytes from 195.165.84.196: seq=1 ttl=62 time=1.079 ms 64 bytes from 195.165.84.196: seq=2 ttl=62 time=1.198 ms --- 195.165.84.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.079/3.185/7.279 ms 2026-08-20 10:47:26,931 - INFO - Ping to IP 195.165.84.196 from VM ctest-TestRoutersBasic-14750249-32751015 passed 2026-08-20 10:47:26,932 - INFO - Deleting interface with subnet_id 1606fefd-7387-4d06-8be3-f99f802fdd32, port_id None from router 2d3cafa6-55e1-4643-9b16-89b511d8983b 2026-08-20 10:47:27,143 - INFO - Deleting VM ctest-TestRoutersBasic-14750249-85356109 2026-08-20 10:47:27,218 - INFO - Deleting VM ctest-TestRoutersBasic-14750249-32751015 2026-08-20 10:47:27,296 - INFO - Deleting VN ctest-ext_vn-83027942 2026-08-20 10:47:27,358 - DEBUG - VN 90b13496-044a-4322-8fed-d0d12fbcfe68 still in use: Unable to complete operation on network 90b13496-044a-4322-8fed-d0d12fbcfe68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd8c1731-e981-4ee2-95f5-3ffd754e0711'] 2026-08-20 10:47:27,358 - WARNING - Deleting VN ctest-ext_vn-83027942 failed..Will retry 2026-08-20 10:47:29,413 - DEBUG - VN 90b13496-044a-4322-8fed-d0d12fbcfe68 still in use: Unable to complete operation on network 90b13496-044a-4322-8fed-d0d12fbcfe68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ff2812e-f069-4487-9c89-9ab235b30467'] 2026-08-20 10:47:29,414 - WARNING - Deleting VN ctest-ext_vn-83027942 failed..Will retry 2026-08-20 10:47:31,528 - DEBUG - Response for deleting network () 2026-08-20 10:47:31,528 - INFO - Deleting VN ctest-vn-38371473 2026-08-20 10:47:31,641 - DEBUG - Response for deleting network () 2026-08-20 10:47:31,900 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 10:47:31,900 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58] 2026-08-20 10:47:31,900 - INFO - -------------------------------------------------------------------------------- 2026-08-20 10:47:32,694 - INFO - Deleted project: ctest-TestRoutersBasic-14750249, ID : b6600c47-1bdb-4b26-90ce-e34126c02972