2025-03-20 02:26:13,621 - INFO - Domain Default found not creating 2025-03-20 02:26:13,765 - INFO - Project ctest-TestBasicVMVNx-84328152 not found, creating it 2025-03-20 02:26:14,227 - INFO - Created Project:ctest-TestBasicVMVNx-84328152, ID : 062c7c21-80ff-40c6-9053-76e6dd1b17dc 2025-03-20 02:26:15,700 - INFO - ================================================================================ 2025-03-20 02:26:15,700 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-20 02:26:15,701 - 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-03-20 02:26:15,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.0.0.28': '0'}} with 2025-03-20 02:26:15,955 - INFO - Initial checks done. Running the testcase now 2025-03-20 02:26:15,955 - INFO - 2025-03-20 02:26:16,533 - DEBUG - Response for create_network : {'network': {'id': '6b948597-455d-4484-8b43-9d897f4015a5', 'name': 'ctest-vn-73972200', 'tenant_id': '062c7c2180ff40c6905376e6dd1b17dc', 'project_id': '062c7c2180ff40c6905376e6dd1b17dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-84328152', 'ctest-vn-73972200'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:26:16,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bd82aec-9050-4a80-883c-a9bc118cc647', 'name': '', 'tenant_id': '062c7c2180ff40c6905376e6dd1b17dc', 'network_id': '6b948597-455d-4484-8b43-9d897f4015a5', 'ip_version': 4, 'cidr': '41.226.212.128/26', 'allocation_pools': [{'start': '41.226.212.130', 'end': '41.226.212.190'}], 'gateway_ip': '41.226.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.226.212.130', 'tags': [], 'project_id': '062c7c2180ff40c6905376e6dd1b17dc'}} 2025-03-20 02:26:16,750 - INFO - Created VN ctest-vn-73972200 2025-03-20 02:26:16,805 - DEBUG - VN ctest-vn-73972200 UUID is 6b948597-455d-4484-8b43-9d897f4015a5 2025-03-20 02:26:16,982 - DEBUG - Services list from nova: [, , ] 2025-03-20 02:26:18,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2927-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2927-1) 2025-03-20 02:26:19,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2927-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2927-1) 2025-03-20 02:26:19,173 - INFO - Waiting for VM ctest-TestBasicVMVNx-84328152-77086889 to be up.. 2025-03-20 02:26:19,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-20 02:26:24,463 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:26:24,463 - INFO - VM name : ctest-TestBasicVMVNx-84328152-77086889 2025-03-20 02:26:24,552 - DEBUG - VM ctest-TestBasicVMVNx-84328152-77086889 ID is 2ffb1702-0316-420b-94ba-9968654d08e1 2025-03-20 02:26:24,570 - DEBUG - VM ctest-TestBasicVMVNx-84328152-77086889 launched on Node cn-jenkins-deploy-platform-ansible-os-2927-1. 2025-03-20 02:26:24,646 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/2ffb1702-0316-420b-94ba-9968654d08e1 2025-03-20 02:26:24,936 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/2ffb1702-0316-420b-94ba-9968654d08e1 2025-03-20 02:26:24,968 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/9020db47-641e-429d-972c-1fcfee20b741 2025-03-20 02:26:28,231 - 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 1006ms') 2025-03-20 02:26:28,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84328152-77086889 failed! 2025-03-20 02:26:28,289 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-84328152:ctest-vn-73972200 is 41.226.212.129 and allocation pool is NOT set 2025-03-20 02:26:30,354 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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.382/2.539/4.696/2.157 ms') 2025-03-20 02:26:30,354 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84328152-77086889 passed 2025-03-20 02:26:30,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:26:30,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84328152-77086889, IP 41.226.212.131, Port 22 2025-03-20 02:26:30,660 - DEBUG - VM ctest-TestBasicVMVNx-84328152-77086889 is ready for SSH connections 2025-03-20 02:26:30,660 - INFO - Waiting for VM ctest-TestBasicVMVNx-84328152-79635217 to be up.. 2025-03-20 02:26:30,731 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:26:30,731 - INFO - VM name : ctest-TestBasicVMVNx-84328152-79635217 2025-03-20 02:26:30,805 - DEBUG - VM ctest-TestBasicVMVNx-84328152-79635217 ID is 31882465-b674-46e2-a8b5-a73b5bb5f1f9 2025-03-20 02:26:30,805 - DEBUG - VM ctest-TestBasicVMVNx-84328152-79635217 launched on Node cn-jenkins-deploy-platform-ansible-os-2927-1. 2025-03-20 02:26:30,882 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/31882465-b674-46e2-a8b5-a73b5bb5f1f9 2025-03-20 02:26:30,892 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/1bc4d591-9f13-49e1-b942-6ad4ec420083 2025-03-20 02:26:32,128 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/1.977/3.482/1.505 ms') 2025-03-20 02:26:32,128 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84328152-79635217 passed 2025-03-20 02:26:32,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:26:32,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84328152-79635217, IP 41.226.212.132, Port 22 2025-03-20 02:26:32,428 - DEBUG - VM ctest-TestBasicVMVNx-84328152-79635217 is ready for SSH connections 2025-03-20 02:26:32,429 - DEBUG - FILE SIZE = 1303B 2025-03-20 02:26:32,429 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84328152-77086889 to ctest-TestBasicVMVNx-84328152-79635217 using scp 2025-03-20 02:26:32,430 - 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.28, gateway password: c0ntrail123 2025-03-20 02:26:32,430 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-20 02:26:34,338 - DEBUG - 1+0 records in 1+0 records out 2025-03-20 02:26:35,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:26:35,447 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-20 02:26:35,448 - DEBUG - ls -l testfile 2025-03-20 02:26:37,035 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 19 20:26 testfile 2025-03-20 02:26:37,036 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84328152-79635217 2025-03-20 02:26:37,036 - INFO - Deleting VM ctest-TestBasicVMVNx-84328152-79635217 2025-03-20 02:26:37,100 - INFO - Deleting VM ctest-TestBasicVMVNx-84328152-77086889 2025-03-20 02:26:37,164 - INFO - Deleting VN ctest-vn-73972200 2025-03-20 02:26:37,197 - DEBUG - VN 6b948597-455d-4484-8b43-9d897f4015a5 still in use: Unable to complete operation on network 6b948597-455d-4484-8b43-9d897f4015a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f0d29c4-96a4-429a-8ab4-6464fe52a83b'] 2025-03-20 02:26:37,198 - WARNING - Deleting VN ctest-vn-73972200 failed..Will retry 2025-03-20 02:26:39,300 - DEBUG - Response for deleting network () 2025-03-20 02:26:39,554 - DEBUG - No XMPP flaps were noticed during the test 2025-03-20 02:26:39,555 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-20 02:26:39,555 - INFO - -------------------------------------------------------------------------------- 2025-03-20 02:26:40,263 - INFO - Deleted project: ctest-TestBasicVMVNx-84328152, ID : 062c7c21-80ff-40c6-9053-76e6dd1b17dc