2

我们的问题有时是当我们用我们的 cuid 测试排队一个新的构建时,构建控制器变得“不可用”。然后我们必须登录构建控制器服务器并在 tfs 管理控制台中手动重新启动服务。这似乎是随机发生的。我已经搜索了互联网,但没有找到任何相关的答案。有些人认为防火墙或两张网卡可能是问题所在,但我们的情况并非如此。


事件查看器日志:

登录号 1.(QTController.exe,PID 1568,线程 21)ControllerSpooledJob.AddMessage: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在 Microsoft.VisualStudio.TestTools.Controller.ControllerSpooledJob 调用事件侦听器 Microsoft.VisualStudio.TestTools.Execution.RemoteObjectContainer 1.InvokeAsRemoteUser(Action`1 调用)失败。 AddMessage(TestMessage 消息)


登录号 2. (QTController.exe, PID 1568, Thread 46) 用户不在管理员组中。


登录号 3. (QTController.exe, PID 1568, Thread 46) ControllerExecution: ReverseDeploymentComplete 期间错误的运行状态: Microsoft.VisualStudio.TestTools.Exceptions.EqtException: Expected state Completing, but actual state is Disposed at Microsoft.VisualStudio.TestTools.Common.StateMachine `1.在 Microsoft.VisualStudio.TestTools.Controller.ControllerExecution.ReverseDeploymentComplete(Guid runId,FileCopyFinishedReason 原因)处验证(预期的 StateEnum)

任何有关此问题的建议、想法或经验将不胜感激。

4

0 回答 0