This is a migrated thread and some comments may be shown as answers.

Unhandled Error when trying to run list remotely

30 Answers 506 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Javier
Top achievements
Rank 1
Iron
Javier asked on 13 Jan 2016, 02:09 PM

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()

30 Answers, 1 is accepted

Sort by
0
Javier
Top achievements
Rank 1
Iron
answered on 14 Jan 2016, 04:55 PM

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"?)

0
Javier
Top achievements
Rank 1
Iron
answered on 15 Jan 2016, 06:25 PM

Problem is solved.

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

0
Ivaylo
Telerik team
answered on 18 Jan 2016, 07:31 AM
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!
0
Meera
Top achievements
Rank 1
answered on 01 Aug 2016, 09:32 PM

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

0
Elena
Telerik team
answered on 04 Aug 2016, 12:57 PM
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!
0
aplicaciones
Top achievements
Rank 1
answered on 03 May 2017, 10:29 AM

Hello,
I am experiencing the same issue.
The scenario is the following one:
I have one local machine with a licensed Test Studio acting as client ( I haven't installed the storage service neither the scheduling service in here)
In another machine (with trial version as I am evaluating the remote execution capability) I have installed the Storage Service and the Scheduling Service.
Both machines have the same versions installed: 2017.1.207.0

I have been able to connect remotely and from the Test Runner on the local machine I am able to see the remote scheduling Server connected (images attached)
But when I try to "Run List Remotely" I get the Unhandled Exception"
PS:The Firewall on both machines are disabled

I have attached you as well the log files. 
I hope you can give me some hints on what I may be doing wrong or what is happening under the hood.

0
Elena
Telerik team
answered on 04 May 2017, 12:08 PM
Hello,

Thanks for the shared details. 

I reviewed the log file and it seems that the test list you are trying to execute is a performance one. Please correct me if I am wrong. 

If so please double check what Performance counters you have chosen and if they are applicable for the machine you run the tests on. Please refer to that article which provides further insights about gathering performance data. The most important information related to the current topic is listed under point 7 in the article. 

I hope this will be helpful to you! 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
aplicaciones
Top achievements
Rank 1
answered on 05 May 2017, 06:59 AM

Hello I have done some progress on this but I haven't been able to run the list remotely yet!

Firstly, answering your question: NO, it is not a performance list as far as I understand.
In the "Select Test List type" drop-down I have only "Manual" and "Automated" options.
So, it is an Automated Web Test. Please, correct me I am wrong.
Currently, I am no longer getting the "Unhanded  Exception". So, tell me if this questions should be on another thread.

Now, when I try to "run the list remotely" I get the the message attached on the image: "Your tests are now running"
but on the "GUI Test Runner" (on the remote machine) I see on the "Remote Execution Details" this information:
"Preparing to run test C:\Users\<MyUserName>\AppData\Local\Temp\Projects\98f565a9-5f6a-4c0b-a5b2-ba6f32573571\webvalenciarepo\NuevoTramite.tstest"
"Succeeded = False"
On my Authoring Machine (the client one) I see this on the log:

Compile failed: c:\Users\<MyUserName>\AppData\Local\Temp\Projects\98f565a9-5f6a-4c0b-a5b2-ba6f32573571\webvalenciarepo\NuevoTramite.tstest.cs(111,35) : error CS1061: 'Valencia.Pages' no contiene una definición de 'SedeElectrónica6' ni se encontró ningún método de extensión 'SedeElectrónica6' que acepte un primer argumento de tipo 'Valencia.Pages' (¿falta una directiva using o una referencia de ensamblado?)
Sorry for the message in Spanish but in any case when I access the aforementioned path is empty either on my Client Machine or my Remote machine.
Could you help me wit this as I don't know what else I can do.

 

0
aplicaciones
Top achievements
Rank 1
answered on 05 May 2017, 10:30 AM
I have done some findings on this.
I 've been able to run remotely a dummy Automated Web project. I can't still remotely run the project I am interested in.
So, I guess it has something to do with  the project itself. Anyways, locally it runs properly but remotely for some reason is not running.
0
Elena
Telerik team
answered on 08 May 2017, 11:53 AM
Hi,

Thanks for the shared details. 

Could you please the drop the storage database as described in this article. Please note that dropping the whole db will delete the so far stored results as well. In case you require them please refer to the bottom of the article and drop only the Tests and Testlists collections. 

Please let me know if that changed the behavior of remote execution! Thanks! 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
aplicaciones
Top achievements
Rank 1
answered on 08 May 2017, 02:32 PM

Hi,

I have dropped the storage DB as the article describes and I still experience the same behavior of remote execution.

On the other hand, I have another Automated Web Test Project ( a dummy one) in which I am able to run it remotely without any issues at all. I can even check that it creates the Directory C:\Users\<MySuerName>\AppData\Local\Temp\Projects

So, I guess, as I have already mentioned, that it has something to do with the Automated test Project in which I`m working.
I use an external dll that I'have placed on the root folder.

Anyway, the error I'm getting is:" Compile failed" ant it says that it doesn't have a definition for one of my Page elements and asking if Is there a Missing assembly reference. 
Locally, it works just fine.

Best regards,

0
Elena
Telerik team
answered on 11 May 2017, 08:32 AM
Hi,

Thanks for your cooperation and details shared. 

As of the additional notes I suspect that the element in question is not present in the Element repository for that exact test. The project is only partially deployed by remote execution (all required files related to the tests in test list) and then Pages.cs file is generated during runtime. 

If the element does not persist in the repository for any of the tests included in the test list it will be missing in the generated on remote machine Pages.cs file and thus a compile error comes up. 

Based on the error text you could double check in the Elements explorer for that particular test if the element actually exist. If not you should add it manually and then try to execute remotely again. 

Please let me know if the above suggestions are correct and help you resolve the case. Thanks! 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
aplicaciones
Top achievements
Rank 1
answered on 11 May 2017, 08:55 AM

Hi,
I have double checked and the element exists.

Anyway, I have just been able to run the test remotely. I believe the issue was related to a third part dll that I use on my test project.
I have placed on the root folder and in addition to that I have registered in the GAC as well.
Now is running. So, I guess it was related to that.

My apologies if I have changed the course of this thread with my issues. 

Thanks for your help and patience.

0
Elena
Telerik team
answered on 11 May 2017, 02:01 PM
Hi,

Thanks for getting back to me. I am glad to hear you managed to solve the observed inconsistency. And yes it is a requirement to have external dlls on the remote machine as well. 

Thanks for your cooperation! 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chris
Top achievements
Rank 1
answered on 17 Jul 2017, 09:23 PM

I have this exact same issue. I did confirm that my external dlls are on both machines. My system consists of 1 stand alone machine (the one im on now) and one virtual machine that has the scheduling+storage+execution server. When you say root folder, are you talking about the plugins folder on the execution server machine? When you mentioned GAC, what is the exact location of that? Thanks in advance.

 

- Chris

0
Nikolay Petrov
Telerik team
answered on 20 Jul 2017, 02:58 PM
Hello Chris,

Please provide more details on this case. 

The GAC location defers in respect of the Windows version. I believe that you could find web resources related to this topic.

Kind Regards,
Nikolay Petrov
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
aplicaciones
Top achievements
Rank 1
answered on 08 Jan 2018, 11:37 AM

Hello Chris,
Sorry for this late reply. I hope that this can still help you.
GAC is the Global Assembly Cache. As mentioned by Nikolay you can find a lot of documentation on Internet about hits. In summary, is a general common repository fo dlls. You can register your external dlls there instead of having them on your local directory. Anyway, this is a simplistic explanation and you should read a proper documentation about it.
With regards to the root folder, in my case I use external dlls as well. They have to be located in the root folder of your automation project. In the same level as you have your Test Studio Test file or your Telerik Test Studio aiiss file.

Regards,
Sebastian

0
Elena
Telerik team
answered on 08 Jan 2018, 01:01 PM
Hello Sebastian,

Thank you for the shared advice. I really appreciate your cooperation! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Lucas
Top achievements
Rank 1
answered on 26 Jul 2019, 01:04 PM

I am facing a similar issue.  I just started facing this issue in the past week or so; before this I was having no issues.  My scheduled test list runs are not executing, I can manually start a test list run and it executes just fine.  I am executing these test off of my local machine.

 

Thanks in Advance,

 

Lucas

0
Lucas
Top achievements
Rank 1
answered on 26 Jul 2019, 05:16 PM
I was able to triage the issue a bit further going through additional help docs and was able to resolve by running the Execution Server software.
0
Elena
Telerik team
answered on 29 Jul 2019, 11:42 AM
Hi Lucas,

It seems you managed to sort out the encountered issue with scheduled execution runs. 

Still, I reviewed the shared log file but it doesn't contain any errors, so in case you face similar issues again and need to get back to us, please elaborate more details on the actual misbehavior you have observed - that way I will be able to better understand what might have gone wrong. 

Anyways, in case you need additional assistance on the topic, please do not hesitate to contact us again. 

Regards,
Elena
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Lucas
Top achievements
Rank 1
answered on 07 Aug 2019, 11:15 AM

Elena,

I have started receiving this message once again, and it is only happening when I try to run this project remotely.  I have other projects that I am running remotely with an issue; I am using my local machine as my remote machine currently until my remote servers are setup permanently.  To ensure it wasn't a port issue I actually disable the Firewall completely to test the theory and still received the unhandled error.  Here are the log files:

 

[08/07 06:57:04,Telerik.TestStudio.Scheduling.Client.exe(27240:50),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 59.0.0.3 (x86) installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[08/07 06:57:04,Telerik.TestStudio.Scheduling.Client.exe(27240:50),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 68.0.0.1 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".
[08/07 06:57:04,Telerik.TestStudio.Scheduling.Client.exe(27240:50),Framework] FireFoxInstallation.GetExecutableData() : Automatically selected Firefox 68.0.0.1 (x64).
[08/07 06:57:09,Telerik.TestStudio.Desktop.exe(71284:1),TestStudio] StorageUploader.UploadToCloudAsync() : ------- Function Start -------
[08/07 06:57:09,Telerik.TestStudio.Desktop.exe(71284:1),ProjectModel] TestFileHandler.LoadFromDisk() : EXCEPTION! (see below)
     Situation: Unable to load test 'C:\Users\lucas.donlon\Documents\Test Studio Projects\eRep Regression - T10-024 - System Admin\Mfg. Tools\Support Requests\Issue Type\Verify user is able to initiate a delete of if issue type by using the 'Delete' icon_user able to use the Delete icon .tstest'
     Outer 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.PathHelper.GetFullPathName()
          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.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
          at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
          at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
          at System.IO.FileStream..ctor(String path, FileMode mode)
          at ArtOfTest.WebAii.Design.ProjectModel.TestElementImageStore.Init(String filePath)
          at ArtOfTest.WebAii.Design.ProjectModel.Test.UpdateResourcePaths(String testDirectory)
          at ArtOfTest.WebAii.Design.ProjectModel.TestFileHandler.LoadFromDisk(String pathToFile, Boolean autoLoadTypes, FileOpenResult& result)
[08/07 06:57:09,Telerik.TestStudio.Desktop.exe(71284:1),TestStudio] StorageUploader.UploadToCloudAsync() : ------- Function End -------
[08/07 06:57:09,Telerik.TestStudio.Desktop.exe(71284:1),Execution] RemoteExecutionViewModel.SendRun() : EXCEPTION! (see below)
     Situation: Running test list failed internally due to unhandled error!
     Outer 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.PathHelper.GetFullPathName()
          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.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
          at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
          at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
          at System.IO.FileStream..ctor(String path, FileMode mode)
          at ArtOfTest.WebAii.Design.ProjectModel.TestElementImageStore.Init(String filePath)
          at ArtOfTest.WebAii.Design.ProjectModel.TestElementImageStore.Init()
          at ArtOfTest.WebAii.Design.ProjectModel.Providers.TestsProvider.GetItem(Guid id, Boolean& isNew, Boolean waitForElements)
          at ArtOfTest.WebAii.Design.Repository.StorageUploader.<UploadToCloudAsync>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 ArtOfTest.WebAii.Design.Repository.Commands.UploadToCloudCommand.<ExecuteAsync>d__11.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.UI.ViewModels.RemoteExecutionViewModel.<SendRun>d__53.MoveNext()
[08/07 06:57:26,Telerik.TestStudio.Scheduling.Client.exe(27240:35)] First trace message from pool unnamed thread (managed ID = 35, native ID = 74420).
[08/07 06:57:26,Telerik.TestStudio.Scheduling.Client.exe(27240:35),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 59.0.0.3 (x86) installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[08/07 06:57:26,Telerik.TestStudio.Scheduling.Client.exe(27240:35),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 68.0.0.1 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".
[08/07 06:57:26,Telerik.TestStudio.Scheduling.Client.exe(27240:35),Framework] FireFoxInstallation.GetExecutableData() : Automatically selected Firefox 68.0.0.1 (x64).

I see a too long exception, is that in the naming convention of the test?  Correct me if I am wrong that Test Studio won't allow you to go beyond the max characters when creating the test.  I am using Test Studio version 2019.2.619.0.

 

Thank you in advance,

 

Lucas

 

0
Elena
Telerik team
answered on 07 Aug 2019, 02:43 PM
Hello Lucas,

Thanks for sharing additional details on the case. It seems that the current setup is not causing you troubles. Although you mentioned that the firewall is now completely disabled and I will recommend you ensure to allow the following ports in- and outbound, when you enable the firewall again: 

Scheduling Service: 8009
Storage Service: 8492
Execution Machine(s): 55555

So, since the firewall is not affecting the current setup I reviewed the log and the listed exception - it states that the file name is too long. Since the test name is used with its fully qualified name, which includes its whole path, there is a limitation from Windows OS which affects the handling of the test file. Please, find some additional notes on the topic here

A possible solution how to handle such exception will be to change the temp folder location on the remote machine, or in this case on your own machine, when using it to run the test list remotely. This can be set in the Execution client as described in this article - please scroll to step 5. in it. 

I hope this will be helpful for you. Of course, in case of any questions, please get back to me. 

Regards,
Elena
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Lucas
Top achievements
Rank 1
answered on 13 Aug 2019, 05:40 PM

Elena,

Thank you for your reply.  I attempted to make a new folder and still received the fail of the file name too long.  Is there a limitation on file name length with Apple OS?  I am just having multiple issues with Windows and am wondering if it would be beneficial to move over to a different operating system.

Regards,

 

Lucas

0
Elena
Telerik team
answered on 14 Aug 2019, 03:29 PM
Hello Lucas,

Test Studio is a .Net application and is not compatible with other OS than Windows. So, moving to MacOS will not be an option for this task. 

However, I will be happy to assist you further with resolving the current issues you have. I reviewed the log file and noticed that the test or test list execution is a local run and my previous recommendations are related to executing tests on remote machines.

So, changing that temp folder will not affect the current run you need to perform. However, the solution you can go for, will be even easier - reduce the length of the test name and/or change the project location to be directly on the C:\ drive.

Basically the Windows limitation concerns the fully qualified file name and it should be less than 260 characters and there is a test, which name does not meet that requirement. The exception message provides detailed information: 

Unable to load test 'C:\Users\lucas.donlon\Documents\Test Studio Projects\eRep Regression - T10-024 - System Admin\Mfg. Tools\Support Requests\Issue Type\Verify user is able to initiate a delete of if issue type by using the 'Delete' icon_user able to use the Delete icon .tstest'

So, if you shorten the name of that particular test and change the project root folder location, you shouldn't face that same issue again. 

I hope this makes more sense now and I am sorry I may have misled you with my initial response. In case you have further questions, please let me know. 

Thank you for your cooperation and understanding. 

Regards,
Elena
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Lucas
Top achievements
Rank 1
answered on 14 Aug 2019, 04:04 PM

Thank you Elena for the help.  I have one follow up question, should I change my Scheduling Server Setting to Run Locally?  I was just trying to learn the process of the remote server as I will be setup on 2 within the next few weeks.

 

Regards,

 

Lucas

0
Elena
Telerik team
answered on 15 Aug 2019, 10:56 AM
Hello Lucas,

I am glad the shared information is helpful for you. 

Going further to the query - basically, there is no obvious difference in running the test on your local machine through the Scheduling service or locally when the project is connected locally. However, there are few differences to keep in mind and I will list these below. 

Local test list run 
In this case the local stored project is being compiled and the test list is executed without using the Scheduling service. The results get stored in the project root folder under the Results sub-folder. 

Run list remotely or Schedule test list
If the project is connected to the configured scheduling service, both schedule or run test list remotely will use the Scheduler. In this case the project is being partially deployed from the storage database to the set temp folder on the execution machine (even if this is the same local machine). The deployed files are only these, related to the tests included in the test list. The partial project is being compiled from this temp location and the test list is executed accordingly. The generated test list results from such run are stored in the database and can be exported from there 

Having that said you can use both ways to run a test list depending on your current needs. 

If there is anything else I can be helpful with, please get back to me. Thank you for your cooperation in our discussion. 

Regards,
Elena
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Hillary
Top achievements
Rank 1
answered on 23 Jun 2020, 10:10 AM

I am getting the same issue i.e. when i try to run the tests remotely, the following is my log: 

[06/23 11:53:04,Telerik.TestStudio.Scheduling.Client.exe(6848:20)] First trace message from pool unnamed thread (managed ID = 20, native ID = 14720).
[06/23 11:53:04,Telerik.TestStudio.Scheduling.Client.exe(6848:20),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 70.0.0.1 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".
[06/23 11:55:37,Telerik.TestStudio.Scheduling.Client.exe(6848:25)] First trace message from pool unnamed thread (managed ID = 25, native ID = 4292).
[06/23 11:55:37,Telerik.TestStudio.Scheduling.Client.exe(6848:25),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 70.0.0.1 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".

0
Hillary
Top achievements
Rank 1
answered on 23 Jun 2020, 10:12 AM
the following is my error image.
0
Elena
Telerik team
answered on 24 Jun 2020, 07:41 AM

Hello Hillary,

I am sorry to know you are having troubles with the Scheduling setup and will be happy to assist you with resolving these. 

Can you, please, first elaborate on the configuration you have established on your end? You can use the below questions as reference: 

The provided log seems to be only a part of the logging, thus I will appreciate if you take the time to generate the application log following the below steps:

  1. Clear the log file to ensure there will be records only for the upcoming actions.
  2. Switch to the Test List tab in Test Studio.
  3. Select the desired test list and click the Run Remotely button.
  4. Wait for the error to appear.
  5. Then, click away the error and open the generated log file.
  6. You can save it in a txt file and send it zipped via this thread.

I am looking forward to hearing back from you and check the logging for further details on the error.

Thank you for your cooperation in advance.

Regards,
Elena
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Javier
Top achievements
Rank 1
Iron
Answers by
Javier
Top achievements
Rank 1
Iron
Ivaylo
Telerik team
Meera
Top achievements
Rank 1
Elena
Telerik team
aplicaciones
Top achievements
Rank 1
Chris
Top achievements
Rank 1
Nikolay Petrov
Telerik team
Lucas
Top achievements
Rank 1
Hillary
Top achievements
Rank 1
Share this question
or