2025-12-22 02:09:16,316 - INFO - Domain Default found not creating 2025-12-22 02:09:16,507 - INFO - Project ctest-TestRoutersBasic-00494393 not found, creating it 2025-12-22 02:09:17,063 - INFO - Created Project:ctest-TestRoutersBasic-00494393, ID : 7d210fee-34fc-4f79-b8b9-db2cc37f65ae 2025-12-22 02:09:18,778 - INFO - ================================================================================ 2025-12-22 02:09:18,779 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-22 02:09:18,779 - 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-12-22 02:09:19,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.201': '0'}} with 2025-12-22 02:09:19,039 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:09:19,039 - INFO - 2025-12-22 02:09:19,857 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00494393 2025-12-22 02:09:19,953 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00494393 2025-12-22 02:09:20,285 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00494393', 'default']} 2025-12-22 02:09:20,633 - DEBUG - Response for create_network : {'network': {'id': '229fd2cc-fb78-44e6-b67c-39950e575d22', 'name': 'ctest-vn-87753576', 'tenant_id': '7d210fee34fc4f79b8b9db2cc37f65ae', 'project_id': '7d210fee34fc4f79b8b9db2cc37f65ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00494393', 'ctest-vn-87753576'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:09:20,824 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bff186ac-cdfc-4555-bb4b-1f1223e867cd', 'name': '', 'tenant_id': '7d210fee34fc4f79b8b9db2cc37f65ae', 'network_id': '229fd2cc-fb78-44e6-b67c-39950e575d22', 'ip_version': 4, 'cidr': '154.28.27.128/26', 'allocation_pools': [{'start': '154.28.27.130', 'end': '154.28.27.190'}], 'gateway_ip': '154.28.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.28.27.130', 'tags': [], 'project_id': '7d210fee34fc4f79b8b9db2cc37f65ae'}} 2025-12-22 02:09:20,843 - INFO - Created VN ctest-vn-87753576 2025-12-22 02:09:20,897 - DEBUG - VN ctest-vn-87753576 UUID is 229fd2cc-fb78-44e6-b67c-39950e575d22 2025-12-22 02:09:21,239 - DEBUG - Response for create_network : {'network': {'id': '9a33fe9f-4a2a-47e5-8b87-15b9a207560a', 'name': 'ctest-ext_vn-65300350', 'tenant_id': '7d210fee34fc4f79b8b9db2cc37f65ae', 'project_id': '7d210fee34fc4f79b8b9db2cc37f65ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00494393', 'ctest-ext_vn-65300350'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:09:21,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '3996b151-ea05-4803-9815-7c035d862183', 'name': '', 'tenant_id': '7d210fee34fc4f79b8b9db2cc37f65ae', 'network_id': '9a33fe9f-4a2a-47e5-8b87-15b9a207560a', 'ip_version': 4, 'cidr': '213.141.213.192/26', 'allocation_pools': [{'start': '213.141.213.194', 'end': '213.141.213.254'}], 'gateway_ip': '213.141.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.141.213.194', 'tags': [], 'project_id': '7d210fee34fc4f79b8b9db2cc37f65ae'}} 2025-12-22 02:09:21,480 - INFO - Created VN ctest-ext_vn-65300350 2025-12-22 02:09:21,537 - DEBUG - VN ctest-ext_vn-65300350 UUID is 9a33fe9f-4a2a-47e5-8b87-15b9a207560a 2025-12-22 02:09:21,717 - DEBUG - Services list from nova: [, , ] 2025-12-22 02:09:22,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1) 2025-12-22 02:09:24,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1) 2025-12-22 02:09:24,230 - INFO - Setting gateway for router ee1751fe-b65e-4b85-b799-c08651384f81 to network 9a33fe9f-4a2a-47e5-8b87-15b9a207560a 2025-12-22 02:09:24,309 - INFO - Adding interface with subnet_id bff186ac-cdfc-4555-bb4b-1f1223e867cd, port_id None to router ee1751fe-b65e-4b85-b799-c08651384f81 2025-12-22 02:09:24,756 - INFO - Waiting for VM ctest-TestRoutersBasic-00494393-88441990 to be up.. 2025-12-22 02:09:24,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:09:30,037 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:09:30,037 - INFO - VM name : ctest-TestRoutersBasic-00494393-88441990 2025-12-22 02:09:30,135 - DEBUG - VM ctest-TestRoutersBasic-00494393-88441990 ID is 588eed4f-e5d9-450c-9d81-41ac96b91363 2025-12-22 02:09:30,157 - DEBUG - VM ctest-TestRoutersBasic-00494393-88441990 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1 2025-12-22 02:09:30,244 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/588eed4f-e5d9-450c-9d81-41ac96b91363 2025-12-22 02:09:30,582 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/588eed4f-e5d9-450c-9d81-41ac96b91363 2025-12-22 02:09:30,632 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5979d626-c6b9-4a93-a7c2-362c357d216c 2025-12-22 02:09:33,919 - 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 1024ms') 2025-12-22 02:09:33,919 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00494393-88441990 failed! 2025-12-22 02:09:33,977 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00494393:ctest-vn-87753576 is 154.28.27.129 and allocation pool is NOT set 2025-12-22 02:09:36,043 - 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=5.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.315/3.705/5.096/1.390 ms') 2025-12-22 02:09:36,043 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00494393-88441990 passed 2025-12-22 02:09:36,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:09:36,197 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00494393-88441990, IP 154.28.27.131, Port 22 2025-12-22 02:09:36,364 - DEBUG - VM ctest-TestRoutersBasic-00494393-88441990 is ready for SSH connections 2025-12-22 02:09:36,364 - INFO - Waiting for VM ctest-TestRoutersBasic-00494393-17087250 to be up.. 2025-12-22 02:09:36,453 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:09:36,453 - INFO - VM name : ctest-TestRoutersBasic-00494393-17087250 2025-12-22 02:09:36,543 - DEBUG - VM ctest-TestRoutersBasic-00494393-17087250 ID is 22d2b5b0-2228-457c-a8d1-0cf6d064f199 2025-12-22 02:09:36,543 - DEBUG - VM ctest-TestRoutersBasic-00494393-17087250 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1 2025-12-22 02:09:36,636 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/22d2b5b0-2228-457c-a8d1-0cf6d064f199 2025-12-22 02:09:36,645 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/714b5c01-2bf8-4c6a-b39a-4bc39e30d2d5 2025-12-22 02:09:37,904 - 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=3.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.167/2.505/3.844/1.338 ms') 2025-12-22 02:09:37,904 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00494393-17087250 passed 2025-12-22 02:09:38,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:09:38,053 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00494393-17087250, IP 213.141.213.195, Port 22 2025-12-22 02:09:38,219 - DEBUG - VM ctest-TestRoutersBasic-00494393-17087250 is ready for SSH connections 2025-12-22 02:09:38,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:09:38,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.141.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:09:38,220 - DEBUG - ping -s 56 -c 3 -W 1 213.141.213.195 2025-12-22 02:09:42,002 - DEBUG - PING 213.141.213.195 (213.141.213.195): 56 data bytes 64 bytes from 213.141.213.195: seq=0 ttl=62 time=7.052 ms 64 bytes from 213.141.213.195: seq=1 ttl=62 time=1.098 ms 64 bytes from 213.141.213.195: seq=2 ttl=62 time=1.043 ms --- 213.141.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.043/3.064/7.052 ms 2025-12-22 02:09:42,002 - INFO - Ping to IP 213.141.213.195 from VM ctest-TestRoutersBasic-00494393-88441990 passed 2025-12-22 02:09:42,003 - INFO - Deleting interface with subnet_id bff186ac-cdfc-4555-bb4b-1f1223e867cd, port_id None from router ee1751fe-b65e-4b85-b799-c08651384f81 2025-12-22 02:09:42,224 - INFO - Deleting VM ctest-TestRoutersBasic-00494393-17087250 2025-12-22 02:09:42,304 - INFO - Deleting VM ctest-TestRoutersBasic-00494393-88441990 2025-12-22 02:09:42,385 - INFO - Deleting VN ctest-ext_vn-65300350 2025-12-22 02:09:42,464 - DEBUG - VN 9a33fe9f-4a2a-47e5-8b87-15b9a207560a still in use: Unable to complete operation on network 9a33fe9f-4a2a-47e5-8b87-15b9a207560a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d174f6a3-af6f-4034-bfb0-d10c737c4db4'] 2025-12-22 02:09:42,465 - WARNING - Deleting VN ctest-ext_vn-65300350 failed..Will retry 2025-12-22 02:09:44,571 - DEBUG - Response for deleting network () 2025-12-22 02:09:44,571 - INFO - Deleting VN ctest-vn-87753576 2025-12-22 02:09:44,686 - DEBUG - Response for deleting network () 2025-12-22 02:09:44,952 - DEBUG - No XMPP flaps were noticed during the test 2025-12-22 02:09:44,952 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-22 02:09:44,952 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:09:45,713 - INFO - Deleted project: ctest-TestRoutersBasic-00494393, ID : 7d210fee-34fc-4f79-b8b9-db2cc37f65ae