Skip to content

Exclude rundownvalidation from crossgen tests - #101

Closed
jtschuster wants to merge 1 commit into
mainfrom
investigate-issue-131662
Closed

jtschuster wants to merge 1 commit into
mainfrom
investigate-issue-131662

Conversation

@jtschuster

Copy link
Copy Markdown
Owner

rundownvalidation requires a MethodILToNativeMap rundown event, but that event is emitted only for JIT-compiled methods. A fully composite ReadyToRun framework and test image can legitimately execute with no eligible JIT methods when tiered compilation is disabled, making this assertion depend on incidental runtime JIT fallback behavior.

Exclude this test from crossgen runs so its assembly remains IL and reliably exercises the JIT-only event, while preserving the existing assertion and process-isolated execution.

Validation:

  • Reproduced the exact scheduled last-good payload passing and first-bad payload failing on Windows x64 Checked with DOTNET_TieredCompilation=0, --composite, and --inputbubble.
  • Isolated the transition to ILCompiler.ReadyToRun.dll from Enable R2R for unresolved static virtual interface calls dotnet/runtime#131282 using fixed framework inputs and reciprocal compiler DLL swaps.
  • Ran the exact first-bad composite framework payload with test crossgen disabled: the test passed with hasMethodILToNativeMap=True, and no IL-CG2 output was created.

Fixes dotnet#131662

Note

This pull request description was generated with GitHub Copilot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8bca951a-81ba-4d34-a73b-a8f82a228246
@jtschuster jtschuster closed this Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: tracing/eventpipe/rundownvalidation/rundownvalidation/rundownvalidation.cmd

1 participant