← Back to team overview

nunit-core team mailing list archive

[Bug 920463] [NEW] SocketException thrown at ProcessRunner.Dispose

 

Public bug reported:

Using v2.6.0.12017, we're receiving socket exceptions after the unit
tests have completed their execution.  This is causing our continuous
integration tests to fail even though the unit tests have successfully
executed.


Tests run: 12, Errors: 0, Failures: 0, Inconclusive: 0, Time: 2.187514 seconds
           Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
         
         Unhandled Exception:
         System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
         
         Server stack trace: 
            at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
            at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
            at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
            at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
            at System.Runtime.Remoting.Channels.Tcp.TcpFixedLengthReadingStream.Read(Byte[] buffer, Int32 offset, Int32 count)
            at System.IO.BinaryReader.ReadBytes(Int32 count)
            at System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Read(__BinaryParser input)
            at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadSerializationHeaderRecord()
            at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
            at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
            at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
            at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryResponseMessage(Stream inputStream, IMethodCallMessage reqMsg, Boolean bStrictBinding)
            at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.DeserializeMessage(IMethodCallMessage mcm, ITransportHeaders headers, Stream stream)
            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 NUnit.Core.TestAgent.Stop()
            at NUnit.Util.ProcessRunner.Dispose()
            at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
            at NUnit.ConsoleRunner.Runner.Main(String[] args)
     1><msbuild.xml(175,5)>: error MSB6006: "nunit-console-x86.exe" exited with code -100.
     1>Done Building Project "<http://hudson.oak.fg.rbc.com/job/Velocity%20Continuous%20Integration/ws/trunk\Rbc.Hollywood\build\msbuild.xml";> (IntBuild target(s)) -- FAILED.

** Affects: nunitv2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/920463

Title:
  SocketException thrown at ProcessRunner.Dispose

Status in NUnit V2 Test Framework:
  New

Bug description:
  Using v2.6.0.12017, we're receiving socket exceptions after the unit
  tests have completed their execution.  This is causing our continuous
  integration tests to fail even though the unit tests have successfully
  executed.

  
  Tests run: 12, Errors: 0, Failures: 0, Inconclusive: 0, Time: 2.187514 seconds
             Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
           
           Unhandled Exception:
           System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
           
           Server stack trace: 
              at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
              at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
              at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
              at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
              at System.Runtime.Remoting.Channels.Tcp.TcpFixedLengthReadingStream.Read(Byte[] buffer, Int32 offset, Int32 count)
              at System.IO.BinaryReader.ReadBytes(Int32 count)
              at System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Read(__BinaryParser input)
              at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadSerializationHeaderRecord()
              at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
              at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
              at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
              at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryResponseMessage(Stream inputStream, IMethodCallMessage reqMsg, Boolean bStrictBinding)
              at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.DeserializeMessage(IMethodCallMessage mcm, ITransportHeaders headers, Stream stream)
              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 NUnit.Core.TestAgent.Stop()
              at NUnit.Util.ProcessRunner.Dispose()
              at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
              at NUnit.ConsoleRunner.Runner.Main(String[] args)
       1><msbuild.xml(175,5)>: error MSB6006: "nunit-console-x86.exe" exited with code -100.
       1>Done Building Project "<http://hudson.oak.fg.rbc.com/job/Velocity%20Continuous%20Integration/ws/trunk\Rbc.Hollywood\build\msbuild.xml";> (IntBuild target(s)) -- FAILED.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/920463/+subscriptions


Follow ups

References