2024-10-28 16:34:00,644 - INFO - Domain Default found not creating 2024-10-28 16:34:00,829 - INFO - Project ctest-TestBasicVMVNx-52866201 not found, creating it 2024-10-28 16:34:01,312 - INFO - Created Project:ctest-TestBasicVMVNx-52866201, ID : 4b135c13-3e45-4bed-94bc-96af4cce7a20 2024-10-28 16:34:02,872 - INFO - ================================================================================ 2024-10-28 16:34:02,873 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 16:34:02,873 - 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-28 16:34:03,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.31': '0'}} with 2024-10-28 16:34:03,131 - INFO - Initial checks done. Running the testcase now 2024-10-28 16:34:03,131 - INFO - 2024-10-28 16:34:03,746 - DEBUG - Response for create_network : {'network': {'id': '3e40ab5c-8f70-46f2-b6ab-1ea7b36c62e3', 'name': 'ctest-vn-15535320', 'tenant_id': '4b135c133e454bed94bc96af4cce7a20', 'project_id': '4b135c133e454bed94bc96af4cce7a20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52866201', 'ctest-vn-15535320'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 16:34:03,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '35e5b0a4-31f2-4616-8e8d-4667dcf15a30', 'name': '', 'tenant_id': '4b135c133e454bed94bc96af4cce7a20', 'network_id': '3e40ab5c-8f70-46f2-b6ab-1ea7b36c62e3', 'ip_version': 4, 'cidr': '128.135.22.128/26', 'allocation_pools': [{'start': '128.135.22.130', 'end': '128.135.22.190'}], 'gateway_ip': '128.135.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.135.22.130', 'tags': [], 'project_id': '4b135c133e454bed94bc96af4cce7a20'}} 2024-10-28 16:34:03,987 - INFO - Created VN ctest-vn-15535320 2024-10-28 16:34:04,048 - DEBUG - VN ctest-vn-15535320 UUID is 3e40ab5c-8f70-46f2-b6ab-1ea7b36c62e3 2024-10-28 16:34:04,230 - DEBUG - Services list from nova: [, , ] 2024-10-28 16:34:05,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2168-1) 2024-10-28 16:34:06,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2168-1) 2024-10-28 16:34:06,586 - INFO - Waiting for VM ctest-TestBasicVMVNx-52866201-57403103 to be up.. 2024-10-28 16:34:06,684 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 16:34:11,800 - DEBUG - VM is in ACTIVE state now 2024-10-28 16:34:11,800 - INFO - VM name : ctest-TestBasicVMVNx-52866201-57403103 2024-10-28 16:34:11,893 - DEBUG - VM ctest-TestBasicVMVNx-52866201-57403103 ID is f8433071-1aae-4f64-91c8-e0a7a0729130 2024-10-28 16:34:11,913 - DEBUG - VM ctest-TestBasicVMVNx-52866201-57403103 launched on Node cn-jenkins-deploy-platform-ansible-os-2168-1 2024-10-28 16:34:12,006 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/f8433071-1aae-4f64-91c8-e0a7a0729130 2024-10-28 16:34:12,314 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/f8433071-1aae-4f64-91c8-e0a7a0729130 2024-10-28 16:34:12,354 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/3993c4af-5aae-473e-b5d1-3c7ddf090d55 2024-10-28 16:34:15,630 - 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 1013ms') 2024-10-28 16:34:15,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52866201-57403103 failed! 2024-10-28 16:34:15,696 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52866201:ctest-vn-15535320 is 128.135.22.129 and allocation pool is NOT set 2024-10-28 16:34:17,760 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/5.260/10.036/4.775 ms') 2024-10-28 16:34:17,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52866201-57403103 passed 2024-10-28 16:34:17,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:34:17,920 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52866201-57403103, IP 128.135.22.131, Port 22 2024-10-28 16:34:18,077 - DEBUG - VM ctest-TestBasicVMVNx-52866201-57403103 is ready for SSH connections 2024-10-28 16:34:18,077 - INFO - Waiting for VM ctest-TestBasicVMVNx-52866201-35796019 to be up.. 2024-10-28 16:34:18,171 - DEBUG - VM is in ACTIVE state now 2024-10-28 16:34:18,171 - INFO - VM name : ctest-TestBasicVMVNx-52866201-35796019 2024-10-28 16:34:18,257 - DEBUG - VM ctest-TestBasicVMVNx-52866201-35796019 ID is 8435fb58-3d59-49fe-a3aa-12887ededf2d 2024-10-28 16:34:18,257 - DEBUG - VM ctest-TestBasicVMVNx-52866201-35796019 launched on Node cn-jenkins-deploy-platform-ansible-os-2168-1 2024-10-28 16:34:18,355 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/8435fb58-3d59-49fe-a3aa-12887ededf2d 2024-10-28 16:34:18,369 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/9f56472a-b300-43e5-bb22-44f7035f4c28 2024-10-28 16:34:19,639 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.819/3.157/1.337 ms') 2024-10-28 16:34:19,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52866201-35796019 passed 2024-10-28 16:34:19,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:34:19,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52866201-35796019, IP 128.135.22.132, Port 22 2024-10-28 16:34:19,960 - DEBUG - VM ctest-TestBasicVMVNx-52866201-35796019 is ready for SSH connections 2024-10-28 16:34:19,960 - DEBUG - FILE SIZE = 1303B 2024-10-28 16:34:19,960 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52866201-57403103 to ctest-TestBasicVMVNx-52866201-35796019 using scp 2024-10-28 16:34:19,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:34:19,968 - 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.40, gateway password: c0ntrail123 2024-10-28 16:34:19,968 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 16:34:21,907 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 16:34:22,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 16:34:23,025 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2024-10-28 16:34:23,025 - DEBUG - ls -l testfile 2024-10-28 16:34:24,616 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 10:34 testfile 2024-10-28 16:34:24,616 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52866201-35796019 2024-10-28 16:34:24,616 - INFO - Deleting VM ctest-TestBasicVMVNx-52866201-35796019 2024-10-28 16:34:24,808 - INFO - Deleting VM ctest-TestBasicVMVNx-52866201-57403103 2024-10-28 16:34:24,893 - INFO - Deleting VN ctest-vn-15535320 2024-10-28 16:34:24,935 - DEBUG - VN 3e40ab5c-8f70-46f2-b6ab-1ea7b36c62e3 still in use: Unable to complete operation on network 3e40ab5c-8f70-46f2-b6ab-1ea7b36c62e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-61cc0c70-0947-47bf-b55d-261bff9a9d33'] 2024-10-28 16:34:24,935 - WARNING - Deleting VN ctest-vn-15535320 failed..Will retry 2024-10-28 16:34:27,090 - DEBUG - Response for deleting network () 2024-10-28 16:34:27,347 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 16:34:27,347 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-10-28 16:34:27,348 - INFO - -------------------------------------------------------------------------------- 2024-10-28 16:34:28,116 - INFO - Deleted project: ctest-TestBasicVMVNx-52866201, ID : 4b135c13-3e45-4bed-94bc-96af4cce7a20