Repository navigation
feat(lifecycle): problems probe proves the timer on a 2nd N+1 boot (T893d) - #190
Merged
Merged
Conversation
…893d) Brian decided (T893d, snosi#1229): preset-reconcile enables a timer that an update adds and it starts on the next boot. The update path of the problems probe now reboots N+1 once more (phase problems-reboot), which records the static facts only and injects nothing. The timer check on the update path accepts enabled/inactive on the 1st N+1 boot (enabled only) and requires enabled/active on the 2nd. The fresh path does not change. The guest unit was at its 54000 test bound with the new phase, so 3 long qa.py docstrings move to comments (the payload drops comments): 53152.
The signed SHA256SUMS moved again; the first reruns z8mrg, l6drl and wv4c4 failed preflight_mismatch:iso_index before any boot. The new index is signed by the pinned key F37282A3; the lane checks the ISO hash.
…ls, vf8fv, sv67g)
bketelsen
approved these changes
Nov 6, 2026
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Brian's decision T893d for snosi#1229:
preset-reconcileenables a timer that an update adds, and the timer starts on the next boot. The update path of the problems probe now proves the timer on a 2nd boot of N+1.Change
installed-n stage problems problems-reboot. The newproblems-rebootboot runs the same guestproblemsmode and records only the static facts (timer,preset-reconcile, account, journal,core_pattern, boot timing). It injects nothing: the host refuses a reboot record whoseinjected,collector_runs,problems,detailsorlistingis not null. The host also requires a new boot id and the N+1 digest, and keeps the record asproblems-reboot.json.enabled, withactiveorinactive. The 2nd boot must show itenabled/active.problems.txtadds a 7th line:reboot timer=…/… preset_reconcile=….enabled/activerequired).qa.pydocstrings into comments, which the payload drops. The unit is now 53152.docs/quality.md.Tests
python -m pytest -q: 1634 passed.test_report_update_passes_a_timer_that_starts_on_the_2nd_boot(inactive on the 1st boot, active on the 2nd →ok) andtest_report_update_requires_the_timer_active_on_the_2nd_boot(7 cases →missing-timer), plus tests for the phase and record shape, the guest reboot mode, the run.sh plan and the report arguments."timer": record["timer"]["enabled"] == "enabled" and record["timer"]["active"] == "active") and ranpytest tests/test_problems_probe.py -k update. 2 tests failed:test_report_update_passes_a_timer_that_starts_on_the_2nd_bootandtest_report_update_requires_the_timer_active_on_the_2nd_boot[first1-second1].Dev runs
From this PR at
3ae0fdb0(trigger=dev,lab-devlease T893, no publish, no tag move):dev-snow-bootc-lifecycle-slglsPASS: verified_problems_probe;problems=ok;fsverity_known_defect=7.2.12+deb14-amd64dev-snow-bootc-lifecycle-vf8fvPASS: verified_problems_probe;problems=okdev-snow-bootc-lifecycle-sv67gPASS: verified_problems_probe;problems=ok;fsverity_known_defect=7.2.12+deb14-amd64In all 3 runs the timer is
enabled/inactiveon the 1st N+1 boot andenabled/activeon the 2nd. A first try (z8mrg,l6drl,wv4c4) failedpreflight_mismatch:iso_indexbecause the signed ISO index moved. The update manifests now namesnosi-installer_20261105202508_x86-64.iso(signature checked with the pinned keyF37282A3…). The results are indocs/plans/2026-11-05-problems-probe-runs.md. frostyard/snosi#1229 is closed on T893d.