feat(ci): add mirage/rocjitsu emulation tests #8668
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.50) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 389 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #8668"
general
weight: 0.35
endurthiabhilash
Motivation
Reland ROCm/TheRock#6436 by reverting the revert from ROCm/TheRock#7963.
ROCm/TheRock#6436 added the first mirage/rocjitsu emulation tests to the TheRock CI matrix. It was reverted while the mirage/rocjitsu fix in ROCm/rocm-systems#11312 was still pending. That rocm-systems fix has now landed upstream, so this PR restores the TheRock-side emulation test wiring.
The original motivation still applies: rocrtst and most runtime tests need a real GPU, which ties them to limited GPU runners. Running selected tests through mirage and rocjitsu lets CI exercise ROCr/runtime behavior on CPU runners and eventually on architectures without silicon in the pool.
Technical Details
This PR is intentionally a revert-of-revert. It restores the #6436 changes and resolves only the conflicts caused by later changes on
main.Restored behavior:
test_tools/emulation.pyfor the emulated matrix entry andmirage runcommand construction.test_tools/emulation_test.py, which checks that the emulated GPU comes up and reports the expected target.rocrtst (emulated mi350x)matrix entry, pinned to thequickcategory withROCRTST_PLATFORM_OVERRIDE=EMULATOR.TEST_COMPONENTfallback intest_component.ymlso decorated job names still run the undecorated component tests.mainrequirements/test-tier docs.uses:paths thatactionlintrequires and documenting the dynamic test container image expression.Emulator artifacts:
mirageandrocjitsuartifacts from the current workflow run.mirageandrocjitsufrom the same TheRock source checkout as the rest of the workflow. Release workflows use the release branch'srocm-systemssubmodule; externalrocm-systemsCI can still use the existing external source override path.rocm-systemstree.Issue Tracking
Test Plan
git commit.python3 -m unittest build_tools.github_actions.tests.fetch_test_configurations_testpre-commit run --all-filesTest Result
pre-commit run --all-files: passed.python3 -m unittest build_tools.github_actions.tests.fetch_test_configurations_test: 70 tests passed.The original #6436 PR body contains the full end-to-end emulated rocrtst validation and matrix-parity results that this reland restores.