Hi All,
I'm using Telerik testing framework to automate WPF application tests for quite some time (3 years). All the time as of version 2012.2.1204. It's an old one, but the most stable so far. I was trying to update to some latest 2015, but there is a critical bug, that I will clarify separately.
So this version is quite stable, except one issue that we've been experiencing from time to time. Lately, it's started happening every night and creates a real problem. We have several sets of tests running every night. Each set has approximately 20 tests of 2-7 minutes each. At the middle of a test (different test all the time), the tests stop running with the exception below. Even NUnit timeout attribute in tests with the value of 10 minutes doesn't help. All tests are hung with a circle of exceptions until TeamCity stops it.
Could you advise what might be wrong and what can I do to avoid this exception and make test running smoothly?
Thank you.
Thread id=4684
M-->U
[IL Method without Metadata]
at System.IO.Pipes.PipeStream.WriteFileNative(Microsoft.Win32.SafeHandles.SafePipeHandle handle, System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.Threading.NativeOverlapped* overlapped, System.Int32& hr)
at System.IO.Pipes.PipeStream.WriteCore(System.Byte[] buffer, System.Int32 offset, System.Int32 count)
at System.IO.Pipes.PipeStream.Write(System.Byte[] buffer, System.Int32 offset, System.Int32 count)
at Telerik.TestingFramework.WpfExtension.WpfCommunication._browserRemoteClient_BrowserRequest(System.Object sender, ArtOfTest.WebAii.EventsArgs.BrowserCommandEventArgs e)
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ProcessBrowserRequest(System.Object sender, ArtOfTest.WebAii.EventsArgs.BrowserCommandEventArgs e)
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ListenThreadEntry(System.Object objParam)
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object state)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
at System.Threading.ThreadHelper.ThreadStart(System.Object obj)
U-->M
Thread id=7984
at System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.Int64 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(System.Int32 millisecondsTimeout, System.Boolean exitContext)
at System.Threading.WaitHandle.WaitOne()
at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.AsyncPipeRead(System.IO.Pipes.PipeStream pipe, System.Byte[] bytes, System.Int32 offset, System.Int32 count)
at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.ReadCommandFromPipe<ArtOfTest.WebAii.Messaging.Process.PipeCommand>(System.IO.Pipes.PipeStream pipe)
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ListenThreadEntry(System.Object objParam)
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object state)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
at System.Threading.ThreadHelper.ThreadStart(System.Object obj)
U-->M
I'm using Telerik testing framework to automate WPF application tests for quite some time (3 years). All the time as of version 2012.2.1204. It's an old one, but the most stable so far. I was trying to update to some latest 2015, but there is a critical bug, that I will clarify separately.
So this version is quite stable, except one issue that we've been experiencing from time to time. Lately, it's started happening every night and creates a real problem. We have several sets of tests running every night. Each set has approximately 20 tests of 2-7 minutes each. At the middle of a test (different test all the time), the tests stop running with the exception below. Even NUnit timeout attribute in tests with the value of 10 minutes doesn't help. All tests are hung with a circle of exceptions until TeamCity stops it.
Could you advise what might be wrong and what can I do to avoid this exception and make test running smoothly?
Thank you.
Thread id=4684
M-->U
[IL Method without Metadata]
at System.IO.Pipes.PipeStream.WriteFileNative(Microsoft.Win32.SafeHandles.SafePipeHandle handle, System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.Threading.NativeOverlapped* overlapped, System.Int32& hr)
at System.IO.Pipes.PipeStream.WriteCore(System.Byte[] buffer, System.Int32 offset, System.Int32 count)
at System.IO.Pipes.PipeStream.Write(System.Byte[] buffer, System.Int32 offset, System.Int32 count)
at Telerik.TestingFramework.WpfExtension.WpfCommunication._browserRemoteClient_BrowserRequest(System.Object sender, ArtOfTest.WebAii.EventsArgs.BrowserCommandEventArgs e)
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ProcessBrowserRequest(System.Object sender, ArtOfTest.WebAii.EventsArgs.BrowserCommandEventArgs e)
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ListenThreadEntry(System.Object objParam)
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object state)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
at System.Threading.ThreadHelper.ThreadStart(System.Object obj)
U-->M
Thread id=7984
at System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.Int64 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(System.Int32 millisecondsTimeout, System.Boolean exitContext)
at System.Threading.WaitHandle.WaitOne()
at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.AsyncPipeRead(System.IO.Pipes.PipeStream pipe, System.Byte[] bytes, System.Int32 offset, System.Int32 count)
at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.ReadCommandFromPipe<ArtOfTest.WebAii.Messaging.Process.PipeCommand>(System.IO.Pipes.PipeStream pipe)
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ListenThreadEntry(System.Object objParam)
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object state)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
at System.Threading.ThreadHelper.ThreadStart(System.Object obj)
U-->M