While running simple NUnit tests in Jenkins came upon this:
[exec] ProcessModel: Default DomainUsage: Multiple [exec] Execution Runtime: v4.0 [exec] Excluded categories: not Exclude [exec] Process is terminated due to StackOverflowException. [exec] Unhandled Exception: [exec] System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:60606 [exec] Server stack trace: [exec] at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) [exec] at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) [exec] at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint) [exec] at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket() [exec] at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew) [exec] at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream) [exec] at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) [exec] at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) [exec] Exception rethrown at [0]: [exec] at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) [exec] at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) [exec] at System.IDisposable.Dispose() [exec] at NUnit.Core.ProxyTestRunner.Dispose() [exec] at NUnit.Util.ProcessRunner.Dispose() [exec] at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options) [exec] at NUnit.ConsoleRunner.Runner.Main(String[] args)
I've never seen this before. The only thing different from this test and all my others is I'm using Moq. No network activity of any kind.