Hello,
We're trying to run a testlist on a remote server. We followed the following steps to realise this:
https://docs.telerik.com/teststudio/features/scheduling-test-runs/create-scheduling-server
We created a testlist with 3 different testcases. When we run it on our local machine it works perfectly (and fast), but when we try to run it on our remote Scheduling Server we get this error:
[07-13
10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:11)] First trace message
from pool unnamed thread (managed ID = 11, native ID = 8196).
[07-13
10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:11),Execution]
CloudStorageProjectOpener.DownloadAndSaveTestsAsync() : ------- Function End
-------
[07-13
10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:8),Error]
TestPlatform.ExecuteAsync() : EXCEPTION! (see below)
Outer Exception Type: System.AggregateException
Message: One or more errors occurred.
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit =
FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean
includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
CancellationToken cancellationToken)
at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.CreateLocalCache(IStorageDocument`1
projectDocument, DispatchableGUITest dispatchableTest)
at
Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.BuildTest()
at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.EnsureReadyForRun()
at
Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.<ExecuteAsync>d__17.MoveNext()
Inner Exception Type: System.IO.PathTooLongException
Message: The specified path, file name, or both are too long. The fully
qualified file name must be less than 260 characters, and the directory name
must be less than 248 characters.
HRESULT: 0x800700CE (Official ID (if app.) = 2147942606, Error Bit = FAILED,
Facility = FACILITY_WIN32, Code = ERROR_FILENAME_EXCED_RANGE)
Call Stack:
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32
maxPathLength, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32
maxPathLength, Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at
Telerik.TestStudio.Shared.Storage.Local.FileReaderWriterSync.<SaveStreamToFileAsync>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<SaveAttachmentsToFileAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at
ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<DownloadAndSaveTestsAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<SaveProjectLocallyAsync>d__24.MoveNext()
[07-13
10:57:04,Telerik.TestStudio.Scheduling.Client.exe(6576:22),Execution]
RemoteExecutorViewModel.GetProcessData() : EXCEPTION! (see below)
Situation: Unable to retrieve test history
Outer Exception Type: System.Net.Http.HttpRequestException
Message: Response status code does not indicate success: 500 (Internal Server
Error).
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit =
FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at
Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__34`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__26`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at ArtOfTest.WebAii.Design.Execution.Communication.RemoteExecutorCommunicationLayer.<GetTestHistory>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Telerik.TestStudio.Scheduling.ClientMachine.ViewModels.RemoteExecutorViewModel.<GetProcessData>d__8.MoveNext()
--
System.IO.PathTooLongException: we checked the path and filename of the (remote) testlist and it's not longer than 100 characters
How can we solve this?
Thanks in advance.