Skip to content

[CI] Shared build cold module downloads exceed 40-minute job timeout #27183

Closed

Description

@iamlinjunhong

Is there an existing issue for the same bug?

Source PR and exact head

Failed checks

  1. Matrixone Shared Build / Build MatrixOne (shared)

  2. Matrixone Utils CI / Coverage

Actual behavior and infrastructure evidence

The shared build used matrixorigin/CI/.github/workflows/build-mo.yaml@2fea540e5444288a5a603c5bb625c722e7b04035, whose job budget is timeout-minutes: 40.

The source-build step started at 2026-08-14T18:58:58Z. Its [Verify Go package graph] phase then spent the remainder of the budget downloading public Go modules from GOPROXY=https://proxy.golang.org,direct, with downloads continuing through 2026-08-14T19:38:22Z. At 19:38:35Z, before PR code compilation started, Actions cancelled the job with The operation was canceled.

The dependent Coverage job then received prerequisites_ready: false and failed immediately without checkout, profile download, merge, or coverage evaluation. This is direct runner/cache/network evidence, not a changed-code coverage or PR compilation failure. The PR does not modify go.mod, go.sum, or CI/build workflow files; exact-head controlled CGo focused and full owning-package tests pass locally.

Expected behavior

A normal shared build should not exhaust its entire job budget downloading an uncached module graph. The workflow should restore a usable module cache or otherwise provide enough budget/resilience for a cold dependency graph. The derived Coverage check should not obscure the producer timeout.

Reproduction

  1. Trigger MatrixOne ALL CI for a PR whose shared build artifact cache misses.
  2. Run the shared workflow with an empty/ineffective Go module cache and slow module downloads.
  3. Observe make clean && make GOBUILD_OPT='-cover' build remain in [Verify Go package graph] until the 40-minute job timeout.
  4. Observe the dependent Coverage job fail with prerequisites_ready: false.

Recovery

Per the approved CI recovery policy, run 31831129269 attempt 1 will be rerun once with gh run rerun 31831129269 --failed after this issue is verified.

Activity

  1. iamlinjunhong commented on Aug 14, 2026

    @iamlinjunhong
    ContributorAuthor

    Recovery verification: gh run rerun 31831129269 --failed was accepted exactly once. GitHub now reports run 31831129269 as attempt 2, status in_progress, exact head f47474cd38a8f6e55f74a1b30cbad88f4ab17861; the new Shared Build job is 94877697608: https://github.com/matrixorigin/matrixone/actions/runs/31831129269/job/94877697608 . No PR code was changed or pushed.

  2. iamlinjunhong commented on Aug 14, 2026

    @iamlinjunhong
    ContributorAuthor

    Additional occurrence from PR #27016 (exact head afcac8e489318dfc3e403285db07b143eb598643):

    The producer was Matrixone Shared Build / Build MatrixOne (shared), job 94865194563: https://github.com/matrixorigin/matrixone/actions/runs/31830622542/job/94865194563 . It used matrixorigin/CI/.github/workflows/build-mo.yaml@2fea540e5444288a5a603c5bb625c722e7b04035, which sets timeout-minutes: 40. The job ran from 18:51:43Z to 19:32:00Z; its source-build command was make clean && make GOBUILD_OPT='-cover' build. The log remained in public Go module downloads through 19:31:25Z, then reported The operation was canceled. at 19:31:56Z and terminated the make, sh, and go processes. Both BVT producers were consequently skipped, and Coverage failed before checkout or coverage evaluation.

    This PR is a single frontend metadata/test commit directly atop current upstream main (46be78691ade80479da52e7480ea2f3a6c695817) and does not change go.mod, go.sum, or CI/build workflows. This is the same cold module-download/40-minute timeout infrastructure signature tracked here, not a PR compilation or changed-code coverage failure.

    Per the approved recovery policy, run 31830622542 attempt 1 will now be rerun once with --failed.

  3. iamlinjunhong commented on Aug 14, 2026

    @iamlinjunhong
    ContributorAuthor

    Recovery verification for PR #27016: gh run rerun 31830622542 --failed was accepted exactly once. GitHub now reports run 31830622542 as attempt 2, status in_progress, exact head afcac8e489318dfc3e403285db07b143eb598643; the new Shared Build job is 94881007220: https://github.com/matrixorigin/matrixone/actions/runs/31830622542/job/94881007220 . No PR code was changed or pushed.

  4. iamlinjunhong commented on Nov 26, 2026

    @iamlinjunhong
    ContributorAuthor

    The cold module-download timeout recurred in the Coverage UT producer for PR #29152, exact head dda999ef68ed87d6ba03e4f1b276169c066e6f1e targeting official main e5d6f92fcdd5ce32c606c33994cee36a7b183643.

    • The Linux/x64 child run 45754311803, attempt 1, job 139689220491 checked out that PR SHA. Group 0 stopped in discover_packages while running timeout --kill-after=30s 900s go list -mod=readonly ./.... The diagnostic signature was coverage_phase_deadline, exit 124, at 900 seconds. The diagnostics contain 204 module-download lines, an empty package list, and no Go test events or profile. CGo preparation and test execution are after this phase.
    • In parent run 45754127940, attempt 1, Group 0 selector job 139689166731 failed with selected coverage group did not pass. Coverage job 139705384021 then reported that a required producer had no complete profile and calculated no coverage verdict.
    • The PR leaves go.mod, go.sum, the Makefile, and coverage workflows unchanged. All 204 downloaded module versions are in official main's go.sum. The same read-only package discovery command completed locally on the exact head with 504 packages and a populated cache. This occurrence exhausted the Coverage UT discovery budget while populating modules. The original report exhausted the shared-build budget during the same module-fetch operation.

    To observe this occurrence, run Group 0 on a Linux/x64 coverage runner with an unpopulated module cache and inspect discovery stderr and timing. The plan is one failed-jobs rerun of the parent run after it completes and any additional failures have been classified.

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

    kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions