Skip to content

[ci-scan] Test failure: System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCert [Content truncated due to length] #133490

Closed as duplicate

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1586642
Build error leg or test failing: android-arm64 Release AllSubsets_CoreCLR / android-arm Release AllSubsets_CoreCLR - System.Security.Cryptography.Tests - System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate

DynamicChainTests.BuildChainForExpiredSelfSignedCertificate fails on Android (arm and arm64) for the NoCheck and Online revocation-mode cases. The test expects the chain-status flags to include NotTimeValid for an expired self-signed certificate, but the Android platform chain builder reports NoError. Observed in consecutive runtime-extra-platforms builds on main (1584171, 1586642, 1588425).

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

[FAIL] System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate   Test name: ...BuildChainForExpiredSelfSignedCertificate(revocationMode: NoCheck)
   Assembly:  [System.Security.Cryptography.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
   Exception messages: NotTimeValid should be set; status flags: NoError   Exception stack traces:    at System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate(X509RevocationMode revocationMode)

=== TEST EXECUTION SUMMARY ===
Tests run: 13743 Passed: 12130 Inconclusive: 0 Failed: 2 Ignored: 599 Skipped: 1012

Error Message

{
  "ErrorMessage": [
    "System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate",
    "Exception messages: NotTimeValid should be set; status flags: NoError"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

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


Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.

Generated by CI Outer-Loop Failure Scanner · opus48 · 994 AIC · ⌖ 17.9 AIC · ⊞ 19.5K · ◷

Report

Build Repository Test Pull Request
1594919 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1594486 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1593920 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1592042 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1590326 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate

Summary

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

Activity

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

    @dotnet-policy-service
    Contributor

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

  4. added this to the 12.0.0 milestone on Sep 10, 2026
  5. removed
    untriaged
    on Sep 10, 2026
  6. kotlarmilos commented on Sep 14, 2026

    @kotlarmilos
    Member

    Duplicate of #133314.

    Note

    This comment was generated by GitHub Copilot.

  7. locked and limited conversation to collaborators on Oct 15, 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 Erroragentic-workflowsarea-System.Securityblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions