Skip to content

CI failure on 8.0 and 9.0: MalformedPacketsDuringHandshake_ThrowsAuthenticationException fails because of PartialChain #130887

Closed

Description

@svick

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1508917
Build error leg or test failing: System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
Pull request: #130724

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage":
    [
      "System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException [FAIL]",
      "System.Security.Authentication.AuthenticationException : The remote certificate is invalid because of errors in the certificate chain: PartialChain"
    ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
    System.Net.Security.Tests.CertificateValidationClientServer.CertificateValidationClientServer_EndToEnd_Ok(clientCertSource: CertificateContext) [FAIL]
      sslClientStream.IsMutuallyAuthenticated
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationClientServer.cs(206,0): at System.Net.Security.Tests.CertificateValidationClientServer.CertificateValidationClientServer_EndToEnd_Ok(ClientCertSource clientCertSource)
        --- End of stack trace from previous location ---
    System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException [FAIL]
      System.Security.Authentication.AuthenticationException : The remote certificate is invalid because of errors in the certificate chain: PartialChain
      Stack Trace:
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.IO.cs(501,0): at System.Net.Security.SslStream.SendAuthResetSignal(ReadOnlySpan`1 alert, ExceptionDispatchInfo exception)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.IO.cs(563,0): at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.IO.cs(338,0): at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(120,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
        --- End of stack trace from previous location ---
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(90,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(55,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamStreamToStreamTest.cs(755,0): at System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException()
        --- End of stack trace from previous location ---

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1508917
Error message validated: [System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException [FAIL] System.Security.Authentication.AuthenticationException : The remote certificate is invalid because of errors in the certificate chain: PartialChain]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/16/2026 5:12:56 PM UTC

Report

Build Repository Test Pull Request
1538451 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131781
1538189 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131737
1537862 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1537459 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131740
1535743 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131692
1534953 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
3035806 dotnet-runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #63382
1532544 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #130943
1532536 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131126
1529551 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131044
1528324 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131415
1522784 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #130943
1520880 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131179
1519953 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1519700 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1519926 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1519808 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1519745 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #130598
1519697 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1519577 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1519006 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131126
1518742 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131044
1516764 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #131044
3024988 dotnet-runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #62989
3024986 dotnet-runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #62988
1514458 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
3024690 dotnet-runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #62978
1514455 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException
1514464 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #130862
1514053 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #130943
1513554 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #130724
1508917 dotnet/runtime System.Net.Security.Tests.SslStreamStreamToStreamTest_MemoryAsync.MalformedPacketsDuringHandshake_ThrowsAuthenticationException #130724

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
4 10 32

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Jul 16, 2026
  2. added
    untriaged
    on Jul 16, 2026
  3. dotnet-policy-service commented on Jul 16, 2026

    @dotnet-policy-service
    Contributor

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

  4. self-assigned this
    on Jul 17, 2026
  5. added theissue type on Jul 17, 2026
  6. added this to the 11.0.0 milestone on Jul 17, 2026
  7. removed
    untriaged
    on Jul 17, 2026
  8. changed the title [-]CI failure on 8.0: MalformedPacketsDuringHandshake_ThrowsAuthenticationException fails because of PartialChain[/-] [+]CI failure on 8.0 and 9.0: MalformedPacketsDuringHandshake_ThrowsAuthenticationException fails because of PartialChain[/+] on Jul 17, 2026
  9. rzikm commented on Jul 22, 2026

    @rzikm
    Member

    Should be fixed now by #131148 and #131149

  10. rzikm commented on Jul 22, 2026

    @rzikm
    Member

    Actually let's keep this open until the changes sync from staging to release branch

  11. reopened this on Jul 22, 2026
  12. rzikm commented on Aug 4, 2026

    @rzikm
    Member

    Fixed an all release versions

  13. locked and limited conversation to collaborators on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build Errorarea-System.Net.Securityblocking-clean-ci

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions