ci.yml's test and coverage floor jobs are red on every branch, master's base included #6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (defect): make
testandcoverage floor (lines)green in this repository'sci.ymlagain, so a pull request here can prove anything at all.Both jobs are red on every branch checked so far, master's base included, for work that did not touch tests or coverage.
df8812c(PR 4, deps bump)testdf8812ccoverage floor (lines)cabf252e(PR 5, rename)testcabf252ecoverage floor (lines)Both branches sit on the same base, master
39135a7("Merge PR 3"), and the union of what they change is: two release workflow files,.cargo/config.toml, the advisories stand-in andCargo.lock. Neither touchestests/,src/or the coverage wiring, so this is the port's state rather than either change's.The pair also inverts against an earlier run: in 3228
rust in . (container)ran and passed whilerust in .was skipped; in 3265 the container job was SKIPPED and the host job ran, and failed. Whatever decides that is part of the same picture.What is known about the cause so far: a member token cannot read job logs on a private repository (the web log route answers 404 for every job index), so the first failure needs either a log read by the Supervisor or a local replay. A replay of the
testjob in the image it names, atcabf252e, is running; its result is appended to this issue when it lands.Not proposed here: any new check. If the fix needs one, it goes to Raf first (DECIDED 2026-11-19).
State at park (Supervisor, 2026-11-24): both jobs reproduced on two branches at base
39135a7; a local replay oftestatcabf252ein the job's own image built the toolchain and the teststation cleanly and reachedcargo test --workspace --all-features --lockedbefore the session was parked, so the error text is one rerun of~/.claude/sessions/pallas/repro-rust3265-test.shon msi00 away. Nothing here was changed; the branches and worktrees stay as they are.Named the error (read the job logs directly now that Forgejo 17 serves them; no local replay needed).
Run 6272 (ci.yml on PR #7 tip
eba9c4a), jobs 25906testand 25907coverage floor (lines), both red for the SAME three tests — 206 pass, 3 fail:So the red is
LinuxKeyutilsStore::new(...)intest_store()(src/keystore.rs:368) returningBackend(NoStorageAccess(PermissionDenied)). The Linux kernel-keyring backend is NOT reachable from the job's container: the keyutilskeyctl/add_keypath returns EPERM, so the assumption "keyutils is always available on Linux" the test comment states is false in the forge's macula-ci-otp job container. It is a container/runner environment fact, not a code defect in save/load/delete. This matches the inversion noted here earlier: the jobs that ran on the host passed, the jobs that ran in the container hit this.Not a small fix: the tests deliberately hit the real keyring backend ("not mocked"), so the choice is (a) skip/guard them in the container, (b) run them on a host with a keyring, or (c) fix the container/runner to expose the kernel keyring — a decision for Raf, not a one-line change.
Done-when, checked against the landed tree (master
347cef29ea4bf2c462a268411a07450a7682b5e8, fast-forwarded from39135a78; PR 8):testandcoverage floor (lines)are green again.ci.ymlrun 6403 on the landed tip:testjob 26347 SUCCESS,coverage floor (lines)job 26348 SUCCESS. The keystore tests were the only cause (206 passed, 3 failed before); nothing else was red in those jobs.skipped: no kernel keyringappears 3× — once per round-trip test (save_then_load_returns_the_same_key,load_before_any_save_reports_not_found,delete_is_idempotent) — and each of those tests still reports... ok.the_no_kernel_keyring_error_is_skippedpins the skip to exactlyNoStorageAccess(PermissionDenied);a_different_backend_error_still_failsprovesNoStorageAccess(AccessDenied),PlatformFailureandNotFounddo not skip.sealed-interop.ymlno longer triggers onpull_request; the round on the landed tip has onlyci.yml6403, with nosealed-interoprun at all.The work in two parts: the skip predicate in
src/keystore.rs(16ed3ab, with the fix that writes the skip line to the stderr handle68ce1d0), and thesealed-interop.ymltrigger guard (19a2cc8, refined in347cef2).The remaining reds on that run,
Dependency advisories(26357) andrust in .(26360), are the separate advisories defect tracked by #4, not this one.