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

Executing Test Cases on Remote Execution Server does not work

3 Answers 262 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sven
Top achievements
Rank 1
Veteran
Sven asked on 14 Jan 2021, 10:04 AM

Hello,

I try to setup Telerik for our customer. In their infrastructure, there is a virtual machine running with a Telerik Execution Server License. We want to have a number of Telerik clients that can checkout test cases from a git repository. These clients should be able to manually start test cases that are executed on the Remote Execution Server.

 

I setup the server with one admin: It is constantly running with admin privileges, the browsers als calibrated and the Telerik plugin is installed in Chrome. We used the default ports.

The firewall allows connections via ports 8009, 8492 and 55555. I verified that I can connect from my local laptop.

In my local Telerik installation, I can connect to the machine (See Screenshot "Scheduling Server Settings.png).

Under Tab "Test Lists" I added a Test case that successfully runs on my local machine. When I choose that Test List and choose "Run List Remotely", I can see the Remote Execution Server (See screenshot "Run Test List Remotely.png").

But when I click "Run Test List" it's stuck at "Uploading latest project files" with the error message "Running test list failed internally due to unhandled error". In the Log I see the following:

[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:18),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:18),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          bei Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()
 
[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:29)] First trace message from pool unnamed thread (managed ID = 29, native ID = 18904).
[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:29),Execution] ProcessManager.RefreshMachineStatusAsync() : Error trying to report to scheduling server: Fehler beim Senden der Anforderung.
[01.14 11:01:09,Telerik.TestStudio.Scheduling.Client.exe(10116:5),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
[01.14 11:01:09,Telerik.TestStudio.Scheduling.Client.exe(10116:5),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          bei Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()
 
[01.14 11:01:09,Telerik.TestStudio.Scheduling.Client.exe(10116:29),Execution] ProcessManager.RefreshMachineStatusAsync() : Error trying to report to scheduling server: Fehler beim Senden der Anforderung.

 

 

I suspect that I missed a detail during the setup. Can someone help?

3 Answers, 1 is accepted

Sort by
0
Accepted
Elena
Telerik team
answered on 14 Jan 2021, 03:08 PM

Hello Sven,

I am sorry to hear you have encountered such troubles with setting up the Scheduling setup and will be happy to assist you with resolving these. 

Let me summarize the details you have listed:

  • There is a virtual machine, which hosts the Test Studio Runtime installation and the configured Scheduling and Storage services (using the default ports);
  • You are able to connect your local Test Studio project to the Scheduler machine, but cannot execute a test list remotely due to 'unhandled internal error'. 
  • The logging provided seems to be from your own local machine.

And based on these, there are few further topics to check on your end: 

  • You mentioned that the default ports - 8009, 8492 and 55555, are allowed in the firewall. Do you mean there are in- and outbound rules set in the firewall settings for these ports? 
    The reason to ask this is that, if the communication is restricted from the firewall, you are still able to connect the machines in the Scheduling configuration. But, these cannot communicate between each other before setting the specific rules to allow the usage of the mentioned ports in the firewall. 
  • If allowing the ports explicitly is not solving the issue, is it possible that an antivirus software could block the Test Studio components? Is it possible to disable it, just to sort out if this is the issue?
  • It looks like the virtual machine is in the same domain network. However, if this is not, you can use the IP addresses of the machines to connect these in the Scheduling configuration. 
  • Are there any specific network settings for the virtual machine - more specific, is there a load balancer in use? 
  • Can you generate the application log on the virtual machine while trying to execute a test list remotely? You can access this through the Execution server client on this machine. The log can be sent zipped via this thread. 

Please, take the time to check these suggestions in the order these are listed. I hope that the firewall rules will solve the misbehavior, but still listed the rest to continue the investigation if necessary. 

Do not hesitate to get back to me in case of any further queries. Thank you in advance for your time and cooperation.

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
0
Sven
Top achievements
Rank 1
Veteran
answered on 18 Jan 2021, 10:58 AM
Restarting everything (virtual machine, Telerik Execution server, Laptop, Telerik Client) resolved the issue.
0
Elena
Telerik team
answered on 18 Jan 2021, 04:46 PM

Hi Sven,

I am pleased to know that you managed to setup the Scheduling configuration and it works fine now. 

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Tags
General Discussions
Asked by
Sven
Top achievements
Rank 1
Veteran
Answers by
Elena
Telerik team
Sven
Top achievements
Rank 1
Veteran
Share this question
or