2025-10-30 09:11:52,351 - INFO - Domain Default found not creating 2025-10-30 09:11:52,497 - INFO - Project ctest-TestRoutersBasic-00727587 not found, creating it 2025-10-30 09:11:52,930 - INFO - Created Project:ctest-TestRoutersBasic-00727587, ID : 8b1585c6-2145-4676-859c-2164d2453de1 2025-10-30 09:11:54,880 - INFO - ================================================================================ 2025-10-30 09:11:54,880 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 09:11:54,880 - 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-10-30 09:11:55,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-30 09:11:55,132 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:11:55,132 - INFO - 2025-10-30 09:11:55,798 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00727587 2025-10-30 09:11:55,908 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00727587 2025-10-30 09:11:56,223 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00727587', 'default']} 2025-10-30 09:11:56,486 - DEBUG - Response for create_network : {'network': {'id': '3bdede7c-0f27-4662-bb6b-ea148b924a72', 'name': 'ctest-vn-42468223', 'tenant_id': '8b1585c621454676859c2164d2453de1', 'project_id': '8b1585c621454676859c2164d2453de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00727587', 'ctest-vn-42468223'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:11:56,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '85ed2b03-2792-41ce-a17f-78f9546e7722', 'name': '', 'tenant_id': '8b1585c621454676859c2164d2453de1', 'network_id': '3bdede7c-0f27-4662-bb6b-ea148b924a72', 'ip_version': 4, 'cidr': '142.211.241.128/26', 'allocation_pools': [{'start': '142.211.241.130', 'end': '142.211.241.190'}], 'gateway_ip': '142.211.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.211.241.130', 'tags': [], 'project_id': '8b1585c621454676859c2164d2453de1'}} 2025-10-30 09:11:56,630 - INFO - Created VN ctest-vn-42468223 2025-10-30 09:11:56,679 - DEBUG - VN ctest-vn-42468223 UUID is 3bdede7c-0f27-4662-bb6b-ea148b924a72 2025-10-30 09:11:56,992 - DEBUG - Response for create_network : {'network': {'id': '323b9242-1f45-4d32-a2f5-d2853d9fc98e', 'name': 'ctest-ext_vn-31984639', 'tenant_id': '8b1585c621454676859c2164d2453de1', 'project_id': '8b1585c621454676859c2164d2453de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00727587', 'ctest-ext_vn-31984639'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:11:57,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9b9e928-272f-4665-906e-4375f3921933', 'name': '', 'tenant_id': '8b1585c621454676859c2164d2453de1', 'network_id': '323b9242-1f45-4d32-a2f5-d2853d9fc98e', 'ip_version': 4, 'cidr': '14.220.59.0/26', 'allocation_pools': [{'start': '14.220.59.2', 'end': '14.220.59.62'}], 'gateway_ip': '14.220.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.220.59.2', 'tags': [], 'project_id': '8b1585c621454676859c2164d2453de1'}} 2025-10-30 09:11:57,205 - INFO - Created VN ctest-ext_vn-31984639 2025-10-30 09:11:57,255 - DEBUG - VN ctest-ext_vn-31984639 UUID is 323b9242-1f45-4d32-a2f5-d2853d9fc98e 2025-10-30 09:11:57,446 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:11:58,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4537-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4537-1) 2025-10-30 09:11:59,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4537-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4537-1) 2025-10-30 09:11:59,664 - INFO - Setting gateway for router f09061ba-501e-46e4-b0f1-d73d2f8c6078 to network 323b9242-1f45-4d32-a2f5-d2853d9fc98e 2025-10-30 09:11:59,723 - INFO - Adding interface with subnet_id 85ed2b03-2792-41ce-a17f-78f9546e7722, port_id None to router f09061ba-501e-46e4-b0f1-d73d2f8c6078 2025-10-30 09:12:00,063 - INFO - Waiting for VM ctest-TestRoutersBasic-00727587-49779809 to be up.. 2025-10-30 09:12:00,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:12:05,321 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:12:05,321 - INFO - VM name : ctest-TestRoutersBasic-00727587-49779809 2025-10-30 09:12:05,404 - DEBUG - VM ctest-TestRoutersBasic-00727587-49779809 ID is 430c0c4c-0d8d-42d3-b8f6-88ba617f6d7d 2025-10-30 09:12:05,424 - DEBUG - VM ctest-TestRoutersBasic-00727587-49779809 launched on Node cn-jenkins-deploy-platform-ansible-os-4537-1 2025-10-30 09:12:05,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/430c0c4c-0d8d-42d3-b8f6-88ba617f6d7d 2025-10-30 09:12:05,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/430c0c4c-0d8d-42d3-b8f6-88ba617f6d7d 2025-10-30 09:12:05,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0a84f7ad-9087-4171-9764-ec3c09906842 2025-10-30 09:12:09,089 - 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 1015ms') 2025-10-30 09:12:09,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00727587-49779809 failed! 2025-10-30 09:12:09,144 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00727587:ctest-vn-42468223 is 142.211.241.129 and allocation pool is NOT set 2025-10-30 09:12:11,214 - 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=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/1.618/2.797/1.178 ms') 2025-10-30 09:12:11,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00727587-49779809 passed 2025-10-30 09:12:11,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:12:11,360 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00727587-49779809, IP 142.211.241.131, Port 22 2025-10-30 09:12:11,515 - DEBUG - VM ctest-TestRoutersBasic-00727587-49779809 is ready for SSH connections 2025-10-30 09:12:11,515 - INFO - Waiting for VM ctest-TestRoutersBasic-00727587-51371835 to be up.. 2025-10-30 09:12:11,585 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:12:11,585 - INFO - VM name : ctest-TestRoutersBasic-00727587-51371835 2025-10-30 09:12:11,650 - DEBUG - VM ctest-TestRoutersBasic-00727587-51371835 ID is 27596397-76d4-4c9a-9189-b28b9f23df93 2025-10-30 09:12:11,650 - DEBUG - VM ctest-TestRoutersBasic-00727587-51371835 launched on Node cn-jenkins-deploy-platform-ansible-os-4537-1 2025-10-30 09:12:11,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27596397-76d4-4c9a-9189-b28b9f23df93 2025-10-30 09:12:11,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/387fb559-99f6-425b-8910-c228e1b763e2 2025-10-30 09:12:12,949 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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 = 0.370/1.620/2.870/1.250 ms') 2025-10-30 09:12:12,949 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00727587-51371835 passed 2025-10-30 09:12:13,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:12:13,096 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00727587-51371835, IP 14.220.59.3, Port 22 2025-10-30 09:12:13,255 - DEBUG - VM ctest-TestRoutersBasic-00727587-51371835 is ready for SSH connections 2025-10-30 09:12:13,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:12:13,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.220.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 09:12:13,255 - DEBUG - ping -s 56 -c 3 -W 1 14.220.59.3 2025-10-30 09:12:17,234 - DEBUG - PING 14.220.59.3 (14.220.59.3): 56 data bytes 64 bytes from 14.220.59.3: seq=0 ttl=62 time=7.302 ms 64 bytes from 14.220.59.3: seq=1 ttl=62 time=1.024 ms 64 bytes from 14.220.59.3: seq=2 ttl=62 time=0.809 ms --- 14.220.59.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/3.045/7.302 ms 2025-10-30 09:12:17,234 - INFO - Ping to IP 14.220.59.3 from VM ctest-TestRoutersBasic-00727587-49779809 passed 2025-10-30 09:12:17,234 - INFO - Deleting interface with subnet_id 85ed2b03-2792-41ce-a17f-78f9546e7722, port_id None from router f09061ba-501e-46e4-b0f1-d73d2f8c6078 2025-10-30 09:12:17,404 - INFO - Deleting VM ctest-TestRoutersBasic-00727587-51371835 2025-10-30 09:12:17,466 - INFO - Deleting VM ctest-TestRoutersBasic-00727587-49779809 2025-10-30 09:12:17,533 - INFO - Deleting VN ctest-ext_vn-31984639 2025-10-30 09:12:17,589 - DEBUG - VN 323b9242-1f45-4d32-a2f5-d2853d9fc98e still in use: Unable to complete operation on network 323b9242-1f45-4d32-a2f5-d2853d9fc98e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c9aa201-a52c-4d1d-b33f-df3c659dd56c'] 2025-10-30 09:12:17,589 - WARNING - Deleting VN ctest-ext_vn-31984639 failed..Will retry 2025-10-30 09:12:19,673 - DEBUG - Response for deleting network () 2025-10-30 09:12:19,673 - INFO - Deleting VN ctest-vn-42468223 2025-10-30 09:12:19,788 - DEBUG - Response for deleting network () 2025-10-30 09:12:20,041 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:12:20,041 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-30 09:12:20,041 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:12:20,723 - INFO - Deleted project: ctest-TestRoutersBasic-00727587, ID : 8b1585c6-2145-4676-859c-2164d2453de1