2026-06-16 10:54:04,322 - INFO - Domain Default found not creating 2026-06-16 10:54:04,494 - INFO - Project ctest-TestRoutersBasic-24574352 not found, creating it 2026-06-16 10:54:05,015 - INFO - Created Project:ctest-TestRoutersBasic-24574352, ID : 330fb90a-6324-4f1b-8cd8-13cc4827737e 2026-06-16 10:54:06,632 - INFO - ================================================================================ 2026-06-16 10:54:06,632 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-16 10:54:06,632 - 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-06-16 10:54:06,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-16 10:54:06,883 - INFO - Initial checks done. Running the testcase now 2026-06-16 10:54:06,884 - INFO - 2026-06-16 10:54:07,704 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24574352 2026-06-16 10:54:07,799 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24574352 2026-06-16 10:54:08,119 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24574352', 'default']} 2026-06-16 10:54:08,420 - DEBUG - Response for create_network : {'network': {'id': '471a70e5-cc7f-4623-b6bc-108571d37ebc', 'name': 'ctest-vn-73601899', 'tenant_id': '330fb90a63244f1b8cd813cc4827737e', 'project_id': '330fb90a63244f1b8cd813cc4827737e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24574352', 'ctest-vn-73601899'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 10:54:08,612 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3c18b5b-c25d-4112-ae80-64887fa7deaa', 'name': '', 'tenant_id': '330fb90a63244f1b8cd813cc4827737e', 'network_id': '471a70e5-cc7f-4623-b6bc-108571d37ebc', 'ip_version': 4, 'cidr': '85.41.237.128/26', 'allocation_pools': [{'start': '85.41.237.130', 'end': '85.41.237.190'}], 'gateway_ip': '85.41.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.41.237.130', 'tags': [], 'project_id': '330fb90a63244f1b8cd813cc4827737e'}} 2026-06-16 10:54:08,628 - INFO - Created VN ctest-vn-73601899 2026-06-16 10:54:08,683 - DEBUG - VN ctest-vn-73601899 UUID is 471a70e5-cc7f-4623-b6bc-108571d37ebc 2026-06-16 10:54:09,030 - DEBUG - Response for create_network : {'network': {'id': 'afef75f0-c691-474f-8df0-70de24c7b040', 'name': 'ctest-ext_vn-15072851', 'tenant_id': '330fb90a63244f1b8cd813cc4827737e', 'project_id': '330fb90a63244f1b8cd813cc4827737e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24574352', 'ctest-ext_vn-15072851'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 10:54:09,188 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dda043a5-997f-4cd0-8213-6c03261b72db', 'name': '', 'tenant_id': '330fb90a63244f1b8cd813cc4827737e', 'network_id': 'afef75f0-c691-474f-8df0-70de24c7b040', 'ip_version': 4, 'cidr': '130.247.189.64/26', 'allocation_pools': [{'start': '130.247.189.66', 'end': '130.247.189.126'}], 'gateway_ip': '130.247.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.247.189.66', 'tags': [], 'project_id': '330fb90a63244f1b8cd813cc4827737e'}} 2026-06-16 10:54:09,203 - INFO - Created VN ctest-ext_vn-15072851 2026-06-16 10:54:09,259 - DEBUG - VN ctest-ext_vn-15072851 UUID is afef75f0-c691-474f-8df0-70de24c7b040 2026-06-16 10:54:09,465 - DEBUG - Services list from nova: [, , ] 2026-06-16 10:54:10,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5951-1) 2026-06-16 10:54:11,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5951-1) 2026-06-16 10:54:11,851 - INFO - Setting gateway for router af8da038-6e0c-46c6-a514-518bbf8150a8 to network afef75f0-c691-474f-8df0-70de24c7b040 2026-06-16 10:54:11,930 - INFO - Adding interface with subnet_id a3c18b5b-c25d-4112-ae80-64887fa7deaa, port_id None to router af8da038-6e0c-46c6-a514-518bbf8150a8 2026-06-16 10:54:12,343 - INFO - Waiting for VM ctest-TestRoutersBasic-24574352-46576983 to be up.. 2026-06-16 10:54:12,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 10:54:17,600 - DEBUG - VM is in ACTIVE state now 2026-06-16 10:54:17,600 - INFO - VM name : ctest-TestRoutersBasic-24574352-46576983 2026-06-16 10:54:17,680 - DEBUG - VM ctest-TestRoutersBasic-24574352-46576983 ID is 716c2b1b-8d6a-489d-bb49-b7bb45ba8cfd 2026-06-16 10:54:17,704 - DEBUG - VM ctest-TestRoutersBasic-24574352-46576983 launched on Node cn-jenkins-deploy-platform-ansible-os-5951-1 2026-06-16 10:54:17,777 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/716c2b1b-8d6a-489d-bb49-b7bb45ba8cfd 2026-06-16 10:54:18,119 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/716c2b1b-8d6a-489d-bb49-b7bb45ba8cfd 2026-06-16 10:54:18,157 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/db791c6a-71de-4285-bc18-2ff02586ab68 2026-06-16 10:54:21,401 - 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=2 ttl=63 time=11.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 11.033/11.033/11.033/0.000 ms') 2026-06-16 10:54:21,401 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24574352-46576983 passed 2026-06-16 10:54:21,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 10:54:21,555 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24574352-46576983, IP 85.41.237.131, Port 22 2026-06-16 10:54:21,725 - DEBUG - VM ctest-TestRoutersBasic-24574352-46576983 is ready for SSH connections 2026-06-16 10:54:21,725 - INFO - Waiting for VM ctest-TestRoutersBasic-24574352-27348541 to be up.. 2026-06-16 10:54:21,801 - DEBUG - VM is in ACTIVE state now 2026-06-16 10:54:21,801 - INFO - VM name : ctest-TestRoutersBasic-24574352-27348541 2026-06-16 10:54:21,880 - DEBUG - VM ctest-TestRoutersBasic-24574352-27348541 ID is 85729ee9-e2fa-4e84-af9e-feab0c081b00 2026-06-16 10:54:21,880 - DEBUG - VM ctest-TestRoutersBasic-24574352-27348541 launched on Node cn-jenkins-deploy-platform-ansible-os-5951-1 2026-06-16 10:54:21,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/85729ee9-e2fa-4e84-af9e-feab0c081b00 2026-06-16 10:54:21,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/234dcb66-9b82-4d4d-924b-c7611a345b33 2026-06-16 10:54:23,207 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/2.419/4.424/2.005 ms') 2026-06-16 10:54:23,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24574352-27348541 passed 2026-06-16 10:54:23,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 10:54:23,359 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24574352-27348541, IP 130.247.189.67, Port 22 2026-06-16 10:54:23,514 - DEBUG - VM ctest-TestRoutersBasic-24574352-27348541 is ready for SSH connections 2026-06-16 10:54:23,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 10:54:23,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.247.189.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 10:54:23,514 - DEBUG - ping -s 56 -c 3 -W 1 130.247.189.67 2026-06-16 10:54:27,220 - DEBUG - PING 130.247.189.67 (130.247.189.67): 56 data bytes 64 bytes from 130.247.189.67: seq=0 ttl=62 time=5.904 ms 64 bytes from 130.247.189.67: seq=1 ttl=62 time=0.863 ms 64 bytes from 130.247.189.67: seq=2 ttl=62 time=1.309 ms --- 130.247.189.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/2.692/5.904 ms 2026-06-16 10:54:27,220 - INFO - Ping to IP 130.247.189.67 from VM ctest-TestRoutersBasic-24574352-46576983 passed 2026-06-16 10:54:27,220 - INFO - Deleting interface with subnet_id a3c18b5b-c25d-4112-ae80-64887fa7deaa, port_id None from router af8da038-6e0c-46c6-a514-518bbf8150a8 2026-06-16 10:54:27,460 - INFO - Deleting VM ctest-TestRoutersBasic-24574352-27348541 2026-06-16 10:54:27,530 - INFO - Deleting VM ctest-TestRoutersBasic-24574352-46576983 2026-06-16 10:54:27,614 - INFO - Deleting VN ctest-ext_vn-15072851 2026-06-16 10:54:27,692 - DEBUG - VN afef75f0-c691-474f-8df0-70de24c7b040 still in use: Unable to complete operation on network afef75f0-c691-474f-8df0-70de24c7b040. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4be43233-f691-454f-a98a-59047aab7409'] 2026-06-16 10:54:27,692 - WARNING - Deleting VN ctest-ext_vn-15072851 failed..Will retry 2026-06-16 10:54:29,805 - DEBUG - Response for deleting network () 2026-06-16 10:54:29,805 - INFO - Deleting VN ctest-vn-73601899 2026-06-16 10:54:29,920 - DEBUG - Response for deleting network () 2026-06-16 10:54:30,183 - DEBUG - No XMPP flaps were noticed during the test
2026-06-16 10:54:30,183 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2026-06-16 10:54:30,183 - INFO - -------------------------------------------------------------------------------- 2026-06-16 10:54:30,914 - INFO - Deleted project: ctest-TestRoutersBasic-24574352, ID : 330fb90a-6324-4f1b-8cd8-13cc4827737e