Completed
Last Updated: 09 May 2014 10:53 by ADMIN
ADMIN
Cody
Created on: 02 May 2014 13:43
Type: Bug Report
0
Running performance test list remotely via scheduling server, second test is stuck after execution
When remote performance test list is executed, first the whole project is downloaded from Storage DB, then first test is executed and it creates a temp folder to write the .tsperf results, so first test runs, saves temp .tsperf result from the run in this temp folder, sends the result to Storage DB and deletes the folder. Then second test starts its run, but it does not create the temp folder for the .tsperf results and tries to use the one created from the first test, which is no longer present - then crashes internally and execution is stuck.

Here is the example log

[05/02 10:58:50,Telerik.TestStudio.RemoteExecutor.exe(5844:32),Error] RunnerController.CallBackListener() : EXCEPTION! (see below)
     Outer Exception Type: System.IO.DirectoryNotFoundException
     Message: Could not find a part of the path 'C:\Users\djambov\AppData\Local\Temp\1\5888d657-5ff4-4f91-9537-7fe28f03bc1b'.
     HRESULT: 0x80070003 (Official ID (if app.) = 2147942403, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_PATH_NOT_FOUND)
     Call Stack:
          at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
          at System.IO.FileSystemEnumerableIterator`1.CommonInit()
          at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
          at System.IO.Directory.GetFiles(String path)
          at Telerik.TestStudio.Shared.Storage.Local.FileReaderWriterSync.GetFiles(String directory)
          at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.UploadAndDeletePerformanceResults()
          at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.PublishResult()
          at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.AfterRunFinished()
          at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.OnRunnerFullTestRunCompleted(Object sender, EventArgs e)
          at System.EventHandler.Invoke(Object sender, EventArgs e)
          at Telerik.TestStudio.RemoteExecutor.Communication.RemoteRunnerClient.OnRunnerTestCompleted(Object sender, TestCompletedEventArgs e)
          at ArtOfTest.WebAii.Design.Execution.RunnerController.OnTestCompleted(ExecutionReturnValues result)
          at ArtOfTest.WebAii.Design.Execution.RunnerController.CallBackListener()

[05/02 10:58:50,Telerik.TestStudio.RemoteExecutor.exe(5844:32),Execution] TestPlatform.OnRunnerError() : Error during remote runner execution: Error inside the callback listener. Error: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\djambov\AppData\Local\Temp\1\5888d657-5ff4-4f91-9537-7fe28f03bc1b'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path)
   at Telerik.TestStudio.Shared.Storage.Local.FileReaderWriterSync.GetFiles(String directory)
   at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.UploadAndDeletePerformanceResults()
   at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.PublishResult()
   at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.AfterRunFinished()
   at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.OnRunnerFullTestRunCompleted(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Telerik.TestStudio.RemoteExecutor.Communication.RemoteRunnerClient.OnRunnerTestCompleted(Object sender, TestCompletedEventArgs e)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.OnTestCompleted(ExecutionReturnValues result)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.CallBackListener()
1 comment
ADMIN
Daniel Djambov
Posted on: 09 May 2014 10:53
Telerik: the issue is fixed and solution will be available in our next product release planned in May 2014