运行Visual Studio加载测试时机器重新启动

时间:2017-05-24 22:32:47

标签: c# .net performance visual-studio visual-studio-2015

我有一个负载测试装置,它由一个控制器和20个代理组成,当使用VS 2015或VS 2017运行负载测试时,我重新启动机器,我唯一能得到的错误是下面的那个:

The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

(devenv.exe, PID 4964, Thread 43) ControllerProxy: Queue test run error: Microsoft.VisualStudio.TestTools.Exceptions.RigExecutionException: Test run 'user@machinename datetime' could not be executed on controller controller. No agents are marked online to execute test run.

Server stack trace: 
   at Microsoft.VisualStudio.TestTools.Controller.ControllerObject.QueueTestRun(TestRun testRun, FileCopyService fileCopyService, IControllerEvents eventHandler)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.VisualStudio.TestTools.Controller.IControllerExecution.QueueTestRun(TestRun testRun, FileCopyService fileCopyService, IControllerEvents eventHandler)
   at Microsoft.VisualStudio.TestTools.TestManagement.ControllerProxy.QueueTestRunWorker(Object state)

the message resource is present but the message is not found in the string/message table

但是,在检查VS中代理的状态时,我可以看到所有代理都处于联机状态。

我知道为什么我要让Windows重启运行VS? 我启用了测试控制器的日志,我也看不到日志中的任何错误。

0 个答案:

没有答案