Reproduce
aorta sweep run --recipe recipes/sanitizers/daily-waitcheck-lds-dispatch.yamlSet ROCJITSU_PREBUILT (unpacked rocjitsu bundle supplying rj_waitcheck and the ConSan hook) before running.
Rebuild the fixtures
fixtures/isa/lds.hsaco
a gfx code object built from fixtures/kernels/lds_reduce.hip
export PATH="$(python -c "from aorta.instrumentation.rocm_paths import resolve_rocm_roots; print(resolve_rocm_roots().llvm_bin_dir)"):${PATH}"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}$(python -c "import os; from aorta.instrumentation.rocm_paths import resolve_rocm_roots as r; x = r(); print(os.pathsep.join(dict.fromkeys([str(x.core_lib_dir), str(x.lib_dir)])))")"
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.
The exact invocations the nightly used are in .github/workflows/sanitizers-nightly.yml.
Artifacts not published
| Path | SHA-256 |
|---|---|
| fixtures/isa/lds.hsaco | 774cd97b0faad0f31a3c42586e4a831730493ff1f1eef600f1d72586be7be24b |
Recorded digests
| Key | Value |
|---|---|
| code_object:lds.hsaco | 774cd97b0faad0f31a3c42586e4a831730493ff1f1eef600f1d72586be7be24b |
| path | /workspace/aorta/.sanitizer-nightly/rocjitsu-prebuilt/bin/rj_waitcheck |
| sha256 | a70945fb1135a436c13c83ed96a6cff3655784138f4db3d20ef7315ade0a8968 |
Every file published for this case. Logs are gzipped. It is not the whole recipe: 1 required input is CI-built and excluded by design, listed under artifacts not published with its SHA-256.
| File | Size |
|---|---|
| REPRODUCE.md | 3.4 KB |
| env.json | 2.8 KB |
| inputs/fixtures/kernels/lds_reduce.hip | 719 B |
| recipe.yaml | 803 B |
| sanitizer_report.json | 1.7 KB |
| waitcheck/waitcheck-0.log.gz | 133 B |