2024-10-29 11:19:20,131 - INFO - Domain Default found not creating 2024-10-29 11:19:20,300 - INFO - Project ctest-TestBasicVMVNx-13428752 not found, creating it 2024-10-29 11:19:20,808 - INFO - Created Project:ctest-TestBasicVMVNx-13428752, ID : 42d55f72-53b6-4bce-8b85-086ffdeefda6 2024-10-29 11:19:22,323 - INFO - ================================================================================ 2024-10-29 11:19:22,323 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-29 11:19:22,323 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2024-10-29 11:19:22,579 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.5': '0'}} with 2024-10-29 11:19:22,579 - INFO - Initial checks done. Running the testcase now 2024-10-29 11:19:22,580 - INFO - 2024-10-29 11:19:23,166 - DEBUG - Response for create_network : {'network': {'id': '4c65a27e-3495-4ec1-bf27-515127eaba91', 'name': 'ctest-vn-96374960', 'tenant_id': '42d55f7253b64bce8b85086ffdeefda6', 'project_id': '42d55f7253b64bce8b85086ffdeefda6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13428752', 'ctest-vn-96374960'], 'port_security_enabled': True, 'description': ''}} 2024-10-29 11:19:23,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d3f315b-04ac-400f-b3df-18c614f5eb53', 'name': '', 'tenant_id': '42d55f7253b64bce8b85086ffdeefda6', 'network_id': '4c65a27e-3495-4ec1-bf27-515127eaba91', 'ip_version': 4, 'cidr': '51.172.210.128/26', 'allocation_pools': [{'start': '51.172.210.130', 'end': '51.172.210.190'}], 'gateway_ip': '51.172.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.172.210.130', 'tags': [], 'project_id': '42d55f7253b64bce8b85086ffdeefda6'}} 2024-10-29 11:19:23,366 - INFO - Created VN ctest-vn-96374960 2024-10-29 11:19:23,425 - DEBUG - VN ctest-vn-96374960 UUID is 4c65a27e-3495-4ec1-bf27-515127eaba91 2024-10-29 11:19:23,593 - DEBUG - Services list from nova: [, , ] 2024-10-29 11:19:24,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2173-1) 2024-10-29 11:19:25,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2173-1) 2024-10-29 11:19:25,841 - INFO - Waiting for VM ctest-TestBasicVMVNx-13428752-73190796 to be up.. 2024-10-29 11:19:25,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-29 11:19:31,027 - DEBUG - VM is in ACTIVE state now 2024-10-29 11:19:31,027 - INFO - VM name : ctest-TestBasicVMVNx-13428752-73190796 2024-10-29 11:19:31,129 - DEBUG - VM ctest-TestBasicVMVNx-13428752-73190796 ID is 554e92cd-800f-432b-bfec-387486b31bf4 2024-10-29 11:19:31,153 - DEBUG - VM ctest-TestBasicVMVNx-13428752-73190796 launched on Node cn-jenkins-deploy-platform-ansible-os-2173-1 2024-10-29 11:19:31,251 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/554e92cd-800f-432b-bfec-387486b31bf4 2024-10-29 11:19:31,553 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/554e92cd-800f-432b-bfec-387486b31bf4 2024-10-29 11:19:31,599 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/298cdfaa-e2c7-4e02-82a6-13e5caa4c24c 2024-10-29 11:19:34,907 - 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 1034ms') 2024-10-29 11:19:34,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13428752-73190796 failed! 2024-10-29 11:19:34,970 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13428752:ctest-vn-96374960 is 51.172.210.129 and allocation pool is NOT set 2024-10-29 11:19:37,027 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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 = 0.402/1.741/3.081/1.339 ms') 2024-10-29 11:19:37,027 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13428752-73190796 passed 2024-10-29 11:19:37,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 11:19:37,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13428752-73190796, IP 51.172.210.131, Port 22 2024-10-29 11:19:37,341 - DEBUG - VM ctest-TestBasicVMVNx-13428752-73190796 is ready for SSH connections 2024-10-29 11:19:37,341 - INFO - Waiting for VM ctest-TestBasicVMVNx-13428752-76916029 to be up.. 2024-10-29 11:19:37,419 - DEBUG - VM is in ACTIVE state now 2024-10-29 11:19:37,420 - INFO - VM name : ctest-TestBasicVMVNx-13428752-76916029 2024-10-29 11:19:37,498 - DEBUG - VM ctest-TestBasicVMVNx-13428752-76916029 ID is 09fc2cda-43ce-4dc8-8ca5-2ad7371b95a3 2024-10-29 11:19:37,498 - DEBUG - VM ctest-TestBasicVMVNx-13428752-76916029 launched on Node cn-jenkins-deploy-platform-ansible-os-2173-1 2024-10-29 11:19:37,571 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/09fc2cda-43ce-4dc8-8ca5-2ad7371b95a3 2024-10-29 11:19:37,580 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/dfbe7d4f-3798-4518-a141-3637782bd5d9 2024-10-29 11:19:38,829 - 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=6.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/3.274/6.029/2.754 ms') 2024-10-29 11:19:38,829 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13428752-76916029 passed 2024-10-29 11:19:38,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 11:19:38,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13428752-76916029, IP 51.172.210.132, Port 22 2024-10-29 11:19:39,145 - DEBUG - VM ctest-TestBasicVMVNx-13428752-76916029 is ready for SSH connections 2024-10-29 11:19:39,145 - DEBUG - FILE SIZE = 1303B 2024-10-29 11:19:39,145 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13428752-73190796 to ctest-TestBasicVMVNx-13428752-76916029 using scp 2024-10-29 11:19:39,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 11:19:39,153 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2024-10-29 11:19:39,153 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-29 11:19:41,049 - DEBUG - 1+0 records in 1+0 records out 2024-10-29 11:19:41,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 11:19:42,209 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2024-10-29 11:19:42,210 - DEBUG - ls -l testfile 2024-10-29 11:19:43,794 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 29 05:19 testfile 2024-10-29 11:19:43,794 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13428752-76916029 2024-10-29 11:19:43,794 - INFO - Deleting VM ctest-TestBasicVMVNx-13428752-76916029 2024-10-29 11:19:43,870 - INFO - Deleting VM ctest-TestBasicVMVNx-13428752-73190796 2024-10-29 11:19:43,940 - INFO - Deleting VN ctest-vn-96374960 2024-10-29 11:19:44,042 - DEBUG - VN 4c65a27e-3495-4ec1-bf27-515127eaba91 still in use: Unable to complete operation on network 4c65a27e-3495-4ec1-bf27-515127eaba91. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7627a31d-35aa-4570-af2d-05bf0c8ee84c'] 2024-10-29 11:19:44,042 - WARNING - Deleting VN ctest-vn-96374960 failed..Will retry 2024-10-29 11:19:46,166 - DEBUG - Response for deleting network () 2024-10-29 11:19:46,425 - DEBUG - No XMPP flaps were noticed during the test
2024-10-29 11:19:46,425 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-29 11:19:46,425 - INFO - -------------------------------------------------------------------------------- 2024-10-29 11:19:47,129 - INFO - Deleted project: ctest-TestBasicVMVNx-13428752, ID : 42d55f72-53b6-4bce-8b85-086ffdeefda6