2024-12-23 02:14:29,441 - INFO - Domain Default found not creating 2024-12-23 02:14:29,632 - INFO - Project ctest-TestBasicVMVNx-33797890 not found, creating it 2024-12-23 02:14:30,102 - INFO - Created Project:ctest-TestBasicVMVNx-33797890, ID : 7608cd68-d005-496d-858e-e9f6ccf68b55 2024-12-23 02:14:31,472 - INFO - ================================================================================ 2024-12-23 02:14:31,473 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-12-23 02:14:31,473 - 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-12-23 02:14:31,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.17': '0'}} with 2024-12-23 02:14:31,726 - INFO - Initial checks done. Running the testcase now 2024-12-23 02:14:31,726 - INFO - 2024-12-23 02:14:32,253 - DEBUG - Response for create_network : {'network': {'id': '4e6c3095-c26a-4cd9-9326-3b1568d36e16', 'name': 'ctest-vn-38968963', 'tenant_id': '7608cd68d005496d858ee9f6ccf68b55', 'project_id': '7608cd68d005496d858ee9f6ccf68b55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33797890', 'ctest-vn-38968963'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 02:14:32,421 - DEBUG - Response for create_subnet : {'subnet': {'id': '99f6abc9-0cd1-4d28-95be-272ef5dc8249', 'name': '', 'tenant_id': '7608cd68d005496d858ee9f6ccf68b55', 'network_id': '4e6c3095-c26a-4cd9-9326-3b1568d36e16', 'ip_version': 4, 'cidr': '68.64.172.192/26', 'allocation_pools': [{'start': '68.64.172.194', 'end': '68.64.172.254'}], 'gateway_ip': '68.64.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.64.172.194', 'tags': [], 'project_id': '7608cd68d005496d858ee9f6ccf68b55'}} 2024-12-23 02:14:32,439 - INFO - Created VN ctest-vn-38968963 2024-12-23 02:14:32,492 - DEBUG - VN ctest-vn-38968963 UUID is 4e6c3095-c26a-4cd9-9326-3b1568d36e16 2024-12-23 02:14:32,676 - DEBUG - Services list from nova: [, , ] 2024-12-23 02:14:33,637 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2486-1) 2024-12-23 02:14:34,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2486-1) 2024-12-23 02:14:34,697 - INFO - Waiting for VM ctest-TestBasicVMVNx-33797890-05937616 to be up.. 2024-12-23 02:14:34,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-23 02:14:39,879 - DEBUG - VM is in ACTIVE state now 2024-12-23 02:14:39,879 - INFO - VM name : ctest-TestBasicVMVNx-33797890-05937616 2024-12-23 02:14:39,957 - DEBUG - VM ctest-TestBasicVMVNx-33797890-05937616 ID is e8f2954c-b270-4b50-a149-31f9baf7758d 2024-12-23 02:14:39,974 - DEBUG - VM ctest-TestBasicVMVNx-33797890-05937616 launched on Node cn-jenkins-deploy-platform-ansible-os-2486-1 2024-12-23 02:14:40,043 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/e8f2954c-b270-4b50-a149-31f9baf7758d 2024-12-23 02:14:40,341 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/e8f2954c-b270-4b50-a149-31f9baf7758d 2024-12-23 02:14:40,373 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/f6662956-f4e9-4eef-a6c2-daa4154bab4d 2024-12-23 02:14:43,623 - 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 1002ms') 2024-12-23 02:14:43,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33797890-05937616 failed! 2024-12-23 02:14:43,676 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33797890:ctest-vn-38968963 is 68.64.172.193 and allocation pool is NOT set 2024-12-23 02:14:45,747 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.515/2.116/3.717/1.601 ms') 2024-12-23 02:14:45,747 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33797890-05937616 passed 2024-12-23 02:14:45,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:14:45,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33797890-05937616, IP 68.64.172.195, Port 22 2024-12-23 02:14:46,052 - DEBUG - VM ctest-TestBasicVMVNx-33797890-05937616 is ready for SSH connections 2024-12-23 02:14:46,053 - INFO - Waiting for VM ctest-TestBasicVMVNx-33797890-67478985 to be up.. 2024-12-23 02:14:46,130 - DEBUG - VM is in ACTIVE state now 2024-12-23 02:14:46,131 - INFO - VM name : ctest-TestBasicVMVNx-33797890-67478985 2024-12-23 02:14:46,287 - DEBUG - VM ctest-TestBasicVMVNx-33797890-67478985 ID is e1ab2f07-f15b-47e8-92ad-2b9e0d1bd30e 2024-12-23 02:14:46,288 - DEBUG - VM ctest-TestBasicVMVNx-33797890-67478985 launched on Node cn-jenkins-deploy-platform-ansible-os-2486-1 2024-12-23 02:14:46,359 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/e1ab2f07-f15b-47e8-92ad-2b9e0d1bd30e 2024-12-23 02:14:46,367 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/e11580e8-3601-471c-b820-65ccc39bbd5f 2024-12-23 02:14:47,600 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.604/2.845/1.240 ms') 2024-12-23 02:14:47,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33797890-67478985 passed 2024-12-23 02:14:47,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:14:47,749 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33797890-67478985, IP 68.64.172.196, Port 22 2024-12-23 02:14:47,907 - DEBUG - VM ctest-TestBasicVMVNx-33797890-67478985 is ready for SSH connections 2024-12-23 02:14:47,908 - DEBUG - FILE SIZE = 1303B 2024-12-23 02:14:47,908 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33797890-05937616 to ctest-TestBasicVMVNx-33797890-67478985 using scp 2024-12-23 02:14:47,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:14:47,914 - 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.17, gateway password: c0ntrail123 2024-12-23 02:14:47,914 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-12-23 02:14:49,810 - DEBUG - 1+0 records in 1+0 records out 2024-12-23 02:14:50,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:14:50,889 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-23 02:14:50,889 - DEBUG - ls -l testfile 2024-12-23 02:14:52,457 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 22 19:14 testfile 2024-12-23 02:14:52,457 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33797890-67478985 2024-12-23 02:14:52,457 - INFO - Deleting VM ctest-TestBasicVMVNx-33797890-67478985 2024-12-23 02:14:52,525 - INFO - Deleting VM ctest-TestBasicVMVNx-33797890-05937616 2024-12-23 02:14:52,591 - INFO - Deleting VN ctest-vn-38968963 2024-12-23 02:14:52,625 - DEBUG - VN 4e6c3095-c26a-4cd9-9326-3b1568d36e16 still in use: Unable to complete operation on network 4e6c3095-c26a-4cd9-9326-3b1568d36e16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c7e7b78-44ca-450a-b944-8c706755c6d4'] 2024-12-23 02:14:52,625 - WARNING - Deleting VN ctest-vn-38968963 failed..Will retry 2024-12-23 02:14:54,762 - DEBUG - Response for deleting network () 2024-12-23 02:14:55,021 - DEBUG - No XMPP flaps were noticed during the test
2024-12-23 02:14:55,021 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-12-23 02:14:55,022 - INFO - -------------------------------------------------------------------------------- 2024-12-23 02:14:55,650 - INFO - Deleted project: ctest-TestBasicVMVNx-33797890, ID : 7608cd68-d005-496d-858e-e9f6ccf68b55