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

run list remotely not showing exec servers...

10 Answers 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 26 Apr 2017, 03:37 AM

Im pretty sure I have my scheduling/storage server configured correctly. On test runners of each machine, I see that I am connected to the correct scheduling server too. Ports are open, no firewall exists, etc. When I try to run test remotely on my stand alone client, the list is empty. Below is an exception I noticed in the log when trying to load that Run Test Remotely pop up screen:

 

[04/25 22:22:57,Telerik.TestStudio.Desktop.exe(63880:27),Execution] RemoteExecutionViewModel.LoadMachines() : EXCEPTION! (see below)
     Situation: Exception trying to populate drone listing
     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 Telerik.TestStudio.Shared.Communication.ExecutionManagerCommunicationLayer.<GetAvailableDronesAsync>d__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.UI.ViewModels.RemoteExecutionViewModel.<<LoadMachines>b__50_0>d.MoveNext()

 

I'm assuming this has something to deal with my issue at hand. I can provide more information/details if necessary. Any help with this issue would be greatly appreciated - thanks in advance.

 

- Chris

10 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 26 Apr 2017, 04:06 AM

Also wanted to include this snippet found in the error log:

 

[04/25 22:59:12,devenv.exe(37904:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[04/25 22:59:14,Telerik.TestStudio.Desktop.exe(63880:40),Execution] ExecutionStatus.GetStatusAsync() : EXCEPTION! (see below)
     Situation: Error trying to populate drone status collection.
     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 Telerik.TestStudio.Shared.Communication.ExecutionManagerCommunicationLayer.<GetAllDronesAsync>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.UI.Scheduling.ExecutionStatus.<GetStatusAsync>d__17.MoveNext()
 

0
Accepted
Nikolay Petrov
Telerik team
answered on 26 Apr 2017, 06:35 PM
Hi Chris,

Thank you the case details provided.

Once you connected all remote execution clients to the scheduling server and press on Run Remotely all execution clients machines should be listed to choose where to execute the test list.

It is possible that at some point that the scheduling service is not acting normally and it is recommended to restart it from the machine where scheduling server is configured. Then re-connect the project to the scheduling server.

To eliminate the project related problem and test just the remote set up - try to create sample test with 1 or 2 steps in a new test list and run it remotely.

Let me know if this solves the problem and if there is other exception you got there.

Regards,
Nikolay Petrov
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 27 Apr 2017, 07:06 PM
Thanks for the information Nikolay. I was able to get it up and running and connected after updating the URL's - i was pointing to localhost on the machine with scheduling/storage when I should have used the host name instead. Also had to point to port 8492; for some reason the default port number was pointing to another number.
0
Nikolay Petrov
Telerik team
answered on 28 Apr 2017, 01:21 PM
Hi Chris,

Thank you for the feedback. I'm glad the case is resolved.

Regards,
Nikolay Petrov
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 03 May 2017, 03:19 AM

Somehow I have came back across this issue and have had no luck fixing it.I successfully connect to my scheduling server without any issues. When i view the log, i noticed this:

 

[05/02 22:16:47,Telerik.TestStudio.Desktop.exe(70668:45),Execution] ExecutionStatus.GetStatusAsync() : EXCEPTION! (see below)
     Situation: Error trying to populate drone status collection.
     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 Telerik.TestStudio.Shared.Communication.ExecutionManagerCommunicationLayer.<GetAllDronesAsync>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.UI.Scheduling.ExecutionStatus.<GetStatusAsync>d__17.MoveNext()

[05/02 22:16:47,devenv.exe(37904:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[05/02 22:16:51,devenv.exe(37904:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[05/02 22:16:54,devenv.exe(37904:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.

 

What exactly causes this error: Error trying to populate drone status collection.?

0
Nikolay Petrov
Telerik team
answered on 03 May 2017, 03:25 PM
Hi Chris,

I'm sorry to hear that a similar problem is up again.

This problem seems to be related to miss function of the scheduling server. For some reason it does not respond appropriately. Try to restart the scheduling service and the execution agents on the remote machines as well.

I hope this will solve the issue.

Regards,
Nikolay Petrov
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 03 May 2017, 03:31 PM
Trying that right now - shutting down storage / scheduling / execution on my virtual machine box (VM1), will terminate execution server and close stand alone on my local work station, will Start both storage and scheduling again on VM1, then Configure scheduling server, start everything, then start execution server on VM1, then will go to my work station and open up stand alone, connect project to scheduling, after success will run test remotely and see if VMs appear in list...
0
Chris
Top achievements
Rank 1
answered on 03 May 2017, 03:42 PM

After restarting everything, the logs looked good so far until I opened up the stand alone on my machine and viewed the logs and this appeared:

[05/03 10:38:42,Telerik.TestStudio.Scheduling.Client.exe(15892:15),Error] WcfHttpRawRequest.Send() : EXCEPTION! (see below)
     Outer Exception Type: System.Net.WebException
     Message: Unable to connect to the remote server
     HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
     Call Stack:
          at System.Net.HttpWebRequest.GetResponse()
          at ArtOfTest.WebAii.Messaging.Http.WcfHttpRawRequest.Send()

     Inner Exception Type: System.Net.Sockets.SocketException
     Message: No connection could be made because the target machine actively refused it 10.0.xx.xxx:8032
     HRESULT: 0x80004005 (Official ID (if app.) = E_FAIL, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16389)
     Call Stack:
          at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
          at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

 

I made sure I opened up this inbound port on my machine. Is there something that I'm missing?

 

- Chris

0
Chris
Top achievements
Rank 1
answered on 03 May 2017, 07:37 PM
I have my workstation that has a stand alone copy and a virtual machine that has scheduling+storage+run time installed. On both machines, I see test runners properly configured and pointing at the right scheduling connection. On my workstation machine though, I noticed on the Scheduling tab, it is listening on localhost:8009. Is this supposed to be my VM's scheduling service URL? On my Execution tab however, it is pointing  at the correct scheduling connection URL on the VM...
0
Nikolay Petrov
Telerik team
answered on 08 May 2017, 07:42 AM
Hi Chris,

If there are active firewall try to stop it to confirm if the closed ports are the problem. All ports that supposed to be open in order the scheduling server to communicate normally with the remote agents are listed at the bottom of this article

The recommended port for the scheduling service is 8009 indeed.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Nikolay Petrov
Telerik team
Share this question
or