Skip to content

Disable Runtime_129681 CrossGen2 testing - #132126

Merged
jkotas merged 1 commit into
dotnet:mainfrom
kkokosa:disable-r2r-runtime-129681
Aug 12, 2026
Merged

Disable Runtime_129681 CrossGen2 testing#132126
jkotas merged 1 commit into
dotnet:mainfrom
kkokosa:disable-r2r-runtime-129681

Conversation

@kkokosa

@kkokosa kkokosa commented Aug 11, 2026

Copy link
Copy Markdown
Member

Runtime_129681 configures a 64 MiB GC heap hard limit, but CrossGen2 reserves 6 GiB for regions. Opt the test out of CrossGen2 so R2R jobs still execute the regression without failing during ahead-of-time compilation.

Fixes #132062
Fixes #132037

Validation

  • build.cmd clr+libs -lc release -rc checked: succeeded with 0 warnings and 0 errors.
  • src\tests\build.cmd -Test GC\Regressions\Github\Runtime_129681\Runtime_129681.csproj x64 checked -Priority 1: succeeded with 0 warnings and 0 errors.
  • Ran the generated wrapper with RunCrossGen2=1: the test passed (Expected: 100, Actual: 100), the script contained no Crossgen2 compiler or IL-CG2 compilation commands, and no IL-CG2 directory was created.

Replacing DOTNET_GCStress=0xC with DOTNET_gcConcurrent=0 could be investigated separately because this regression only needs concurrent GC disabled. That may address the plain macOS startup failure in #132045; this PR does not claim to fix it.

Note

This PR description was generated with GitHub Copilot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 11, 2026 09:49
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 CoreCLR GC regression test project Runtime_129681 to opt out of CrossGen2/R2R compilation in the test harness, allowing the regression to continue running in R2R CI legs without failing during the ahead-of-time compilation step.

Changes:

  • Disable CrossGen2 for Runtime_129681 by setting <CrossGenTest>false</CrossGenTest>.
  • Add a brief comment in the project file documenting the reason and linking to the tracking issue.
@kkokosa
kkokosa marked this pull request as ready for review August 11, 2026 11:28
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.
@jkotas
jkotas merged commit 89c45f7 into dotnet:main Aug 12, 2026
87 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants