2025-05-27 14:34:59,054 - INFO - Domain Default found not creating 2025-05-27 14:34:59,203 - INFO - Project ctest-TestRoutersBasic-45449223 not found, creating it 2025-05-27 14:34:59,667 - INFO - Created Project:ctest-TestRoutersBasic-45449223, ID : 8d06dccd-de2b-4336-b65d-58824d88bb5d 2025-05-27 14:35:01,324 - INFO - ================================================================================ 2025-05-27 14:35:01,324 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-27 14:35:01,324 - 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-05-27 14:35:01,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-05-27 14:35:01,581 - INFO - Initial checks done. Running the testcase now 2025-05-27 14:35:01,581 - INFO - 2025-05-27 14:35:02,375 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45449223 2025-05-27 14:35:02,470 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45449223 2025-05-27 14:35:02,799 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45449223', 'default']} 2025-05-27 14:35:03,127 - DEBUG - Response for create_network : {'network': {'id': 'ad3dfa7c-2a3d-45d2-81b9-254d21a827db', 'name': 'ctest-vn-22797308', 'tenant_id': '8d06dccdde2b4336b65d58824d88bb5d', 'project_id': '8d06dccdde2b4336b65d58824d88bb5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45449223', 'ctest-vn-22797308'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 14:35:03,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '568c5d0f-4b06-4d32-b625-7dd1bcd961d2', 'name': '', 'tenant_id': '8d06dccdde2b4336b65d58824d88bb5d', 'network_id': 'ad3dfa7c-2a3d-45d2-81b9-254d21a827db', 'ip_version': 4, 'cidr': '221.178.35.0/26', 'allocation_pools': [{'start': '221.178.35.2', 'end': '221.178.35.62'}], 'gateway_ip': '221.178.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.178.35.2', 'tags': [], 'project_id': '8d06dccdde2b4336b65d58824d88bb5d'}} 2025-05-27 14:35:03,365 - INFO - Created VN ctest-vn-22797308 2025-05-27 14:35:03,418 - DEBUG - VN ctest-vn-22797308 UUID is ad3dfa7c-2a3d-45d2-81b9-254d21a827db 2025-05-27 14:35:03,827 - DEBUG - Response for create_network : {'network': {'id': '58705d3b-b6b1-4bc1-b4b7-4174fc4a95fd', 'name': 'ctest-ext_vn-00678057', 'tenant_id': '8d06dccdde2b4336b65d58824d88bb5d', 'project_id': '8d06dccdde2b4336b65d58824d88bb5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45449223', 'ctest-ext_vn-00678057'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 14:35:04,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bd44620-4c56-4e15-8156-bf8df31f87d2', 'name': '', 'tenant_id': '8d06dccdde2b4336b65d58824d88bb5d', 'network_id': '58705d3b-b6b1-4bc1-b4b7-4174fc4a95fd', 'ip_version': 4, 'cidr': '131.11.55.192/26', 'allocation_pools': [{'start': '131.11.55.194', 'end': '131.11.55.254'}], 'gateway_ip': '131.11.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.11.55.194', 'tags': [], 'project_id': '8d06dccdde2b4336b65d58824d88bb5d'}} 2025-05-27 14:35:04,026 - INFO - Created VN ctest-ext_vn-00678057 2025-05-27 14:35:04,078 - DEBUG - VN ctest-ext_vn-00678057 UUID is 58705d3b-b6b1-4bc1-b4b7-4174fc4a95fd 2025-05-27 14:35:04,243 - DEBUG - Services list from nova: [, , ] 2025-05-27 14:35:05,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3345-1) 2025-05-27 14:35:06,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3345-1) 2025-05-27 14:35:07,028 - INFO - Setting gateway for router 23bc4d4b-0914-49cb-8ca3-ee98a56553d6 to network 58705d3b-b6b1-4bc1-b4b7-4174fc4a95fd 2025-05-27 14:35:07,087 - INFO - Adding interface with subnet_id 568c5d0f-4b06-4d32-b625-7dd1bcd961d2, port_id None to router 23bc4d4b-0914-49cb-8ca3-ee98a56553d6 2025-05-27 14:35:07,513 - INFO - Waiting for VM ctest-TestRoutersBasic-45449223-83578152 to be up.. 2025-05-27 14:35:07,691 - DEBUG - VM is in ACTIVE state now 2025-05-27 14:35:07,691 - INFO - VM name : ctest-TestRoutersBasic-45449223-83578152 2025-05-27 14:35:07,889 - DEBUG - VM ctest-TestRoutersBasic-45449223-83578152 ID is f68fb96b-bf04-4a1f-903b-2b04f92e2b64 2025-05-27 14:35:07,924 - DEBUG - VM ctest-TestRoutersBasic-45449223-83578152 launched on Node cn-jenkins-deploy-platform-ansible-os-3345-1 2025-05-27 14:35:08,039 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f68fb96b-bf04-4a1f-903b-2b04f92e2b64 2025-05-27 14:35:08,425 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f68fb96b-bf04-4a1f-903b-2b04f92e2b64 2025-05-27 14:35:08,466 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bc0ce384-ceda-44de-b8bf-98c744c62cb2 2025-05-27 14:35:11,797 - 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 1027ms') 2025-05-27 14:35:11,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45449223-83578152 failed! 2025-05-27 14:35:11,854 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45449223:ctest-vn-22797308 is 221.178.35.1 and allocation pool is NOT set 2025-05-27 14:35:15,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 1011ms') 2025-05-27 14:35:15,920 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45449223-83578152 failed! 2025-05-27 14:35:15,974 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45449223:ctest-vn-22797308 is 221.178.35.1 and allocation pool is NOT set 2025-05-27 14:35:18,038 - 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=4.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.229/2.905/4.581/1.676 ms') 2025-05-27 14:35:18,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45449223-83578152 passed 2025-05-27 14:35:18,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 14:35:18,195 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45449223-83578152, IP 221.178.35.3, Port 22 2025-05-27 14:35:18,358 - DEBUG - VM ctest-TestRoutersBasic-45449223-83578152 is ready for SSH connections 2025-05-27 14:35:18,358 - INFO - Waiting for VM ctest-TestRoutersBasic-45449223-58481694 to be up.. 2025-05-27 14:35:18,442 - DEBUG - VM is in ACTIVE state now 2025-05-27 14:35:18,442 - INFO - VM name : ctest-TestRoutersBasic-45449223-58481694 2025-05-27 14:35:18,517 - DEBUG - VM ctest-TestRoutersBasic-45449223-58481694 ID is de649954-d5f1-4756-87f1-28a5a03a72a9 2025-05-27 14:35:18,517 - DEBUG - VM ctest-TestRoutersBasic-45449223-58481694 launched on Node cn-jenkins-deploy-platform-ansible-os-3345-1 2025-05-27 14:35:18,592 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/de649954-d5f1-4756-87f1-28a5a03a72a9 2025-05-27 14:35:18,604 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/de7d7799-2167-491f-bb6d-9f2524614d35 2025-05-27 14:35:19,852 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.712 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.712/2.257/3.803/1.545 ms') 2025-05-27 14:35:19,852 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45449223-58481694 passed 2025-05-27 14:35:20,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 14:35:20,002 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45449223-58481694, IP 131.11.55.195, Port 22 2025-05-27 14:35:20,162 - DEBUG - VM ctest-TestRoutersBasic-45449223-58481694 is ready for SSH connections 2025-05-27 14:35:20,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 14:35:20,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.11.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-05-27 14:35:20,162 - DEBUG - ping -s 56 -c 3 -W 1 131.11.55.195 2025-05-27 14:35:24,244 - DEBUG - PING 131.11.55.195 (131.11.55.195): 56 data bytes 64 bytes from 131.11.55.195: seq=0 ttl=62 time=4.605 ms 64 bytes from 131.11.55.195: seq=1 ttl=62 time=0.891 ms 64 bytes from 131.11.55.195: seq=2 ttl=62 time=1.116 ms --- 131.11.55.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/2.204/4.605 ms 2025-05-27 14:35:24,244 - INFO - Ping to IP 131.11.55.195 from VM ctest-TestRoutersBasic-45449223-83578152 passed 2025-05-27 14:35:24,244 - INFO - Deleting interface with subnet_id 568c5d0f-4b06-4d32-b625-7dd1bcd961d2, port_id None from router 23bc4d4b-0914-49cb-8ca3-ee98a56553d6 2025-05-27 14:35:24,480 - INFO - Deleting VM ctest-TestRoutersBasic-45449223-58481694 2025-05-27 14:35:24,566 - INFO - Deleting VM ctest-TestRoutersBasic-45449223-83578152 2025-05-27 14:35:24,649 - INFO - Deleting VN ctest-ext_vn-00678057 2025-05-27 14:35:24,740 - DEBUG - VN 58705d3b-b6b1-4bc1-b4b7-4174fc4a95fd still in use: Unable to complete operation on network 58705d3b-b6b1-4bc1-b4b7-4174fc4a95fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31e81edf-cb88-42eb-8e72-7bbea851dd6b'] 2025-05-27 14:35:24,740 - WARNING - Deleting VN ctest-ext_vn-00678057 failed..Will retry 2025-05-27 14:35:26,863 - DEBUG - Response for deleting network () 2025-05-27 14:35:26,864 - INFO - Deleting VN ctest-vn-22797308 2025-05-27 14:35:26,973 - DEBUG - Response for deleting network () 2025-05-27 14:35:27,233 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 14:35:27,233 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-27 14:35:27,233 - INFO - -------------------------------------------------------------------------------- 2025-05-27 14:35:28,014 - INFO - Deleted project: ctest-TestRoutersBasic-45449223, ID : 8d06dccd-de2b-4336-b65d-58824d88bb5d