Skip to content

[Bug]: UT Coverage runner times out downloading matrixorigin/CI action archive before checkout #30128

Closed

Description

@iamlinjunhong

Failure

GitHub Actions could not download the shared CI action archive during Set up job. The Ubuntu/x86 UT Coverage job failed before checkout, compilation, unit tests, or coverage calculation.

Stable signature and full failed-job log

Failed to download archive https://codeload.github.com/matrixorigin/CI/tar.gz/<revision> after 3 attempts with HttpClient.Timeout of 100 seconds elapsing.

The job API reports only step 1, Set up job, as failed. There is no failing MatrixOne test command: the failed operation is the runner's action-archive download.

2026-10-13T14:04:08.1573245Z Current runner version: '2.336.0'
2026-10-13T14:04:08.1580399Z Runner name: 'amd64-mo-guangzhou-2xlarge16-jvhxs-runner-cncpz'
2026-10-13T14:04:08.1581578Z Runner group name: 'default'
2026-10-13T14:04:08.1582769Z Machine name: 'amd64-mo-guangzhou-2xlarge16-jvhxs-runner-cncpz'
2026-10-13T14:04:08.1587773Z ##[group]GITHUB_TOKEN Permissions
2026-10-13T14:04:08.1590950Z Contents: read
2026-10-13T14:04:08.1592033Z Metadata: read
2026-10-13T14:04:08.1593188Z ##[endgroup]
2026-10-13T14:04:08.1596426Z Secret source: Actions
2026-10-13T14:04:08.1598301Z Cache mode: read
2026-10-13T14:04:08.1600134Z Runner is running behind proxy server 'http://proxy-service.proxy.svc.cluster.local:8001' for all HTTP requests.
2026-10-13T14:04:08.1602136Z Runner is running behind proxy server 'http://proxy-service.proxy.svc.cluster.local:8001' for all HTTPS requests.
2026-10-13T14:04:08.1603434Z Prepare workflow directory
2026-10-13T14:04:08.1997173Z Prepare all required actions
2026-10-13T14:04:08.2059959Z Getting action download info
2026-10-13T14:04:11.0619324Z Download action repository 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' (SHA:df4cb1c069e1874edd31b4311f1884172cec0e10)
2026-10-13T14:04:24.4103557Z Download action repository 'matrixorigin/CI@main' (SHA:b0f959479893a3ab54ff3d9422e135ae2e9c67b2)
2026-10-13T14:06:04.4293609Z ##[warning]Failed to download action 'https://codeload.github.com/matrixorigin/CI/tar.gz/b0f959479893a3ab54ff3d9422e135ae2e9c67b2'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. 
2026-10-13T14:06:04.4304042Z ##[warning]Back off 13.525 seconds before retry.
2026-10-13T14:07:57.9632262Z ##[warning]Failed to download action 'https://codeload.github.com/matrixorigin/CI/tar.gz/b0f959479893a3ab54ff3d9422e135ae2e9c67b2'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. 
2026-10-13T14:07:57.9634667Z ##[warning]Back off 14.873 seconds before retry.
2026-10-13T14:09:52.8415989Z ##[error]Action 'https://codeload.github.com/matrixorigin/CI/tar.gz/b0f959479893a3ab54ff3d9422e135ae2e9c67b2' download has timed out. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. 
2026-10-13T14:09:52.8434314Z ##[error]Failed to download archive 'https://codeload.github.com/matrixorigin/CI/tar.gz/b0f959479893a3ab54ff3d9422e135ae2e9c67b2' after 3 attempts.

Attribution evidence

This is direct runner/network infrastructure evidence, independent of the PR. All 23 lines of the completed job log show action preparation, three archive-download timeouts and terminal download failure. No repository source was checked out or executed. This establishes the failing transport boundary, but does not distinguish codeload availability, the proxy, or the runner network as the root transport cause.

The complete PR file list consists of the MySQL parser grammar/generated parser, parser tests/keyword policy, and subscription-identifier SQL/result regression files. It changes no action provisioning, workflow, dependency manifest or runner configuration. Official main was independently read through the GitHub API as 8586fa08715c868cab997d11d2687a76b8cc360f. A local main unit-test comparison is unnecessary for this directly observed pre-checkout download failure.

Existing open and closed issues were searched for codeload, HttpClient.Timeout, Failed to download action, and action/archive download timeouts. Issues #28652 and #28662 cover toolchain provisioning deadlines after actions begin executing; this occurrence instead fails while the runner downloads the action archive, before any workflow step runs.

Reproduction and expected behavior

  1. Run the referenced coverage workflow on the Linux/x64 runner.
  2. During Prepare all required actions, request the pinned shared CI tarball from codeload through the runner proxy.
  3. If each request stalls past the runner's 100-second HTTP deadline, all three attempts fail and Set up job terminates before UT execution.

The linked run/job is the observed reproduction. No local network simulation or product-test failure is claimed. Action provisioning should complete reliably so the job can reach the tests.

Planned recovery

After attempt 1 reaches a terminal state, request one failed-jobs rerun of this run and verify acceptance. No product or workflow change is proposed in PR #30126.

Activity

  1. iamlinjunhong commented on Oct 13, 2026

    @iamlinjunhong
    ContributorAuthor

    Additional downstream Coverage failure from the same action-download incident:

    The complete job log supplies prerequisites_ready: false and expected_bvt_generation: 38409766086-1. Its first guard executes:

    if [ "${PREREQUISITES_READY}" != 'true' ]; then
      message='coverage merge blocked: a required producer did not publish a complete coverage profile; no coverage verdict was calculated'
      echo "::error::${message}"
      exit 1
    fi

    Terminal signature:

    2026-10-13T14:57:45.7113070Z ##[error]coverage merge blocked: a required producer did not publish a complete coverage profile; no coverage verdict was calculated
    2026-10-13T14:57:45.7129669Z ##[error]Process completed with exit code 1.
    

    The job API confirms checkout, Go setup, artifact selection and Merge profiles and check coverage rate were all skipped. Missing diagnostics files are secondary to that guard exit.

    The exact PR-head entrypoint.yaml was read through the GitHub contents API. Its readiness expression requires successful preflight, successful UT Coverage with coverage_ready == 'true', and both successful BVT producers. Preflight and both BVT jobs (115343555568, 115343555579) passed. UT Coverage job 115339278920 failed during action-archive download before checkout or tests, as independently re-read in its full completed log. This closes the dependency chain: runner action download timeout -> no UT coverage profile -> blocked coverage merge. No coverage-rate regression was calculated. SCA and shared build also passed; ordinary Ubuntu UT is still running and is not claimed passed.

    The PR file list remains limited to parser grammar/generated parser, parser tests and SQL/result regression files; it changes no CI harness or dependency manifests. Official main remains 8586fa08715c868cab997d11d2687a76b8cc360f. The direct pre-checkout infrastructure failure and downstream guard provide attribution without a local product-test comparison.

    Recovery remains pending: the run is still in_progress, attempt 1. The previous failed-jobs rerun request was rejected because the workflow was already running; no rerun has been accepted. Once it finishes, inspect any new failures and request one accepted failed-jobs rerun of this unique run.

  2. iamlinjunhong commented on Oct 13, 2026

    @iamlinjunhong
    ContributorAuthor

    Additional occurrence: PR #30101, attempt 1

    Both completed job logs were read in full via the job logs API because the overall run is still in progress and gh run view --log-failed cannot yet return its logs.

    Direct infrastructure evidence

    UT Coverage failed in Set up job, before repository checkout, compilation or tests. Runner amd64-mo-guangzhou-2xlarge16-jvhxs-runner-6bmwp (runner version 2.336.0) reports HTTP/HTTPS requests through its proxy. Its action download for matrixorigin/CI revision b0f959479893a3ab54ff3d9422e135ae2e9c67b2 timed out three times:

    14:02:09Z Failed to download action ... HttpClient.Timeout of 100 seconds elapsing.
    14:04:09Z Failed to download action ... HttpClient.Timeout of 100 seconds elapsing.
    14:06:08Z Action 'https://codeload.github.com/matrixorigin/CI/tar.gz/b0f959479893a3ab54ff3d9422e135ae2e9c67b2' download has timed out.
    14:06:08Z Failed to download archive ... after 3 attempts.
    

    There is no failed MatrixOne test command. The failed operation is the Actions runner's action-archive download; the evidence identifies a transport/setup failure but does not distinguish codeload, proxy and runner-network causes. This independently proves a non-PR infrastructure failure; a local main test reproduction is not required for a failure preceding checkout.

    Dependent failure, not a coverage verdict

    The dependent Coverage job fails Verify coverage prerequisites, with prerequisites_ready: false:

    coverage merge blocked: a required producer did not publish a complete coverage profile; no coverage verdict was calculated
    Process completed with exit code 1.
    

    The failing shell checks PREREQUISITES_READY != true and exits 1. Repository entrypoint.yaml requires successful UT Coverage and coverage_ready == true, as well as both successful BVT producers. Both BVT jobs passed; the artifact listing contains both generation-38409025281-1 BVT coverage profiles but no UT coverage profile. The failed UT setup explains the missing prerequisite. The PR changes no .github workflow files. No coverage threshold failure is claimed, and no product/workflow change is proposed.

    Reproduction and recovery

    The linked UT Coverage log is the observed reproduction: prepare required actions on the proxied Linux/x64 runner; three requests for the pinned CI tarball exceed the runner's 100-second deadline; setup fails before the coverage producer runs. Its dependent merge then refuses incomplete profiles.

    This run remains in progress in the separate Ubuntu/x86 UT lane, at attempt 1. No rerun has been requested for this run. Once it reaches a terminal state, inspect any additional failures and, if they are also safely attributed, request one failed-jobs rerun and verify the accepted attempt. This issue is reused rather than creating a duplicate.

  3. iamlinjunhong commented on Oct 13, 2026

    @iamlinjunhong
    ContributorAuthor

    PR #30101: terminal attempt 1 and dependent CI Required failure

    The previous occurrence evidence remains at #30128 (comment). This update records the newly completed aggregate gate and the now-terminal run; it does not report a new product failure.

    The completed failed-step logs were obtained using gh run view 38409025281 --log-failed; the complete new job log was also read using the job logs API. The aggregate gate checks workflow revision f14a1fa9ee813529b7bde89ecc74dddca420dc00 and the exact PR head above. Its inputs show matrixone-ci, both BVT producers and preflight succeeded, while matrixone-ut-coverage and matrixone-coverage-merge failed. The terminal signature is:

    2026-10-13T16:04:51Z Error: matrixone-ut-coverage: failure
        at verifyResults (.../.github/ci/change-scope.cjs:113:49)
    2026-10-13T16:04:51Z Unhandled error: Error: matrixone-ut-coverage: failure
    

    verifyResults rejects any required producer whose result is not success. Consequently this is the expected fail-closed aggregate response to UT Coverage job 115336393389 failing its action-archive download, not a separate test or static-check error. Coverage job 115363462514 separately rejected the missing complete UT profile before calculating a coverage verdict. Direct runner download evidence and both dependency guards close the causal chain for all three failed jobs. The PR changes no .github files.

    All jobs in attempt 1 are now terminal. Ordinary Ubuntu/x86 UT, arm64 SCA, shared build and both BVT lanes passed. The setup/network failure remains independent of the PR, and no source or CI-harness change is proposed. After rechecking the current head and run attempt, one failed-jobs rerun of this unique run will be requested and its acceptance verified. No prior rerun of this run has been requested by this repair lane.

  4. iamlinjunhong commented on Oct 13, 2026

    @iamlinjunhong
    ContributorAuthor

    Final aggregate CI Required failure from the same attempt, independently inspected through the complete failed-run log:

    const { verifyResults } = require('./.github/ci/change-scope.cjs');
    const message = verifyResults(process.env.SCOPE, JSON.parse(process.env.JOB_RESULTS));
    await core.summary.addRaw(message).write();

    The complete log's JOB_RESULTS reports successful preflight, ordinary UT and both BVT producers, but failed matrixone-ut-coverage and matrixone-coverage-merge. The final stable signature is:

    2026-10-13T15:42:01.2518927Z ##[error]Unhandled error: Error: matrixone-ut-coverage: failure
    

    This checker rejects the failed prerequisite; it adds no independent product failure. The dependency chain is the action archive download timeout already recorded here -> missing UT coverage profile -> merge guard failure -> CI Required rejection. The logged coverage_ready output is true despite the producer's result being failure; the readiness expression and final guard explicitly require a successful result, so this output does not establish that tests ran or a profile exists. The failed producer's full log ends before checkout.

    Ordinary Ubuntu UT job 115339210263 subsequently completed successfully, as did SCA, shared build and both BVT jobs. All three failed jobs from terminal attempt 1 have now been inspected. The PR currently conflicts with newer official main; this repair lane is rebasing it and regenerating the combined parser. A verified push will trigger a new run, so the superseded attempt will not be rerun as part of that delivery. No product or shared workflow workaround for the download timeout is being added.

  5. iamlinjunhong commented on Oct 28, 2026

    @iamlinjunhong
    ContributorAuthor

    Additional occurrence: PR #31515, SCA runner setup, attempt 1

    The complete completed-job log was obtained from the job logs API and all 25 lines inspected. gh run view 40659319184 --log-failed is not available while the overall workflow remains in progress.

    The Linux/arm64 runner (runner version 2.336.0) reports HTTP/HTTPS through its runner proxy. Downloading the shared CI action archive fails before checkout:

    09:12:32Z Download action repository matrixorigin/CI, SHA 79c604b5c2c265427185271ab68629c9a464cbd0
    09:14:12Z Failed to download action: HttpClient.Timeout of 100 seconds elapsing
    09:14:29Z Failed to download action: The SSL connection could not be established
    09:15:01Z The SSL connection could not be established, see inner exception
    09:15:01Z Failed to download archive https://codeload.github.com/matrixorigin/CI/tar.gz/79c604b5c2c265427185271ab68629c9a464cbd0 after 3 attempts
    

    This independently establishes a runner/action-download transport failure, rather than a PR code or static-check failure. The exact PR diff contains five Go source/test paths in strict CSV probing and SQL integration, with no action provisioning, CI harness, workflow, native dependency or runner configuration changes. No MatrixOne source was checked out or executed in the failed job. A local product test or main reproduction cannot add evidence to this pre-checkout failure. The logs do not distinguish the proxy, runner network and codeload endpoint as the underlying transport cause.

    The observed reproduction is the linked runner request for that pinned archive through its proxy, followed by timeout/TLS failure and exhausted setup retries. Action provisioning should complete so SCA can actually execute. This is the same normalized pre-checkout shared-action download failure tracked here, now affecting the SCA lane rather than UT Coverage. No product/workflow workaround, reopening, relabeling or duplicate issue is proposed.

    Recovery is pending: run 40659319184 is still in_progress, attempt 1, with other test/coverage lanes running. This repair lane has not requested a rerun. Once it is terminal, inspect any additional failed jobs, request one failed-jobs rerun of this exact run if safely attributed, and verify the accepted attempt. The current failure evidence is recorded now so continuation does not duplicate this comment.

  6. iamlinjunhong commented on Dec 2, 2026

    @iamlinjunhong
    ContributorAuthor

    A shared-action setup timeout recurred on PR #33571, exact head 033effc031926eb8844f2305daec19e8f17a07c6, in run 46799410503, attempt 1.

    • Linux/arm64 SCA job 143181936851, Set up job. The full 25-line log shows the runner fetching the shared CI archive at revision 03192c811dbe397bd00a8d8416a508f6c380ba83. Three requests hit the 100-second HTTP deadline. The terminal message is Failed to download archive ... after 3 attempts. Checkout and static analysis did not run. This matches the setup failure tracked here.
    • Ubuntu/x86 UT job 143181936832, Set up job. GitHub reports this as the only step and annotates it with Failed to resolve action download info. and The HTTP request timed out after 00:01:40. The standalone job log returns BlobNotFound, and the job page has no log URL. The annotations establish an action-resolution timeout before checkout or UT. They do not identify the specific action or endpoint.
    • CI Required job 143201217792. The full log shows verifyResults receiving matrixone-ci: failure and reporting that same result. The coverage and BVT producers succeeded.

    The source diff against official f9d52a3a39edb57f33723ed8979084d0f60eda43 contains LOCAL CSV source, tests and design. The workflow, harness and dependency manifests are unchanged. The failed jobs stopped during runner action provisioning, before product code could execute. The shared build, both coverage groups and both BVT jobs completed successfully on this head.

    The linked SCA job reproduces the incident when retrieval of the pinned shared action tarball through the runner's network path exceeds its 100-second request deadline three times. The logs locate the failure at action provisioning. They do not distinguish the runner, its proxy or the remote service as the underlying cause.

    Recovery is one failed-jobs rerun of this exact run. GitHub still shows attempt 1 as queued with only the PR size-label job pending.

  7. iamlinjunhong commented on Dec 2, 2026

    @iamlinjunhong
    ContributorAuthor

    The shared GitHub Actions provisioning failure recurred on PR #33571, exact head 0cd05e7500c800722aa54752ef01d999f0158f16, in run 46822513749, attempt 1.

    Linux/arm64 SCA job 143259641553 failed in its only step, Set up job, on runner arm64-mo-shanghai-4c8g-4p74h-runner-clbqk. The complete 33-line job log shows 100-second download timeouts for actions/checkout, thiagodnf/yaml-schema-checker, and the shared matrixorigin/CI archive at revision 03192c811dbe397bd00a8d8416a508f6c380ba83. Later retries fetching action download information timed out at the same deadline. The terminal messages were The HTTP request timed out after 00:01:40. and Failed to resolve action download info.

    The job stopped before checkout or static analysis. The exact PR diff against official main 5b42e69ad5b608ca099aad87bdb8b7f78a58d73a contains LOCAL CSV source, tests and design, with no workflow, CI harness or dependency manifest changes. On the same head, shared build, both coverage groups and both BVT jobs succeeded. This occurrence matches the pre-checkout transport failure tracked here. The log does not distinguish the runner's proxy, network path or GitHub endpoint as the underlying transport cause.

    The observed reproduction is the linked SCA job: prepare the pinned actions on the affected runner through its configured proxy, where action download or resolution exceeds the runner's 100-second HTTP deadline. Recovery is one failed-jobs rerun of this exact run once attempt 1 completes. The x86 UT job was still active when this evidence was collected.

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

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions