Reproduce
aorta sweep run --recipe recipes/sanitizers/daily-consan-lds-dispatch.yamlSet ROCJITSU_PREBUILT (unpacked rocjitsu bundle supplying rj_waitcheck and the ConSan hook) before running. aorta sets HSA_TOOLS_LIB, HSA_TOOLS_DISABLE_REGISTER, RJ_CONSAN_MODE, RJ_CONSAN_POLICY for you from the recipe's policy block.
Rebuild the fixtures
fixtures/isa/lds.hsaco
a gfx code object built from fixtures/kernels/lds_reduce.hip
export PATH="${ROCM_PATH:-${ROCM_HOME:-/opt/rocm}}/lib/llvm/bin:${PATH}"
mkdir -p recipes/sanitizers/fixtures/isa
hipcc --genco --offload-arch=gfx950 recipes/sanitizers/fixtures/kernels/lds_reduce.hip -o tmp.o
if head -c 24 tmp.o | grep -qF __CLANG_OFFLOAD_BUNDLE__; then clang-offload-bundler --type=o --unbundle --input=tmp.o --targets=hipv4-amdgcn-amd-amdhsa--gfx950 --output=recipes/sanitizers/fixtures/isa/lds.hsaco; else cp tmp.o recipes/sanitizers/fixtures/isa/lds.hsaco; fi && rm -f tmp.oThe conditional matters: --genco emits a raw code object on some ROCm builds and a clang-offload bundle on others, and the recorded digest is of the unbundled object.
fixtures/bin/lds_dispatch
a host repro binary built from fixtures/kernels/lds_dispatch.hip
export PATH="${ROCM_PATH:-${ROCM_HOME:-/opt/rocm}}/lib/llvm/bin:${PATH}"
mkdir -p recipes/sanitizers/fixtures/bin
hipcc --offload-arch=gfx950 -DLDS_HSACO="\"$(pwd)/recipes/sanitizers/fixtures/isa/lds.hsaco\"" recipes/sanitizers/fixtures/kernels/lds_dispatch.hip -o recipes/sanitizers/fixtures/bin/lds_dispatchThe -DLDS_HSACO define is required: it is how the binary learns which code object to load.
The exact invocations the nightly used are in .github/workflows/sanitizers-nightly.yml.
Artifacts not published
| Path | SHA-256 |
|---|---|
| fixtures/isa/lds.hsaco | 016cb0043505f7d49902be4f3757c1eba397ffc2e3c4121d41ecbbdb521220ff |
| fixtures/bin/lds_dispatch | 0703e16ce9075ca5bcc4cb82fc1c25a6fd21c758baa749e51882f1d407da56ab |
Recorded digests
| Key | Value |
|---|---|
| code_object:lds.hsaco | 016cb0043505f7d49902be4f3757c1eba397ffc2e3c4121d41ecbbdb521220ff |
| command | /workspace/aorta/recipes/sanitizers/fixtures/bin/lds_dispatch |
| command_sha256 | 0703e16ce9075ca5bcc4cb82fc1c25a6fd21c758baa749e51882f1d407da56ab |
| hook | /workspace/aorta/.sanitizer-nightly/rocjitsu-prebuilt/lib/librocjitsu_dbi_hooks.so |
| hook_sha256 | ca39f6c615910a97c35d5f8a3ecaf4bb0c6a4fbb9c4ca912dacde2214e01760f |
| selected_identity_sha256 | 7716eb73625291a6cf80e3c02acd8a2017034a44df3ed22c8265bfad9ceace1a |
| selected_kernel | lds_reduce |
Every file published for this case. Its logs, recipe copy and inputs were pruned for falling outside the nightly's log-retention window. It is not the whole recipe: 2 required inputs are CI-built and excluded by design, listed under artifacts not published with their SHA-256s.
| File | Size |
|---|---|
| REPRODUCE.md | 3.9 KB |
| env.json | 3.7 KB |
| sanitizer_report.json | 2.3 KB |