You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build error leg or test failing: android-arm Release AllSubsets_CoreCLR - System.Security.Cryptography.Tests - System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.NameConstraintViolation_PermittedTree_Dns
Error Details
Several X509 name-constraint tests fail consistently on Android Helix hardware. The failures look like provider/status behavior mismatches: UPN cases fail chain.Build, while DNS cases report InvalidNameConstraints where the test expects PartialChain.
Observed repro details from a representative official runtime-extra-platforms job:
Search hit for a test name, but unrelated environment/localization issue.
AzDO / Helix history search
Recent public runtime-extra-platforms builds (definition 154) on main were searched for this signature. The important detail is that the xUnit failure text is not present in the AzDO job console logs; it is present in the Helix testResults.xml artifacts linked from those jobs.
Query window: recent builds from 1444966 (20260601.4) back through 1406427 (20260502.2).
Scope: failed Android job console logs scanned, then System.Security.Cryptography.Tests Helix work items inspected via testResults.xml where available.
Search strings: NameConstraintViolation_PermittedTree_Upn, NameConstraintViolation_PermittedTree_Dns, NameConstraintViolation_ExcludedTree_Upn, NameConstraintViolation_ExcludedTree_Dns, InvalidNameConstraints, and PartialChain.
Result: 6 official runtime-extra-platforms Helix work items contained all four failures.
Architecture coverage:
android-arm: 4 hits (AllSubsets_CoreCLR and one AllSubsets_Mono)
android-arm64: 2 hits (AllSubsets_CoreCLR)
android-x86: 0 hits in the inspected window
android-x64: 0 hits in the inspected window
Known issue validation
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=1444966 Error message validated:[\[FAIL\][^\n]*System\.Security\.Cryptography\.X509Certificates\.Tests\.DynamicChainTests\.NameConstraintViolation_(PermittedTree|ExcludedTree)_(Dns|Upn) Exception messages: (chain\.Build|Assert\.Equal\(\) Failure: Values differ)] Result validation: ✅ Known issue matched with the provided build. Validation performed at: 6/2/2026 10:42:33 AM UTC
Note
This issue draft was prepared with GitHub Copilot assistance and should be reviewed before posting.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1444966
Additional observed builds:
Build error leg or test failing:
android-arm Release AllSubsets_CoreCLR-System.Security.Cryptography.Tests-System.Security.Cryptography.X509Certificates.Tests.DynamicChainTests.NameConstraintViolation_PermittedTree_DnsError Details
Several X509 name-constraint tests fail consistently on Android Helix hardware. The failures look like provider/status behavior mismatches: UPN cases fail
chain.Build, while DNS cases reportInvalidNameConstraintswhere the test expectsPartialChain.Observed repro details from a representative official runtime-extra-platforms job:
android-arm Release AllSubsets_CoreCLRSystem.Security.Cryptography.TestsDNCENGWIN-142TESTS_FAILED, instrumentation exit 1Observed failure summaries:
Other official runtime-extra-platforms hits found in Helix
testResults.xml:android-arm Release AllSubsets_Mono, Helix: https://helix.dot.net/api/jobs/59f4de60-e3e0-4d92-bba4-4ffa93ab9445/workitems/System.Security.Cryptography.Tests?api-version=2019-06-17android-arm Release AllSubsets_CoreCLR, Helix: https://helix.dot.net/api/jobs/b1f9d1bd-1d1b-438b-ab80-34b1f16ab24e/workitems/System.Security.Cryptography.Tests?api-version=2019-06-17android-arm Release AllSubsets_CoreCLR, Helix: https://helix.dot.net/api/jobs/6d2e01a6-4741-4cf6-857d-92a859bf8602/workitems/System.Security.Cryptography.Tests?api-version=2019-06-17android-arm64 Release AllSubsets_CoreCLR, Helix: https://helix.dot.net/api/jobs/2957a5ca-18ce-4df1-9c23-2f332f8de6e7/workitems/System.Security.Cryptography.Tests?api-version=2019-06-17android-arm Release AllSubsets_CoreCLR, Helix: https://helix.dot.net/api/jobs/a4492657-e917-4b7d-ae62-633f0eca9b9a/workitems/System.Security.Cryptography.Tests?api-version=2019-06-17android-arm64 Release AllSubsets_CoreCLR, Helix: https://helix.dot.net/api/jobs/5cc7dc11-993e-4b51-a85a-24a5c7143ae6/workitems/System.Security.Cryptography.Tests?api-version=2019-06-17Error Message
{ "ErrorMessage": "", "ErrorPattern": [ "\\[FAIL\\][^\\n]*System\\.Security\\.Cryptography\\.X509Certificates\\.Tests\\.DynamicChainTests\\.NameConstraintViolation_(PermittedTree|ExcludedTree)_(Dns|Upn)", "Exception messages: (chain\\.Build|Assert\\.Equal\\(\\) Failure: Values differ)" ], "BuildRetry": false, "ExcludeConsoleLog": false }The ordered
ErrorPatternarray intentionally matches the DOTNET/logcat summary for all four related failures:NameConstraintViolation_PermittedTree_Upnwithchain.BuildNameConstraintViolation_PermittedTree_DnswithInvalidNameConstraintsNameConstraintViolation_ExcludedTree_Upnwithchain.BuildNameConstraintViolation_ExcludedTree_DnswithInvalidNameConstraintsDuplicate search
No open issue was found that directly tracks this Android-specific X509 name-constraint mismatch.
Related but not duplicates:
AzDO / Helix history search
Recent public
runtime-extra-platformsbuilds (definition 154) onmainwere searched for this signature. The important detail is that the xUnit failure text is not present in the AzDO job console logs; it is present in the HelixtestResults.xmlartifacts linked from those jobs.20260601.4) back through 1406427 (20260502.2).System.Security.Cryptography.TestsHelix work items inspected viatestResults.xmlwhere available.NameConstraintViolation_PermittedTree_Upn,NameConstraintViolation_PermittedTree_Dns,NameConstraintViolation_ExcludedTree_Upn,NameConstraintViolation_ExcludedTree_Dns,InvalidNameConstraints, andPartialChain.Architecture coverage:
android-arm: 4 hits (AllSubsets_CoreCLRand oneAllSubsets_Mono)android-arm64: 2 hits (AllSubsets_CoreCLR)android-x86: 0 hits in the inspected windowandroid-x64: 0 hits in the inspected windowKnown issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1444966
Error message validated:
[\[FAIL\][^\n]*System\.Security\.Cryptography\.X509Certificates\.Tests\.DynamicChainTests\.NameConstraintViolation_(PermittedTree|ExcludedTree)_(Dns|Upn) Exception messages: (chain\.Build|Assert\.Equal\(\) Failure: Values differ)]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/2/2026 10:42:33 AM UTC
Report
Summary