Skip to content

System.Net.Security.Tests.TlsSessionTests fail with timeouts #136205

Closed

Description

@jkotas
    System.Net.Security.Tests.TlsSessionTests.AcceptWithDefaultValidation_CertificateContextTrust_HonorsChainPolicy(isServer: False, chainPolicyTrustsPeer: null) [FAIL]
      System.TimeoutException : The operation has timed out.
      Stack Trace:
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(54,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs(36,0): at System.Net.Security.Tests.TestConfiguration.WhenAllOrAnyFailedWithTimeout(Task[] tasks)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/TlsSessionTests.cs(1904,0): at System.Net.Security.Tests.TlsSessionTests.AcceptWithDefaultValidation_CertificateContextTrust_HonorsChainPolicy(Boolean isServer, Nullable`1 chainPolicyTrustsPeer)
        --- End of stack trace from previous location ---
    System.Net.Security.Tests.TlsSessionTests.AcceptWithDefaultValidation_CertificateContextTrust_HonorsChainPolicy(isServer: False, chainPolicyTrustsPeer: True) [FAIL]
      System.TimeoutException : The operation has timed out.
      Stack Trace:
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(54,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs(36,0): at System.Net.Security.Tests.TestConfiguration.WhenAllOrAnyFailedWithTimeout(Task[] tasks)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/TlsSessionTests.cs(1904,0): at System.Net.Security.Tests.TlsSessionTests.AcceptWithDefaultValidation_CertificateContextTrust_HonorsChainPolicy(Boolean isServer, Nullable`1 chainPolicyTrustsPeer)
        --- End of stack trace from previous location ---
    System.Net.Security.Tests.TlsSessionTests.AcceptWithDefaultValidation_CertificateContextTrust_HonorsChainPolicy(isServer: False, chainPolicyTrustsPeer: False) [FAIL]
      System.TimeoutException : The operation has timed out.
      Stack Trace:
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(54,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs(36,0): at System.Net.Security.Tests.TestConfiguration.WhenAllOrAnyFailedWithTimeout(Task[] tasks)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/TlsSessionTests.cs(1904,0): at System.Net.Security.Tests.TlsSessionTests.AcceptWithDefaultValidation_CertificateContextTrust_HonorsChainPolicy(Boolean isServer, Nullable`1 chainPolicyTrustsPeer)
        --- End of stack trace from previous location ---

Build Information

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

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": "",
  "ErrorPattern": ["System.Net.Security.Tests.TlsSessionTests.*FAIL","TimeoutException"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1642661
Error message validated: [System.Net.Security.Tests.TlsSessionTests.*FAIL TimeoutException]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/21/2026 6:53:05 AM UTC

Report

Build Repository Test Pull Request
1642661 dotnet/runtime System.Net.Security.Tests.TlsSessionTests.AcceptWithDefaultValidation_CertificateContextTrust_HonorsChainPolicy #136176

Summary

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

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Oct 21, 2026
  2. changed the title [-]System.Net.Security.Tests.TlsSessionTests time outs[/-] [+]System.Net.Security.Tests.TlsSessionTests fail with timeouts[/+] on Oct 21, 2026
  3. dotnet-policy-service commented on Oct 21, 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. rzikm commented on Oct 21, 2026

    @rzikm
    Member

    This should've been fixed by #136139

  5. pcshrosbree commented on Oct 21, 2026

    @pcshrosbree
    Contributor

    #136139 fixed this CI failure. The hang also exposed a product bug: on macOS, a TlsSession client does not send its client certificate when the server asks for one, and #136139 removed that request from the test. I filed it as #136213, with a fix in #136214.

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 ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Securityblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions