2025-12-29 02:13:14,586 - INFO - Domain Default found not creating 2025-12-29 02:13:14,771 - INFO - Project ctest-TestBasicVMVNx-28645068 not found, creating it 2025-12-29 02:13:15,258 - INFO - Created Project:ctest-TestBasicVMVNx-28645068, ID : c02cb99a-6028-4130-b8ef-73b8ac91281f 2025-12-29 02:13:16,958 - INFO - ================================================================================ 2025-12-29 02:13:16,958 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-12-29 02:13:16,958 - 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-12-29 02:13:17,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-12-29 02:13:17,214 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:13:17,215 - INFO - 2025-12-29 02:13:17,772 - DEBUG - Response for create_network : {'network': {'id': '27446bf9-ed24-4102-92fc-4930cd796ddd', 'name': 'ctest-vn-48897556', 'tenant_id': 'c02cb99a60284130b8ef73b8ac91281f', 'project_id': 'c02cb99a60284130b8ef73b8ac91281f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28645068', 'ctest-vn-48897556'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:13:17,940 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7f23a40-a645-4efd-8ee2-800ab593e973', 'name': '', 'tenant_id': 'c02cb99a60284130b8ef73b8ac91281f', 'network_id': '27446bf9-ed24-4102-92fc-4930cd796ddd', 'ip_version': 4, 'cidr': '189.244.123.128/26', 'allocation_pools': [{'start': '189.244.123.130', 'end': '189.244.123.190'}], 'gateway_ip': '189.244.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.244.123.130', 'tags': [], 'project_id': 'c02cb99a60284130b8ef73b8ac91281f'}} 2025-12-29 02:13:17,959 - INFO - Created VN ctest-vn-48897556 2025-12-29 02:13:18,013 - DEBUG - VN ctest-vn-48897556 UUID is 27446bf9-ed24-4102-92fc-4930cd796ddd 2025-12-29 02:13:18,219 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:13:19,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:13:20,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:13:20,646 - INFO - Waiting for VM ctest-TestBasicVMVNx-28645068-83458573 to be up.. 2025-12-29 02:13:20,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:13:25,853 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:13:25,854 - INFO - VM name : ctest-TestBasicVMVNx-28645068-83458573 2025-12-29 02:13:25,939 - DEBUG - VM ctest-TestBasicVMVNx-28645068-83458573 ID is 2326c31a-df44-4275-beb5-932e27fe1645 2025-12-29 02:13:25,975 - DEBUG - VM ctest-TestBasicVMVNx-28645068-83458573 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:13:26,075 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2326c31a-df44-4275-beb5-932e27fe1645 2025-12-29 02:13:26,600 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2326c31a-df44-4275-beb5-932e27fe1645 2025-12-29 02:13:26,650 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7cb3b9ed-6513-4751-b6e7-5efaf6ea0623 2025-12-29 02:13:29,896 - 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 1003ms') 2025-12-29 02:13:29,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28645068-83458573 failed! 2025-12-29 02:13:30,014 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28645068:ctest-vn-48897556 is 189.244.123.129 and allocation pool is NOT set 2025-12-29 02:13:32,077 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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 = 1.087/2.792/4.497/1.705 ms') 2025-12-29 02:13:32,078 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28645068-83458573 passed 2025-12-29 02:13:32,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:32,225 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28645068-83458573, IP 189.244.123.131, Port 22 2025-12-29 02:13:32,280 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-29 02:13:32,370 - DEBUG - VM ctest-TestBasicVMVNx-28645068-83458573 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-29 02:13:37,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:37,371 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28645068-83458573, IP 189.244.123.131, Port 22 2025-12-29 02:13:37,539 - DEBUG - VM ctest-TestBasicVMVNx-28645068-83458573 is ready for SSH connections 2025-12-29 02:13:37,539 - INFO - Waiting for VM ctest-TestBasicVMVNx-28645068-12404700 to be up.. 2025-12-29 02:13:37,617 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:13:37,617 - INFO - VM name : ctest-TestBasicVMVNx-28645068-12404700 2025-12-29 02:13:37,699 - DEBUG - VM ctest-TestBasicVMVNx-28645068-12404700 ID is 7afcb96a-2e0d-44df-a831-dc8518dc1450 2025-12-29 02:13:37,699 - DEBUG - VM ctest-TestBasicVMVNx-28645068-12404700 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:13:37,776 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7afcb96a-2e0d-44df-a831-dc8518dc1450 2025-12-29 02:13:37,784 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c8dee8ee-b6c3-459c-a4a3-9fb0255c7b5b 2025-12-29 02:13:39,023 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.546/2.671/1.125 ms') 2025-12-29 02:13:39,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28645068-12404700 passed 2025-12-29 02:13:39,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:39,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28645068-12404700, IP 189.244.123.132, Port 22 2025-12-29 02:13:39,328 - DEBUG - VM ctest-TestBasicVMVNx-28645068-12404700 is ready for SSH connections 2025-12-29 02:13:39,329 - DEBUG - FILE SIZE = 1303B 2025-12-29 02:13:39,329 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28645068-83458573 to ctest-TestBasicVMVNx-28645068-12404700 using scp 2025-12-29 02:13:39,330 - 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.141, gateway password: c0ntrail123 2025-12-29 02:13:39,330 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-12-29 02:13:41,348 - DEBUG - 1+0 records in 1+0 records out 2025-12-29 02:13:41,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:42,021 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:13:42,021 - DEBUG - ls -l testfile 2025-12-29 02:13:43,639 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 28 19:13 testfile 2025-12-29 02:13:43,639 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28645068-12404700 2025-12-29 02:13:43,640 - INFO - Deleting VM ctest-TestBasicVMVNx-28645068-12404700 2025-12-29 02:13:43,720 - INFO - Deleting VM ctest-TestBasicVMVNx-28645068-83458573 2025-12-29 02:13:43,800 - INFO - Deleting VN ctest-vn-48897556 2025-12-29 02:13:43,837 - DEBUG - VN 27446bf9-ed24-4102-92fc-4930cd796ddd still in use: Unable to complete operation on network 27446bf9-ed24-4102-92fc-4930cd796ddd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92cc10ea-5bce-4b3d-bad8-b0297cbeec6d'] 2025-12-29 02:13:43,838 - WARNING - Deleting VN ctest-vn-48897556 failed..Will retry 2025-12-29 02:13:45,946 - DEBUG - Response for deleting network () 2025-12-29 02:13:46,219 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:13:46,220 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-12-29 02:13:46,220 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:13:46,950 - INFO - Deleted project: ctest-TestBasicVMVNx-28645068, ID : c02cb99a-6028-4130-b8ef-73b8ac91281f