2024-11-08 11:31:52,559 - INFO - Domain Default found not creating 2024-11-08 11:31:52,748 - INFO - Project ctest-TestBasicVMVNx-90963991 not found, creating it 2024-11-08 11:31:53,257 - INFO - Created Project:ctest-TestBasicVMVNx-90963991, ID : 0010ef69-2769-4b66-945a-7a8ccae8a214 2024-11-08 11:31:54,770 - INFO - ================================================================================ 2024-11-08 11:31:54,770 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 11:31:54,770 - 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-08 11:31:55,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.7': '0'}} with 2024-11-08 11:31:55,032 - INFO - Initial checks done. Running the testcase now 2024-11-08 11:31:55,032 - INFO - 2024-11-08 11:31:55,612 - DEBUG - Response for create_network : {'network': {'id': '1c19bfec-3f44-423e-ad93-593988452ed9', 'name': 'ctest-vn-56525321', 'tenant_id': '0010ef6927694b66945a7a8ccae8a214', 'project_id': '0010ef6927694b66945a7a8ccae8a214', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90963991', 'ctest-vn-56525321'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 11:31:55,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cda5f176-ab26-40a9-9bed-bb643de73732', 'name': '', 'tenant_id': '0010ef6927694b66945a7a8ccae8a214', 'network_id': '1c19bfec-3f44-423e-ad93-593988452ed9', 'ip_version': 4, 'cidr': '90.71.192.64/26', 'allocation_pools': [{'start': '90.71.192.66', 'end': '90.71.192.126'}], 'gateway_ip': '90.71.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.71.192.66', 'tags': [], 'project_id': '0010ef6927694b66945a7a8ccae8a214'}} 2024-11-08 11:31:55,874 - INFO - Created VN ctest-vn-56525321 2024-11-08 11:31:55,933 - DEBUG - VN ctest-vn-56525321 UUID is 1c19bfec-3f44-423e-ad93-593988452ed9 2024-11-08 11:31:56,099 - DEBUG - Services list from nova: [, , ] 2024-11-08 11:31:57,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2226-1) 2024-11-08 11:31:58,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2226-1) 2024-11-08 11:31:58,446 - INFO - Waiting for VM ctest-TestBasicVMVNx-90963991-69577481 to be up.. 2024-11-08 11:31:58,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 11:32:03,674 - DEBUG - VM is in ACTIVE state now 2024-11-08 11:32:03,674 - INFO - VM name : ctest-TestBasicVMVNx-90963991-69577481 2024-11-08 11:32:03,773 - DEBUG - VM ctest-TestBasicVMVNx-90963991-69577481 ID is f56ce004-3ec7-442e-8642-ed123e71d315 2024-11-08 11:32:03,797 - DEBUG - VM ctest-TestBasicVMVNx-90963991-69577481 launched on Node cn-jenkins-deploy-platform-ansible-os-2226-1 2024-11-08 11:32:03,894 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f56ce004-3ec7-442e-8642-ed123e71d315 2024-11-08 11:32:04,201 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f56ce004-3ec7-442e-8642-ed123e71d315 2024-11-08 11:32:04,240 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c1249181-718d-4d66-ad58-3c09b6e314ae 2024-11-08 11:32:07,543 - 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 1031ms') 2024-11-08 11:32:07,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90963991-69577481 failed! 2024-11-08 11:32:07,613 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90963991:ctest-vn-56525321 is 90.71.192.65 and allocation pool is NOT set 2024-11-08 11:32:09,674 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/2.175/3.953/1.777 ms') 2024-11-08 11:32:09,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90963991-69577481 passed 2024-11-08 11:32:09,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 11:32:09,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90963991-69577481, IP 90.71.192.67, Port 22 2024-11-08 11:32:10,012 - DEBUG - VM ctest-TestBasicVMVNx-90963991-69577481 is ready for SSH connections 2024-11-08 11:32:10,012 - INFO - Waiting for VM ctest-TestBasicVMVNx-90963991-57848692 to be up.. 2024-11-08 11:32:10,117 - DEBUG - VM is in ACTIVE state now 2024-11-08 11:32:10,117 - INFO - VM name : ctest-TestBasicVMVNx-90963991-57848692 2024-11-08 11:32:10,210 - DEBUG - VM ctest-TestBasicVMVNx-90963991-57848692 ID is c80e1241-2599-48ac-a332-705968f59008 2024-11-08 11:32:10,210 - DEBUG - VM ctest-TestBasicVMVNx-90963991-57848692 launched on Node cn-jenkins-deploy-platform-ansible-os-2226-1 2024-11-08 11:32:10,314 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c80e1241-2599-48ac-a332-705968f59008 2024-11-08 11:32:10,326 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/ee9e5e20-57d5-4221-8c8f-f7c91d9c500e 2024-11-08 11:32:11,592 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/1.704/2.885/1.181 ms') 2024-11-08 11:32:11,592 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90963991-57848692 passed 2024-11-08 11:32:11,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 11:32:11,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90963991-57848692, IP 90.71.192.68, Port 22 2024-11-08 11:32:11,905 - DEBUG - VM ctest-TestBasicVMVNx-90963991-57848692 is ready for SSH connections 2024-11-08 11:32:11,905 - DEBUG - FILE SIZE = 1303B 2024-11-08 11:32:11,906 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90963991-69577481 to ctest-TestBasicVMVNx-90963991-57848692 using scp 2024-11-08 11:32:11,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 11:32:11,912 - 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.35, gateway password: c0ntrail123 2024-11-08 11:32:11,912 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 11:32:13,877 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 11:32:14,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 11:32:15,001 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-11-08 11:32:15,002 - DEBUG - ls -l testfile 2024-11-08 11:32:16,589 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 04:32 testfile 2024-11-08 11:32:16,590 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90963991-57848692 2024-11-08 11:32:16,590 - INFO - Deleting VM ctest-TestBasicVMVNx-90963991-57848692 2024-11-08 11:32:16,663 - INFO - Deleting VM ctest-TestBasicVMVNx-90963991-69577481 2024-11-08 11:32:16,729 - INFO - Deleting VN ctest-vn-56525321 2024-11-08 11:32:16,779 - DEBUG - VN 1c19bfec-3f44-423e-ad93-593988452ed9 still in use: Unable to complete operation on network 1c19bfec-3f44-423e-ad93-593988452ed9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-818eda45-9b7b-4a7f-8fe9-7d49d9d00780'] 2024-11-08 11:32:16,779 - WARNING - Deleting VN ctest-vn-56525321 failed..Will retry 2024-11-08 11:32:18,927 - DEBUG - Response for deleting network () 2024-11-08 11:32:19,198 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 11:32:19,198 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-08 11:32:19,199 - INFO - -------------------------------------------------------------------------------- 2024-11-08 11:32:19,943 - INFO - Deleted project: ctest-TestBasicVMVNx-90963991, ID : 0010ef69-2769-4b66-945a-7a8ccae8a214