Skip to content

CI stalls: a cached Maven miss fails a whole det shard; the reconcile cron fires every 4-9 h, not 20 min #8215

Open

Description

@squid-protocol

Two causes held open PRs for hours on 2026-11-09/10 with no runner busy. Neither is a code failure in the PRs.

1. One Maven Central miss fails a whole det shard, and nothing retries

Det Sweep run 42721961353 (PR #8198, the fix for #8196), first attempt, shard 6/6: det: 0/30 proven, every case with no reason. The per-case maven.log files say why:

  • the first build: Non-resolvable parent POM ... spring-boot-starter-parent:pom:3.2.4 (present, but unavailable): Could not find artifact ... in central. maven_exe.run_maven_retrying_resolution (main is red: Equivalence E2E #7561) reran it once with -U; Central still did not answer.
  • the other 29: ... was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted .... That text matches none of RESOLUTION_FAILURE_MARKERS, so none was retried.

The other 11 shards of the run restored the same det-sweep-m2- cache and passed. The shard job itself reports success (the ratchet is the aggregate's), so the aggregate det went red, the digest called it real, and the PR got shepherd:needs-fix with no rerun. Because that PR is the fix for main's shared red (#8196), #8170, #8189, #8191 and #8203 waited behind it, and so did the focus issue #8121.

A whole-run rerun of 42721961353 was started by hand on 2026-11-10.

Items:

2. The reconcile cron does not run every 20 minutes

shepherd-reconcile.yml has schedule: */20 * * * * as the net for checks that are not workflow_run triggers. GitHub started it at these times (UTC) over two days: 11-08 08:42, 15:50, 20:15, 23:47; 11-09 05:09, 14:01, 23:28 (cancelled); 11-10 04:46. That is every 4 to 9 hours.

Effect seen: PR #8213's last gating check (Equivalence E2E, not a trigger) finished 09:32Z; ci-gate stayed pending: waiting on: db2, shard 1/2, shard 2/2 with auto-merge armed and nothing running until an unrelated Det Sweep completion started a reconcile at 10:28Z. It merged one minute later.

Options (owner's call, the first needs a shepherd-*.yml edit):

  • add the gating workflows that can finish last (Equivalence E2E at least) to the workflow_run list
  • start the reconcile from the box: churn's tick dispatches shepherd-reconcile.yml when an open PR's ci-gate is pending, no run is live on its head and no reconcile ran in the last 20 minutes

Activity

  1. added
    scope:infra
    on Nov 10, 2026
  2. squid-protocol commented on Nov 10, 2026

    @squid-protocol
    OwnerAuthor

    3. A failed-jobs rerun cannot heal a det shard that failed before its sweep

    Found while rerunning 42721961353. Attempt 3: db2 1/6 could not pull the Db2 image (Db2ImagePullError: INFRASTRUCTURE), triaged infra, shepherd:retrying. Attempt 4 (gh run rerun --failed, the same command the shepherd's retry uses): db2 1/6 proved 13/13, yet the det job failed with no result (its shard did not report) for those 13 cases.

    Cause: the failed attempt's "Keep this shard's results" step (if: always()) had uploaded det-sweep-db2-0 with only timing.json (273 bytes). The rerun uploaded a second det-sweep-db2-0 (3111 bytes, with sweep.json). The det job's download-artifact (pattern: det-sweep-db2-[0-9]*) listed both and took the 273-byte one (ID 13757310361 over 13756233771).

    By hand: the 273-byte artifact was deleted and the det job rerun (attempt 5): green, #8198 merged 10:57Z, #8196 closed, and #8170, #8189, #8191, #8203 took main.

  3. squid-protocol commented on Nov 21, 2026

    @squid-protocol
    OwnerAuthor

    Siblings from PR #8942 (no new issues filed): batch_test_harness.py runs mvn clean compile with no retry (product harness, no burned program needs it). Other #8215 items untouched: NOT PROVEN aggregate when Java never built, '(present, but unavailable)' parent POM, reconcile cron (shepherd-*.yml, owner call), artifact overwrite:true in evidence-refresh.yml / cics-crucible.yml.

  4. squid-protocol commented on Nov 22, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8215-20261122T0149Z (host melek) ended without a PR. Slice already landed by #8950; no PR. Sibling gaps (parent POM unavailable; reconcile cron cadence) recorded in report, no new issues per close-out rule.

  5. squid-protocol commented on Nov 22, 2026

    @squid-protocol
    OwnerAuthor

    #8964 merged: a partial slice of [c:eedd858c] "(present, but unavailable): the parent POM is in the restored cache, yet Maven asks Central for it. Find out whether every shard depends on Central for it on every run"; left: a throttled Central can still fail the prefetch itself; whether main's cache saves now always hold the parent shows only after the next main run (promoter-bot)

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

    scope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions