2025-11-13 10:52:33,616 - INFO - Domain Default found not creating 2025-11-13 10:52:33,778 - INFO - Project ctest-TestBasicVMVNx-15004221 not found, creating it 2025-11-13 10:52:34,233 - INFO - Created Project:ctest-TestBasicVMVNx-15004221, ID : c81aaccf-22c1-4f60-89ac-4f9795314b61 2025-11-13 10:52:35,853 - INFO - ================================================================================ 2025-11-13 10:52:35,853 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-13 10:52:35,854 - 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-11-13 10:52:36,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 10:52:36,109 - INFO - Initial checks done. Running the testcase now 2025-11-13 10:52:36,109 - INFO - 2025-11-13 10:52:36,678 - DEBUG - Response for create_network : {'network': {'id': 'cde48d84-a12c-43b4-a83f-d4699fd4045a', 'name': 'ctest-vn-85390871', 'tenant_id': 'c81aaccf22c14f6089ac4f9795314b61', 'project_id': 'c81aaccf22c14f6089ac4f9795314b61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-15004221', 'ctest-vn-85390871'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:52:36,851 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef050658-f16f-4218-8753-04578d5c0368', 'name': '', 'tenant_id': 'c81aaccf22c14f6089ac4f9795314b61', 'network_id': 'cde48d84-a12c-43b4-a83f-d4699fd4045a', 'ip_version': 4, 'cidr': '47.182.160.0/26', 'allocation_pools': [{'start': '47.182.160.2', 'end': '47.182.160.62'}], 'gateway_ip': '47.182.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.182.160.2', 'tags': [], 'project_id': 'c81aaccf22c14f6089ac4f9795314b61'}} 2025-11-13 10:52:36,866 - INFO - Created VN ctest-vn-85390871 2025-11-13 10:52:36,920 - DEBUG - VN ctest-vn-85390871 UUID is cde48d84-a12c-43b4-a83f-d4699fd4045a 2025-11-13 10:52:37,081 - DEBUG - Services list from nova: [, , ] 2025-11-13 10:52:38,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:52:39,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:52:39,340 - INFO - Waiting for VM ctest-TestBasicVMVNx-15004221-59585171 to be up.. 2025-11-13 10:52:39,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 10:52:44,509 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:52:44,509 - INFO - VM name : ctest-TestBasicVMVNx-15004221-59585171 2025-11-13 10:52:44,579 - DEBUG - VM ctest-TestBasicVMVNx-15004221-59585171 ID is 108ac806-24d4-4754-a777-e07531c11e85 2025-11-13 10:52:44,597 - DEBUG - VM ctest-TestBasicVMVNx-15004221-59585171 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:52:44,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/108ac806-24d4-4754-a777-e07531c11e85 2025-11-13 10:52:44,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/108ac806-24d4-4754-a777-e07531c11e85 2025-11-13 10:52:45,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ada19009-40e6-4822-a3f0-0c937dea7115 2025-11-13 10:52:48,297 - 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=2 ttl=63 time=9.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 9.889/9.889/9.889/0.000 ms') 2025-11-13 10:52:48,297 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15004221-59585171 passed 2025-11-13 10:52:48,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:52:48,448 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15004221-59585171, IP 47.182.160.3, Port 22 2025-11-13 10:52:48,608 - DEBUG - VM ctest-TestBasicVMVNx-15004221-59585171 is ready for SSH connections 2025-11-13 10:52:48,608 - INFO - Waiting for VM ctest-TestBasicVMVNx-15004221-53819287 to be up.. 2025-11-13 10:52:48,680 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:52:48,680 - INFO - VM name : ctest-TestBasicVMVNx-15004221-53819287 2025-11-13 10:52:48,753 - DEBUG - VM ctest-TestBasicVMVNx-15004221-53819287 ID is 7457e791-a70d-48ee-b981-6cfc528deaa1 2025-11-13 10:52:48,753 - DEBUG - VM ctest-TestBasicVMVNx-15004221-53819287 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:52:48,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7457e791-a70d-48ee-b981-6cfc528deaa1 2025-11-13 10:52:48,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/049f4cc1-9cdf-445f-aadb-ea19c60703da 2025-11-13 10:52:50,052 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.599 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.599/1.815/3.031/1.216 ms') 2025-11-13 10:52:50,052 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-15004221-53819287 passed 2025-11-13 10:52:50,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:52:50,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15004221-53819287, IP 47.182.160.4, Port 22 2025-11-13 10:52:50,378 - DEBUG - VM ctest-TestBasicVMVNx-15004221-53819287 is ready for SSH connections 2025-11-13 10:52:50,378 - DEBUG - FILE SIZE = 1303B 2025-11-13 10:52:50,378 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-15004221-59585171 to ctest-TestBasicVMVNx-15004221-53819287 using scp 2025-11-13 10:52:50,380 - 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-11-13 10:52:50,380 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-13 10:52:52,285 - DEBUG - 1+0 records in 1+0 records out 2025-11-13 10:52:52,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:52:52,818 - 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-11-13 10:52:52,818 - DEBUG - ls -l testfile 2025-11-13 10:52:54,324 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 03:52 testfile 2025-11-13 10:52:54,325 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-15004221-53819287 2025-11-13 10:52:54,325 - INFO - Deleting VM ctest-TestBasicVMVNx-15004221-53819287 2025-11-13 10:52:54,406 - INFO - Deleting VM ctest-TestBasicVMVNx-15004221-59585171 2025-11-13 10:52:54,484 - INFO - Deleting VN ctest-vn-85390871 2025-11-13 10:52:54,520 - DEBUG - VN cde48d84-a12c-43b4-a83f-d4699fd4045a still in use: Unable to complete operation on network cde48d84-a12c-43b4-a83f-d4699fd4045a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67017a51-279d-43f2-93ce-8ea7c5ca6850'] 2025-11-13 10:52:54,521 - WARNING - Deleting VN ctest-vn-85390871 failed..Will retry 2025-11-13 10:52:56,620 - DEBUG - Response for deleting network () 2025-11-13 10:52:56,874 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 10:52:56,874 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:21]
2025-11-13 10:52:56,874 - INFO - -------------------------------------------------------------------------------- 2025-11-13 10:52:57,579 - INFO - Deleted project: ctest-TestBasicVMVNx-15004221, ID : c81aaccf-22c1-4f60-89ac-4f9795314b61