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
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()
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
Thank you for the feedback. I'm glad the case is resolved.
Regards,
Nikolay Petrov
Telerik by Progress
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.?
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
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
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