Unhandled Error when trying to run list remotely

6 posts, 0 answers
  1. Javier
    Javier avatar
    5 posts
    Member since:
    Jun 2015

    Posted 13 Jan Link to this post

    Hello,

    I'm trying to run a test list on a Execution + Scheduling server but receiving an error during the upload process "Running test failed internally due to unhandled error"  .

    My telerik version is 2015.3.1217.0 on both machines.

    A couple of things that I tried without success:

    - Move the project files to a different location

    - Try running a test list from a new project

    - Restart the scheduling server

    - Tried to put the project under source control but I couldn't due to a different error (created another forum thread for that: http://www.telerik.com/forums/error-203-when-connecting-to-tfs)

     

     

    This is the log file on the remote machine:

    [01/13 06:49:37,Telerik.TestStudio.ExecutionManagerService.exe(1884:22)] First trace message from pool unnamed thread (managed ID = 22, native ID = 4956).
    [01/13 06:49:37,Telerik.TestStudio.ExecutionManagerService.exe(1884:22),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 30821eb4-66e8-4921-8258-4b6279eb330e
    [01/13 06:49:42,Telerik.TestStudio.ExecutionManagerService.exe(1884:26)] First trace message from pool unnamed thread (managed ID = 26, native ID = 3652).
    [01/13 06:49:42,Telerik.TestStudio.ExecutionManagerService.exe(1884:26),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
    [01/13 06:49:42,Telerik.TestStudio.ExecutionManagerService.exe(1884:26),Execution] JobRunner.RunJobAsync() : Use source control server: NO
    [01/13 06:49:42,Telerik.TestStudio.ExecutionManagerService.exe(1884:26),Execution] JobRunner.RunJobAsync() : Project source location: C:\Anova\TestStudio\Jazz
    [01/13 06:49:42,Telerik.TestStudio.ExecutionManagerService.exe(1884:26),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
    [01/13 06:49:42,Telerik.TestStudio.ExecutionManagerService.exe(1884:26),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Windows\system32\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
    [01/13 06:49:42,Telerik.TestStudio.ExecutionManagerService.exe(1884:26),Execution] JobsController.CreateNewJob() : Unable to create a new job.

     

    I'm not sure if it has something to do or not, but the "Job storage location" on the remote machine is located on SysWOW64 and not on System32

     

     

     

     

    This is the log file on my client machine

     

    [01/13 10:54:55,Telerik.TestStudio.Desktop.exe(2104:1),Execution] RemoteExecutionViewModel.SendRun() : EXCEPTION! (see below)
    Situation: Running test list failed internally due to unhandled error!
    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__5f.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    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 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__62`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Post>d__46`2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at Telerik.TestStudio.Shared.Communication.ExecutionManagerCommunicationLayer.<QueueJobRun>d__29.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at ArtOfTest.WebAii.Design.UI.ViewModels.RemoteExecutionViewModel.<SendRun>d__1d.MoveNext()

  2. Javier
    Javier avatar
    5 posts
    Member since:
    Jun 2015

    Posted 14 Jan Link to this post

    Update:

    I managed to solve the TFS problem, and now the project is running under source control without issues.

    I updated Test studio on the client and Runtime edition on my server to version 2015.3.1314.0

     But the error when running the test list remotely persists. The log file is exactly the same (isn't it strange that the log file still says: "Use source control server: NO"?)

  3. Javier
    Javier avatar
    5 posts
    Member since:
    Jun 2015

    Posted 15 Jan Link to this post

    Problem is solved.

    The ports used by the scheduling and storage service were not opened on the firewall settings.

  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 18 Jan Link to this post

    Hello Javier,

    Thank you for your update and I am glad to hear you have solved the problem experienced. As mentioned explicitly in the overview article, all ports should be opened if you are using firewalls.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. Meera
    Meera avatar
    1 posts
    Member since:
    May 2015

    Posted 01 Aug Link to this post

    I am having the same issue Running test list failed internally due to unhandled error! when running tests remotely..Here is what is says in the execution machine log

     

    [08/01 09:55:30,Telerik.TestStudio.ExecutionManagerService.exe(4616:54)] First trace message from pool unnamed thread (managed ID = 54, native ID = 10212).
    [08/01 09:55:30,Telerik.TestStudio.ExecutionManagerService.exe(4616:54),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 26ff4211-75fc-46c0-a178-9abd903f7f3c
    [08/01 09:57:00,Telerik.TestStudio.ExecutionManagerService.exe(4616:57)] First trace message from pool unnamed thread (managed ID = 57, native ID = 18832).
    [08/01 09:57:00,Telerik.TestStudio.ExecutionManagerService.exe(4616:57),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
    [08/01 09:57:00,Telerik.TestStudio.ExecutionManagerService.exe(4616:57),Execution] JobRunner.RunJobAsync() : Use source control server: NO
    [08/01 09:57:00,Telerik.TestStudio.ExecutionManagerService.exe(4616:57),Execution] JobRunner.RunJobAsync() : Project source location: C:\Paylocity\WebLink\TelerikTestSuite\WebLink UI regression\Weblink automation
    [08/01 09:57:00,Telerik.TestStudio.ExecutionManagerService.exe(4616:57),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
    [08/01 09:57:00,Telerik.TestStudio.ExecutionManagerService.exe(4616:57),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Windows\system32\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
    [08/01 09:57:00,Telerik.TestStudio.ExecutionManagerService.exe(4616:57),Execution] JobsController.CreateNewJob() : Unable to create a new job.

    I did make sure the ports are open and also the TFS source control is installed and configured

  6. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    253 posts

    Posted 04 Aug Link to this post

    Hello Javier,

    Thank you for contacting us. i am sorry to hear you are facing similar behavior again. Based on the log I assume you will need to restart the scheduling service on the machine where the scheduling client is. Then restart the execution clients on each execution machine. 

    Please let me know if that changed anything in the remote execution behavior. If not please provide both application and remote executor's log files via this thread to continue the investigation.Please clear them prior you start the faulty test list execution to ensure only relevant to this issue records will be stored within. 

    Additionally you could share some details about the test list. Is this a particular test list that could not be executed? Are all tests always failing? If you create a new sample project will a remote run also fail?

    Thank you in advance for the cooperation and please update me once you have any results. I hope to hear from you soon. 

    Regards,
    Elena Tsvetkova
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top