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