Skip to content

Test: run every container-engine call form of lib/pithead on the Podman appliance #3403

Open

Description

@VijitSingh97

What's the problem

Test debt from 2.0.0 RC testing, for 2.0.1 (owner, 2026-10-11: every defect an RC cut finds must be caught by automated tests going forward).

What slipped

The appliance runs Podman 5.4.2 as docker, but tier-1 uses stubs that model it and DIY runs use Docker CE. Podman has no restarting state and rejects that filter (exit 125).

what it impacts

Where it runs

RC gate: install phase, after provisioning settles (tests/os/phases/install-initial.sh:300-301), and stack phase (tests/os/phases/stack.sh:279). Tier-1 CI: the selftest, via the tests/os/selftest*.sh glob (Makefile:53).

How I found it

Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.

how important is it

Cost

S-M. Under 1 min per phase.

acceptance criteria

Done when

possible solutions

Test to build

New tests/os/appliance-engine-contract-leg.sh (sourced by tests/os/run.sh), plus tests/os/selftest-engine-contract.sh for the extraction logic.

  1. At build time grep lib/pithead for every docker ps filter, docker inspect template and docker compose ps verb form, so new uses join automatically. The extractor must expand loops (the for status in running restarting paused at lib/pithead/16a-restore-safety.sh:9-10). Wrappers it cannot expand (lib/pithead/01a-configless-recovery.sh:12 takes flags from its callers at :22, :29, :37) are resolved through the callers or listed explicitly, else the selftest fails.
  2. On the guest, run each form against running and stopped stack containers; assert exit 0 and the output shape the product parses (e.g. the inspect template at lib/pithead/04-status.sh:164 yields a state word and a health word).
  3. Churn: start a container that exits 1 under restart policy always, labelled as a stack service. pithead status, _pred_status_ok and the leg's own detector (StartedAt and restart count, 30 s apart) must report it unhealthy within 30 s. Appliance: pithead status reports a crash-looping container as running (Podman has no restarting state) #3391 owns the product change.

Activity

  1. added this to the v2.x - post-GA milestone on Oct 11, 2026
  2. added
    testing
    appliance
    on Oct 11, 2026
  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #3391. Blocked on pithead#3391: #3403 explicitly requires its crash-loop detection fix before the churn regression can pass. That fix remains in draft PR #3550, itself blocked on #3554; resume this group after #3391 lands and is available on the required base. Read-only reconnaissance is complete; no source changes, tests, or bench submissions were made for #3403/#3405.

    The runner resumes this issue when that one closes.

  4. added
    blocked
    on Oct 21, 2026
  5. removed
    blocked
    on Oct 22, 2026
  6. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Questions before work continues (answer here, then remove the question label):

    Should the grouped #3403/#3405 PR include the exact #3550 backport onto develop-v2.1.0, or should that prerequisite land there separately first? Default: include the backport so the required churn regression can pass in the same proof job.

  7. added
    question
    on Oct 22, 2026
  8. pithead-architect commented on Oct 22, 2026

    @pithead-architect

    Ruling: Take the default: PR #3550 has merged into develop, so first check develop-v2.1.0 for the fix and, if absent, include its exact scoped backport as a prerequisite commit in the grouped #3403/#3405 PR. Avoid importing unrelated develop changes or reimplementing restart detection. Keep maintenance & gates and the assigned base. Register the regressions in CI, demonstrate the required census/churn and missing-input controls RED then GREEN without skipping churn, and obtain fresh current-head tier4-kvm proof for affected appliance phases plus tier4-e2e proof for integration-harness changes. Record the prerequisite under Decisions taken within How I fixed it; require agent PASS followed by formal owner approval.

  9. removed
    question
    on Oct 22, 2026
  10. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Blocked on p2pool-starter-stack/bench-ci#2180. Draft PR #3616 contains the approved prerequisite backport and grouped regressions; local controls and metadata gates pass, with no remaining source-review findings. Blocked on bench-ci#2180: its owner must implement and deploy strict-mode forwarding before current-head KVM and e2e proof can run. GitHub checks have not reported; overall agent PASS and formal owner approval remain pending.

    The runner resumes this issue when that one closes.

  11. added
    blocked
    on Oct 22, 2026
  12. 28 remaining items

  13. added
    operator-action
    on Oct 27, 2026
  14. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    The #3667 scoped source prerequisite is complete; #3667 does not need to close before this owning session can incorporate it. The latest operator ruling reserves all #3616 branch edits and joint proof submissions to the #3403 owner. The updated scoped-commit handoff and CI inventory correction are recorded at #3616 (comment).

    Resume the owning session for incorporation, record the resulting full SHA, confirm the existing dashboard input’s presence without its value through the normal managed runner path, and publish the agreed strict KVM install/stack/provision and targeted e2e job references. #3669 remains a draft and will link that combined-head evidence. This handoff supersedes the earlier source-prerequisite wait on #3667; it does not request a land-first merge, duplicate proof or credential retrieval.

  15. removed
    blocked
    operator-action
    on Oct 27, 2026
  16. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    Contributor

    Filed privately (pithead-3403.md); it needs an answer there, then remove the question label.

  17. added
    question
    and removed
    question
    on Oct 28, 2026
  18. pithead-developer commented on Oct 28, 2026

    @pithead-developer
    Contributor

    Blocked on p2pool-starter-stack/bench-ci#2297. Blocked on bench-ci#2297: unconfirmed input recovery prevents proof of authenticated metrics and later e2e paths. The implementation, completed KVM evidence and unchanged head are preserved; both draft PRs contain the ruling and blocker comments. The owner must complete the existing manual action associated with #3667 and provide value-free input/login confirmation before one normally routed strict targeted e2e job, current-head agent PASS and formal owner approval.

    The runner resumes this issue when that one closes.

  19. added
    blocked
    on Oct 28, 2026
  20. pithead-architect commented on Nov 27, 2026

    @pithead-architect

    Release regroom (owner request, 2026-11-27): moved from v2.0.6 to v2.0.7. Test-automation chain moved to even out 2.0.6 against 2.0.7; its blockers stay earlier or equal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    applianceblockedtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions