2025-04-27 10:38:50,259 - INFO - Domain Default found not creating 2025-04-27 10:38:50,379 - INFO - Project ctest-TestBasicVMVNx-69535617 not found, creating it 2025-04-27 10:38:50,793 - INFO - Created Project:ctest-TestBasicVMVNx-69535617, ID : 81b4bbd1-5d4c-47fa-8c6d-b63bd358ec5a 2025-04-27 10:38:52,106 - INFO - ================================================================================ 2025-04-27 10:38:52,106 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-27 10:38:52,106 - 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 2025-04-27 10:38:52,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-27 10:38:52,367 - INFO - Initial checks done. Running the testcase now 2025-04-27 10:38:52,367 - INFO - 2025-04-27 10:38:52,874 - DEBUG - Response for create_network : {'network': {'id': '3f13f8e6-777f-42f2-8f71-075ba589f50c', 'name': 'ctest-vn-20551433', 'tenant_id': '81b4bbd15d4c47fa8c6db63bd358ec5a', 'project_id': '81b4bbd15d4c47fa8c6db63bd358ec5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-69535617', 'ctest-vn-20551433'], 'port_security_enabled': True, 'description': ''}} 2025-04-27 10:38:53,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a8a5721-6c29-42df-9e31-03ae52f53144', 'name': '', 'tenant_id': '81b4bbd15d4c47fa8c6db63bd358ec5a', 'network_id': '3f13f8e6-777f-42f2-8f71-075ba589f50c', 'ip_version': 4, 'cidr': '116.112.131.0/26', 'allocation_pools': [{'start': '116.112.131.2', 'end': '116.112.131.62'}], 'gateway_ip': '116.112.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.112.131.2', 'tags': [], 'project_id': '81b4bbd15d4c47fa8c6db63bd358ec5a'}} 2025-04-27 10:38:53,085 - INFO - Created VN ctest-vn-20551433 2025-04-27 10:38:53,138 - DEBUG - VN ctest-vn-20551433 UUID is 3f13f8e6-777f-42f2-8f71-075ba589f50c 2025-04-27 10:38:53,328 - DEBUG - Services list from nova: [, , ] 2025-04-27 10:38:54,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3227-1) 2025-04-27 10:38:55,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3227-1) 2025-04-27 10:38:55,307 - INFO - Waiting for VM ctest-TestBasicVMVNx-69535617-71026448 to be up.. 2025-04-27 10:38:55,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-27 10:39:00,444 - DEBUG - VM is in ACTIVE state now 2025-04-27 10:39:00,444 - INFO - VM name : ctest-TestBasicVMVNx-69535617-71026448 2025-04-27 10:39:00,505 - DEBUG - VM ctest-TestBasicVMVNx-69535617-71026448 ID is f2595001-8ac3-40f5-9e18-140e9189d2cf 2025-04-27 10:39:00,521 - DEBUG - VM ctest-TestBasicVMVNx-69535617-71026448 launched on Node cn-jenkins-deploy-platform-ansible-os-3227-1 2025-04-27 10:39:00,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f2595001-8ac3-40f5-9e18-140e9189d2cf 2025-04-27 10:39:00,869 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f2595001-8ac3-40f5-9e18-140e9189d2cf 2025-04-27 10:39:00,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed9dbbb6-6a3f-4979-95ab-e9a2f649c197 2025-04-27 10:39:04,137 - 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 1016ms') 2025-04-27 10:39:04,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69535617-71026448 failed! 2025-04-27 10:39:04,190 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-69535617:ctest-vn-20551433 is 116.112.131.1 and allocation pool is NOT set 2025-04-27 10:39:06,245 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.314 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.314/1.433/2.553/1.119 ms') 2025-04-27 10:39:06,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69535617-71026448 passed 2025-04-27 10:39:06,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 10:39:06,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69535617-71026448, IP 116.112.131.3, Port 22 2025-04-27 10:39:06,553 - DEBUG - VM ctest-TestBasicVMVNx-69535617-71026448 is ready for SSH connections 2025-04-27 10:39:06,554 - INFO - Waiting for VM ctest-TestBasicVMVNx-69535617-99178861 to be up.. 2025-04-27 10:39:06,617 - DEBUG - VM is in ACTIVE state now 2025-04-27 10:39:06,617 - INFO - VM name : ctest-TestBasicVMVNx-69535617-99178861 2025-04-27 10:39:06,676 - DEBUG - VM ctest-TestBasicVMVNx-69535617-99178861 ID is 24ca66fb-42fb-4451-890a-589568c06cd4 2025-04-27 10:39:06,676 - DEBUG - VM ctest-TestBasicVMVNx-69535617-99178861 launched on Node cn-jenkins-deploy-platform-ansible-os-3227-1 2025-04-27 10:39:06,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/24ca66fb-42fb-4451-890a-589568c06cd4 2025-04-27 10:39:06,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c596f600-76bc-43de-8875-8d1b228414a3 2025-04-27 10:39:07,985 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.97 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 = 1.970/2.980/3.990/1.010 ms') 2025-04-27 10:39:07,985 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-69535617-99178861 passed 2025-04-27 10:39:08,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 10:39:08,134 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69535617-99178861, IP 116.112.131.4, Port 22 2025-04-27 10:39:08,297 - DEBUG - VM ctest-TestBasicVMVNx-69535617-99178861 is ready for SSH connections 2025-04-27 10:39:08,297 - DEBUG - FILE SIZE = 1303B 2025-04-27 10:39:08,297 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-69535617-71026448 to ctest-TestBasicVMVNx-69535617-99178861 using scp 2025-04-27 10:39:08,298 - 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.38, gateway password: c0ntrail123 2025-04-27 10:39:08,298 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-27 10:39:10,126 - DEBUG - 1+0 records in 1+0 records out 2025-04-27 10:39:10,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 10:39:11,028 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-27 10:39:11,028 - DEBUG - ls -l testfile 2025-04-27 10:39:12,580 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 27 04:39 testfile 2025-04-27 10:39:12,580 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-69535617-99178861 2025-04-27 10:39:12,580 - INFO - Deleting VM ctest-TestBasicVMVNx-69535617-99178861 2025-04-27 10:39:12,639 - INFO - Deleting VM ctest-TestBasicVMVNx-69535617-71026448 2025-04-27 10:39:12,698 - INFO - Deleting VN ctest-vn-20551433 2025-04-27 10:39:12,730 - DEBUG - VN 3f13f8e6-777f-42f2-8f71-075ba589f50c still in use: Unable to complete operation on network 3f13f8e6-777f-42f2-8f71-075ba589f50c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-30f9d181-03f9-477f-a05c-37454cb5f3f1'] 2025-04-27 10:39:12,730 - WARNING - Deleting VN ctest-vn-20551433 failed..Will retry 2025-04-27 10:39:14,818 - DEBUG - Response for deleting network () 2025-04-27 10:39:15,070 - DEBUG - No XMPP flaps were noticed during the test
2025-04-27 10:39:15,071 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-27 10:39:15,071 - INFO - -------------------------------------------------------------------------------- 2025-04-27 10:39:15,704 - INFO - Deleted project: ctest-TestBasicVMVNx-69535617, ID : 81b4bbd1-5d4c-47fa-8c6d-b63bd358ec5a