cabi-1 evidence (omega-bridge#83)
Status: HOST_TESTED on a fresh clone of hive/bridge-83-abi holding the emitter, the gate and the docs of
this commit without this evidence/cabi-1/ directory (aarch64 DGX Spark host, CPU only, core 2, no device
access). env.txt names the tested src, tools, tests, docs, .github and README.md git objects;
the commit that carries this report holds the same objects (check with git rev-parse HEAD:src and so on),
and the src/toc.om and tools/bridge-seeded SHA-256 digests. commands.sh is the exact scratch runner
(its argument was the tested commit); env.txt also records the seeded compiler digests and the ORACLE
tool versions.
| Log | Command | Expected | Observed |
|---|---|---|---|
build.log | sh tools/build.sh | rc 0 | rc=0 |
test-sh.log | sh tools/test.sh | ALL SUITES RC=0 | ALL SUITES RC=0, rc=0 |
seeded.log, seeded_float.log, seeded_views.log, seeded_runtime_views.log | python3 tests/<suite>.py | PASS | PASS, rc=0 each |
freest.log, freest_views.log | python3 tests/freest*.py (FREEST_CUDAPP_ROOT = CUDApp dbb1b500) | PASS | PASS, rc=0 each |
cabi-gate.log | cat tests/cabi/proc.om tests/cabi/gate.om \| $OMEGA_SEEDED_OMC > build/cabi-gate; build/cabi-gate | 35 PASS lines, OMEGA-BRIDGE CABI GATE PASS | as expected, rc=0 |
cabi-gate-unconfigured.log | env -u OMEGA_SEEDED_OMC build/cabi-gate | NOT_RUN, rc 77 | rc=77 |
Negative controls (each a modified copy of the fresh clone; the gate must not pass):
| Log | Mutation | Observed |
|---|---|---|
neg-golden-byte.log | one space added to golden tests/cabi/golden/nvmlDeviceGetName.c | CABI GATE FAIL: exported wrapper equals its golden, rc=1 |
neg-no-provsum.log (neg-no-provsum.diff) | ab_provsum call removed from ab_lib_main in src/toc.om, rebuilt | all-zero digest input no longer refused: expected=52 ... argv0=build/bridge, cabi gate refused, rc=90 |
neg-base-d8174ed.log | base src/toc.om and tools/bridge-seeded from d8174ed, rebuilt | base wrapper has no lib-c mode (usage, exit 64), cabi gate refused, rc=90 |
An earlier run of the same runner reported neg-no-provsum rc=0: its sed range ended at the first end
in ab_lib_main, so nothing was deleted. The runner now refuses to continue unless the mutation produces
a diff; the logs here are from the corrected run (wall time 85 s).
ORACLE tools (test-only, never shipped): cc (GCC 13.3.0), nm/readelf (GNU Binutils 2.42),
tests/cabi/caller.c, sha256sum. Python 3.12.3 runs the pre-existing regression harnesses.
NOT_RUN: GitHub Actions (portable.yml step added; aien-dev Actions blocked) and any device or
hardware run (seeded.log: device NOT_RUN).