Skip to content

[ci-scan] Skip X509Certificate2CollectionRemoveRangeArray under R2R (refs #128482)#73

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
ci-scan/skip-x509-removerange-r2r-128482-bfdc2e30d4a57d3a
Draft

[ci-scan] Skip X509Certificate2CollectionRemoveRangeArray under R2R (refs #128482)#73
github-actions[bot] wants to merge 1 commit into
mainfrom
ci-scan/skip-x509-removerange-r2r-128482-bfdc2e30d4a57d3a

Conversation

@github-actions
Copy link
Copy Markdown

Reasoning

X509Certificate2CollectionRemoveRangeArray fails exclusively under crossgen2 R2R compilation on all platforms (linux-x64, osx-x64, windows-x64). The test expects 2 certificates to remain after RemoveRange but finds 0, suggesting a R2R compilation issue affecting collection mutation. The [ActiveIssue(..., typeof(PlatformDetection), nameof(PlatformDetection.IsReadyToRunCompiled))] attribute precisely targets R2R mode only.

Linked KBE: dotnet#128482

Match verification (from Step 4.8):

  1. Same test/family: yes — X509Certificate2CollectionRemoveRangeArray
  2. Same failure signature: yes — Assert.Equal() Failure: Values differ Expected: 2 Actual: 0
  3. Same OS: yes — all platforms (linux, osx, windows)
  4. Same architecture: yes — x64 (all crossgen2 legs)

Impact on platforms

  • runtime-coreclr crossgen2 (def 124) / linux-x64 Release TestReadyToRun_Libraries — exit code 1
  • runtime-coreclr crossgen2 (def 124) / osx-x64 Release TestReadyToRun_Libraries — exit code 1
  • runtime-coreclr crossgen2 (def 124) / windows-x64 Release TestReadyToRun_Libraries — exit code 1

Errors log

[FAIL] System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509Certificate2CollectionRemoveRangeArray
Assert.Equal() Failure: Values differ
Expected: 2
Actual:   0
   at System.Security.Cryptography.X509Certificates.Tests.CollectionTests.X509Certificate2CollectionRemoveRangeArray() in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/CollectionTests.cs:line 1037

First build it occurred

Linked issue

dotnet#128482

Note

🔒 Integrity filter blocked 1 item

The following item was blocked because it doesn't meet the GitHub integrity level.

  • #105207 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 35.3M ·

…t#128482)

Test fails under crossgen2 R2R on all platforms with Expected: 2 Actual: 0
in RemoveRange logic. Likely R2R compilation issue.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

0 participants