Skip to content

feat(lifecycle): report-only problems probe for snosi-health (T857 t7) - #187

Merged
bketelsen merged 8 commits into
mainfrom
murbella/t857-problems-probe
Nov 5, 2026
Merged

bketelsen merged 8 commits into
mainfrom
murbella/t857-problems-probe

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Plan T857 task t7: the phase 1 lab check of snosi-health and systemd-coredump (snosi#1226, ADR-0029) on Snow, Sundog and Floe. Snow covers Snowfield.

Change

  • New optional manifest key problems_probe ({"path": "fresh"} | {"path": "update"}) for the manual bootc lifecycle lane. It is report-only, like the first-login probe (ADR-0017, modeled on ADR-0016). fresh: 1 problems boot of the installed N. update: the unchanged installed-n and stage boots, then the problems boot of N+1.
  • Guest problems mode in qa.py:
    • It records the boot time and the static facts: the timer after preset-reconcile, the systemd-coredump user, /var/log/journal and core_pattern (pipe or coredump socket).
    • It injects 4 problems local to the QA VM: a failing /etc unit, bootc-update-stage with the network blocked (unshare --net), SIGSEGV of /usr/bin/sleep, and 1 journal-native entry with the fixed MESSAGE_ID (systemd-cat cannot set fields).
    • It runs the collector 2 times, then reads problems.json, details.json and snosi-health --list as nobody.
  • Host-only problems.py (a new ConfigMap key, never sent to the guest):
    • Strict record gates.
    • A compact validator for the v1 keyword subset, against a pinned byte copy of core's problem-report/v1.json (core f1b62e0, sha256 6c053ee3…).
    • The problems=<summary> report: ok, missing-<checks>, unproven-*. Only unproven-* ends BLOCKED.
  • A new problems workflow output. README, quality.md, ADR-0017, and the run plan with results.
  • It changes no lane gate. The five-boot plan, the sysext probe and the first-login probe are unchanged.

Lab proof (dev runs, trigger=dev, no publish, no tag move, lab-dev lease T857-t7)

  • Fresh install of the t5 images (snosi 770f9a3, parent b6e5e076): 3 runs with problems=ok on each of Snow, Sundog and Floe.
    • Every run: problems.json 0644 root:root and schema-valid; details.json 0640 root:sudo; the timer is enabled and active; preset-reconcile success; the coredump user exists; /var/log/journal exists.
    • All 4 injected problems are recorded; the local unit's name is not in problems.json; --list shows all 4.
  • Boot time against the T843 images (the same probe on the pre-t5 images, unproven-no-collector): the t5 medians are Snow −1.2 s, Sundog +0.0 s, Floe −0.8 s. No regression.
  • Finding for snosi (not a lab check): each t5 VM also records 1 reportable integrity_error (fs-verity), most likely the known kernel defect snosi#1130.
  • Update path not run yet: it needs each product's qa-controlled tag on its t5 image. That tag is operator-owned. The manifests are in docs/plans/problems-probe-2026-11-05/manifest-update-*.json.

Checks

  • pytest -q tests: 1594 passed at 6b3b3aab; CI green. policies/check_agent_governance.py passes.
  • Guest unit size: 53972 of the 54000 test bound. The next guest mode needs a smaller payload first.
  • Revert tests:
    • The core_pattern fix (61dbab44) reverted: 2 cases of test_guest_problems_accepts_the_coredump_pipe_and_socket fail.
    • The cross-review fixes (6b3b3aab) reverted: 12 guard tests fail.
    • The null-document fix reverted: 2 tests fail.
    • Every revert ran in a scratch worktree, which I then removed.
  • Cross-review: openai/gpt-6.1-sol (coder deepseek/deepseek-flash, fixes claude-opus-5.5), 1 review plus re-reviews. It found 6 blocking points and all are fixed, with guards and 1 .memory/corrections.jsonl line.
  • No .github/risk-paths.json in lab, so no risk:high.

@frostyard-machines
frostyard-machines marked this pull request as ready for review November 5, 2026 10:16
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 5, 2026
@bketelsen
bketelsen merged commit 9f8d006 into main Nov 5, 2026
5 checks passed
@bketelsen
bketelsen deleted the murbella/t857-problems-probe branch November 5, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants