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

ClientAsyncAuthenticate_MismatchProtocols_Fails - fails with ObjectDisposedException #2352

Closed
ahsonkhan opened this issue Oct 23, 2019 · 5 comments
Labels
area-System.Net.Security bug os-windows tenet-reliability Reliability/stability related issue (stress, load problems, etc.) test-run-core Test failures in .NET Core test runs
Milestone

Comments

@ahsonkhan
Copy link
Member

ahsonkhan commented Oct 23, 2019

Test: System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails

From dotnet/corefx#42027

Test failure on Windows Build x64_Debug, specifically netcoreapp-Windows_NT-Debug-x64-(Windows.Nano.1809.Amd64.Open)

https://dev.azure.com/dnceng/public/_build/results?buildId=398356

System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(serverProtocol: Tls, clientProtocol: Tls11, expectedException: typeof(System.IO.IOException))

https://helix.dot.net/api/2019-06-17/jobs/3dbb8c60-c089-470e-a02a-0c5f75146ef9/workitems/System.Net.Security.Tests/console

 System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(serverProtocol: Tls, clientProtocol: Tls11, expectedException: typeof(System.IO.IOException)) [FAIL]
      Assert.IsAssignableFrom() Failure
      Expected: typeof(System.IO.IOException)
      Actual:   typeof(System.ObjectDisposedException)
      Stack Trace:
        /_/src/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs(79,0): at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(SslProtocols serverProtocol, SslProtocols clientProtocol, Type expectedException)
        --- End of stack trace from previous location where exception was thrown ---
  Finished:    System.Net.Security.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Security.Tests  Total: 4397, Errors: 0, Failed: 1, Skipped: 20, Time: 26.038s
----- end Wed 10/23/2019  9:03:05.68 ----- exit code 1 ----------------------------------------------------------

cc @davidsh, @wfurt, @scalablecory, @eiriktsarpalis
@wfurt wfurt transferred this issue from dotnet/corefx Jan 29, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Net.Security untriaged New issue has not been triaged by the area owner labels Jan 29, 2020
@wfurt wfurt added test-run-core Test failures in .NET Core test runs os-windows labels Jan 29, 2020
@wfurt
Copy link
Member

wfurt commented Jan 29, 2020

I see 3 failures in the last 90 days. All on Windows, last one 1/25

@karelz karelz removed the untriaged New issue has not been triaged by the area owner label Feb 13, 2020
@karelz karelz added this to the 5.0 milestone Feb 13, 2020
@karelz karelz changed the title System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails fails with ObjectDisposedException ClientAsyncAuthenticate_MismatchProtocols_Fails - fails with ObjectDisposedException Apr 3, 2020
@karelz karelz added bug tenet-reliability Reliability/stability related issue (stress, load problems, etc.) labels May 7, 2020
@karelz karelz modified the milestones: 5.0, Future Jun 5, 2020
@v-haren
Copy link

v-haren commented Jul 17, 2020

failed again in job: runtime-coreclr libraries-jitstressregs 20200712.1

failed test: System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(serverProtocol: Tls11, clientProtocol: Tls, expectedException: typeof(System.Security.Authentication.AuthenticationException))

Error message

Assert.IsAssignableFrom() Failure
Expected: typeof(System.Security.Authentication.AuthenticationException)
Actual:   typeof(System.ObjectDisposedException)


Stack trace
   at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(SslProtocols serverProtocol, SslProtocols clientProtocol, Type expectedException) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs:line 78
--- End of stack trace from previous location ---

@v-haren
Copy link

v-haren commented Oct 19, 2020

failed again in job: runtime-coreclr libraries-jitstress2-jitstressregs 20201017.1

failed test: System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(serverProtocol: Tls, clientProtocol: Tls12, expectedException: typeof(System.Security.Authentication.AuthenticationException))

net6.0-Windows_NT-Release-x64-CoreCLR_checked-jitstress2_jitstressregs2-Windows.10.Amd64.Open

Error message

Assert.IsAssignableFrom() Failure
Expected: typeof(System.Security.Authentication.AuthenticationException)
Actual:   typeof(System.IO.IOException)


Stack trace
   at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(SslProtocols serverProtocol, SslProtocols clientProtocol, Type expectedException) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs:line 78
--- End of stack trace from previous location ---

@karelz
Copy link
Member

karelz commented May 12, 2021

Failures during 3/12-5/11 (incl. PRs):

Date Build / PR OS Details
4/18 Official run Windows.10.Arm64v8.Open Expected: typeof(System.Security.Authentication.AuthenticationException)
Actual: typeof(System.ObjectDisposedException)
4/29 Official run Windows.10.Amd64.Open Expected: typeof(System.Security.Authentication.AuthenticationException)
Actual: typeof(System.ObjectDisposedException)

@rzikm
Copy link
Member

rzikm commented Mar 24, 2022

No more recent failures with ObjectDisposedException, other types of failure of this test are tracked in #65098

@rzikm rzikm closed this as completed Mar 24, 2022
@karelz karelz modified the milestones: Future, 7.0.0 Apr 8, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Security bug os-windows tenet-reliability Reliability/stability related issue (stress, load problems, etc.) test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

6 participants