dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.15k stars 4.71k forks source link

Test failure: System.Net.Sockets.Tests.SendReceiveTask/SendRecv_Stream_TCP_AlternateBufferAndBufferList(listenAt: 127.0.0.1) #23233

Closed ghost closed 4 years ago

ghost commented 7 years ago

Opened on behalf of @safern

The test System.Net.Sockets.Tests.SendReceiveTask/SendRecv_Stream_TCP_AlternateBufferAndBufferList(listenAt: 127.0.0.1) has failed.

System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host

    Stack Trace:

       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 61
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 178
   at System.Runtime.CompilerServices.TaskAwaiter$1<System.Int32>.GetResult() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 477
   at System.Net.Sockets.Tests.SendReceive.<SendRecv_Stream_TCP_AlternateBufferAndBufferList>d__22.MoveNext() in E:\A\_work\881\s\corefx\src\System.Net.Sockets\tests\FunctionalTests\SendReceive.cs:line 379
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 61
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 178
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 61
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 178
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 61
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 178

Build : UWP 6.0 - 20170816.01 (UWP ILC Tests) Failing configurations:

safern commented 7 years ago

cc: @davidsh this one is also failing in release/uwp6.0 branch, only in amd-x86-Release. Could you please take a quick look?

davidsh commented 7 years ago

Intermittent networking issue and/or test flakiness. Not a ship blocker.

safern commented 7 years ago

@davidsh are you good with disabling this test also?

davidsh commented 7 years ago

yes

safern commented 7 years ago

Cool. Will disable it. Thanks :)

KristinXie1 commented 7 years ago

Failed again, detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fuwp~2F/build/20170822.01/workItem/System.Net.Sockets.Tests/analysis/xunit/System.Net.Sockets.Tests.SendReceiveSyncForceNonBlocking~2FSendRecv_Stream_TCP_AlternateBufferAndBufferList(listenAt:%20::1)

The test System.Net.Sockets.Tests.SendReceiveSyncForceNonBlocking/SendRecv_Stream_TCP_AlternateBufferAndBufferList(listenAt: ::1) has failed.

System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host

    Stack Trace:

       at System.Net.Sockets.Tests.SocketHelperArraySync.<>c__DisplayClass8_0.<SendAsync>b__0() in E:\A\_work\435\s\corefx\src\System.Net.Sockets\tests\FunctionalTests\SocketTestHelper.cs:line 61
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- 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.Sockets.Tests.SendReceive`1.<SendRecv_Stream_TCP_AlternateBufferAndBufferList>d__4.MoveNext() in E:\A\_work\435\s\corefx\src\System.Net.Sockets\tests\FunctionalTests\SendReceive.cs:line 362
--- 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)

Build : Master - 20170822.01 (UWP F5 Tests) Failing configurations:

stephentoub commented 5 years ago

We no longer run tests on a uapaot configuration.