2024-09-04 23:17:21,077 - INFO - Domain Default found not creating 2024-09-04 23:17:21,237 - INFO - Project ctest-TestBasicVMVNx-21565924 not found, creating it 2024-09-04 23:17:21,718 - INFO - Created Project:ctest-TestBasicVMVNx-21565924, ID : 5c4b8e41-850c-4e45-ba82-6ecded63b21f 2024-09-04 23:17:23,187 - INFO - ================================================================================ 2024-09-04 23:17:23,187 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 23:17:23,187 - 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-09-04 23:17:23,442 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.20': '0'}} with 2024-09-04 23:17:23,442 - INFO - Initial checks done. Running the testcase now 2024-09-04 23:17:23,443 - INFO - 2024-09-04 23:17:23,980 - DEBUG - Response for create_network : {'network': {'id': '63728302-f66e-416e-9a61-9b95ecd6d2c3', 'name': 'ctest-vn-26644791', 'tenant_id': '5c4b8e41850c4e45ba826ecded63b21f', 'project_id': '5c4b8e41850c4e45ba826ecded63b21f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21565924', 'ctest-vn-26644791'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:17:24,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '5264adb8-32e0-4e91-991f-c9447a81b4a2', 'name': '', 'tenant_id': '5c4b8e41850c4e45ba826ecded63b21f', 'network_id': '63728302-f66e-416e-9a61-9b95ecd6d2c3', 'ip_version': 4, 'cidr': '189.38.240.0/26', 'allocation_pools': [{'start': '189.38.240.2', 'end': '189.38.240.62'}], 'gateway_ip': '189.38.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.38.240.2', 'tags': [], 'project_id': '5c4b8e41850c4e45ba826ecded63b21f'}} 2024-09-04 23:17:24,212 - INFO - Created VN ctest-vn-26644791 2024-09-04 23:17:24,264 - DEBUG - VN ctest-vn-26644791 UUID is 63728302-f66e-416e-9a61-9b95ecd6d2c3 2024-09-04 23:17:24,431 - DEBUG - Services list from nova: [, , ] 2024-09-04 23:17:25,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1850-1) 2024-09-04 23:17:26,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1850-1) 2024-09-04 23:17:26,600 - INFO - Waiting for VM ctest-TestBasicVMVNx-21565924-56074631 to be up.. 2024-09-04 23:17:26,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 23:17:31,770 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:17:31,770 - INFO - VM name : ctest-TestBasicVMVNx-21565924-56074631 2024-09-04 23:17:31,863 - DEBUG - VM ctest-TestBasicVMVNx-21565924-56074631 ID is 083f6983-6370-4691-8817-9a34e94a927b 2024-09-04 23:17:31,885 - DEBUG - VM ctest-TestBasicVMVNx-21565924-56074631 launched on Node cn-jenkins-deploy-platform-ansible-os-1850-1 2024-09-04 23:17:31,966 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/083f6983-6370-4691-8817-9a34e94a927b 2024-09-04 23:17:32,265 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/083f6983-6370-4691-8817-9a34e94a927b 2024-09-04 23:17:32,298 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b4efed15-82bc-4eab-a53a-db05fd238562 2024-09-04 23:17:35,565 - 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 1020ms') 2024-09-04 23:17:35,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21565924-56074631 failed! 2024-09-04 23:17:35,620 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21565924:ctest-vn-26644791 is 189.38.240.1 and allocation pool is NOT set 2024-09-04 23:17:37,683 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/1.711/2.974/1.263 ms') 2024-09-04 23:17:37,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21565924-56074631 passed 2024-09-04 23:17:37,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:17:37,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21565924-56074631, IP 189.38.240.3, Port 22 2024-09-04 23:17:37,983 - DEBUG - VM ctest-TestBasicVMVNx-21565924-56074631 is ready for SSH connections 2024-09-04 23:17:37,984 - INFO - Waiting for VM ctest-TestBasicVMVNx-21565924-62515841 to be up.. 2024-09-04 23:17:38,059 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:17:38,059 - INFO - VM name : ctest-TestBasicVMVNx-21565924-62515841 2024-09-04 23:17:38,130 - DEBUG - VM ctest-TestBasicVMVNx-21565924-62515841 ID is af290fa6-029d-4e82-a263-3761f900ab6f 2024-09-04 23:17:38,130 - DEBUG - VM ctest-TestBasicVMVNx-21565924-62515841 launched on Node cn-jenkins-deploy-platform-ansible-os-1850-1 2024-09-04 23:17:38,206 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/af290fa6-029d-4e82-a263-3761f900ab6f 2024-09-04 23:17:38,214 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a593a78f-cc48-4297-bfc7-032f76f79b2c 2024-09-04 23:17:39,457 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.830/3.260/1.430 ms') 2024-09-04 23:17:39,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21565924-62515841 passed 2024-09-04 23:17:39,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:17:39,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21565924-62515841, IP 189.38.240.4, Port 22 2024-09-04 23:17:39,768 - DEBUG - VM ctest-TestBasicVMVNx-21565924-62515841 is ready for SSH connections 2024-09-04 23:17:39,768 - DEBUG - FILE SIZE = 1303B 2024-09-04 23:17:39,768 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21565924-56074631 to ctest-TestBasicVMVNx-21565924-62515841 using scp 2024-09-04 23:17:39,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:17:39,773 - 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.57, gateway password: c0ntrail123 2024-09-04 23:17:39,773 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 23:17:41,639 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 23:17:42,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:17:42,556 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-09-04 23:17:42,556 - DEBUG - ls -l testfile 2024-09-04 23:17:44,104 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 17:17 testfile 2024-09-04 23:17:44,104 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21565924-62515841 2024-09-04 23:17:44,104 - INFO - Deleting VM ctest-TestBasicVMVNx-21565924-62515841 2024-09-04 23:17:44,182 - INFO - Deleting VM ctest-TestBasicVMVNx-21565924-56074631 2024-09-04 23:17:44,255 - INFO - Deleting VN ctest-vn-26644791 2024-09-04 23:17:44,293 - DEBUG - VN 63728302-f66e-416e-9a61-9b95ecd6d2c3 still in use: Unable to complete operation on network 63728302-f66e-416e-9a61-9b95ecd6d2c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fbc2b37-1bc4-4d56-83b4-a02a3fca0d84'] 2024-09-04 23:17:44,294 - WARNING - Deleting VN ctest-vn-26644791 failed..Will retry 2024-09-04 23:17:46,394 - DEBUG - Response for deleting network () 2024-09-04 23:17:46,650 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 23:17:46,650 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-09-04 23:17:46,650 - INFO - -------------------------------------------------------------------------------- 2024-09-04 23:17:47,303 - INFO - Deleted project: ctest-TestBasicVMVNx-21565924, ID : 5c4b8e41-850c-4e45-ba82-6ecded63b21f