Repository navigation
[Android] System.Net.Mail.Tests SmtpClient tests fail with SSL handshake errors in BoringSSL on x64/x86 emulators #115694
Copy link
Copy link
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-x64arch-x86area-System.Netos-android
Milestone
Description
Activity
- addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area ownerKnown Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tab
on May 18, 2025 dotnet-policy-service commented
on May 18, 2025 ContributorMore actionsTagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.dotnet-policy-service commented
on May 18, 2025 ContributorMore actionsTagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.- removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Jul 11, 2025 @matouskozak I think these are device errors and are not related to the actual tests.
@matouskozak I think these are device errors and are not related to the actual tests.
You're right, the error message seems to be red hearing. However, there are some errors happening on emulators and devices with this format:
07-17 16:11:30.634 8649 17072 I DOTNET : 9) [FAIL] System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Http2.SendAsync_RequestWithDangerousControlHeaderValue_ThrowsHttpRequestException Test name: System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Http2.SendAsync_RequestWithDangerousControlHeaderValue_ThrowsHttpRequestException(dangerousChar: 0x009f, headerType: Cookie) Test case: System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Http2.SendAsync_RequestWithDangerousControlHeaderValue_ThrowsHttpRequestException 07-17 16:11:30.634 8649 17072 I DOTNET : Assembly: [System.Net.Http.Functional.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] 07-17 16:11:30.634 8649 17072 I DOTNET : Exception messages: Assert.Contains() Failure: Sub-string not found 07-17 16:11:30.634 8649 17072 I DOTNET : String: "An HTTP/2 connection could not be establi"··· 07-17 16:11:30.634 8649 17072 I DOTNET : Not found: "ASCII" Exception stack traces: at System.Net.Http.Functional.Tests.HttpClientHandlerTest.<>c__DisplayClass54_0.<<SendAsync_RequestWithDangerousControlHeaderValue_ThrowsHttpRequestException>b__0>d.MoveNext() 07-17 16:11:30.634 8649 17072 I DOTNET : --- End of stack trace from previous location --- 07-17 16:11:30.634 8649 17072 I DOTNET : at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) 07-17 16:11:30.634 8649 17072 I DOTNET : --- End of stack trace from previous location --- 07-17 16:11:30.634 8649 17072 I DOTNET : at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) 07-17 16:11:30.634 8649 17072 I DOTNET : at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass6_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() 07-17 16:11:30.634 8649 17072 I DOTNET : --- End of stack trace from previous location --- 07-17 16:11:30.634 8649 17072 I DOTNET : at System.Net.Test.Common.Http2LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout, GenericLoopbackOptions options) 07-17 16:11:30.634 8649 17072 I DOTNET : at System.Net.Http.Functional.Tests.HttpClientHandlerTest.SendAsync_RequestWithDangerousControlHeaderValue_ThrowsHttpRequestException(Char dangerousChar, HeaderType headerType) 07-17 16:11:30.634 8649 17072 I DOTNET : --- End of stack trace from previous location ---That error was tracked in #117198.
Reacted by Matous KozakOk, we can close this one I think
- locked and limited conversation to collaborators
on Aug 18, 2025
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-x64arch-x86area-System.Netos-android
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1043927
Build error leg or test failing: System.Net.Mail.Functional.Tests
Affected CI jobs: android_x64_release_allsubsets_mono, android_x86_release_allsubsets_mono
Commit range: N/A (No commit range is available as the failure's first occurrence could not be determined)
Extracted Error Log
Error Message
{ "ErrorMessage": ["javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=", "Failure in SSL library, usually a protocol error"], "BuildRetry": false, "ExcludeConsoleLog": false }Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1043927
Error message validated:
[javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl= Failure in SSL library, usually a protocol error]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/18/2025 8:18:59 AM UTC
Report
Summary