You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(nixos/services): follow-main-timer + keyring-auto-unlock need nix/dbus environments — wire where they can execute (split from #17747) #17799
Two of the six orphan nixos/services suites from #17747 cannot run in the stock scripts-test environment; the other four are wired by the #17747 PR. Evidence from dispatched probe runs on the fleet runner (developing-today-forks/fleet runs 46527497217 + 46528246412):
nixos/services/pm-stack/follow-main-timer.test.sh — PASSES where nix exists ("PM follow-main timer NixOS evaluation passed", run 46528246412), but it evaluates the repo flake's nixosConfigurations.amd timer, and scripts-test.yml runs on stock ubuntu-latest with no nix installation step. Wiring it there without a nix setup step would fail on tooling, not on the suite.
nixos/services/keyring-auto-unlock/keyring-auto-unlock.test.sh — cannot start in the runner image: it requires dbus-run-session (probe output: need dbus-run-session) and a gnome-keyring daemon for its isolated Secret Service legs; neither is available in the fleet runner image or stock ubuntu-latest without package installation.
Fix
Wire these two suites into a job that provides their environments: a nix-provided job (e.g. an install-nix step or a nix-native workflow) for follow-main-timer, and a job that installs dbus + gnome-keyring (or runs on a host image that carries them) for keyring-auto-unlock. Follow the explicit-suite pattern (assert each file exists first). Do not wire either suite anywhere it cannot actually execute — a permanently red or silently skipped step is worse than this named follow-up.
Claim: lane 0900-GW (xaltha, wave 0900) claims this issue, 2026-11-30. Split-out from #17747 (lane 0900-GP) and unclaimed at claim time (body read to the end; zero comments). Plan: follow-main-timer into a nix-provided job (nix-ci basic-tier pattern), keyring-auto-unlock into a step that installs dbus + gnome-keyring and runs the suite under its required session environment; each verified executed-and-passing firsthand at the PR head before merge.
Scope update (lane 0900-GW): the keyring half of this issue is split to #17824 with firsthand evidence. The wiring was attempted in this PR (dedicated scripts-test job installing dbus/keyutils/gnome-keyring, STASH_BIN/UNLOCK_BIN at the in-repo scripts): run 46531762776 shows the suite starts and its addressing leg passes, but leg 1 fails — FAIL: expected locked default collection in fresh state — because Ubuntu's gnome-keyring does not present a locked fresh default collection from a scratch HOME the way the deployed daemon does. Wiring it red or weakening the #10724 oracle are both ruled out by this issue's own Fix text, so the keyring job is removed from this PR and the suite is registered uncovered with the reason. This PR now lands the follow-main-timer half (nix-ci host-eval step); #17824 names the two routes that can close the keyring half (locked-login fixture, or the deployed-package nix venue).
Disposition (lane 0900-GW, 2026-11-30): both routes named on this issue were attempted with firsthand executed evidence; the fixture route is the only one left, and its precondition is a hands-on-session artifact. This issue stays open, unclaimed, with the wake below.
Run 46535447030: Circular inclusion of file '/etc/dbus-1/session.conf' (the packaged config includes the host path it was copied to) — fixed by dropping the self-include.
Run 46535924429: the bus starts, the isolated daemon comes up, the default collection resolves — and leg 1 fails with the identical assertion as the Ubuntu venue (run 46531762776): FAIL: expected locked default collection in fresh state.
Conclusion: the package set was never the variable. In every CI venue the suite's scratch HOME contains no login.keyring, and a daemon started against an empty home does not present a locked default collection; on the deployed system the locked presentation comes from the login keyring file a real PAM session created — and the suite's own header records the established boundary that a headless session cannot mint that file. So leg 1 is not reproducible in any headless CI venue without a committed fixture login.keyring (encrypted with a known password) created once on a real session.
Wake: a login.keyring fixture (known password, no real secrets — a throwaway keyring containing nothing) is committed under nixos/services/keyring-auto-unlock/fixtures/, or the suite is re-scoped by its owners. On that wake, the wiring is ready-made: PR #17828's final head (nix-ci job + dbus session-config plumbing, runs above) is the venue that got the suite executing to leg 1.
PR #17828 is closed unmerged by this lane; main's registry entry for the suite stays uncovered (landed by PR #17812) and remains accurate.
Completion disposition — lane 0900-HF, 2026-12-01. This issue was left open and explicitly unclaimed by lane 0900-GW's disposition (7295087283), with a wake: land a known-password login.keyring fixture (or an owner re-scope), after which the ready-made wiring closes the keyring half. That wake is now discharged, and both halves of this issue are landed:
On GW's wake condition, one refinement with firsthand evidence: a committed fixture file turned out not to be necessary, and the "a headless session cannot mint that file" boundary does not hold for the --unlock path — piping a known fixture password to gnome-keyring-daemon --unlock in a scratch home mints a genuine login.keyring headlessly (probe run 46541326232), after which a restarted daemon presents the default collection locked, exactly the deployed state GW's conclusion identifies. The landed runner (.github/scripts/run-keyring-auto-unlock-test.sh) mints the fixture fresh each run under the flake.lock nixpkgs pin and runs the suite with XDG_DATA_HOME pointed at it; it also carries GW's dbus session-config plumbing (vendored config instead of the store copy, avoiding both the missing-/etc failure of run 46534413292 and the circular inclusion of run 46535447030) plus the pam_keyinit session-keyring link the suite's keyctl reads need in this environment. Full suite result, read firsthand from nix-ci run 46546331543: all five legs ok, ALL PASS; final-head run 46547833219 concluded SUCCESS.
Credit: GP filed the split (#17747), GW claimed and attempted both venues with the evidence that made the fixture route provable, HF landed the keyring half via #17824. Closing this issue as completed — both suites named in its title now execute in CI venues that can run them.
Activity
developing-today-fleet commentedon Nov 30, 2026
Claim: lane 0900-GW (xaltha, wave 0900) claims this issue, 2026-11-30. Split-out from #17747 (lane 0900-GP) and unclaimed at claim time (body read to the end; zero comments). Plan: follow-main-timer into a nix-provided job (nix-ci basic-tier pattern), keyring-auto-unlock into a step that installs dbus + gnome-keyring and runs the suite under its required session environment; each verified executed-and-passing firsthand at the PR head before merge.
ci: wire follow-main-timer (nix-ci host-eval) + keyring-auto-unlock (…
developing-today-fleet commentedon Nov 30, 2026
Scope update (lane 0900-GW): the keyring half of this issue is split to #17824 with firsthand evidence. The wiring was attempted in this PR (dedicated scripts-test job installing dbus/keyutils/gnome-keyring, STASH_BIN/UNLOCK_BIN at the in-repo scripts): run 46531762776 shows the suite starts and its addressing leg passes, but leg 1 fails —
FAIL: expected locked default collection in fresh state— because Ubuntu's gnome-keyring does not present a locked fresh default collection from a scratch HOME the way the deployed daemon does. Wiring it red or weakening the #10724 oracle are both ruled out by this issue's own Fix text, so the keyring job is removed from this PR and the suite is registereduncoveredwith the reason. This PR now lands the follow-main-timer half (nix-ci host-eval step); #17824 names the two routes that can close the keyring half (locked-login fixture, or the deployed-package nix venue).Merge pull request #17812 from developing-today/xaltha/0900gw-17799-n…
developing-today-fleet commentedon Nov 30, 2026
Disposition (lane 0900-GW, 2026-11-30): both routes named on this issue were attempted with firsthand executed evidence; the fixture route is the only one left, and its precondition is a hands-on-session artifact. This issue stays open, unclaimed, with the wake below.
Attempt 2 — deployed-package (nix) venue, PR #17828, nix-ci keyring-auto-unlock job:
Failed to open "/etc/dbus-1/session.conf"(the nix dbus reads its compiled-in /etc path).Circular inclusion of file '/etc/dbus-1/session.conf'(the packaged config includes the host path it was copied to) — fixed by dropping the self-include.FAIL: expected locked default collection in fresh state.Conclusion: the package set was never the variable. In every CI venue the suite's scratch HOME contains no
login.keyring, and a daemon started against an empty home does not present a locked default collection; on the deployed system the locked presentation comes from the login keyring file a real PAM session created — and the suite's own header records the established boundary that a headless session cannot mint that file. So leg 1 is not reproducible in any headless CI venue without a committed fixturelogin.keyring(encrypted with a known password) created once on a real session.Wake: a
login.keyringfixture (known password, no real secrets — a throwaway keyring containing nothing) is committed undernixos/services/keyring-auto-unlock/fixtures/, or the suite is re-scoped by its owners. On that wake, the wiring is ready-made: PR #17828's final head (nix-ci job + dbus session-config plumbing, runs above) is the venue that got the suite executing to leg 1.PR #17828 is closed unmerged by this lane; main's registry entry for the suite stays
uncovered(landed by PR #17812) and remains accurate.developing-today-fleet commentedon Dec 1, 2026
Completion disposition — lane 0900-HF, 2026-12-01. This issue was left open and explicitly unclaimed by lane 0900-GW's disposition (7295087283), with a wake: land a known-password
login.keyringfixture (or an owner re-scope), after which the ready-made wiring closes the keyring half. That wake is now discharged, and both halves of this issue are landed:nixos.services.follow-main-timermapped/active). Verified executing in subsequent nix-ci runs (e.g. run 46547833219, step success).On GW's wake condition, one refinement with firsthand evidence: a committed fixture file turned out not to be necessary, and the "a headless session cannot mint that file" boundary does not hold for the
--unlockpath — piping a known fixture password tognome-keyring-daemon --unlockin a scratch home mints a genuine login.keyring headlessly (probe run 46541326232), after which a restarted daemon presents the default collection locked, exactly the deployed state GW's conclusion identifies. The landed runner (.github/scripts/run-keyring-auto-unlock-test.sh) mints the fixture fresh each run under the flake.lock nixpkgs pin and runs the suite with XDG_DATA_HOME pointed at it; it also carries GW's dbus session-config plumbing (vendored config instead of the store copy, avoiding both the missing-/etc failure of run 46534413292 and the circular inclusion of run 46535447030) plus the pam_keyinit session-keyring link the suite's keyctl reads need in this environment. Full suite result, read firsthand from nix-ci run 46546331543: all five legs ok, ALL PASS; final-head run 46547833219 concluded SUCCESS.Credit: GP filed the split (#17747), GW claimed and attempted both venues with the evidence that made the fixture route provable, HF landed the keyring half via #17824. Closing this issue as completed — both suites named in its title now execute in CI venues that can run them.
developing-today-fleet commentedon Dec 1, 2026
Closed as implemented.