Skip to content

KVM image build aborts before battery on interrupted Cosign Git fetch #3612

Closed

Description

@pithead-developer

What's the problem

A required KVM proof stops during rootfs image preparation when Cosign’s pinned Git source fetch is interrupted. The job correctly reports failure, but the appliance battery never starts. The cause of the HTTP/2 cancellation and whether it will recur are unknown.

what it impacts

Current-head mining power-cut proof for pithead#3077 / #3520 cannot be established by this run. No mining or recovery assertion failed because none executed.

How I found it

Read the completed job log and retained image-build.log for 2717@e8061b180bef33cde9df2c3d74f168c618df9093. In pithead’s os/rootfs/Dockerfile:86, the Cosign clone/checkout reports curl 92 HTTP/2 stream 3 was not closed cleanly: CANCEL, fatal: early EOF, and invalid index-pack output, then exits 128. The wrapper exits 1 before creating a test guest. Restore and cleanup succeed. The task’s diff and merged certifi prerequisite do not modify this build stage.

Generated evidence:

bench-ci job 2717@e8061b180bef33cde9df2c3d74f168c618df9093 · pithead · tier4-kvm

  • options: {"phases": ["rig"]}
  • status: completed · conclusion: failure · exit 1 · 9m 28s
  • baseline verified: yes · rig restored: n/a
  • node guard: not recorded · no comparison recorded
  • steps: checkout success · reserve success · preflight success · run failure · collect success · restore success · cleanup success
  • rows: 0 pass · 1 fail · 0 skip
  • failed rows:
    • bench-ci: failure at run (exit 1) (no issue linked)
      Generated by bench-ci evidence 2717@e8061b180bef33cde9df2c3d74f168c618df9093; re-run it to check.

how important is it

This prevents the requested current-head live proof. It establishes an interrupted source fetch, not a defect in the product’s mining behavior or a general bench outage.

acceptance criteria

  • Identify the source-fetch failure class and its owner, preserving the pinned source and build diagnostics.
  • Establish a supported bounded recovery for this signature, with observable attempt/deadline limits and unchanged pin/tag verification.
  • Verify that repeated fetch failure remains a non-passing build and cannot be reported as an executed appliance test.
  • Obtain a completed current-head KVM rig run that executes the required mining-recovery assertions after recovery.

possible solutions

Investigate transport and source-cache behavior before choosing bounded fetch recovery or a documented managed retry. Do not change source pins, weaken verification, or repair a bench by hand.

Moved from p2pool-starter-stack/bench-ci#2161 by the runner's triage: The failure is in pithead’s rootfs Dockerfile during the product image build, before any bench tier or appliance assertion runs. (recreated: GitHub cannot transfer out of a private repo).

Activity

  1. added
    bug
    needs-triage
    flaky
    on Oct 22, 2026
  2. pithead-developer commented on Oct 23, 2026

    @pithead-developer
    ContributorAuthor

    Current-head proof for pithead#3390 / pithead#3565 recovered through the normal fleet queue after the operator removed the hold. Job 2809 at the same product SHA completed the stack/reset-restore leg; no product source, pins, verification settings or bench configuration changed between the failed jobs and this run. This supplies the missing product proof, but does not establish a transport root cause or durable fix. The failed-job diagnostics remain relevant to this issue.

    bench-ci job 2809@dd9949ff498b734e642805403d11cbbd0664470d · pithead · tier4-kvm

    • options: {"phases": ["stack"]}
    • status: completed · conclusion: success · exit 0 · 34m 53s
    • baseline verified: yes · rig restored: n/a
    • node guard: not recorded · no comparison recorded
    • steps: checkout success · reserve success · preflight success · run success · collect success · restore success · cleanup success
    • rows: 140 pass · 0 fail · 0 skip
    • image sha256: system.img c26f1d8d2ecf100c2ac780a2d3b08808b6e194062baae8dcf0ee4f41d778345c
      Generated by bench-ci evidence 2809@dd9949ff498b734e642805403d11cbbd0664470d; re-run it to check.
  3. added
    appliance
    P2-correctness
    on Oct 23, 2026
  4. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3077. Draft PR #3647 adds bounded source-fetch recovery, tests and docs; seven tests pass, the interrupted-transfer control fails without the fix, and source reviews are clean. Final KVM proof requires #3077’s mining-recovery assertions to land through PR #3520, followed by base integration and renewed validation. The retained artifact read also needs retrying; GitHub CI remains pending.

    The runner resumes this issue when that one closes.

  5. added
    blocked
    on Oct 24, 2026
  6. removed
    blocked
    on Oct 25, 2026
  7. pithead-developer commented on Oct 25, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3647.

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

    P2-correctnessappliancebugflakyneeds-triage

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions