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

Test failure: System.Net.Sockets.Tests.TcpClientTest.Dispose_CancelsConnectAsync #35886

Closed
v-haren opened this issue May 6, 2020 · 2 comments · Fixed by #35965
Closed

Test failure: System.Net.Sockets.Tests.TcpClientTest.Dispose_CancelsConnectAsync #35886

v-haren opened this issue May 6, 2020 · 2 comments · Fixed by #35965
Assignees
Labels
area-System.Net.Sockets test-run-core Test failures in .NET Core test runs
Milestone

Comments

@v-haren
Copy link

v-haren commented May 6, 2020

failed in job: runtime-libraries outerloop 20200505.3

Error message

System.Net.Sockets.SocketException : Bad value for ai_flags


Stack trace
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1138
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) in /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1123
   at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs:line 220
--- End of stack trace from previous location ---
   at System.Net.Sockets.TcpClient.CompleteConnectAsync(Task task) in /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/TCPClient.cs:line 320
   at System.Net.Sockets.Tests.TcpClientTest.Dispose_CancelsConnectAsync(Boolean connectByName) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/TcpClientTest.cs:line 435
--- End of stack trace from previous location ---
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Net.Sockets untriaged New issue has not been triaged by the area owner labels May 6, 2020
@ghost
Copy link

ghost commented May 6, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@stephentoub stephentoub self-assigned this May 6, 2020
@davidsh davidsh added this to the 5.0 milestone May 6, 2020
@davidsh davidsh removed the untriaged New issue has not been triaged by the area owner label May 6, 2020
@karelz karelz added the test-run-core Test failures in .NET Core test runs label May 7, 2020
@stephentoub
Copy link
Member

The Bad value for ai_flags is misleading. This is the message that's getting returned for the generic SocketError.SocketError enum value: #35955.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.