2025-11-05 10:49:05,731 - INFO - Domain Default found not creating 2025-11-05 10:49:05,893 - INFO - Project ctest-TestRoutersBasic-46143440 not found, creating it 2025-11-05 10:49:06,370 - INFO - Created Project:ctest-TestRoutersBasic-46143440, ID : da410a07-bb3a-4984-8f56-d91fb4ef01bf 2025-11-05 10:49:07,919 - INFO - ================================================================================ 2025-11-05 10:49:07,920 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 10:49:07,920 - 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 2025-11-05 10:49:08,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-05 10:49:08,179 - INFO - Initial checks done. Running the testcase now 2025-11-05 10:49:08,179 - INFO - 2025-11-05 10:49:08,897 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46143440 2025-11-05 10:49:08,994 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46143440 2025-11-05 10:49:09,318 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46143440', 'default']} 2025-11-05 10:49:09,634 - DEBUG - Response for create_network : {'network': {'id': '3edea6ec-9466-4ee9-93f6-5057fdc8824e', 'name': 'ctest-vn-37639392', 'tenant_id': 'da410a07bb3a49848f56d91fb4ef01bf', 'project_id': 'da410a07bb3a49848f56d91fb4ef01bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46143440', 'ctest-vn-37639392'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:49:09,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ae39714-4961-4da7-a08e-1afeb39d381b', 'name': '', 'tenant_id': 'da410a07bb3a49848f56d91fb4ef01bf', 'network_id': '3edea6ec-9466-4ee9-93f6-5057fdc8824e', 'ip_version': 4, 'cidr': '123.144.50.128/26', 'allocation_pools': [{'start': '123.144.50.130', 'end': '123.144.50.190'}], 'gateway_ip': '123.144.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.144.50.130', 'tags': [], 'project_id': 'da410a07bb3a49848f56d91fb4ef01bf'}} 2025-11-05 10:49:09,865 - INFO - Created VN ctest-vn-37639392 2025-11-05 10:49:09,918 - DEBUG - VN ctest-vn-37639392 UUID is 3edea6ec-9466-4ee9-93f6-5057fdc8824e 2025-11-05 10:49:10,239 - DEBUG - Response for create_network : {'network': {'id': '132e89a6-f6ed-4293-b04f-73955630546f', 'name': 'ctest-ext_vn-82138103', 'tenant_id': 'da410a07bb3a49848f56d91fb4ef01bf', 'project_id': 'da410a07bb3a49848f56d91fb4ef01bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46143440', 'ctest-ext_vn-82138103'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:49:10,461 - DEBUG - Response for create_subnet : {'subnet': {'id': '248a62ac-0352-4a1d-a297-f0d9e14b2ad5', 'name': '', 'tenant_id': 'da410a07bb3a49848f56d91fb4ef01bf', 'network_id': '132e89a6-f6ed-4293-b04f-73955630546f', 'ip_version': 4, 'cidr': '63.76.216.0/26', 'allocation_pools': [{'start': '63.76.216.2', 'end': '63.76.216.62'}], 'gateway_ip': '63.76.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.76.216.2', 'tags': [], 'project_id': 'da410a07bb3a49848f56d91fb4ef01bf'}} 2025-11-05 10:49:10,478 - INFO - Created VN ctest-ext_vn-82138103 2025-11-05 10:49:10,530 - DEBUG - VN ctest-ext_vn-82138103 UUID is 132e89a6-f6ed-4293-b04f-73955630546f 2025-11-05 10:49:10,698 - DEBUG - Services list from nova: [, , ] 2025-11-05 10:49:11,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:49:12,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:49:13,083 - INFO - Setting gateway for router 35933ed2-3385-4db7-ac91-05fdf5a7f369 to network 132e89a6-f6ed-4293-b04f-73955630546f 2025-11-05 10:49:13,153 - INFO - Adding interface with subnet_id 3ae39714-4961-4da7-a08e-1afeb39d381b, port_id None to router 35933ed2-3385-4db7-ac91-05fdf5a7f369 2025-11-05 10:49:13,521 - INFO - Waiting for VM ctest-TestRoutersBasic-46143440-00603472 to be up.. 2025-11-05 10:49:13,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 10:49:18,718 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:49:18,719 - INFO - VM name : ctest-TestRoutersBasic-46143440-00603472 2025-11-05 10:49:18,795 - DEBUG - VM ctest-TestRoutersBasic-46143440-00603472 ID is 22929ea3-8421-4906-ad56-98ad3e94fb18 2025-11-05 10:49:18,812 - DEBUG - VM ctest-TestRoutersBasic-46143440-00603472 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:49:18,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/22929ea3-8421-4906-ad56-98ad3e94fb18 2025-11-05 10:49:19,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/22929ea3-8421-4906-ad56-98ad3e94fb18 2025-11-05 10:49:19,215 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2131ec9d-61c4-4921-a13d-145677c4925d 2025-11-05 10:49:22,480 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-11-05 10:49:22,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46143440-00603472 failed! 2025-11-05 10:49:22,534 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46143440:ctest-vn-37639392 is 123.144.50.129 and allocation pool is NOT set 2025-11-05 10:49:24,599 - 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=1 ttl=63 time=3.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.384/2.146/3.909/1.762 ms') 2025-11-05 10:49:24,599 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46143440-00603472 passed 2025-11-05 10:49:24,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:49:24,750 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46143440-00603472, IP 123.144.50.131, Port 22 2025-11-05 10:49:24,915 - DEBUG - VM ctest-TestRoutersBasic-46143440-00603472 is ready for SSH connections 2025-11-05 10:49:24,916 - INFO - Waiting for VM ctest-TestRoutersBasic-46143440-66026332 to be up.. 2025-11-05 10:49:24,997 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:49:24,997 - INFO - VM name : ctest-TestRoutersBasic-46143440-66026332 2025-11-05 10:49:25,080 - DEBUG - VM ctest-TestRoutersBasic-46143440-66026332 ID is acf99817-4f37-4248-a972-76c07f97aa4d 2025-11-05 10:49:25,080 - DEBUG - VM ctest-TestRoutersBasic-46143440-66026332 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:49:25,163 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/acf99817-4f37-4248-a972-76c07f97aa4d 2025-11-05 10:49:25,172 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ac4030c5-ef74-4e83-82f5-3672a9253704 2025-11-05 10:49:26,423 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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 = 1.276/2.664/4.052/1.388 ms') 2025-11-05 10:49:26,423 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46143440-66026332 passed 2025-11-05 10:49:26,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:49:26,578 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46143440-66026332, IP 63.76.216.3, Port 22 2025-11-05 10:49:26,737 - DEBUG - VM ctest-TestRoutersBasic-46143440-66026332 is ready for SSH connections 2025-11-05 10:49:26,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:49:26,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.76.216.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:49:26,738 - DEBUG - ping -s 56 -c 3 -W 1 63.76.216.3 2025-11-05 10:49:30,510 - DEBUG - PING 63.76.216.3 (63.76.216.3): 56 data bytes 64 bytes from 63.76.216.3: seq=0 ttl=62 time=8.148 ms 64 bytes from 63.76.216.3: seq=1 ttl=62 time=0.948 ms 64 bytes from 63.76.216.3: seq=2 ttl=62 time=1.193 ms --- 63.76.216.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/3.429/8.148 ms 2025-11-05 10:49:30,510 - INFO - Ping to IP 63.76.216.3 from VM ctest-TestRoutersBasic-46143440-00603472 passed 2025-11-05 10:49:30,510 - INFO - Deleting interface with subnet_id 3ae39714-4961-4da7-a08e-1afeb39d381b, port_id None from router 35933ed2-3385-4db7-ac91-05fdf5a7f369 2025-11-05 10:49:30,703 - INFO - Deleting VM ctest-TestRoutersBasic-46143440-66026332 2025-11-05 10:49:30,774 - INFO - Deleting VM ctest-TestRoutersBasic-46143440-00603472 2025-11-05 10:49:30,850 - INFO - Deleting VN ctest-ext_vn-82138103 2025-11-05 10:49:30,918 - DEBUG - VN 132e89a6-f6ed-4293-b04f-73955630546f still in use: Unable to complete operation on network 132e89a6-f6ed-4293-b04f-73955630546f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-121f9aa3-fcd7-4a5e-b1ef-6aca3111c5f2'] 2025-11-05 10:49:30,918 - WARNING - Deleting VN ctest-ext_vn-82138103 failed..Will retry 2025-11-05 10:49:33,029 - DEBUG - Response for deleting network () 2025-11-05 10:49:33,029 - INFO - Deleting VN ctest-vn-37639392 2025-11-05 10:49:33,134 - DEBUG - Response for deleting network () 2025-11-05 10:49:33,392 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 10:49:33,392 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-05 10:49:33,392 - INFO - -------------------------------------------------------------------------------- 2025-11-05 10:49:34,084 - INFO - Deleted project: ctest-TestRoutersBasic-46143440, ID : da410a07-bb3a-4984-8f56-d91fb4ef01bf