Skip to content

[ci-scan] Test failure: System.Net.Security.Tests.SslStreamTlsResumeTests.ClientCert_DefaultValue_ResumeSucceeds #134825

Closed

Description

@lewing

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615302
Build error leg or test failing: net11.0-windows-Debug-x64-coreclr_release-Windows.Amd64.Open.rt — System.Net.Security.Tests.SslStreamTlsResumeTests.ClientCert_DefaultValue_ResumeSucceeds
Pull request: #133265

This is a post-close recurrence of #131992, which previously recorded the same test family and this exact test on Windows.

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

System.Net.Security.Tests.SslStreamTlsResumeTests.ClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13, certificateRequired: True, certSource: CertificateContext) [FAIL]
  Assert.Equal() Failure: Values differ
  Expected: True
  Actual:   False
  Stack Trace:
    /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamAllowTlsResumeTests.cs(256,0): at System.Net.Security.Tests.SslStreamTlsResumeTests.RunConnectionAsync(SslServerAuthenticationOptions serverOptions, SslClientAuthenticationOptions clientOptions, Nullable`1 expectResume)
    /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamAllowTlsResumeTests.cs(240,0): at System.Net.Security.Tests.SslStreamTlsResumeTests.ResumeSucceedsInternal(SslServerAuthenticationOptions serverOptions, SslClientAuthenticationOptions clientOptions)
    --- End of stack trace from previous location ---

Error Message

{
  "ErrorMessage": [
    "System.Net.Security.Tests.SslStreamTlsResumeTests.ClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13, certificateRequired: True, certSource: CertificateContext) [FAIL]",
    "Expected: True",
    "Actual:   False"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hit in failure.log

Note

This issue was generated with GitHub Copilot.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615302
Error message validated: [System.Net.Security.Tests.SslStreamTlsResumeTests.ClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13, certificateRequired: True, certSource: CertificateContext) [FAIL] Expected: True Actual: False]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/29/2026 12:36:40 AM UTC

Report

Summary

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

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Sep 29, 2026
  2. added
    untriaged
    on Sep 29, 2026
  3. dotnet-policy-service commented on Sep 29, 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. removed
    untriaged
    on Oct 6, 2026
  5. added this to the Future milestone on Oct 6, 2026
  6. wfurt commented on Oct 6, 2026

    @wfurt
    Member

    would this be impacted by your recent change @rzikm? AFAIK there is no way how to force the resume, right? So all we can do is guess on observations ...?

  7. rzikm commented on Oct 6, 2026

    @rzikm
    Member

    I tentatively asked copilot about it yesterday and apparently the failure happened after my changes merged, so this will be a separate work. Given how infrequently it happens it is not a priority at the moment.

  8. rzikm commented on Oct 6, 2026

    @rzikm
    Member

    AFAIK there is no way how to force the resume, right? So all we can do is guess on observations ...?

    We can't force resume, but it seems to have been pretty reliable till now (where resume is supported/implemented).

  9. added theissue type on Oct 9, 2026
  10. ViveliDuCh commented on Oct 12, 2026

    @ViveliDuCh
    Member

    Seeing a potentially related failure in #133926: Build Analysis, build 1624402.

    On net10.0-windows-Debug-x86-coreclr_checked, ClientCert_DefaultValue_ResumeSucceeds fails for these three cases:

    sslProtocol: Tls12, certificateRequired: False, certSource: ClientCertificate
    sslProtocol: Tls12, certificateRequired: False, certSource: SelectionCallback
    sslProtocol: Tls12, certificateRequired: False, certSource: CertificateContext
    

    All report:

    Assert.Equal() Failure: Values differ
    Expected: True
    Actual:   False
    

    The stack points to RunConnectionAsync at SslStreamAllowTlsResumeTests.cs:253, called by ResumeSucceedsInternal at line 237.

    This resembles the failure documented here, but differs in both protocol (Tls12 rather than Tls13) and certificateRequired (False rather than True). I'm adding it as potentially related evidence; a shared root cause has not been established.

    One possible distinction is the cold-credential-cache behavior described in #134422 when a client certificate is supplied but not requested by the server. That fix addresses DifferentHost_NoResume, so it should not be assumed to resolve these cases without verification.

    The current known-issue matcher is specific to the TLS 1.3 case and does not cover these variants. If they belong under this issue, additional matching coverage would help recognize the servicing failures.

    Note

    This comment was created with assistance from GitHub Copilot.

  11. rzikm commented on Oct 20, 2026

    @rzikm
    Member

    Should be resolved by #135751.

  12. removed
    blocking-clean-ci
    on Oct 29, 2026
  13. jeffschwMSFT commented on Oct 29, 2026

    @jeffschwMSFT
    Member

    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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build Errorarea-System.Net.Security

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions