You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test failure on NETFX run: System.Net.WebSockets.Client.Tests.ArraySegmentSendReceiveTest/SendAsync_MultipleOutstandingSendOperations_Throws(server: ws://corefx-net.cloudapp.net/WebSocket/EchoWebSocket.ashx) #27881
area-System.Netdisabled-testThe test is disabled in source code against the issuetest-bugProblem in test source code (most likely)test-run-desktopTest failures in .NET Framework "Desktop" test runs (running CoreFX test assets)
The test System.Net.WebSockets.Client.Tests.ArraySegmentSendReceiveTest/SendAsync_MultipleOutstandingSendOperations_Throws(server: ws://corefx-net.cloudapp.net/WebSocket/EchoWebSocket.ashx) has failed.
Failure Message:
System.Net.WebSockets.WebSocketException : The 'System.Net.WebSockets.InternalClientWebSocket' instance cannot be used for communication because it has been transitioned into the 'Aborted' state.\r
---- System.Net.WebSockets.WebSocketException : The 'System.Net.WebSockets.InternalClientWebSocket' instance cannot be used for communication because it has been transitioned into the 'Aborted' state.
Stack Trace:
at System.Net.WebSockets.WebSocketBase.ThrowIfAborted(Boolean aborted, Exception innerException)
at System.Net.WebSockets.WebSocketBase.ThrowIfConvertibleException(String methodName, Exception exception, CancellationToken cancellationToken, Boolean aborted)
at System.Net.WebSockets.WebSocketBase.<SendAsyncCore>d__47.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.WebSockets.Client.Tests.SendReceiveTest.<SendAsync_MultipleOutstandingSendOperations_Throws>d__8.MoveNext() in E:\A\_work\17\s\corefx\src\System.Net.WebSockets.Client\tests\SendReceiveTest.cs:line 166
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
----- Inner Stack Trace -----
at System.Net.WebSockets.WebSocketProtocolComponent.ThrowIfSessionHandleClosed(WebSocketBase webSocket)
at System.Net.WebSockets.WebSocketProtocolComponent.WebSocketGetAction(WebSocketBase webSocket, ActionQueue actionQueue, Buffer[] dataBuffers, UInt32& dataBufferCount, Action& action, BufferType& bufferType, IntPtr& actionContext)
at System.Net.WebSockets.WebSocketBase.WebSocketOperation.<Process>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.WebSockets.WebSocketBase.<SendAsyncCore>d__47.MoveNext()
InternalClientWebSocket' instance cannot be used for communication because it has been transitioned into the 'Aborted' state. suggests it's not a flaky server.
@davidsh is it possible to disable this test for desktop then? Each time a test fails, I potentially have to go look and see whether it's known, so anything we don't fix promptly we should disable.
@davidsh is it possible to disable this test for desktop then? Each time a test fails, I potentially have to go look and see whether it's known, so anything we don't fix promptly we should disable.
I will submit a PR now to disable the test on NETFX.
area-System.Netdisabled-testThe test is disabled in source code against the issuetest-bugProblem in test source code (most likely)test-run-desktopTest failures in .NET Framework "Desktop" test runs (running CoreFX test assets)
Activity
danmoseley commentedon Nov 12, 2018
InternalClientWebSocket' instance cannot be used for communication because it has been transitioned into the 'Aborted' state.suggests it's not a flaky server.davidsh commentedon Nov 12, 2018
We see this error sometimes. We think the test itself is either brittle or there is a bug in .NET Framework websockets code due to race conditions.
danmoseley commentedon Nov 12, 2018
@davidsh is it possible to disable this test for desktop then? Each time a test fails, I potentially have to go look and see whether it's known, so anything we don't fix promptly we should disable.
davidsh commentedon Nov 12, 2018
I will submit a PR now to disable the test on NETFX.
Disable WebSocket SendReceiveTest on NETFX (#33429)
Disable WebSocket SendReceiveTest on NETFX (dotnet#33429)
Cleanup some WebSocket tests (#37271)