2024-11-13 09:05:30,229 - INFO - Domain Default found not creating 2024-11-13 09:05:30,420 - INFO - Project ctest-TestBasicVMVNx-96508287 not found, creating it 2024-11-13 09:05:30,935 - INFO - Created Project:ctest-TestBasicVMVNx-96508287, ID : 393af823-33a6-452b-a96b-f7a678f496e8 2024-11-13 09:05:32,582 - INFO - ================================================================================ 2024-11-13 09:05:32,582 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-13 09:05:32,583 - 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-11-13 09:05:32,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2024-11-13 09:05:32,843 - INFO - Initial checks done. Running the testcase now 2024-11-13 09:05:32,843 - INFO - 2024-11-13 09:05:33,455 - DEBUG - Response for create_network : {'network': {'id': 'ff5ab563-f617-4b8c-b778-a4acbf64a5dd', 'name': 'ctest-vn-41023543', 'tenant_id': '393af82333a6452ba96bf7a678f496e8', 'project_id': '393af82333a6452ba96bf7a678f496e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96508287', 'ctest-vn-41023543'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 09:05:33,709 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4e66e52-cdcc-4cf8-8242-03289ccb2d80', 'name': '', 'tenant_id': '393af82333a6452ba96bf7a678f496e8', 'network_id': 'ff5ab563-f617-4b8c-b778-a4acbf64a5dd', 'ip_version': 4, 'cidr': '26.10.182.128/26', 'allocation_pools': [{'start': '26.10.182.130', 'end': '26.10.182.190'}], 'gateway_ip': '26.10.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.10.182.130', 'tags': [], 'project_id': '393af82333a6452ba96bf7a678f496e8'}} 2024-11-13 09:05:33,728 - INFO - Created VN ctest-vn-41023543 2024-11-13 09:05:33,787 - DEBUG - VN ctest-vn-41023543 UUID is ff5ab563-f617-4b8c-b778-a4acbf64a5dd 2024-11-13 09:05:33,986 - DEBUG - Services list from nova: [, , ] 2024-11-13 09:05:35,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2282-1) 2024-11-13 09:05:36,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2282-1) 2024-11-13 09:05:36,252 - INFO - Waiting for VM ctest-TestBasicVMVNx-96508287-66835169 to be up.. 2024-11-13 09:05:36,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-13 09:05:41,444 - DEBUG - VM is in ACTIVE state now 2024-11-13 09:05:41,444 - INFO - VM name : ctest-TestBasicVMVNx-96508287-66835169 2024-11-13 09:05:41,528 - DEBUG - VM ctest-TestBasicVMVNx-96508287-66835169 ID is 10df4614-1001-4dbd-976a-a4fef258fab3 2024-11-13 09:05:41,555 - DEBUG - VM ctest-TestBasicVMVNx-96508287-66835169 launched on Node cn-jenkins-deploy-platform-ansible-os-2282-1 2024-11-13 09:05:41,654 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/10df4614-1001-4dbd-976a-a4fef258fab3 2024-11-13 09:05:41,953 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/10df4614-1001-4dbd-976a-a4fef258fab3 2024-11-13 09:05:42,282 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/935bc43d-f14e-4904-8fce-a7634c43bcba 2024-11-13 09:05:45,577 - 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 1023ms') 2024-11-13 09:05:45,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96508287-66835169 failed! 2024-11-13 09:05:45,643 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96508287:ctest-vn-41023543 is 26.10.182.129 and allocation pool is NOT set 2024-11-13 09:05:47,713 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.969 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.969/2.499/4.030/1.530 ms') 2024-11-13 09:05:47,713 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96508287-66835169 passed 2024-11-13 09:05:47,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 09:05:47,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96508287-66835169, IP 26.10.182.131, Port 22 2024-11-13 09:05:48,027 - DEBUG - VM ctest-TestBasicVMVNx-96508287-66835169 is ready for SSH connections 2024-11-13 09:05:48,027 - INFO - Waiting for VM ctest-TestBasicVMVNx-96508287-50756119 to be up.. 2024-11-13 09:05:48,127 - DEBUG - VM is in ACTIVE state now 2024-11-13 09:05:48,127 - INFO - VM name : ctest-TestBasicVMVNx-96508287-50756119 2024-11-13 09:05:48,218 - DEBUG - VM ctest-TestBasicVMVNx-96508287-50756119 ID is b9aa78cf-c811-4d18-8400-1c33a90fac86 2024-11-13 09:05:48,218 - DEBUG - VM ctest-TestBasicVMVNx-96508287-50756119 launched on Node cn-jenkins-deploy-platform-ansible-os-2282-1 2024-11-13 09:05:48,315 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/b9aa78cf-c811-4d18-8400-1c33a90fac86 2024-11-13 09:05:48,324 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/4dbd6bcd-c1df-4c45-ab86-0d944645beab 2024-11-13 09:05:49,586 - 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=5.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.769 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.769/3.060/5.351/2.291 ms') 2024-11-13 09:05:49,586 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96508287-50756119 passed 2024-11-13 09:05:49,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 09:05:49,743 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96508287-50756119, IP 26.10.182.132, Port 22 2024-11-13 09:05:49,903 - DEBUG - VM ctest-TestBasicVMVNx-96508287-50756119 is ready for SSH connections 2024-11-13 09:05:49,903 - DEBUG - FILE SIZE = 1303B 2024-11-13 09:05:49,903 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96508287-66835169 to ctest-TestBasicVMVNx-96508287-50756119 using scp 2024-11-13 09:05:49,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 09:05:49,910 - 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.12, gateway password: c0ntrail123 2024-11-13 09:05:49,911 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-13 09:05:51,825 - DEBUG - 1+0 records in 1+0 records out 2024-11-13 09:05:52,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 09:05:52,941 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-11-13 09:05:52,941 - DEBUG - ls -l testfile 2024-11-13 09:05:54,520 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 02:05 testfile 2024-11-13 09:05:54,521 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96508287-50756119 2024-11-13 09:05:54,521 - INFO - Deleting VM ctest-TestBasicVMVNx-96508287-50756119 2024-11-13 09:05:54,598 - INFO - Deleting VM ctest-TestBasicVMVNx-96508287-66835169 2024-11-13 09:05:54,671 - INFO - Deleting VN ctest-vn-41023543 2024-11-13 09:05:54,721 - DEBUG - VN ff5ab563-f617-4b8c-b778-a4acbf64a5dd still in use: Unable to complete operation on network ff5ab563-f617-4b8c-b778-a4acbf64a5dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b0687ae-26ae-4a73-95e2-14648980ad44'] 2024-11-13 09:05:54,721 - WARNING - Deleting VN ctest-vn-41023543 failed..Will retry 2024-11-13 09:05:56,845 - DEBUG - Response for deleting network () 2024-11-13 09:05:57,102 - DEBUG - No XMPP flaps were noticed during the test 2024-11-13 09:05:57,102 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-13 09:05:57,102 - INFO - -------------------------------------------------------------------------------- 2024-11-13 09:05:57,865 - INFO - Deleted project: ctest-TestBasicVMVNx-96508287, ID : 393af823-33a6-452b-a96b-f7a678f496e8