rehearsal cycle: a green journey behind a non-zero smoke rc must park as a HARNESS fault, not re-fire per tick; and the cert-seed VERIFY reads INCONCLUSIVE on a seed that took #1060

Closed
opened 2026-08-31 06:12:02 +00:00 by ben · 3 comments
Owner

Two residues of the #1053 rented regression drive (20260831T055338Z, see the sibling bug ticket on the exit-2 false red).

1. The cycle hot-loops a GREEN journey whose harness tail faulted

When smoke-private-path.sh exits non-zero AFTER Playwright passed every leg, rehearsal_report_decision says report, the reporter answers no red legs and drive rc=0 — green drive, nothing to file, and the cycle neither closes nor blocks the drive issue — so the executor fires again on the next tick. On the rented target that is a fresh droplet rental per tick, for as long as the harness fault persists (#1035 class, but the preflight backoff does not cover it: the fault is post-drive).

Wanted: when the reporter reports a green journey behind a non-zero smoke rc, the cycle treats it as a harness fault, not a drive red: post the leg-list verdict on the drive issue, file/refresh ONE harness ticket (the #918 staleness shape) that blocks the drive issue, and arm the preflight backoff so the next tick does not re-rent. Offline test in scripts/tests/ against rehearsal-staleness-park-lib.sh / the cycle's report branch.

2. The cert-seed VERIFY is INCONCLUSIVE exactly when the seed took

Drive 20260831T055338Z: rented certs: harvest skipped — the seed took (zero 'creating new order' lines on the box), yet the live capture logs/caddy-rented.txt (Phase C, journalctl -u caddy while the box lived) carried 1 line with no TLS activity, so oc_caddy_zero_obtain_verdict said INCONCLUSIVE. The worker's "zero orders" and the verdict's "no TLS activity at all" read the same journal — one of them is wrong about what a seed-took Caddy logs, or the capture ran before Caddy had served anything. Find out which and make the verify say VERIFIED on a seed that took (criterion #747), never INCONCLUSIVE.

Evidence: test-results/drive-rented/20260831T055338Z/logs/{caddy-rented,cert-rented,droplet-caddy}.txt on matou-workstation.

Two residues of the #1053 rented regression drive (`20260831T055338Z`, see the sibling bug ticket on the exit-2 false red). ## 1. The cycle hot-loops a GREEN journey whose harness tail faulted When `smoke-private-path.sh` exits non-zero AFTER Playwright passed every leg, `rehearsal_report_decision` says `report`, the reporter answers `no red legs and drive rc=0 — green drive, nothing to file`, and the cycle **neither closes nor blocks the drive issue** — so the executor fires again on the next tick. On the rented target that is a fresh droplet rental per tick, for as long as the harness fault persists (#1035 class, but the preflight backoff does not cover it: the fault is post-drive). **Wanted:** when the reporter reports a green journey behind a non-zero smoke rc, the cycle treats it as a **harness fault, not a drive red**: post the leg-list verdict on the drive issue, file/refresh ONE harness ticket (the #918 staleness shape) that blocks the drive issue, and arm the preflight backoff so the next tick does not re-rent. Offline test in `scripts/tests/` against `rehearsal-staleness-park-lib.sh` / the cycle's report branch. ## 2. The cert-seed VERIFY is INCONCLUSIVE exactly when the seed took Drive `20260831T055338Z`: `rented certs: harvest skipped — the seed took (zero 'creating new order' lines on the box)`, yet the live capture `logs/caddy-rented.txt` (Phase C, `journalctl -u caddy` while the box lived) carried **1 line with no TLS activity**, so `oc_caddy_zero_obtain_verdict` said INCONCLUSIVE. The worker's "zero orders" and the verdict's "no TLS activity at all" read the same journal — one of them is wrong about what a seed-took Caddy logs, or the capture ran before Caddy had served anything. Find out which and make the verify say VERIFIED on a seed that took (criterion #747), never INCONCLUSIVE. Evidence: `test-results/drive-rented/20260831T055338Z/logs/{caddy-rented,cert-rented,droplet-caddy}.txt` on matou-workstation.
Author
Owner

Evidence detail for part 2: on 20260831T055338Z the Phase-C live capture logs/caddy-rented.txt is exactly -- No entries -- — journalctl -u caddy matched NO unit on the rented gateway while it lived, so the worker's "zero creating-new-order lines" was a grep over an empty journal, not proof the seed took. First check: the Caddy unit name on the rented image (systemctl list-units | grep -i caddy) — the capture and the order-count must both read the unit that actually runs.

Evidence detail for part 2: on `20260831T055338Z` the Phase-C live capture `logs/caddy-rented.txt` is exactly `-- No entries --` — `journalctl -u caddy` matched NO unit on the rented gateway while it lived, so the worker's "zero creating-new-order lines" was a grep over an empty journal, not proof the seed took. First check: the Caddy unit name on the rented image (`systemctl list-units | grep -i caddy`) — the capture and the order-count must both read the unit that actually runs.

swarm-claim host=elitebook-distributed-server-03 run=15055
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=15055 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1060 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1060,
  "status": "success",
  "commits": [
    "4b01ae58"
  ],
  "changed_files": [
    "STATUS.md",
    "docs/GOTCHAS.md",
    "scripts/lib/rehearsal-droplet.sh",
    "scripts/lib/rehearsal-staleness-park-lib.sh",
    "scripts/rehearsal-cycle.sh",
    "scripts/tests/rehearsal-rented-certs-test.sh",
    "scripts/tests/rehearsal-staleness-park-test.sh"
  ],
  "tests": [
    {
      "command": "bash scripts/tests/rehearsal-staleness-park-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/rehearsal-rented-certs-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/rehearsal-cert-harvest-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/rehearsal-device-target-test.sh",
      "exit_code": 0
    }
  ],
  "criteria": {
    "1. A green journey behind a non-zero smoke rc is treated as a HARNESS fault, not a drive red": "New park-harness decision in rehearsal_report_decision keys on artifacts/verdict.json being green (scripts/lib/rehearsal-staleness-park-lib.sh); the park-harness) arm in scripts/rehearsal-cycle.sh never invokes the reporter. Proven: rehearsal-staleness-park-test.sh surface 7 (park-harness for rc=2 + verdict green; report for verdict red / absent).",
    "1a. Post the leg-list verdict on the drive issue": "rehearsal_harness_fault_park posts the leg list (rehearsal_harness_fault_leg_list) as a drive-issue comment; the park-harness) arm computes it. Proven: surfaces 7-8.",
    "1b. File/refresh ONE harness ticket (the #918 shape) that BLOCKS the drive issue": "rehearsal_harness_fault_park is idempotent by OC_HARNESS_FAULT_MARKER and calls forgejo_add_dependency to block the drive issue. Proven: surface 8 (arm calls rehearsal_harness_fault_park).",
    "1c. Arm the preflight backoff so the next tick does not re-rent": "park-harness) arm calls rehearsal_preflight_backoff_arm. Proven: surface 8 grep.",
    "2. The cert-seed VERIFY says VERIFIED on a seed that took, never INCONCLUSIVE (criterion #747)": "Root cause found: journalctl -u caddy captured before caddy logged (the seeded cert lands on disk pre-deploy) grabbed `-- No entries --`; the unit name was never wrong. Phase C now gates the seed-took SKIP on a POPULATED caddy journal (oc_caddy_journal_populated) in scripts/lib/rehearsal-droplet.sh, so a seed that took shows its own TLS activity and the verdict reads VERIFIED. Proven: rehearsal-rented-certs-test.sh case 14b (an empty `-- No entries --` capture never reads as 'the seed took') + case 6 populated-journal assertion.",
    "Offline test in scripts/tests/ against rehearsal-staleness-park-lib.sh / the cycle's report branch": "scripts/tests/rehearsal-staleness-park-test.sh surfaces 7-8 (47 checks); scripts/tests/rehearsal-rented-certs-test.sh (22 checks)."
  },
  "summary": "The cycle parks a green-behind-harness-fault (blocking harness ticket + backoff, no re-rent) and the cert worker verifies a seed that took as VERIFIED by waiting for a populated caddy journal.",
  "reason": "",
  "blockers": []
}
**close-report** for #1060 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1060, "status": "success", "commits": [ "4b01ae58" ], "changed_files": [ "STATUS.md", "docs/GOTCHAS.md", "scripts/lib/rehearsal-droplet.sh", "scripts/lib/rehearsal-staleness-park-lib.sh", "scripts/rehearsal-cycle.sh", "scripts/tests/rehearsal-rented-certs-test.sh", "scripts/tests/rehearsal-staleness-park-test.sh" ], "tests": [ { "command": "bash scripts/tests/rehearsal-staleness-park-test.sh", "exit_code": 0 }, { "command": "bash scripts/tests/rehearsal-rented-certs-test.sh", "exit_code": 0 }, { "command": "bash scripts/tests/rehearsal-cert-harvest-test.sh", "exit_code": 0 }, { "command": "bash scripts/tests/rehearsal-device-target-test.sh", "exit_code": 0 } ], "criteria": { "1. A green journey behind a non-zero smoke rc is treated as a HARNESS fault, not a drive red": "New park-harness decision in rehearsal_report_decision keys on artifacts/verdict.json being green (scripts/lib/rehearsal-staleness-park-lib.sh); the park-harness) arm in scripts/rehearsal-cycle.sh never invokes the reporter. Proven: rehearsal-staleness-park-test.sh surface 7 (park-harness for rc=2 + verdict green; report for verdict red / absent).", "1a. Post the leg-list verdict on the drive issue": "rehearsal_harness_fault_park posts the leg list (rehearsal_harness_fault_leg_list) as a drive-issue comment; the park-harness) arm computes it. Proven: surfaces 7-8.", "1b. File/refresh ONE harness ticket (the #918 shape) that BLOCKS the drive issue": "rehearsal_harness_fault_park is idempotent by OC_HARNESS_FAULT_MARKER and calls forgejo_add_dependency to block the drive issue. Proven: surface 8 (arm calls rehearsal_harness_fault_park).", "1c. Arm the preflight backoff so the next tick does not re-rent": "park-harness) arm calls rehearsal_preflight_backoff_arm. Proven: surface 8 grep.", "2. The cert-seed VERIFY says VERIFIED on a seed that took, never INCONCLUSIVE (criterion #747)": "Root cause found: journalctl -u caddy captured before caddy logged (the seeded cert lands on disk pre-deploy) grabbed `-- No entries --`; the unit name was never wrong. Phase C now gates the seed-took SKIP on a POPULATED caddy journal (oc_caddy_journal_populated) in scripts/lib/rehearsal-droplet.sh, so a seed that took shows its own TLS activity and the verdict reads VERIFIED. Proven: rehearsal-rented-certs-test.sh case 14b (an empty `-- No entries --` capture never reads as 'the seed took') + case 6 populated-journal assertion.", "Offline test in scripts/tests/ against rehearsal-staleness-park-lib.sh / the cycle's report branch": "scripts/tests/rehearsal-staleness-park-test.sh surfaces 7-8 (47 checks); scripts/tests/rehearsal-rented-certs-test.sh (22 checks)." }, "summary": "The cycle parks a green-behind-harness-fault (blocking harness ticket + backoff, no re-rent) and the cert worker verifies a seed that took as VERIFIED by waiting for a populated caddy journal.", "reason": "", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1060
No description provided.