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

Getting an error when trying to run test on remote execution server

9 Answers 352 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 14 Jul 2016, 08:28 PM

Hello,
I am trying to run a group of tests on a remote server.  I am have installed the runtime license on the remote server and have been able to connect to it.  When I try to run the test, I am getting an error stating unable run tests do to an internal error.  Below are the error from the logs.

 

[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 23753928-0663-4330-9ad2-ef48b3468fd2
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Use source control server: NO
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Project source location: C:\Program Files (x86)\Telerik\Test Studio\Test Studio Projects\random.org
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Windows\system32\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobsController.CreateNewJob() : Unable to create a new job.
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 6b655584-7418-436e-97f9-3846071c67f5
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Use source control server: NO
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Project source location: C:\Program Files (x86)\Telerik\Test Studio\Test Studio Projects\random.org
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Windows\system32\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobsController.CreateNewJob() : Unable to create a new job.

9 Answers, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 18 Jul 2016, 12:06 PM
Hello Sean,

Thank you for contacting us.

Which version of the product do you use?

What is your remote execution setup? Where are installed the scheduling and data servers?

Can you execute the same test list locally and if using the scheduling - locally?

Could you provide execution's machine log as well?

Try to restart scheduling service and to connect to the scheduling again.

I'm looking forward to hear from you.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Sean
Top achievements
Rank 1
answered on 20 Jul 2016, 08:37 PM

Which version of the product do you use?
I am using the latest version

What is your remote execution setup? Where are installed the scheduling and data servers?
I have a Windows Server 2012R2 VM with the runtime installed.  I am creating the tests locally, and trying to run the test on the VM.  I can connect to the VM just fine, but get an error when trying to run the tests on the VM.  I have a both scheduling and data servers on my local and VM.  I am connected to the VM as my scheduling server. Is there anything special I need to do for the data servers?

Can you execute the same test list locally and if using the scheduling - locally?
Yes, I can run the tests locally

Could you provide execution's machine log as well?
The logs are in my original post

Try to restart scheduling service and to connect to the scheduling again.
I have tried this and same results

Thanks,

Sean

0
Nikolay Petrov
Telerik team
answered on 21 Jul 2016, 11:39 AM
Hi Sean,

Please, upgrade to the latest internal build available. There are new features and some fixes available.

Clear first, try to run remotely the scheduled test list and send the application log to check it for exceptions also.

Just a quick setup overview - you have installed locally scheduling and data servers (at your machine - machine A). You want to run your test via Run-Time at VM (machine B). The machines have direct connection - no firewall or antivirus restrictions are applied. The setup you have to do at machine B is to install only the Run-Time execution (no scheduling or data servers needed).

Then, as I pointed out on the attached screenshot you have to connect the execution of the Run-Time to the scheduling of machine A.

You may use IPs instead of the URLs of the machines, as well.

If this setup is completed, all services are up and running you should be able to run remotely your tests.

Let me know if I missing something here and if this setup works for you.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Sean
Top achievements
Rank 1
answered on 27 Jul 2016, 07:45 PM

Nikolay,

This is still not working.

I have the Scheduling Server and Data Server installed on Machine A.  I have the Run-Time excuction installed on Machine B.  Machine B is connect to Machine A as you mention in the above post.  When I try to run the test on Machine B from Machine A I get the following error. " Scheduling Server at Machine A is reporting that it connot communicate with storage at Machine B."

 

Thanks,

Sean

 

 

0
Boyan Boev
Telerik team
answered on 01 Aug 2016, 11:43 AM
Hi Sean,

Please allow me to interject into this ticket since Nikolay is not out of the office.

You don't need a storage server at Machine B at all. Please run the configure scheduling server window again on your Machine A and make sure it points the storage on Machine A. Please click reset to default where it is possible and then Apply button.

You can send us also screen shots while doing this so we can double check everything is configured properly.

If that does not help please send us the application log of Machine A. Clear it first and reproduce the issue.

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Sean
Top achievements
Rank 1
answered on 03 Aug 2016, 06:49 PM

Hi Boyan, 

I did the following:

1. I reset the storage server and it is up and running.  I have attached a screenshot

2. When I try to connect to Machine B I get an error.  Screenshot attached

 

Thanks, 

Sean

 

0
Nikolay Petrov
Telerik team
answered on 08 Aug 2016, 11:56 AM
Hello Sean,

Thank you for the screenshots.

Please, setup the scheduling server at your localhost as I pointed out on the screenshot attached and click on "Connect" button.

Than you have to connect the remote execution to your machine as I pointed out on the screenshot from my first response. To do that - open your Run-Time on the remote machine and change the scheduling connection to point to your machine name or IP address. If all necessary ports are open and no other software is blocking the connection this will complete the remote run setup.

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
Sean
Top achievements
Rank 1
answered on 12 Aug 2016, 07:06 PM

Nikolay, 

I did exactly what you stated above.  Now when I try to run the tests, 'Run List Remotely' link is grayed out.

Thanks, 

Sean

0
Nikolay Petrov
Telerik team
answered on 17 Aug 2016, 02:32 PM
Hi Sean,

If you have scheduling service up and running, you did connect to it - than you have to click on the Test List that you have to execute to enable the 'Run List Remotely' option.

If this does not  help - run try to restart the Telerik Scheduling Service from Task Manager -> Services -> Open Services. Then connect to the scheduling again and try to run the test list.

Let me know if this solves the issue.

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
Sean
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Sean
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or