Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectAsyncV6IPEndPointToDualHost_Success failed in CI on Linux #15402

Closed
stephentoub opened this issue Oct 9, 2015 · 6 comments
Closed

ConnectAsyncV6IPEndPointToDualHost_Success failed in CI on Linux #15402

stephentoub opened this issue Oct 9, 2015 · 6 comments
Labels
area-System.Net os-linux Linux OS (any supported distro)
Milestone

Comments

@stephentoub
Copy link
Member

http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/3215/console

10:50:47    System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToDualHost_Success [FAIL]
10:50:47       System.Net.Sockets.SocketException : Unknown error 10054
10:50:47       Stack Trace:
10:50:47             at System.Net.Sockets.Tests.DualMode.DualModeConnectAsync_IPEndPointToHost_Helper(IPAddress connectTo, IPAddress listenOn, Boolean dualModeServer)
10:50:47             at System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToDualHost_Success()
10:50:47             at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
10:50:47             at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
10:50:47             at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
@stephentoub
Copy link
Member Author

Failed again here:
http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/3991/console

08:54:20 Starting:    System.Linq.Parallel.Tests
08:54:20    System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToDualHost_Success [FAIL]
08:54:20       System.Net.Sockets.SocketException : Unknown error 10054
08:54:20       Stack Trace:
08:54:21 Finished:    System.Reflection.TypeExtensions.Tests
08:54:21 
08:54:21 === TEST EXECUTION SUMMARY ===
08:54:21    System.Reflection.TypeExtensions.Tests  Total: 599, Errors: 0, Failed: 0, Skipped: 0, Time: 1.690s
08:54:21             at System.Net.Sockets.Tests.DualMode.DualModeConnectAsync_IPEndPointToHost_Helper(IPAddress connectTo, IPAddress listenOn, Boolean dualModeServer)
08:54:21             at System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToDualHost_Success()

@stephentoub
Copy link
Member Author

Related failure:
http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/4166/console

17:34:18    System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToV6Host_Success [FAIL]
17:34:18       System.Net.Sockets.SocketException : Unknown error 10054
17:34:18       Stack Trace:
17:34:18 Finished:    System.Composition.Tests
17:34:18 
17:34:18 === TEST EXECUTION SUMMARY ===
17:34:18    System.Composition.Tests  Total: 142, Errors: 0, Failed: 0, Skipped: 0, Time: 4.834s
17:34:18             at System.Net.Sockets.Tests.DualMode.DualModeConnectAsync_IPEndPointToHost_Helper(IPAddress connectTo, IPAddress listenOn, Boolean dualModeServer)
17:34:18             at System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToV6Host_Success()

@stephentoub
Copy link
Member Author

Another failure here:
http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/4236/console

13:36:44    System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToV6Host_Success [FAIL]
13:36:44       System.Net.Sockets.SocketException : Unknown error 10054
13:36:44       Stack Trace:
13:36:45             at System.Net.Sockets.Tests.DualMode.DualModeConnectAsync_IPEndPointToHost_Helper(IPAddress connectTo, IPAddress listenOn, Boolean dualModeServer)
13:36:45             at System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToV6Host_Success()

@justinvp
Copy link
Contributor

Failed here:

http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/4581/console

18:02:00    System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToDualHost_Success [FAIL]
18:02:00       System.Net.Sockets.SocketException : Unknown error 10054
18:02:00       Stack Trace:
18:02:01             at System.Net.Sockets.Tests.DualMode.DualModeConnectAsync_IPEndPointToHost_Helper(IPAddress connectTo, IPAddress listenOn, Boolean dualModeServer)
18:02:01             at System.Net.Sockets.Tests.DualMode.ConnectAsyncV6IPEndPointToDualHost_Success()

@joshfree joshfree assigned ericeil and unassigned pgavlin Jan 5, 2016
@ericeil
Copy link
Contributor

ericeil commented Jan 6, 2016

Looks like the same underlying cause as #15294.

ericeil referenced this issue in ericeil/corefx Feb 4, 2016
Prior to this change, a GC triggered at the wrong time could cause a newly-accepted Socket to be collected and finalized, closing the connection before the other end of the socket was done.  To avoid this, we keep a reference to the new socket until the test is done with the connection.

Fixes #5291, #3748, #3744, #3682, #3494.
@ericeil
Copy link
Contributor

ericeil commented Feb 5, 2016

Closed with dotnet/corefx#5907

@ericeil ericeil closed this as completed Feb 5, 2016
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 1.0.0-rc2 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

5 participants