Skip to content

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

Open

Description

@github-actions

Build Information

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

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.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate fails on Android (android-arm64, android-arm) in runtime-extra-platforms for both revocationMode: NoCheck and revocationMode: Online. The chain build does not surface the expected NotTimeValid status for an expired self-signed certificate.

1) [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)

2) [FAIL] ...BuildChainForExpiredSelfSignedCertificate(revocationMode: Online)
   Exception messages: NotTimeValid should be set; status flags: NoError

Observed in builds 1582322 (finished 2026-09-04) and 1584171 (finished 2026-09-05), on android-arm64 and android-arm legs.

Error Message

{
  "ErrorMessage": [
    "[FAIL] System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate",
    "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 · 990.8 AIC · ⌖ 13.1 AIC · ⊞ 20.7K · ◷

Report

Build Repository Test Pull Request
1698429 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1696349 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1694266 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1693863 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1693370 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1692781 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate #138022
1691453 dotnet/runtime System.Security.Cryptography.Tests.AesGcmTests.AesGcmNistTestsTamperCiphertext
1689358 dotnet/runtime System.Security.Cryptography.Tests.AesGcmTests.AesGcmNistTestsTamperCiphertext
1687723 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate #137748
1686990 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1684837 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1682609 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1681859 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1681684 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate #137558
1680947 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1679005 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1676867 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1672681 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate #136566
1674593 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1672225 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1670305 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1669782 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1668850 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1667020 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1665174 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1663467 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate #136916
1663137 dotnet/runtime System.Security.Cryptography.Tests.AesGcmTests.AesGcmNistTestsTamperCiphertext
1661660 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate #136566
1661087 dotnet/runtime System.Security.Cryptography.Tests.AesGcmTests.AesGcmNistTestsTamperCiphertext
1660315 dotnet/runtime System.Security.Cryptography.Tests.AesGcmTests.AesGcmNistTestsTamperCiphertext #136852
1659071 dotnet/runtime System.Security.Cryptography.Tests.AesGcmTests.AesGcmNistTestsTamperCiphertext
1658360 dotnet/runtime System.Security.Cryptography.Tests.AesGcmTests.AesGcmNistTestsTamperCiphertext
1657310 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1655451 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate
1653767 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.BuildChainForExpiredSelfSignedCertificate

Summary

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

Activity

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

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  7. github-actions commented on Sep 14, 2026

    @github-actions
    ContributorAuthor

    Workflow artifact: ci-fix
    Artifact kind: handoff
    Linked KBE: #133314

    Note

    AI/Copilot-generated triage note.

    This Known Build Error has no producible automated code change (reason: platform X.509 chain-building behavior — a security-area-owner decision), so I could not open a best-effort PR without guessing intent. Looping in owners rather than muting.

    Root cause (best analysis)

    On Android (android-arm64, android-arm) AllSubsets_CoreCLR, DynamicChainTests.BuildChainForExpiredSelfSignedCertificate fails for both revocationMode: NoCheck and Online: building a chain for an expired self-signed certificate does not surface the expected X509ChainStatusFlags.NotTimeValid — the status flags come back NoError. The Android chain-building backend does not report NotTimeValid for an expired self-signed cert the way the test expects. Whether the fix is in the Android X.509 chain interop (to surface NotTimeValid) or a platform-specific test expectation is a security-area-owner decision, so I am not guessing an expectation change.

    Evidence

    Suggested reviewers / area contacts

    • Area owners (area-System.Security): @bartonjs, @dotnet/area-system-security

    A fix likely involves the Android X.509 chain-building interop reporting NotTimeValid for expired self-signed certificates, or an owner-approved platform-specific expectation adjustment.

    Structured data:

    {
      "artifact_kind": "handoff",
      "linked_kbe": 133314,
      "workflow_artifact": "ci-fix"
    }

    Generated by CI Outer-Loop Failure Fixer · opus48 · 444.8 AIC · ⌖ 28.9 AIC · ⊞ 19.6K · ◷

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-cios-android

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions