我们的问题有时当我们使用我们的cuid测试对新构建进行排队时,构建控制器变得“不可用”。然后我们必须登录构建控制器服务器并在tfs管理控制台中手动重启服务。这似乎是随机发生的。我在互联网上搜索但没有找到任何相关的答案。 有人认为防火墙或两张尼克卡可能是问题,但不是我们的情况。
Logentry nr。 1.(QTController.exe,PID 1568,Thread 21) ControllerSpooledJob.AddMessage:调用事件侦听器失败 Microsoft.VisualStudio.TestTools.Execution.RemoteObjectContainer
1[Microsoft.VisualStudio.TestTools.Controller.IControllerEvents]: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 110.11.170.140:2451 Server stack trace: at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port) at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family) at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket() at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket() at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew) at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream) at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.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.IControllerEvents.ControllerEvent(TestMessage report) at Microsoft.VisualStudio.TestTools.Controller.ControllerSpooledJob.<>c__DisplayClass6.<AddMessage>b__3(IControllerEvents eventListener) at Microsoft.VisualStudio.TestTools.Execution.RemoteObjectContainer
1.InvokeAsRemoteUser(Action`1 调用) 在Microsoft.VisualStudio.TestTools.Controller.ControllerSpooledJob.AddMessage(TestMessage) 消息)
Logentry nr。 2.(QTController.exe,PID 1568,Thread 46)用户不在 管理员组。
Logentry nr。 3.(QTController.exe,PID 1568,Thread 46) ControllerExecution:ReverseDeploymentComplete期间错误的运行状态: Microsoft.VisualStudio.TestTools.Exceptions.EqtException:预期 州完成,但实际状态为已处置 在Microsoft.VisualStudio.TestTools.Common.StateMachine`1.Verify(StateEnum) 预期) 在Microsoft.VisualStudio.TestTools.Controller.ControllerExecution.ReverseDeploymentComplete(Guid) runId,FileCopyFinishedReason reason)
有关此问题的任何建议,想法或经验将不胜感激。