Skip to content

[Test Failure] NoClientCert_DefaultValue_ResumeSucceeds fails to resume TLS 1.3 #138096

Open

Description

@lewing

Description

Track recurring SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) failures where TLS session resumption is expected but does not occur.

The current occurrence is on Windows Server 2025 in a release/11.0 test-only cryptography backport. The completed Build Analysis report lists it as unmatched. The backport changes only EC explicit-curve test capability detection, not SslStream or TLS implementation/tests.

Reproduction Steps

Run the System.Net.Security.Tests CI work item in the configuration below. No deterministic local reproduction has been established.

Expected behavior

The connection resumes its TLS 1.3 session and the resumption assertion returns True.

Actual behavior

The resumption assertion returns False; the work item reports one failed test.

Regression?

Unknown. Historical occurrences exist, but a shared root cause has not been established.

Known Workarounds

None verified for the current Windows occurrence. Automatic build retries are disabled for this KBE.

Configuration

net11.0-windows-Debug-x64-coreclr_release-Windows.Server2025.Amd64.Open

Other information

Closed #103354 contains the exact test, TLS 1.3 parameter, and assertion in a comment, but that occurrence was investigated as an Ubuntu 18.04/OpenSSL issue. Its matcher targets a different test.

Closed #131992 has a historical report entry for this exact test on a Windows TLS-resumption issue, but its configured matcher targets other tests.

This KBE tracks the failure signature, not a confirmed common cause. The matcher intentionally contains no OS restriction so the same signature can be tracked across configurations; unrelated TLS-resumption assertions are excluded by the exact test and parameter.

Validation with Test-KnownIssuePattern.ps1: PASS against lines 121-124 of the current full console log, and PASS against the historical four-line failure excerpt quoted in #103354. The historical full console log was not revalidated.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1693636

Leg Name: net11.0-windows-Debug-x64-coreclr_release-Windows.Server2025.Amd64.Open

Pull request: #138078

Test result: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1693636&view=ms.vss-test-web.build-test-results-tab&runId=47290128&resultId=204389

Console: https://helixr1107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-138078-merge-892c3821695b4cd4bf/System.Net.Security.Tests/1/console.38476107.log?helixlogtype=result

Error Details

System.Net.Security.Tests.SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) [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.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) [FAIL]",
    "Assert.Equal() Failure: Values differ",
    "Expected: True",
    "Actual:   False"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Note

This issue was generated by GitHub Copilot.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1693636
Error message validated: [System.Net.Security.Tests.SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls13) [FAIL] Assert.Equal() Failure: Values differ Expected: True Actual: False]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/22/2026 11:53:48 PM UTC

Report

Build Repository Test Pull Request
1693636 dotnet/runtime System.Net.Security.Tests.SslStreamTlsResumeTests.NoClientCert_DefaultValue_ResumeSucceeds #138078

Summary

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

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Nov 22, 2026
  2. added
    untriaged
    on Nov 22, 2026
  3. dotnet-policy-service commented on Nov 22, 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 Nov 23, 2026
  5. added theissue type on Nov 23, 2026
  6. added this to the 12.0.0 milestone on Nov 23, 2026
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.Securityblocking-clean-ci

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions