2024-10-25 17:18:05,786 - INFO - Domain Default found not creating 2024-10-25 17:18:05,961 - INFO - Project ctest-TestBasicVMVNx-16489914 not found, creating it 2024-10-25 17:18:06,430 - INFO - Created Project:ctest-TestBasicVMVNx-16489914, ID : 53616c33-41e1-46e1-8fa8-7cf182b6e8af 2024-10-25 17:18:08,002 - INFO - ================================================================================ 2024-10-25 17:18:08,002 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-25 17:18:08,002 - 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-25 17:18:08,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.7': '0'}} with 2024-10-25 17:18:08,260 - INFO - Initial checks done. Running the testcase now 2024-10-25 17:18:08,260 - INFO - 2024-10-25 17:18:08,864 - DEBUG - Response for create_network : {'network': {'id': 'cee9af5f-4f5f-45c3-9192-4c35d78b148b', 'name': 'ctest-vn-45504035', 'tenant_id': '53616c3341e146e18fa87cf182b6e8af', 'project_id': '53616c3341e146e18fa87cf182b6e8af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-16489914', 'ctest-vn-45504035'], 'port_security_enabled': True, 'description': ''}} 2024-10-25 17:18:09,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac93ef8a-df9b-4d15-afb1-e82b7bd262c7', 'name': '', 'tenant_id': '53616c3341e146e18fa87cf182b6e8af', 'network_id': 'cee9af5f-4f5f-45c3-9192-4c35d78b148b', 'ip_version': 4, 'cidr': '105.115.72.192/26', 'allocation_pools': [{'start': '105.115.72.194', 'end': '105.115.72.254'}], 'gateway_ip': '105.115.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.115.72.194', 'tags': [], 'project_id': '53616c3341e146e18fa87cf182b6e8af'}} 2024-10-25 17:18:09,113 - INFO - Created VN ctest-vn-45504035 2024-10-25 17:18:09,174 - DEBUG - VN ctest-vn-45504035 UUID is cee9af5f-4f5f-45c3-9192-4c35d78b148b 2024-10-25 17:18:09,363 - DEBUG - Services list from nova: [, , ] 2024-10-25 17:18:10,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2146-1) 2024-10-25 17:18:11,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2146-1) 2024-10-25 17:18:11,660 - INFO - Waiting for VM ctest-TestBasicVMVNx-16489914-95085530 to be up.. 2024-10-25 17:18:11,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-25 17:18:16,867 - DEBUG - VM is in ACTIVE state now 2024-10-25 17:18:16,867 - INFO - VM name : ctest-TestBasicVMVNx-16489914-95085530 2024-10-25 17:18:16,961 - DEBUG - VM ctest-TestBasicVMVNx-16489914-95085530 ID is e2440106-7ca7-4b4f-ac7e-955f7d6d9284 2024-10-25 17:18:16,988 - DEBUG - VM ctest-TestBasicVMVNx-16489914-95085530 launched on Node cn-jenkins-deploy-platform-ansible-os-2146-1 2024-10-25 17:18:17,093 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/e2440106-7ca7-4b4f-ac7e-955f7d6d9284 2024-10-25 17:18:17,407 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/e2440106-7ca7-4b4f-ac7e-955f7d6d9284 2024-10-25 17:18:17,450 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/8bfd7cb9-42c5-44ef-8ba0-c3e55cf1c634 2024-10-25 17:18:20,728 - 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 1001ms') 2024-10-25 17:18:20,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16489914-95085530 failed! 2024-10-25 17:18:20,798 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16489914:ctest-vn-45504035 is 105.115.72.193 and allocation pool is NOT set 2024-10-25 17:18:22,861 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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 = 1.478/3.172/4.867/1.694 ms') 2024-10-25 17:18:22,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16489914-95085530 passed 2024-10-25 17:18:23,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:18:23,026 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16489914-95085530, IP 105.115.72.195, Port 22 2024-10-25 17:18:23,193 - DEBUG - VM ctest-TestBasicVMVNx-16489914-95085530 is ready for SSH connections 2024-10-25 17:18:23,193 - INFO - Waiting for VM ctest-TestBasicVMVNx-16489914-20044501 to be up.. 2024-10-25 17:18:23,291 - DEBUG - VM is in ACTIVE state now 2024-10-25 17:18:23,291 - INFO - VM name : ctest-TestBasicVMVNx-16489914-20044501 2024-10-25 17:18:23,381 - DEBUG - VM ctest-TestBasicVMVNx-16489914-20044501 ID is c9a01ee9-e5cb-4018-ad46-c6c59b59285a 2024-10-25 17:18:23,381 - DEBUG - VM ctest-TestBasicVMVNx-16489914-20044501 launched on Node cn-jenkins-deploy-platform-ansible-os-2146-1 2024-10-25 17:18:23,472 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/c9a01ee9-e5cb-4018-ad46-c6c59b59285a 2024-10-25 17:18:23,482 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/60d75447-320e-4abf-b8f2-48ab0e3b4d10 2024-10-25 17:18:24,753 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.627/2.757/1.129 ms') 2024-10-25 17:18:24,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16489914-20044501 passed 2024-10-25 17:18:24,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:18:24,914 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16489914-20044501, IP 105.115.72.196, Port 22 2024-10-25 17:18:25,080 - DEBUG - VM ctest-TestBasicVMVNx-16489914-20044501 is ready for SSH connections 2024-10-25 17:18:25,080 - DEBUG - FILE SIZE = 1303B 2024-10-25 17:18:25,080 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-16489914-95085530 to ctest-TestBasicVMVNx-16489914-20044501 using scp 2024-10-25 17:18:25,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:18:25,088 - 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.32, gateway password: c0ntrail123 2024-10-25 17:18:25,088 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-25 17:18:27,007 - DEBUG - 1+0 records in 1+0 records out 2024-10-25 17:18:27,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:18:28,111 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-25 17:18:28,111 - DEBUG - ls -l testfile 2024-10-25 17:18:29,685 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 25 11:18 testfile 2024-10-25 17:18:29,685 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-16489914-20044501 2024-10-25 17:18:29,686 - INFO - Deleting VM ctest-TestBasicVMVNx-16489914-20044501 2024-10-25 17:18:29,764 - INFO - Deleting VM ctest-TestBasicVMVNx-16489914-95085530 2024-10-25 17:18:29,835 - INFO - Deleting VN ctest-vn-45504035 2024-10-25 17:18:29,877 - DEBUG - VN cee9af5f-4f5f-45c3-9192-4c35d78b148b still in use: Unable to complete operation on network cee9af5f-4f5f-45c3-9192-4c35d78b148b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d77e4aad-a8ad-4f89-b0ec-bde40b37441e'] 2024-10-25 17:18:29,877 - WARNING - Deleting VN ctest-vn-45504035 failed..Will retry 2024-10-25 17:18:32,010 - DEBUG - Response for deleting network () 2024-10-25 17:18:32,265 - DEBUG - No XMPP flaps were noticed during the test 2024-10-25 17:18:32,265 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-10-25 17:18:32,265 - INFO - -------------------------------------------------------------------------------- 2024-10-25 17:18:32,976 - INFO - Deleted project: ctest-TestBasicVMVNx-16489914, ID : 53616c33-41e1-46e1-8fa8-7cf182b6e8af