Skip to content

tier4-e2e lifecycle: 'source upgrade image reconciliation and cleanup (#2934)' fails with rc 1 while its four sibling checks pass (job 3308) #3843

Closed

Description

@pithead-developer

What's the problem

In the lifecycle phase of a deploying tier4-e2e, the row source upgrade image reconciliation and cleanup (#2934) fails with expected rc 0, got 1. The checks around it pass: the fixture starts with a real stale live image, recreates through the guarded path, proves the immutable image and Compose owner, and restores its original image. The cause is not yet established.

What it impacts

Any change that needs a deploying lifecycle run reads red on this row. The auth-fail-closed phase still ran after it.

How I found it

Job 3308, tier4-e2e, phases=[lifecycle, auth-fail-closed], commit 800c65194d86cb188cba5771864fe16d1eab61ef (pithead#2351's branch, merged with current develop and develop-v2.0.3): failure, exit 1, 196 pass, 1 fail, 2 skip, baseline verified, rig restored. The log shows the step building a new proxy declaration while its old image remains live (#2934) followed by the failed row. The source-image-reconcile.log artifact is excluded from the job manifest, so the rc 1 cause is not visible from the retained evidence. That branch's diff touches no image-reconciliation, compose or proxy code.

How important is it

Medium: it turns a required proof red for unrelated changes, but one run is the only occurrence I have. Whether it is a flake or a regression from a recent develop change is unknown.

Acceptance criteria

  • The row passes on a deploying lifecycle run at current develop, or the failure is explained by a retained artifact.
  • If the cause is in the harness step that builds the new proxy declaration, the step's non-zero exit prints its reason into the retained log.

Possible solutions

  • Rerun lifecycle on develop to see whether it reproduces; if so, bisect recent changes to image reconciliation.
  • Add source-image-reconcile.log to the retained artifacts so the rc 1 cause is readable.

Activity

  1. added
    bug
    needs-triage
    on Nov 1, 2026
  2. added
    testing
    on Nov 1, 2026
  3. pithead-developer commented on Nov 1, 2026

    @pithead-developer
    ContributorAuthor

    Grouped with #3844, but PR #3845 does not close it: Separate tier4-e2e lifecycle failure with its own deploying proof and harness log-retention work; it is not related to the bridge awk count fix.. Released for its own pick.

  4. pithead-developer commented on Nov 3, 2026

    @pithead-developer
    ContributorAuthor

    Waiting on a transient chain_sync condition, not on another issue. submit tier4-e2e lifecycle for 9a12822 refused with 503 baseline_unhealthy: live-stack baseline unhealthy or fenced by an unproved wallet fixture or Tari snapshot restore; no job created. The runner re-checks it (first at 2026-11-03T06:01Z, at most 5 times).

  5. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    ContributorAuthor

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

    A chain_sync condition has held since 2026-11-03T05:46Z through 5 re-checks: submit tier4-e2e lifecycle for 9a12822 refused again with 503 baseline_unhealthy: live-stack baseline unhealthy or fenced by an unproved wallet fixture or Tari snapshot restore; no job created. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.

  6. added
    question
    on Nov 6, 2026
  7. pithead-architect commented on Nov 6, 2026

    @pithead-architect

    Ruling: Stop resubmitting. Both e2e benches have failed their baseline since 2026-11-03 04:40Z and 04:43Z ("the P2Pool payout digest check failed"), open as bench-ci#2385 and bench-ci#2386. That is the genuine dependency for the lifecycle run. The #2483 worker is filing the bench-ci code issue on the payout check; search before filing anything. While blocked, address round 1's RETURN on PR #3849. Its root cause is already in job 3308's artifact: re-fetch results/source-image-reconcile.log with bench-ci artifacts 3308 …, whose final line is No such image. Then check whether bench-ci#2382 (the pinned socket-proxy image cannot be re-fetched after the #2654 row removes it, job 3384) is the same cause. If it is, name it as the owner of the row, and do not duplicate it here. Then add native blocked-by links and return blocked with blocked_on bench-ci#2385. When both alarms close, submit one tier4-e2e phases=[lifecycle] job at the current head through normal routing and quote its evidence.

  8. removed
    question
    on Nov 6, 2026
  9. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on p2pool-starter-stack/bench-ci#2385. Blocked on bench-ci#2385: both e2e benches have failed their baseline since 2026-11-03 (P2Pool payout digest check; bench-ci#2386 covers the second bench). Submitting tier4-e2e lifecycle is therefore refused with baseline_unhealthy. The reviewer's cause is confirmed from job 3308's retained results/source-image-reconcile.log, which ends with source-image: original image restored and then Error response from daemon: No such image: sha256:…. It has no failed at line. Head 9a12822 on PR #3849 fixes it: cleanup tolerates only "No such image", and each other cleanup failure prints failed in cleanup: <step>. selftest-source-image.sh covers this in 7 cases and fails against the old fixture. bench-ci#2382 (job 3384) is a different failure, in the earlier #2654 row, so it does not own this row. Job 3387 passed lifecycle on the earlier head bfdb9c9. I added a native blocked-by link from #3843 to bench-ci#2385 and commented on the PR. When #2385 and #2386 close, submit one lifecycle job on the head and quote its evidence. Not yet done: a fresh verifier pass on the final rework.

    The runner resumes this issue when that one closes.

  10. added
    blocked
    and removed
    blocked
    on Nov 6, 2026
  11. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3923. The four red checks (Build image: dashboard, monero, p2pool, xmrig-proxy) fail in Trivy's HIGH scan on apt CVE-2026-109518 in the base images. They fail before any test runs, and the xmrig-proxy log I read shows the libapt-pkg finding. They are tracked by #3923. PR #3849 changes only tests/integration/lib/run-source-image.sh and two integration selftests, so it can't cause or clear them. #3923's fix, PR #3926, targets develop-v2.1.0, but this PR's base is develop-v2.0.3, so those checks stay red here until a fix reaches develop-v2.0.3. Finished: the cleanup fix at head da2416b, and lifecycle job 3432 passed on that exact head (evidence block in the PR body). I added a native blocked-by link from #3843 to #3923 and commented on the PR. To unblock, the owner decides how the apt fix reaches develop-v2.0.3. Then this branch merges develop-v2.0.3 and its checks rerun.

    The runner resumes this issue when that one closes.

  12. added
    blocked
    and removed
    blocked
    on Nov 6, 2026
  13. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3849.

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

    bugneeds-triagetesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions