Skip to content

Test assert failure in X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #107364

Open

Description

@carlossanlop

Important: This was found in the 9.0 branch

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=789147
Build error leg or test failing: System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes(aiaResponseKind: Cert, mustIgnore: False)

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes(aiaResponseKind: Cert, mustIgnore: False) [FAIL]",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Job: https://dev.azure.com/dnceng-public/public/_build/results?buildId=789147&view=logs&j=07e4961f-4232-5b4a-5e6a-31092474840f&t=dfe85eac-3de9-57b6-7c34-e995be202bc7&l=55
Log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-106995-merge-c7701f6f34bd4379a0/System.Security.Cryptography.Tests/1/console.2a4f1b53.log?helixlogtype=result
Output:

     System.AggregateException : One or more errors occurred. (Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False) (Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False) (Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False) (Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False) (Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False)
      ---- Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False
      ---- Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False
      ---- Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False
      ---- Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False
      ---- Assert.NotEqual() Failure: Values are equal
      Expected: Not False
      Actual:       False
      Stack Trace:
        /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(54,0): at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
        /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/RevocationTests/AiaTests.cs(79,0): at System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes(AiaResponseKind aiaResponseKind, Boolean mustIgnore)
           at System.Object.InvokeStub_AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes(Object , Span`1 )
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(136,0): at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        ----- Inner Stack Trace #1 (Xunit.Sdk.NotEqualException) -----
        /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/RevocationTests/AiaTests.cs(88,0): at System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.<>c__DisplayClass1_1.<AiaAcceptsCertTypesAndIgnoresNonCertTypes>b__0()
        /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(45,0): at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
        ----- Inner Stack Trace #2 (Xunit.Sdk.NotEqualException) -----
        /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/RevocationTests/AiaTests.cs(88,0): at System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.<>c__DisplayClass1_1.<AiaAcceptsCertTypesAndIgnoresNonCertTypes>b__0()
        /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(45,0): at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
        ----- Inner Stack Trace #3 (Xunit.Sdk.NotEqualException) -----
        /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/RevocationTests/AiaTests.cs(88,0): at System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.<>c__DisplayClass1_1.<AiaAcceptsCertTypesAndIgnoresNonCertTypes>b__0()
        /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(45,0): at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
        ----- Inner Stack Trace #4 (Xunit.Sdk.NotEqualException) -----
        /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/RevocationTests/AiaTests.cs(88,0): at System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.<>c__DisplayClass1_1.<AiaAcceptsCertTypesAndIgnoresNonCertTypes>b__0()
        /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(45,0): at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)
        ----- Inner Stack Trace #5 (Xunit.Sdk.NotEqualException) -----
        /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/RevocationTests/AiaTests.cs(88,0): at System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.<>c__DisplayClass1_1.<AiaAcceptsCertTypesAndIgnoresNonCertTypes>b__0()
        /_/src/libraries/Common/tests/TestUtilities/System/RetryHelper.cs(45,0): at System.RetryHelper.Execute(Action test, Int32 maxAttempts, Func`2 backoffFunc, Predicate`1 retryWhen, String testName)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=789147
Error message validated: [System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes(aiaResponseKind: Cert, mustIgnore: False) [FAIL]]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/4/2024 5:20:44 PM UTC

Report

💡 View the full list of hits in the Build Insights portal

Build Repository Branch Test Pull Request
1699296 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1699133 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #138278
1699146 dotnet/runtime pavelsavara-browser-coreclr-native-flavors System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137440
1698973 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1698362 dotnet/runtime release/9.0-staging System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137321
1697927 dotnet/runtime release/11.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1697718 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1697721 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1697664 dotnet/runtime release/11.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1697580 dotnet/runtime feature/wasm64-interpreter System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #138171
1697532 dotnet/runtime feature/wasm-arch-rename System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #138166
1697405 dotnet/runtime release/11.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #138213
1697390 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #133956
1696685 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.DisableAiaOptionWorks #138198
1696418 dotnet/runtime main System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137950
1696409 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1696430 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1696387 dotnet/runtime release/11.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1695070 dotnet/runtime main System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #138126
1695029 dotnet/runtime release/9.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137698
1694782 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #138116
1694761 dotnet/runtime main System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #136865
1694609 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #138112
1694543 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1694546 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1694431 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.DisableAiaOptionWorks #138107
1691591 dotnet/runtime release/10.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1691453 dotnet/runtime main System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes
1688545 dotnet/runtime release/11.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137857
1683651 dotnet/runtime main System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137507
1683437 dotnet/runtime main System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137507
1680302 dotnet/runtime release/11.0 System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #137426
1668809 dotnet/runtime main System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #133384
1662755 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #136941
1662020 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #136902
1660656 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #136871
1649805 dotnet/runtime System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes #136450

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
11 29 37

Activity

  1. added
    os-macos
    runtime-mono
    Known Build Error
    on Sep 4, 2024
  2. added this to the 9.0.0 milestone on Sep 4, 2024
  3. dotnet-policy-service commented on Sep 4, 2024

    @dotnet-policy-service
    Contributor

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

  4. bartonjs commented on Sep 4, 2024

    @bartonjs
    Member

    This failed when AIA was expected to work. Unfortunately, AIA tests can fail under high load (which RetryHelper hopes to outlast). Given that no other AIA tests failed it doesn't seem to be that AIA itself is not working, just that the requests timed out (or somehow the listener port got closed).

  5. modified the milestones: 9.0.0, Future on Sep 17, 2024
  6. removed their assignment
    on Jan 16, 2025
  7. vitek-karas commented on Mar 24, 2026

    @vitek-karas
    Member

    Investigation: Broader than the current labels suggest

    This issue is labeled os-mac-os-x, arch-x64, runtime-mono, reflecting the original Sept 2024 report. However, looking at the recent build hits from the report table, the test is failing more broadly on macOS — not just Mono/x64.

    Recent failures with available test run data

    Date Build Test Run Platform Runtime PR
    2026-03-13 1334411 net11.0-osx-Debug-arm64-coreclr_checked-OSX.26.Arm64.Open macOS ARM64 CoreCLR checked #125372
    2026-02-25 1309007 net11.0-osx-Release-arm64-coreclr_release-OSX.26.Arm64.Open macOS ARM64 CoreCLR release (main branch)

    Builds 1317144 and 1304617 from the report table have had their test run data cleaned up (404).

    Historical failures from related issues

    Summary

    • macOS-only — no Linux or Windows failures have been reported across any of the related issues
    • Not Mono-specific — the two most recent (2026) failures are both on CoreCLR (checked and release)
    • Not x64-specific — the two most recent failures are on ARM64
    • Still active — the test has no [ActiveIssue] attribute and continues to fail intermittently
    • Root cause — per @bartonjs's earlier comment: AIA requests timing out under high load; the test's RetryHelper (5 retries) doesn't always outlast it

    The arch-x64 and runtime-mono labels may warrant updating to reflect the broader macOS scope.

  8. removed
    runtime-mono
    on Mar 24, 2026
  9. changed the title [-][9.0] Test assert failure in X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes[/-] [+]Test assert failure in X509Certificates.Tests.RevocationTests.AiaTests.AiaAcceptsCertTypesAndIgnoresNonCertTypes[/+] on May 4, 2026
  10. jkotas commented on May 4, 2026

    @jkotas
    Member

    Hit in .NET 11 main (#127178)

  11. vcsjones commented on May 19, 2026

    @vcsjones
    Member

    I am beginning to suspect our test AIA, CRL, and OCSP responder that gets spun up in the background is being hit with thread pool starvation, which is why responses seem to be slow. I will add some logging to check out the hypothesis.

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.Securityos-macos

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions