Skip to content

[Android] Disable X509 name-constraint violation tests on Android#128892

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/resolve-x509-name-constraint-issues
Open

[Android] Disable X509 name-constraint violation tests on Android#128892
Copilot wants to merge 2 commits into
mainfrom
copilot/resolve-x509-name-constraint-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

Android X.509 chain building reports different name-constraint outcomes than the current DynamicChainTests expectations on Helix hardware. The mismatch affects the permitted/excluded DNS and UPN violation cases across Android CoreCLR/Mono legs.

  • Marked the four Android-specific failing name-constraint violation tests with ActiveIssue.
  • Preserved existing coverage on non-Android platforms.
[ActiveIssue("https://github.com/dotnet/runtime/issues/128890", TestPlatforms.Android)]

Related to #128890

Copilot AI self-assigned this Jun 2, 2026
Copilot AI review requested due to automatic review settings June 2, 2026 12:22
Copilot AI review requested due to automatic review settings June 2, 2026 12:22
Co-authored-by: simonrozsival <374616+simonrozsival@users.noreply.github.com>
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

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

@simonrozsival simonrozsival changed the title Mark Android X509 name-constraint failures active [Android] Disable X509 name-constraint tests on Android Jun 3, 2026
@simonrozsival simonrozsival changed the title [Android] Disable X509 name-constraint tests on Android [Android] Disable X509 name-constraint violation tests on Android Jun 3, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the System.Security.Cryptography X509 chain-building test suite to acknowledge known Android-only failures in DynamicChainTests around name-constraint violation handling, by marking the affected tests with ActiveIssue so they’re skipped on Android while continuing to run on other platforms.

Changes:

  • Added [ActiveIssue("https://github.com/dotnet/runtime/issues/128890", TestPlatforms.Android)] to the DNS permitted/excluded name-constraint violation tests.
  • Added the same Android-scoped ActiveIssue to the UPN permitted/excluded name-constraint violation tests (including one ConditionalFact case).
  • Kept all non-Android behavior and coverage unchanged.
Show a summary per file
File Description
src/libraries/System.Security.Cryptography/tests/X509Certificates/DynamicChainTests.cs Marks four Android-failing name-constraint violation tests as ActiveIssue to prevent Android CI failures while preserving coverage elsewhere.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@simonrozsival
Copy link
Copy Markdown
Member

/azp run runtime-android

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ci-scan] Test failure: Android X509 DynamicChainTests name-constraint status mismatch

4 participants