Are you using remoting in your tests?

On 11 October 2010 05:40, Mark Kharitonov <[email protected]> wrote:

> Dear ladies and sirs.
> We are lately experiencing strange crashes that abort the test
> execution.
> Here is the error message as found in the html report.
> Please, help me to solve this problem.
>
>
> #
> [warning] Watchdog timer expired!
> #
> [warning] Could not send Ping message to the remote host service.
> Details: Gallio.Runtime.Hosting.HostException: The remote host service
> threw an exception or could not be reached. --->
> System.Runtime.Remoting.RemotingException: Port is Busy: All pipe
> instances are busy.
>
>
> Server stack trace:
>   at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String
> portName, Boolean secure, TokenImpersonationLevel impersonationLevel,
> Int32 timeout)
>   at
> System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String
> portName, Boolean secure, TokenImpersonationLevel level, Int32
> timeout)
>   at
>
> System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.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 Gallio.Runtime.Hosting.IHostService.Ping()
>   at Gallio.Runtime.Hosting.RemoteHost.ProxyHostService.PingImpl() in
> c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runtime\Hosting
> \RemoteHost.cs:line 193
>   --- End of inner exception stack trace ---
>   at Gallio.Runtime.Hosting.RemoteHost.ProxyHostService.PingImpl() in
> c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runtime\Hosting
> \RemoteHost.cs:line 197
>   at Gallio.Runtime.Hosting.BaseHostService.Ping() in c:\Server
> \Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runtime\Hosting
> \BaseHostService.cs:line 41
>   at Gallio.Runtime.Hosting.RemoteHost.PingTimerElapsed(Object state)
> in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runtime
> \Hosting\RemoteHost.cs:line 140
> #
> [info] Host stopped at 10/11/2010 2:17:19 AM.
> #
> [info] Host process exited with code: 0
> #
> [error] A fatal exception occurred while running tests.  Possible
> causes include invalid test runner parameters and stack overflows.
> Details: Gallio.Model.ModelException: An exception occurred while
> invoking a test driver. --->
> System.Runtime.Remoting.RemotingException: Failed to connect to an IPC
> Port: The system cannot find the file specified.
>
>
> Server stack trace:
>   at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String
> portName, Boolean secure, TokenImpersonationLevel impersonationLevel,
> Int32 timeout)
>   at
> System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String
> portName, Boolean secure, TokenImpersonationLevel level, Int32
> timeout)
>   at
>
> System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.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
> Gallio.Model.Isolation.HostedTestIsolationContext.Shim.Shutdown()
>   at
>
> Gallio.Model.Isolation.HostedTestIsolationContext.RunIsolatedTaskInHost[TIsolatedTask]
> (HostSetup hostSetup, StatusReporter statusReporter, Object[] args) in
> c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Model\Isolation
> \HostedTestIsolationContext.cs:line 149
>   at
>
> Gallio.Model.Isolation.HostedTestIsolationContext.RunIsolatedTaskImpl[TIsolatedTask]
> (HostSetup hostSetup, StatusReporter statusReporter, Object[] args) in
> c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Model\Isolation
> \HostedTestIsolationContext.cs:line 93
>   at
>
> Gallio.Model.Isolation.BaseTestIsolationContext.RunIsolatedTask[TIsolatedTask]
> (HostSetup hostSetup, StatusReporter statusReporter, Object[] args) in
> c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Model\Isolation
> \BaseTestIsolationContext.cs:line 59
>   at
> Gallio.Model.DotNetTestDriver.ExploreOrRunAssembly(ITestIsolationContext
> testIsolationContext, TestPackage testPackage, TestExplorationOptions
> testExplorationOptions, TestExecutionOptions testExecutionOptions,
> RemoteMessageSink remoteMessageSink, IProgressMonitor progressMonitor,
> String taskName, FileInfo file) in c:\Server\Projects\MbUnit v3.2\Work
> \src\Gallio\Gallio\Model\DotNetTestDriver.cs:line 196
>   at Gallio.Model.DotNetTestDriver.ExploreOrRun(ITestIsolationContext
> testIsolationContext, TestPackage testPackage, TestExplorationOptions
> testExplorationOptions, TestExecutionOptions testExecutionOptions,
> IMessageSink messageSink, IProgressMonitor progressMonitor, String
> taskName) in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio
> \Model\DotNetTestDriver.cs:line 163
>   at Gallio.Model.DotNetTestDriver.RunImpl(ITestIsolationContext
> testIsolationContext, TestPackage testPackage, TestExplorationOptions
> testExplorationOptions, TestExecutionOptions testExecutionOptions,
> IMessageSink messageSink, IProgressMonitor progressMonitor) in c:
> \Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Model
> \DotNetTestDriver.cs:line 148
>   at Gallio.Model.BaseTestDriver.Run(ITestIsolationContext
> testIsolationContext, TestPackage testPackage, TestExplorationOptions
> testExplorationOptions, TestExecutionOptions testExecutionOptions,
> IMessageSink messageSink, IProgressMonitor progressMonitor) in c:
> \Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Model
> \BaseTestDriver.cs:line 94
>   at
>
> Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.<>c__DisplayClass1f.<RunImpl>b__1d(ITestDriver
> driver, IList`1 items, Int32 driverCount) in c:\Server\Projects\MbUnit
> v3.2\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line
> 463
>   at
>
> Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver[T]
> (MultiMap`2 testFrameworkPartitions, Func`4 func) in c:\Server\Projects
> \MbUnit v3.2\Work\src\Gallio\Gallio\Model
> \DefaultTestFrameworkManager.cs:line 525
>   --- End of inner exception stack trace ---
>   at
>
> Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver[T]
> (MultiMap`2 testFrameworkPartitions, Func`4 func) in c:\Server\Projects
> \MbUnit v3.2\Work\src\Gallio\Gallio\Model
> \DefaultTestFrameworkManager.cs:line 531
>   at
>
> Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.RunImpl(ITestIsolationContext
> testIsolationContext, TestPackage testPackage, TestExplorationOptions
> testExplorationOptions, TestExecutionOptions testExecutionOptions,
> IMessageSink messageSink, IProgressMonitor progressMonitor) in c:
> \Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Model
> \DefaultTestFrameworkManager.cs:line 458
>   at Gallio.Model.BaseTestDriver.Run(ITestIsolationContext
> testIsolationContext, TestPackage testPackage, TestExplorationOptions
> testExplorationOptions, TestExecutionOptions testExecutionOptions,
> IMessageSink messageSink, IProgressMonitor progressMonitor) in c:
> \Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Model
> \BaseTestDriver.cs:line 94
>   at Gallio.Runner.DefaultTestRunner.Run(TestPackage testPackage,
> TestExplorationOptions testExplorationOptions, TestExecutionOptions
> testExecutionOptions, IProgressMonitor progressMonitor) in c:\Server
> \Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runner
> \DefaultTestRunner.cs:line 314
>
> --
> You received this message because you are subscribed to the Google Groups
> "MbUnit.User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<mbunituser%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/mbunituser?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mbunituser?hl=en.

Reply via email to