2024-08-20 16:31:19,093 - INFO - Domain Default found not creating 2024-08-20 16:31:19,250 - INFO - Project ctest-TestBasicVMVNx-23416037 not found, creating it 2024-08-20 16:31:19,704 - INFO - Created Project:ctest-TestBasicVMVNx-23416037, ID : 53565d59-64b4-4733-8bac-346a68f93df2 2024-08-20 16:31:21,155 - INFO - ================================================================================ 2024-08-20 16:31:21,156 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-20 16:31:21,156 - 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-08-20 16:31:21,414 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.21': '0'}} with 2024-08-20 16:31:21,415 - INFO - Initial checks done. Running the testcase now 2024-08-20 16:31:21,415 - INFO - 2024-08-20 16:31:21,978 - DEBUG - Response for create_network : {'network': {'id': '5b07ebb3-5e62-488c-afec-54dc06076c31', 'name': 'ctest-vn-56015602', 'tenant_id': '53565d5964b447338bac346a68f93df2', 'project_id': '53565d5964b447338bac346a68f93df2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-23416037', 'ctest-vn-56015602'], 'port_security_enabled': True, 'description': ''}} 2024-08-20 16:31:22,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '2166b0e0-4c1d-4f42-a548-ef2fdf56fe9d', 'name': '', 'tenant_id': '53565d5964b447338bac346a68f93df2', 'network_id': '5b07ebb3-5e62-488c-afec-54dc06076c31', 'ip_version': 4, 'cidr': '95.39.204.128/26', 'allocation_pools': [{'start': '95.39.204.130', 'end': '95.39.204.190'}], 'gateway_ip': '95.39.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.39.204.130', 'tags': [], 'project_id': '53565d5964b447338bac346a68f93df2'}} 2024-08-20 16:31:22,214 - INFO - Created VN ctest-vn-56015602 2024-08-20 16:31:22,268 - DEBUG - VN ctest-vn-56015602 UUID is 5b07ebb3-5e62-488c-afec-54dc06076c31 2024-08-20 16:31:22,443 - DEBUG - Services list from nova: [, , ] 2024-08-20 16:31:23,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1677-1) 2024-08-20 16:31:24,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1677-1) 2024-08-20 16:31:24,749 - INFO - Waiting for VM ctest-TestBasicVMVNx-23416037-37323127 to be up.. 2024-08-20 16:31:24,831 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-20 16:31:29,912 - DEBUG - VM is in ACTIVE state now 2024-08-20 16:31:29,912 - INFO - VM name : ctest-TestBasicVMVNx-23416037-37323127 2024-08-20 16:31:29,985 - DEBUG - VM ctest-TestBasicVMVNx-23416037-37323127 ID is adb7c447-c433-49e7-ae23-d7af0c8f81c9 2024-08-20 16:31:30,003 - DEBUG - VM ctest-TestBasicVMVNx-23416037-37323127 launched on Node cn-jenkins-deploy-platform-ansible-os-1677-1 2024-08-20 16:31:30,074 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/adb7c447-c433-49e7-ae23-d7af0c8f81c9 2024-08-20 16:31:30,366 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/adb7c447-c433-49e7-ae23-d7af0c8f81c9 2024-08-20 16:31:30,401 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a9656779-5757-4fe3-ad3e-ac9407662d35 2024-08-20 16:31:33,657 - 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-08-20 16:31:33,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23416037-37323127 failed! 2024-08-20 16:31:33,712 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-23416037:ctest-vn-56015602 is 95.39.204.129 and allocation pool is NOT set 2024-08-20 16:31:35,772 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 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.487/1.909/3.332/1.422 ms') 2024-08-20 16:31:35,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23416037-37323127 passed 2024-08-20 16:31:35,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:31:35,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23416037-37323127, IP 95.39.204.131, Port 22 2024-08-20 16:31:36,084 - DEBUG - VM ctest-TestBasicVMVNx-23416037-37323127 is ready for SSH connections 2024-08-20 16:31:36,084 - INFO - Waiting for VM ctest-TestBasicVMVNx-23416037-01750754 to be up.. 2024-08-20 16:31:36,161 - DEBUG - VM is in ACTIVE state now 2024-08-20 16:31:36,161 - INFO - VM name : ctest-TestBasicVMVNx-23416037-01750754 2024-08-20 16:31:36,235 - DEBUG - VM ctest-TestBasicVMVNx-23416037-01750754 ID is 91a4f39e-6cd7-478b-a919-ab36fa42944c 2024-08-20 16:31:36,235 - DEBUG - VM ctest-TestBasicVMVNx-23416037-01750754 launched on Node cn-jenkins-deploy-platform-ansible-os-1677-1 2024-08-20 16:31:36,310 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/91a4f39e-6cd7-478b-a919-ab36fa42944c 2024-08-20 16:31:36,320 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/334c57d2-b9f4-4d21-b802-f0a6a7098809 2024-08-20 16:31:37,551 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.528/2.686/1.157 ms') 2024-08-20 16:31:37,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-23416037-01750754 passed 2024-08-20 16:31:37,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:31:37,700 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23416037-01750754, IP 95.39.204.132, Port 22 2024-08-20 16:31:37,860 - DEBUG - VM ctest-TestBasicVMVNx-23416037-01750754 is ready for SSH connections 2024-08-20 16:31:37,860 - DEBUG - FILE SIZE = 1303B 2024-08-20 16:31:37,860 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-23416037-37323127 to ctest-TestBasicVMVNx-23416037-01750754 using scp 2024-08-20 16:31:37,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:31:37,867 - 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.30, gateway password: c0ntrail123 2024-08-20 16:31:37,867 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-20 16:31:39,711 - DEBUG - 1+0 records in 1+0 records out 2024-08-20 16:31:40,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:31:40,600 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-08-20 16:31:40,600 - DEBUG - ls -l testfile 2024-08-20 16:31:42,211 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 10:31 testfile 2024-08-20 16:31:42,211 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-23416037-01750754 2024-08-20 16:31:42,211 - INFO - Deleting VM ctest-TestBasicVMVNx-23416037-01750754 2024-08-20 16:31:42,273 - INFO - Deleting VM ctest-TestBasicVMVNx-23416037-37323127 2024-08-20 16:31:42,337 - INFO - Deleting VN ctest-vn-56015602 2024-08-20 16:31:42,379 - DEBUG - VN 5b07ebb3-5e62-488c-afec-54dc06076c31 still in use: Unable to complete operation on network 5b07ebb3-5e62-488c-afec-54dc06076c31. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c36be466-5621-47f7-bff3-3d2e7e8b92fb'] 2024-08-20 16:31:42,379 - WARNING - Deleting VN ctest-vn-56015602 failed..Will retry 2024-08-20 16:31:44,494 - DEBUG - Response for deleting network () 2024-08-20 16:31:44,755 - DEBUG - No XMPP flaps were noticed during the test
2024-08-20 16:31:44,756 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-08-20 16:31:44,756 - INFO - -------------------------------------------------------------------------------- 2024-08-20 16:31:45,418 - INFO - Deleted project: ctest-TestBasicVMVNx-23416037, ID : 53565d59-64b4-4733-8bac-346a68f93df2