runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[Test failure] ClientAsyncAuthenticate_ConnectionInfoInCallback_DoesNotThrow on android

Open rzikm opened this issue 6 months ago • 4 comments
trafficstars

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1034085 Build error leg or test failing: System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_ConnectionInfoInCallback_DoesNotThrow Pull request:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "[FAIL] System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_ConnectionInfoInCallback_DoesNotThrow",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1034085 Error message validated: [[FAIL] System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_ConnectionInfoInCallback_DoesNotThrow] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 5/12/2025 6:58:52 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

rzikm avatar May 12 '25 06:05 rzikm

Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.

Tagging subscribers to this area: @dotnet/ncl, @bartonjs, @vcsjones See info in area-owners.md if you want to be subscribed.

/cc @BrzVlad

simonrozsival avatar May 12 '25 06:05 simonrozsival

For future reference, started failing after https://github.com/dotnet/runtime/pull/115186. Failure example:

Failed tests:
 05-08 18:42:34.963  2577  8178 I DOTNET  : 1) 	[FAIL] System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_ConnectionInfoInCallback_DoesNotThrow   Test name: System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_ConnectionInfoInCallback_DoesNotThrow
 05-08 18:42:34.963  2577  8178 I DOTNET  :    Assembly:  [System.Net.Security.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
 05-08 18:42:34.963  2577  8178 I DOTNET  :    Exception messages: System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
 05-08 18:42:34.963  2577  8178 I DOTNET  : ---- System.InvalidOperationException : This operation is only allowed using a successfully authenticated context.   Exception stack traces:    at System.Net.Security.SslStream.<ForceAuthenticationAsync>d__157`1[[System.Net.Security.AsyncReadWriteAdapter, System.Net.Security, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(EncryptionPolicy encryptionPolicy, SslProtocols clientSslProtocols, SslProtocols serverSslProtocols, RemoteCertificateValidationCallback certificateCallback) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs:line 159
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(EncryptionPolicy encryptionPolicy, SslProtocols clientSslProtocols, SslProtocols serverSslProtocols, RemoteCertificateValidationCallback certificateCallback) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs:line 180
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_ConnectionInfoInCallback_DoesNotThrow() in /_/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs:line 33
 05-08 18:42:34.963  2577  8178 I DOTNET  : --- End of stack trace from previous location ---
 05-08 18:42:34.963  2577  8178 I DOTNET  : ----- Inner Stack Trace -----
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.SslStream.ThrowNotAuthenticated()
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.SslStream.get_SslProtocol()
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.Tests.ClientAsyncAuthenticateTest.AllowAnyServerCertificateAndVerifyConnectionInfo(Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs:line 203
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.SslStream.VerifyRemoteCertificate(RemoteCertificateValidationCallback remoteCertValidationCallback, SslCertificateTrust trust, ProtocolToken& alertToken, SslPolicyErrors& sslPolicyErrors, X509ChainStatusFlags& chainStatus)
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.SslStream.VerifyRemoteCertificate()
 05-08 18:42:34.963  2577  8178 I DOTNET  :    at System.Net.Security.SslStream.JavaProxy.VerifyRemoteCertificate(IntPtr sslStreamProxyHandle)

BrzVlad avatar May 13 '25 07:05 BrzVlad

removing blocking-clean-ci as it has not failed in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

jeffschwMSFT avatar Jun 16 '25 17:06 jeffschwMSFT