ayezutov/NDistribUnit — Issue #68: [BUG]: Exception, when agent is stopped by timeout
Author: ayezutov
Created: 2012-01-29 10:23:45+00:00
State: open

Test run was finished12:37:25:421572: Error: An error occurred while running bootstrapped program
System.CannotUnloadAppDomainException
Error while unloading appdomain. (Exception from HRESULT: 0x80131015)
at System.AppDomain.Unload(AppDomain domain)
at NDistribUnit.Bootstrapper.BootstrapperProgram.Run()

12:39:19:240280: Error: An error occurred while running tests
System.Threading.ThreadAbortException
Thread was being aborted.
at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFl
ags)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& error
Code)
at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Bool
ean closing)
at System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.SingletonConnectionReader.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.StreamedFramingRequestChannel.StreamedFramingRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Objec
t[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime op
eration)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NDistribUnit.Common.Contracts.ServiceContracts.IServer.RunTests(TestRun run)
at NDistribUnit.Common.Client.Client.<>c__DisplayClass5.b__3() in D:\work\personal\NDistribUnit\source\code\NDistrib
Unit.Common\Client\Client.cs:line 161