{
  "artifacts_not_published": [
    {
      "path": "fixtures/isa/tiny.hsaco",
      "sha256": "5159d89010b27fa513b28e88ff57d4eea279cc221f90dd3567f48e857f56a256"
    },
    {
      "path": "fixtures/bin/consan_tiny_load",
      "sha256": "d110a697d5866e8aedc0b2475ff3437719e1de59836432436ee11862bdaf4f75"
    }
  ],
  "case": "consan-tiny",
  "class": "survey",
  "command": "aorta sweep run --recipe recipes/sanitizers/daily-consan-tiny.yaml",
  "commit": "30dcc055cba8f7f335169014f9af090a83ba00bd",
  "container_image": "rocm/pytorch:rocm10.0_ubuntu26.04_py3.14_pytorch_release_2.13.0@sha256:3174cb7061d94c427da96c0edef4adea28046fa3f3b2ff3948dc4e995665ff8c",
  "date": "2026-09-02T12:47:13+00:00",
  "digests": {
    "code_object:tiny.hsaco": "5159d89010b27fa513b28e88ff57d4eea279cc221f90dd3567f48e857f56a256",
    "command": "/workspace/aorta/recipes/sanitizers/fixtures/bin/consan_tiny_load",
    "command_sha256": "d110a697d5866e8aedc0b2475ff3437719e1de59836432436ee11862bdaf4f75",
    "hook": "/workspace/aorta/.sanitizer-nightly/rocjitsu-prebuilt/lib/librocjitsu_dbi_hooks.so",
    "hook_sha256": "218f0ad3835f7c5a4c74287a68168893e3488f3c8f23e72e372a891f1b20e0fc",
    "selected_identity_sha256": "39bfcae187ce82c71092098c4fb09483781e232c078601fbc11d745c9ca6e78a",
    "selected_kernel": "tiny_vecadd"
  },
  "inputs": [
    "fixtures/kernels/tiny_vecadd.hip",
    "fixtures/kernels/consan_load.hip"
  ],
  "logs_published": true,
  "observed": {
    "execution": "error",
    "findings": 0,
    "reason": "combined_hook_exit_86",
    "verdict": "error"
  },
  "rebuild": [
    {
      "caveat": "The 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.",
      "commands": [
        "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/tiny_vecadd.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/tiny.hsaco; else cp tmp.o recipes/sanitizers/fixtures/isa/tiny.hsaco; fi && rm -f tmp.o"
      ],
      "path": "fixtures/isa/tiny.hsaco",
      "what": "a gfx code object built from fixtures/kernels/tiny_vecadd.hip"
    },
    {
      "caveat": "The -DOBJECT define is required: it is how the binary learns which code object to load.",
      "commands": [
        "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/bin",
        "hipcc --offload-arch=gfx950 -DOBJECT=\"\\\"$(pwd)/recipes/sanitizers/fixtures/isa/tiny.hsaco\\\"\" recipes/sanitizers/fixtures/kernels/consan_load.hip -o recipes/sanitizers/fixtures/bin/consan_tiny_load"
      ],
      "path": "fixtures/bin/consan_tiny_load",
      "what": "a host repro binary built from fixtures/kernels/consan_load.hip"
    }
  ],
  "recipe": "recipes/sanitizers/daily-consan-tiny.yaml",
  "required_env": [
    {
      "purpose": "unpacked rocjitsu bundle supplying rj_waitcheck and the ConSan hook",
      "set_by": "operator",
      "var": "ROCJITSU_PREBUILT"
    },
    {
      "purpose": "ConSan hook to load",
      "set_by": "aorta",
      "var": "HSA_TOOLS_LIB"
    },
    {
      "purpose": "must be 1 so the hook is not double-registered",
      "set_by": "aorta",
      "var": "HSA_TOOLS_DISABLE_REGISTER"
    },
    {
      "purpose": "ConSan detection mode",
      "set_by": "aorta",
      "var": "RJ_CONSAN_MODE"
    },
    {
      "purpose": "ConSan reporting policy",
      "set_by": "aorta",
      "var": "RJ_CONSAN_POLICY"
    }
  ],
  "rocjitsu_commit": "4733a76553cd3605ff3f7f0cea1b317b0c2c63b1",
  "rocjitsu_run_url": "https://github.com/ROCm/rocm-systems/actions/runs/33535619695",
  "run": "2026-09-02T124713-33629901482",
  "run_url": "https://github.com/ROCm/aorta/actions/runs/33629901482",
  "schema": "aorta.sanitizer_run_area/0.1",
  "target": "gfx950"
}
