2025-08-20 13:42:11,985 - INFO - Domain Default found not creating 2025-08-20 13:42:12,106 - INFO - Project ctest-TestBasicVMVNx-63166618 not found, creating it 2025-08-20 13:42:12,555 - INFO - Created Project:ctest-TestBasicVMVNx-63166618, ID : 92c863cb-c1e3-4c84-8d31-8eba1d636369 2025-08-20 13:42:13,882 - INFO - ================================================================================ 2025-08-20 13:42:13,882 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-20 13:42:13,882 - 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-08-20 13:42:14,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-08-20 13:42:14,138 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:42:14,138 - INFO - 2025-08-20 13:42:14,649 - DEBUG - Response for create_network : {'network': {'id': '49bc4193-294b-4500-aa7a-0862c841a7b5', 'name': 'ctest-vn-49345809', 'tenant_id': '92c863cbc1e34c848d318eba1d636369', 'project_id': '92c863cbc1e34c848d318eba1d636369', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63166618', 'ctest-vn-49345809'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:42:14,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '3af0b57f-a647-4457-bf2d-6468a2949a4e', 'name': '', 'tenant_id': '92c863cbc1e34c848d318eba1d636369', 'network_id': '49bc4193-294b-4500-aa7a-0862c841a7b5', 'ip_version': 4, 'cidr': '77.34.88.64/26', 'allocation_pools': [{'start': '77.34.88.66', 'end': '77.34.88.126'}], 'gateway_ip': '77.34.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.34.88.66', 'tags': [], 'project_id': '92c863cbc1e34c848d318eba1d636369'}} 2025-08-20 13:42:14,887 - INFO - Created VN ctest-vn-49345809 2025-08-20 13:42:14,937 - DEBUG - VN ctest-vn-49345809 UUID is 49bc4193-294b-4500-aa7a-0862c841a7b5 2025-08-20 13:42:15,133 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:42:16,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1) 2025-08-20 13:42:17,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1) 2025-08-20 13:42:17,147 - INFO - Waiting for VM ctest-TestBasicVMVNx-63166618-39430892 to be up.. 2025-08-20 13:42:17,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:42:22,279 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:42:22,279 - INFO - VM name : ctest-TestBasicVMVNx-63166618-39430892 2025-08-20 13:42:22,340 - DEBUG - VM ctest-TestBasicVMVNx-63166618-39430892 ID is 9d2f0b3d-8a4e-4975-824b-5e5390fc70d9 2025-08-20 13:42:22,357 - DEBUG - VM ctest-TestBasicVMVNx-63166618-39430892 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1 2025-08-20 13:42:22,417 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9d2f0b3d-8a4e-4975-824b-5e5390fc70d9 2025-08-20 13:42:22,706 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9d2f0b3d-8a4e-4975-824b-5e5390fc70d9 2025-08-20 13:42:22,736 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a15781c4-6288-40c1-bbe3-8a97161de1a2 2025-08-20 13:42:25,987 - 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') 2025-08-20 13:42:25,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63166618-39430892 failed! 2025-08-20 13:42:26,045 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63166618:ctest-vn-49345809 is 77.34.88.65 and allocation pool is NOT set 2025-08-20 13:42:28,104 - 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=6.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.433/3.689/6.945/3.256 ms') 2025-08-20 13:42:28,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63166618-39430892 passed 2025-08-20 13:42:28,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:42:28,257 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63166618-39430892, IP 77.34.88.67, Port 22 2025-08-20 13:42:28,413 - DEBUG - VM ctest-TestBasicVMVNx-63166618-39430892 is ready for SSH connections 2025-08-20 13:42:28,413 - INFO - Waiting for VM ctest-TestBasicVMVNx-63166618-53329372 to be up.. 2025-08-20 13:42:28,483 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:42:28,483 - INFO - VM name : ctest-TestBasicVMVNx-63166618-53329372 2025-08-20 13:42:28,550 - DEBUG - VM ctest-TestBasicVMVNx-63166618-53329372 ID is 6ea78ac9-fa30-4900-b64a-a8b36cc93abf 2025-08-20 13:42:28,550 - DEBUG - VM ctest-TestBasicVMVNx-63166618-53329372 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1 2025-08-20 13:42:28,618 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6ea78ac9-fa30-4900-b64a-a8b36cc93abf 2025-08-20 13:42:28,627 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/338f84fb-0920-4d67-96fe-6ad26a87c6fe 2025-08-20 13:42:29,866 - 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.373 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.373/1.532/2.691/1.159 ms') 2025-08-20 13:42:29,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63166618-53329372 passed 2025-08-20 13:42:30,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:42:30,017 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63166618-53329372, IP 77.34.88.68, Port 22 2025-08-20 13:42:30,172 - DEBUG - VM ctest-TestBasicVMVNx-63166618-53329372 is ready for SSH connections 2025-08-20 13:42:30,172 - DEBUG - FILE SIZE = 1303B 2025-08-20 13:42:30,172 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63166618-39430892 to ctest-TestBasicVMVNx-63166618-53329372 using scp 2025-08-20 13:42:30,173 - 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.41, gateway password: c0ntrail123 2025-08-20 13:42:30,174 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-20 13:42:32,023 - DEBUG - 1+0 records in 1+0 records out 2025-08-20 13:42:32,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:42:32,913 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-20 13:42:32,913 - DEBUG - ls -l testfile 2025-08-20 13:42:34,505 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 07:42 testfile 2025-08-20 13:42:34,505 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63166618-53329372 2025-08-20 13:42:34,505 - INFO - Deleting VM ctest-TestBasicVMVNx-63166618-53329372 2025-08-20 13:42:34,570 - INFO - Deleting VM ctest-TestBasicVMVNx-63166618-39430892 2025-08-20 13:42:34,626 - INFO - Deleting VN ctest-vn-49345809 2025-08-20 13:42:34,659 - DEBUG - VN 49bc4193-294b-4500-aa7a-0862c841a7b5 still in use: Unable to complete operation on network 49bc4193-294b-4500-aa7a-0862c841a7b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80255f7c-145d-4320-b6bb-c6ccabcb1e5f'] 2025-08-20 13:42:34,659 - WARNING - Deleting VN ctest-vn-49345809 failed..Will retry 2025-08-20 13:42:36,752 - DEBUG - Response for deleting network () 2025-08-20 13:42:37,007 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:42:37,007 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-08-20 13:42:37,007 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:42:37,720 - INFO - Deleted project: ctest-TestBasicVMVNx-63166618, ID : 92c863cb-c1e3-4c84-8d31-8eba1d636369