forge
Explore
Log in

Don't you dare go Hollow

lanes/av1merge-wave3d: section 8, the wave-3d suite staging

Browse files at this commit

f383944557984ebea54f71bdcd35e58a2b06e1f6Ahmet Kaan GümüşParent: 37dae75
Staged on user@host-d by git archive + git add -A (1693 index
entries, so the pin census sees tracked pins) + the root fixtures symlink (so
the clip gates can run instead of failing loudly), launched with systemd-run
carrying every EC_* and PATH explicitly. Hash-checked with the re-keyed comm,
496 = 496, plus a self-comparison control so an empty comm -3 cannot be mistaken
for a broken one.

The preflight and the pin-gate-audit self-test are already GREEN from that
archive checkout: verify-fixture-library GREEN (299 rows) and the census line
total=8 committed=21 uncommitted=0 ignored=0 assertless=0.

The oracle rung checker cannot run on that host -- it has only
~/.cache/aom-oracle/build, no src/ -- which is provisioning, not a regression;
the 14 ok / exit 0 figure stays a local measurement. Suite totals appended when
the unit exits.
lanes/av1merge-wave3d.report.mdmodified+80 -6
@@ -395,9 +395,83 @@ the same defect class this wave is about.)*
395395 | Main's tsv row-set check | empty, twice |
396396 | name-set `comm` both directions | +2 / −0 |
397397
398-**server suite for wave 3d: not run.** The wave-3c-b suite
399-(`user@host-a`, unit `wave3cb-suite`, log `~/gates/wave3cb/suite.log`)
400-was still executing when this wave started and I did not queue a second full run
401-behind it. Everything above is measured on the merged tree in a lane-private
402-target dir with the local `aomenc`/`aomdec`/`ffmpeg` present, except the oracle
403-rebuild-dependent rung output, which is named as the lane's measurement.
398+## 8. server full suite for wave 3d
399+
400+Host `user@host-d` (`host-f`), unit
401+`wave3d-suite.service`, staging `~/gates/wave3d`, logs `~/gates/wave3d-suite.log`
402+and `~/gates/wave3d/suite.log`.
403+
404+Staging used the recipe this batch validated, with both corrections:
405+
406+1. `git archive HEAD` — never a worktree tar — scp, extract under `$HOME`.
407+2. `git init -q` **plus `git add -A`**: 1693 index entries. A bare `git init`
408+ leaves the index empty, `pin-gate-audit.py`'s `git ls-files --error-unmatch`
409+ then fails for every pin, and the census reads `committed=0 uncommitted=21` —
410+ a staging artefact that looks exactly like the defect invariant 4 exists to
411+ catch. This is the wave-3c-b correction.
412+3. `ln -sfn ~/gates/library/fixtures fixtures`: the clip gates now **fail
413+ loudly** without it. That is the clipprobe fix working, not a staging defect.
414+4. `systemd-run --user` with explicit `WorkingDirectory`, `CARGO_TARGET_DIR`,
415+ `TMPDIR`, `EC_NOMEMGUARD=1`, `EC_AV1_REQUIRE_AOMENC=1`,
416+ `EC_AV1_REQUIRE_FFMPEG=1`, `EC_REQUIRE_FIXTURES=1`, `EC_FIXTURES`,
417+ `EC_AV1_AOMENC`, `EC_AV1_AOMDEC`, and `PATH` **carrying
418+ `$HOME/.cargo/bin`** — `systemd-run` resets `PATH`, and a missing `cargo`
419+ there silently empties every measurement in the script.
420+5. Both gitignored `lanes/*.expected.txt` dumps present (24440 / 10129 B).
421+
422+### Hash check, both directions, re-keyed
423+
424+ rows local=496 host=496
425+ $ comm -3 local3d.ps hostC3d.ps
426+ (no output)
427+ comm_exit=0
428+ $ comm -3 local3d.ps local3d.ps | wc -l # control: comm really compares
429+ 0
430+
431+The re-keying (`awk '{print $2"\\t"$1}' | LC_ALL=C sort`) is not optional: raw
432+`comm` on `sha256sum` output prints "not in sorted order" and then interleaves
433+byte-identical rows as if they differed — the exact false reading this check
434+exists to prevent. The self-comparison control is there so an empty `comm -3`
435+cannot be mistaken for a broken one.
436+
437+### What the unit reported before the suite started
438+
439+ === host=host-f commit=08f8ffb3622f80056542b36cb3da34a1998bc38b
440+ === root fixtures -> /home/user/gates/library/fixtures; library files=793
441+ === PREFLIGHT (EC_REQUIRE_FIXTURES=1, root linked)
442+ preflight_exit=0 :: verify-fixture-library: GREEN (299 rows)
443+ shape: 299 rows
444+ resolve: 0 missing, 0 empty
445+ invariant 1: positive control fired (the scanner can still see a literal)
446+ invariant 1: no root-fixture pin path
447+ invariant 2: every committed pin is tracked
448+ invariant 3: .gitignore negation present
449+ invariant 3: no tracked pin is shadowed by .gitignore
450+ pin gates: total=8 committed=21 uncommitted=0 ignored=0 assertless=0
451+ invariant 4: census self-test passed (a comment cannot steal a gate)
452+ invariant 4: every pin-reading gate resolves through committed copies
453+ === PIN-GATE-AUDIT SELF-TEST
454+ SELFTEST PASS a doc comment between two gates left both counted as crate_pin
455+ selftest_exit=0
456+
457+So both regenerated manifests and the whole 3c-b chain are GREEN **from a
458+`git archive` checkout on a runner** — the state the 3c-b report could not reach.
459+
460+**One check does NOT run on this host, and it is provisioning, not the repo:**
461+
462+ $ ./scripts/check-aom-oracle-rungs.sh ; echo $?
463+ no oracle source at /home/user/.cache/aom-oracle/src/av1/decoder/decodeframe.c
464+ 1
465+ $ ls ~/.cache/aom-oracle/
466+ build
467+
468+This host carries only `~/.cache/aom-oracle/build` (the `aomdec` and `aomenc`
469+binaries) and **no `src/`**, so the rung checker — which compares the derived
470+instrumented files against pristine oracle source — cannot run here. The
471+**14 ok / exit 0** figure in §4 and §7 is the local measurement. The suite needs
472+only the binaries, so it is unaffected; recorded so nobody reads the exit 1 as a
473+regression.
474+
475+### Totals
476+
477+*(appended when the unit exits.)*