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

Scheduling Server Config

40 Answers 684 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 16 Aug 2013, 03:39 PM
Hi,

In the previous version of Test Studio, we had specified a network path for the project source location as per the instructions in the 2012 R2 and Earlier section here http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/scheduling-test-runs/connect-a-project-to-a-scheduling-server.aspx

I can't find this option in the 2013 R1 version.

As you can see in the attached "UploadingToWhere" screen capture, it just sticks on this screen for about 10 - 15 minutes and eventually throws an error as per attached "RemoteTestExecutionError". After which it just checks out 100s of files, disconnects the project from source control and I have to go through the painful opening procedure again.

I have tried re-installing the scheduling server and followed the instructions in the online documentation and everything appears to be connected fine ( we have 1 x scheduling and execution server, 1 x execution server only ) and both these machines are displayed as options to run test lists against.  Tests also run fine on these machines via the command line so I have worked around the issue at the moment by setting up a batch file to run theses test lists and using windows task scheduler to schedule them, however I would really like to use the Telerik scheduler again.

Please advise

Thanks
Shane
 

40 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 20 Aug 2013, 03:56 PM
Could we get an answer on this?

I am facing a similar situation.  However, in my case it only takes about 10-15 seconds before the unhandled exception error appears.

We are using 2013 version and have not yet been able to get any remote test execution to succeed.

Shane - sorry I don't have anything helpful but I wanted to add to this thread since you are not the only one having an issue with this.


Best Regards,
Kevin
0
Shane
Top achievements
Rank 1
answered on 21 Aug 2013, 09:37 AM
Hi Kevin,

Thanks for adding to the post, I guess the more people who report the issue the higher up the priority list it will get :)
0
Velin Koychev
Telerik team
answered on 21 Aug 2013, 02:01 PM
Hello,

We’re aware of the issues during test list execution and our developers are working hard to fix them as soon as possible. Note that at the end of this week or early next week, we will release an internal build which includes many bug fixes in test list execution.

If you could send us the Application Log, we can try to help you resolve your issue. Ensure you enable logging first (clear out existing log, then reproduce the issue) and send us the log within a .zip file. 
Also, please let us know whether this error occurs when you have connected locally or remotely.

Thank you for your understanding.

Regards,
Velin Koychev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 21 Aug 2013, 03:45 PM
Hello Velin,

I have attached a log to this post that has the error I encounter when trying to run a test list remotely.  In my case, I can run the test list if I just click the "Run List" button.  The problem comes up when I use the "Run List Remotely" button.  After selecting the test execution machine the popup with the "Running test list failed internally due to unhandled error" message.


Best Regards,
Kevin
0
Shane
Top achievements
Rank 1
answered on 21 Aug 2013, 04:03 PM
Hi Velin,

Please find attached my application log file as requested.

It happens when executing remotely.

Thanks
Shane
0
Velin Koychev
Telerik team
answered on 23 Aug 2013, 12:59 PM
Hi,

@ Shane - From your log file I can see that you are having some issue with your TFS settings:
EXCEPTION! (see below)
     Situation: Exception while checking out file
     Outer Exception Type: System.ArgumentException
     Message: Both a local path and a remote path must be specified to create a new source control repository mapping

As you can see, there is an issue with the source control mapping. You can try to fix the mapping using Visual Studio. 
As a last option, you can try another approach:
1) Move all of your files in another folder and delete the previous folder
2) Open the project from TFS 

The idea is to start from scratch and hopefully this should fix this issue. 

@ Kevin - Open the Windows Task Manager and verify that in the Services tab  both Telerik Scheduling Service and Telerik Storage Service are running. Also in the Process tab, End the Telerik.TestStudio.Schedulin.Client.exe and after that start it again from the C:\Program Files (x86)\Telerik\Test Studio\Bin

And as I said before, make sure you try our internal build which we release early next week and has many bug fixes on test list execution.

Let me know if this helps.

Regards,
Velin Koychev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amanda
Top achievements
Rank 1
answered on 27 Aug 2013, 04:36 PM
Hi Velin,

I just downloaded the latest internal build and still can't connect to the scheduling service.  When I try to connect via the connection tool I get the error "Can't connect to schduleing service".  The log file shows the same error as Kevin is getting.

08/27 11:30:46,Telerik.TestStudio.exe(3640:1),Execution] ConnectClientToServerViewModel.ValidateSchedulingServerAsync() : EXCEPTION! (see below)
     Outer Exception Type: System.Net.Http.HttpRequestException
     Message: Response status code does not indicate success: 400 (Bad Request).
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          Server stack trace:
          at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__24`1.MoveNext()
          Exception rethrown at [0]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__10`1.MoveNext()
          Exception rethrown at [1]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Ping>d__3.MoveNext()
          Exception rethrown at [2]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at ArtOfTest.WebAii.Design.UI.Scheduling.Models.ConnectClientToServerViewModel.<ValidateSchedulingServerAsync>d__0.MoveNext()

 


Thanks,
Amanda
0
Kevin
Top achievements
Rank 1
answered on 28 Aug 2013, 07:55 PM
Hi Amanda,

Thanks for updating the thread.  In a way, I'm glad I'm not the only one having this issue.

Telerik team,

Is there a way to bypass the UI for scheduling test lists and do that part through scripting (such as PowerShell or something else)?  Would that help us avoid the scheduling troubles we've encountered?


Best Regards,
Kevin
0
Cody
Telerik team
answered on 03 Sep 2013, 02:31 PM
Hi,

@Kevin
Is there a way to bypass the UI for scheduling test lists and do that part through scripting...

No I am sorry. We do not provide a mechanism for command line scheduling.

@Kevin and Amanda
We have never seen this error before and have no idea what could be causing it:
Response status code does not indicate success: 400 (Bad Request).

I'd like to look at this problem on your computers (separately) via GoToMeeting. Let me know what time zone you are in and your availability and I'll setup the meeting. I'm in Austin, TX which is Central Time (GMT -6).

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 04 Sep 2013, 12:35 PM
Hello Cody,

We currently have someone on site doing training with us on Test Studio.  Due to this my short-term availability is limited.  Depending on how my schedule shapes up I may have some time later in the week.

We are also planning on looking at remote test list scheduling during the training.  Hopefully this will resolve our issue.  If it does I'll update this thread with how we resolved it.


Best Regards,
Kevin H.
0
Cody
Telerik team
answered on 04 Sep 2013, 02:12 PM
Hi Kevin,

Thank you for the update. We, the technical support team, will standby to assist if/where needed.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
K
Top achievements
Rank 1
answered on 04 Sep 2013, 03:38 PM
Where do I go to get a copy of the internal build?

>>> I found it dated 8/27/13 is this the latest version?
0
Cody
Telerik team
answered on 04 Sep 2013, 03:51 PM
Hello,

It's located in the Internal Builds section of our website, which you can get to once you're logged in to your Telerik.com account.

Yes that is the latest version available. I am glad you found it!

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 09 Sep 2013, 01:48 PM
Hello Cody,

We were not able to resolve the issue during the training we had on-site.  Let's go ahead and set up a meeting for you to look at our machines.

For myself and a colleague who will be at the meeting on our end Tuesday is a good day for us.  We are both open in the afternoon until about 4pm.  We are also in the Central Time zone (in Saint Louis, MO).


Best Regards,
Kevin H.
0
Cody
Telerik team
answered on 09 Sep 2013, 02:30 PM
Hello Kevin,

Ok, let's target tomorrow at 2pm:

1.  Please join my meeting, Tuesday, September 10, 2013 at 2:00 PM Central Daylight Time.
https://global.gotomeeting.com/join/336255789

2.  Use your microphone and speakers (VoIP) - a headset is recommended.  Or, call in using your telephone.

Dial +1 (312) 878-3081
Access Code: 336-255-789
Audio PIN: Shown after joining the meeting

Meeting ID: 336-255-789


Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 09 Sep 2013, 03:02 PM
Thanks, Cody.

We have this on our schedules.  I look forward to working with you on this.


Best Regards,
Kevin H.
0
Amanda
Top achievements
Rank 1
answered on 10 Sep 2013, 03:20 PM
Hi Cody,

Sorry to take so long to get back to you.  Were you and Kevin able to resolve the issue yesterday in your meeting?  Did you still want to set something up with me?

Amanda
0
Cody
Telerik team
answered on 10 Sep 2013, 04:00 PM
Hi Amanda,

The meeting with Kevin has not happened (yet) so obviously no resolution yet. It is scheduled for later today, and I most certainly will update this thread with our results, either good or bad.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amanda
Top achievements
Rank 1
answered on 10 Sep 2013, 04:31 PM
Ah sorry...had my dates mixed up.  Thanks for the update and look forward to hearing what the results is. 
0
Cody
Telerik team
answered on 10 Sep 2013, 08:02 PM
Hello Kevin,

What we discovered is that your tests want to pull from TFS, but Team Explorer was not installed on the Scheduler server machine for Test Studio to use. This is required on all machines now when you want your test lists to pull from TFS source control:

  • Test Studio client computer
  • Scheduler server
  • Execution server

Let us know your results after installing Team Explorer.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amanda
Top achievements
Rank 1
answered on 10 Sep 2013, 08:05 PM
Cody,

We do not pull our test from TFS, does Team Explorer need to still be installed even if you don't use TFS?

Amanda
0
Cody
Telerik team
answered on 10 Sep 2013, 08:34 PM
Hi Amanda,

We can find out if it's a problem in your environment by turning on logging in your Scheduling server and see what it says when the error happens. Please enable logging following these directions (setting a registry key) and let's see what your log reports.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amanda
Top achievements
Rank 1
answered on 10 Sep 2013, 09:02 PM
Here is what the logs say....

[09/10 16:55:29,Telerik.TestStudio.Scheduling.WindowsService.exe(3568:4)] First trace message from process 3568: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.Scheduling.WindowsService.exe"
[09/10 16:55:29,Telerik.TestStudio.Scheduling.WindowsService.exe(3568:4)] First trace message from pool unnamed thread (managed ID = 4, native ID = 4000).
[09/10 16:55:29,Telerik.TestStudio.Scheduling.WindowsService.exe(3568:4),Uncategorized] ConfigUpdater.UpdateConfig() : Configuration file read from "C:\Documents and Settings\All Users\Application Data\Telerik\Configs\Telerik.TestStudio.Scheduling.WindowsService.exe.Config".
[09/10 16:55:30,Telerik.TestStudio.Scheduling.WindowsService.exe(3568:4),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function Start -------
[09/10 16:55:30,Telerik.TestStudio.Scheduling.WindowsService.exe(3568:4),Uncategorized] Loader.LoadTranslatorGroups() : Translators Directory is : C:\Program Files (x86)\Telerik\Test Studio\Bin\Translators
[09/10 16:55:31,Telerik.TestStudio.Scheduling.WindowsService.exe(3568:4),Uncategorized] Loader.LoadTranslatorGroups() : ------- Function End -------

0
Cody
Telerik team
answered on 10 Sep 2013, 10:13 PM
Hi Amanda,

Thanks for the log. All it shows is the Telerik scheduling service started. No error of any type, it doesn't even show any attempt to run a test list remotely. Did you reproduce the error after enabling the log?

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amanda
Top achievements
Rank 1
answered on 11 Sep 2013, 03:05 PM
Hi Cody,

It never connects to the scheduling service so I can't connect to run a test remotely (see error below).  Everything is set up the exact same way it was for the older version of Test Studio so not sure why it can't connect in this latest version.

[09/11 09:27:46,Telerik.TestStudio.exe(3328:1),Execution] ConnectClientToServerViewModel.ValidateSchedulingServerAsync() : EXCEPTION! (see below)
     Outer Exception Type: System.Net.Http.HttpRequestException
     Message: Response status code does not indicate success: 400 (Bad Request).
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          Server stack trace:
          at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__24`1.MoveNext()
          Exception rethrown at [0]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__10`1.MoveNext()
          Exception rethrown at [1]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Ping>d__3.MoveNext()
          Exception rethrown at [2]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at ArtOfTest.WebAii.Design.UI.Scheduling.Models.ConnectClientToServerViewModel.<ValidateSchedulingServerAsync>d__0.MoveNext()

[09/11 09:27:55,Telerik.TestStudio.exe(3328:11)] First trace message from foreground unnamed thread (managed ID = 11, native ID = 7432).
[09/11 09:27:55,Telerik.TestStudio.exe(3328:11),TestStudio] StandaloneHost.LoadResults() : ------- Function Start -------
[09/11 09:27:55,Telerik.TestStudio.exe(3328:11),Uncategorized] MainWindow.LogMessage() : Partially Loading '163' results..
[09/11 09:27:55,Telerik.TestStudio.exe(3328:11),TestStudio] SerializerService.<GetSettings>b__2() : Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
0
Kevin
Top achievements
Rank 1
answered on 11 Sep 2013, 05:07 PM
Hi Cody,

Unfortunately, installing the TFS client has not resolved our issues fully.  As we discussed on the call some of the noise from the TFS components has been reduced.  But, remote execution is still failing with the unhandled exception.

Following the installation of the TFS client (on both the scheduling server and the execution server) we observed what appeared to be access/permissions problems for, at different times, both the Scheduling Storage service and the TFS project.

Given our setup (Test Studio desktops, a scheduling server, an execution server and projects under TFS source control) which account(s) should be used to control the services on the scheduling and execution servers?  What permissions does it require to the scheduling/execution database?  And to the TFS project?

I have also attached the latest logs I have gotten from a colleague who is working with me on this.


Best Regards,
Kevin H.
0
Cody
Telerik team
answered on 12 Sep 2013, 10:04 PM
Hello Kevin,

Given our setup (Test Studio desktops, a scheduling server, an execution server and projects under TFS source control) which account(s) should be used to control the services on the scheduling and execution servers?  What permissions does it require to the scheduling/execution database?  And to the TFS project?

I just realized that the Telerik scheduling server should be using an account with TFS access permission. The default is for our service to run under "Local System". Usually this local only account will not have permission to access TFS. Our scheduling server requires the ability to get at TFS so it can get the files from the source control repository to be used during the test run.

So, please configure our service, "Telerik Scheduling Service" to login to a specific account (instead of Local System) that you know has TFS access permission.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 13 Sep 2013, 03:58 PM
Hello Cody,

We figured that to be the case and set things up that way shortly after the meeting we had with you.  Unfortunately, we are still not able to run tests remotely.

Have you had an opportunity to review the logs I attached to my previous post?


Best Regards,
Kevin H.
0
Cody
Telerik team
answered on 13 Sep 2013, 09:57 PM
Hello Kevin,

I did but they don't reveal anything useful. All they give us is:

  • Message: Response status code does not indicate success: 500 (Internal Server Error).
  • [09/11 09:44:50,Telerik.TestStudio.ExecutionManagerService.exe(1816:43),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
  • [09/11 09:44:53,Telerik.TestStudio.ExecutionManagerService.exe(1816:60),Execution] JobsController.CreateNewJob() : Unable to create a new job.

There's no exception, no stack trace on the scheduling server side to help identify why it was unable to do those things.

On Wednesday we released service pack 1. Would you mind upgrading all machines to this new build (which does contain hundreds of bug fixes) and see if that helps?
  1. Stop all Telerik services
  2. Run the installer
  3. Restart services, if not started by the installer
  4. Try Run List Remotely again

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amanda
Top achievements
Rank 1
answered on 23 Sep 2013, 04:23 PM
Hi,

Has there been any progress on this issue?   I updated to the latest version and I'm still experiencing issues with running test remotely.  With the new version I am able to connect to the scheduling service, but none of my test run on the remote computer.  If I try to rerun the test, Test studio will crash.  Attached are the Test Studio Logs and the Scheduling Serive logs.
0
Kevin
Top achievements
Rank 1
answered on 24 Sep 2013, 01:17 PM
Hi Amanda,

We are still researching the issue at our site.  Unfortunately, there has not been a resolution yet.  Once we work it out I will post something here.


Best Regards,
Kevin H.
0
Cody
Telerik team
answered on 26 Sep 2013, 07:25 PM
Hi Amanda,

Looking through your logs I am seeing a lot of these while Test Studio is trying to load the results:

[09/23 11:16:00,Telerik.TestStudio.exe(9976:24),TestStudio] SerializerService.<GetSettings>b__2() : Unexpected character encountered while parsing value: <. Path '', line 0, position 0.


This is followed by:

Outer Exception Type: System.OutOfMemoryException

This indicates there is something wrong with the results stored in the Results folder of the test project. What happens if you delete or move all the results out of the Results folder? Do things get better?

There is nothing abnormal in the scheduling service log.

Since your problem appears to be different than Kevin's perhaps it makes sense to split this into a new support ticket so we can track is separately.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amanda
Top achievements
Rank 1
answered on 26 Sep 2013, 08:25 PM
I deleted all my Results and am no longer seeing that error, but my test still do not run on my remote VM.  Here is a screencast showing you that I'm connecting to the VM, nothing happens and the logs look clean

http://screencast.com/t/1DQIjmio4hsW

It may not be useful, but I'm not sure what is going on because there are no errors and in the previous version of Test Studio I had no problems with this feature

Thanks,
Amanda
0
Cody
Telerik team
answered on 27 Sep 2013, 08:49 PM
Hello Amanda,

I split your issue into a separate support ticket to give it better attention.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Lucie
Top achievements
Rank 1
answered on 15 May 2014, 12:05 PM
Hi Cody,

I have the same issue with running testlist remotely. I have instaled the latest version of Telerik Studio Ultimate 2014.1 410. I have everything (scheduling, execution server) set up correctly. When I run testlist remotely, it is displayed error "Running test list failed internally due to unhandled error". In the log file on the Execution server is this:

[05/15 10:52:57,Telerik.TestStudio.ExecutionManagerService.exe(1324:5)] First trace message from process 1324: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.ExecutionManagerService.exe"
[05/15 10:52:57,Telerik.TestStudio.ExecutionManagerService.exe(1324:5)] First trace message from pool unnamed thread (managed ID = 5, native ID = 3488).
[05/15 10:52:57,Telerik.TestStudio.ExecutionManagerService.exe(1324:5),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 0e4c5d5b-d30b-4537-9867-c26fc9d40a53
[05/15 10:52:58,Telerik.TestStudio.ExecutionManagerService.exe(1324:20)] First trace message from pool unnamed thread (managed ID = 20, native ID = 4364).
[05/15 10:52:58,Telerik.TestStudio.ExecutionManagerService.exe(1324:20),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[05/15 10:52:59,Telerik.TestStudio.ExecutionManagerService.exe(1324:14)] First trace message from pool unnamed thread (managed ID = 14, native ID = 4608).
[05/15 10:52:59,Telerik.TestStudio.ExecutionManagerService.exe(1324:14),Execution] JobsController.CreateNewJob() : Unable to create a new job.
[05.15 11:25:44,Telerik.TestStudio.Scheduling.Client.exe(3168:15)] First trace message from process 3168: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.Scheduling.Client.exe"
[05.15 11:25:44,Telerik.TestStudio.Scheduling.Client.exe(3168:15)] First trace message from pool unnamed thread (managed ID = 15, native ID = 860).
[05.15 11:25:44,Telerik.TestStudio.Scheduling.Client.exe(3168:15),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Object reference not set to an instance of an object.
[05.15 11:25:44,Telerik.TestStudio.Scheduling.Client.exe(3168:15),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Object reference not set to an instance of an object.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()

[05.15 11:25:50,Telerik.TestStudio.Scheduling.Client.exe(3168:7)] First trace message from pool unnamed thread (managed ID = 7, native ID = 2072).
[05.15 11:25:50,Telerik.TestStudio.Scheduling.Client.exe(3168:7),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Object reference not set to an instance of an object.
[05.15 11:25:50,Telerik.TestStudio.Scheduling.Client.exe(3168:7),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Object reference not set to an instance of an object.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()



Have you solved this issue please?

Thanks,
Lucie
0
Boyan Boev
Telerik team
answered on 19 May 2014, 08:36 AM
Hi Lucie,

For remote execution to work, you’ll need to open ports 8009, 8492, 55555 and 8030-8039. Here are the services that use each port of each port per our documentation:

Opening the appropriate ports will usually resolve any connection failures messages. Let me know if you still receive the error after opening the ports. 

You can also temporary disable the firewall and antivirus software on the both machines.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Lucie
Top achievements
Rank 1
answered on 22 May 2014, 08:31 AM
Hi Boyan,

I have two machines. One machine is a workstation with Telerik Test Studio 2014 Ultimate and on the second machine are instaled SQL server, Storage server, Scheduling server and Execution server. Both machines are in the same network and firewall is disable on the both machines. On the both machines, there are not disable any ports. I checked communication on the ports from your documentation using the commands of telnet. All of the ports are open, but nevertheless the remote execution the testlist fails. When I run testlist remotely, it is displayed the same error "Running test list failed internally due to unhandled error". And in the log file on the Execution server is this:


[05/22 09:37:32,Telerik.TestStudio.ExecutionManagerService.exe(1720:18),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[05/22 09:37:32,Telerik.TestStudio.ExecutionManagerService.exe(1720:40),Execution] JobBroker.ctor() : Job runner refused this job!
[05.22 09:37:33,Telerik.TestStudio.Scheduling.Client.exe(4196:6),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Object reference not set to an instance of an object.
[05.22 09:37:33,Telerik.TestStudio.Scheduling.Client.exe(4196:6),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Object reference not set to an instance of an object.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()

[05.22 09:37:39,Telerik.TestStudio.Scheduling.Client.exe(4196:21),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Object reference not set to an instance of an object.
[05.22 09:37:39,Telerik.TestStudio.Scheduling.Client.exe(4196:21),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Object reference not set to an instance of an object.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()

[05/22 09:37:42,Telerik.TestStudio.ExecutionManagerService.exe(1720:31),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = f52e888f-7b77-4f2d-a986-27ecb9472baa
[05/22 09:37:42,Telerik.TestStudio.ExecutionManagerService.exe(1720:18),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[05/22 09:37:43,Telerik.TestStudio.ExecutionManagerService.exe(1720:16),Execution] JobsController.CreateNewJob() : Unable to create a new job.
[05.22 09:37:45,Telerik.TestStudio.Scheduling.Client.exe(4196:15),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Object reference not set to an instance of an object.
[05.22 09:37:45,Telerik.TestStudio.Scheduling.Client.exe(4196:15),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Object reference not set to an instance of an object.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()



Can you help me please? For the Sotrage server, I am using DB, which was made in the older version of Telerik Studio (2012.2 1204). Could it be the problem?

Thank you,
Lucie
0
Boyan Boev
Telerik team
answered on 26 May 2014, 11:11 AM
Hi Lucie,

I see this contained in the log you posted:

Unable to load test list, aborting run

1. Do you use TFS?

This indicates that test list you specified to execute is not contained in your TFS source control. If you specified to run test list "ABC" there should be a file named "ABC.aiilist" located in the TestLists folder of the project when looking at the project in your Source Control Explorer of Visual Studio. Is the list file there?

2. If this is not the case, please restart the scheduling and storage server on the second machine.

3. You can also disable your antivirus temporary.

4. As a last option I'd consider resetting the storage database. There are a couple of options:
  • Uninstall storage server then on new install create a new database (using new DB name) - see this article.
  • Delete the database manually from the SQL Management Studio
  • Update the storage config file by changing the name, the config is by default deployed at C:\Program Files (x86)\Telerik\Test Studio\StorageService\CloudStorageSelfHost.exe.Config 

Let me know if this helps.


Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Lucie
Top achievements
Rank 1
answered on 27 May 2014, 07:01 AM
Hi Boyan,

my issue is solved. It is necessary to config mapping of the directory with my Telerik project (with tests) to source control on the second machine (Execution Server). When I configured this mapping in Source Control and I ran the testlist remotely, so the test was started correctly on the Execution Server.

I have not found this necessary configuration in your documentation. It occurred to me when I read your last post, where you writes about using TFS.

Thank you for your help.
Lucie
0
Boyan Boev
Telerik team
answered on 27 May 2014, 07:18 AM
Hi Lucie,

I glad to hear that!

We will add this to our documentation.

If you need further help, please do not hesitate to contact us again.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Shane
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Shane
Top achievements
Rank 1
Velin Koychev
Telerik team
Amanda
Top achievements
Rank 1
Cody
Telerik team
K
Top achievements
Rank 1
Lucie
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or