Enable twice-weekly host-ASan builds and testing on gfx942 #8849
<!-- therock-pr-bot-policy-check -->
✅ All Policy Checks Passed
| Check | Status | Details |
|---|:---:|---|
| 📝 PR Description | ✅ Pass | — |
| ⛔ Forbidden Files | ✅ Pass | — |
| 🧪 Unit Test | ⚠️ Warning | Error: Source/code files changed without an accompanying unit test.<br>Expected: add at least one test file named like test_<name>.py / test_<name>.cpp (or <name>_test.*).<br>Current: code file(s) changed: build_tools/github_actions/amdgpu_family_matrix.py, build_tools/github_actions/configure_multi_arch_ci.py, build_tools/github_actions/fetch_test_configurations.py; no test file found |
| 🚫 Draft PR | 🔜 To Be Enabled | — |
| 🚩 Feature Flag | 🔜 To Be Enabled | — |
| 📊 Code Coverage | 🔜 To Be Enabled | — |
🎉 All policy checks passed!
📖 Need help? See the Policy FAQ for details on every check and how to fix failures.
<!-- therock-pr-bot-fix-policies -->
🚫 Please fix the failed policies before requesting reviews.
The following policy checks failed:
The Not ready to Review label has been added to this PR.
Once all policies pass, the label will be removed automatically.
instead of hard-coding for specific families, can we add this to amdgpu_family_matrix.py for particular families? so if host-asan is running and the family is gfx94X, it will be included
this way, we can dynamically add other targets
having to track with if statements is no bueno, so it should be adjustable and visible!
same here... not a fan of hard-coded if statements.
i need to adjust therock-ci-config to expand from "sandbox" as we are past the experimental stage. this is fine for now, but keep in mind to clean up after therock-ci-config is adjusted
Addressed in d859220. Added host-asan-use-ci-runners to the gfx94x/Linux family configuration. Both runner-selection paths now read this flag instead of checking the family name, so other targets can opt in through the matrix.
Updated this path to use the same matrix flag. Added a cleanup note under #3433 to remove the temporary bypass once therock-ci-config migrates the ASan runners. Pre-commit and 18 runner-selection checks passed.
Please link to an associated issue per the PR review bot. I will not review PRs like this that are not connected to an issue with design decisions already resolved there.
https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md#linking-pull-requests-to-github-issues
Noted, linked the issue. Thank you!
can we prefix with multi_arch for file name?
can we add options for inputs? for linux and windows families?
not a big fan of this, feels a bit hacky and would prefer to have it systematic!
perhaps we can add:
"test-runs-on-variants": {
"host-asan": linux-gfx942-1gpu-ccs-csp-ossci-rocm
}
?
this way, it can be clearer and self-documenting. all you do is pass in host-asan variant and use those runners?
this means you'll need to update fetch_test_configurations.py
with design decisions already resolved there
Emphasizing. This is not ready for review. Need to discuss on the issue first.
geomin12
sa-faizal
ISSUE ID : https://github.com/ROCm/TheRock/issues/9029
This is a stopgap measure until the full ASan setup is ready for nightly testing.
Adds a host-ASan build and test workflow for gfx942, running every Tuesday and Thursday at 08:17 UTC. It uses the existing
host-asan-debugpreset and multi-arch CI pipeline, and can also be started manually.GPU tests use the existing OSSCI labels:
linux-gfx942-1gpu-ccs-csp-ossci-rocmlinux-gfx942-8gpu-ossci-rocmgfx94x opts into these runners through the
host-asan-use-ci-runnersfamily-matrix flag. Both runner-selection paths read this flag, allowing other families to opt in through configuration. The bypass is temporary untiltherock-ci-configmigrates the ASan runners.Pre-commit and 18 runner-selection checks passed. Test files are unchanged; three existing assertions fail because they still expect sandbox routing.
Demo run: all build stages and sanity passed. Multiple component tests failed, which is expected at this stage. This run predates the matrix-flag follow-up and uses the existing ASan workflow entry point on a separate branch.