Skip to content

[CI]: Ubuntu UT cancelled before runner assignment leaves CI Required failed #30150

Closed as not planned

Description

@iamlinjunhong

The required CI gate on PR #30145 failed after its Ubuntu/x86 UT job was manually cancelled before any runner or steps were recorded. This tracks the incomplete CI execution; the gate correctly rejects a cancelled prerequisite. The reason for the manual cancellation and any underlying scheduler/capacity problem are not established.

Source PR: #30145
Exact head: 77156ad68d7556abef38b46273abcf8c9df84ec3
Workflow run: https://github.com/matrixorigin/matrixone/actions/runs/38511394252 (attempt 1, overall conclusion cancelled).
Failed check: CI Required, job 115699853949.
Cancelled prerequisite: Ubuntu/x86 UT, job 115680536582.

Evidence from the complete failed-job log (gh run view 38511394252 --log-failed) and the complete CI Required job log:

SCOPE: full
JOB_RESULTS.matrixone-ci.result: cancelled
JOB_RESULTS.matrixone-ut-coverage.result: success
JOB_RESULTS.matrixone-compose-ci.result: success
JOB_RESULTS.matrixone-standalone-ci.result: success
JOB_RESULTS.matrixone-coverage-merge.result: success
Error: matrixone-ci: cancelled
    at verifyResults (.../.github/ci/change-scope.cjs:113:49)
Unhandled error: Error: matrixone-ci: cancelled

The failed command is the actions/github-script step calling verifyResults(process.env.SCOPE, JSON.parse(process.env.JOB_RESULTS)). Stable signature: CI Required / verifyResults / matrixone-ci: cancelled.

Direct execution/cancellation evidence from GitHub APIs:

  • UT job label: amd64-mo-shanghai-8c16g; created/started 2026-10-14T04:26:40Z, completed 2026-10-14T05:37:20Z, conclusion cancelled.
  • Job metadata has runner_id: 0, empty runner_name, and steps: []. Its log endpoint returns HTTP 404 / BlobNotFound; there are no UT steps/test logs to inspect.
  • The check-run failure annotation explicitly records manual cancellation by a repository maintainer. This is direct cancellation evidence, not an inference from unrelated source files.
  • Shared build, ARM64 SCA, UT coverage, both selected BVT lanes and coverage merge completed successfully at this head.
  • The PR changes only planner CTE mapping/admission code, focused planner tests, and CTE SQL/result fixtures. It does not alter workflow scheduling or the required-gate implementation. No compile, static-analysis, assertion, panic or executed-test failure appears in this occurrence.

This occurrence is independent of the PR's planner changes: the UT execution never reached a runner or test step, and the gate failure follows the recorded cancellation. No product flakiness or clean-main reproduction is claimed or needed for this direct cancellation-evidence path. Keep the required gate strict; no product or workflow workaround is proposed.

Reproduction/inspection:

gh run view 38511394252 --repo matrixorigin/matrixone --log-failed
gh api repos/matrixorigin/matrixone/actions/jobs/115680536582
gh api repos/matrixorigin/matrixone/check-runs/115680536582/annotations
gh api repos/matrixorigin/matrixone/actions/jobs/115699853949/logs

Searched open and closed MatrixOne issues for the exact gate signature, cancellation, and unassigned/queued runner variants; no existing issue covering this occurrence class was found. After recording this evidence, the authorized recovery is one gh run rerun 38511394252 --failed, followed by API confirmation that a new attempt was accepted. That acceptance does not establish CI success.

Activity

  1. XuPeng-SH commented on Oct 17, 2026

    @XuPeng-SH
    Contributor

    Rechecked the reported contract: the UT job was manually cancelled before runner assignment, and CI Required correctly rejected the cancelled required prerequisite. There is no erroneous test result or source defect to fix in this occurrence. PR #30145 has since merged. Closing this incident as not planned; required CI will continue rejecting cancelled prerequisites. A demonstrated runner-capacity or scheduler defect would need separate direct evidence rather than weakening the gate.

  2. iamlinjunhong commented on Nov 27, 2026

    @iamlinjunhong
    ContributorAuthor

    Another externally cancelled required UT prerequisite on PR #29152, exact head 41947d4bce9a2cbb523e127329d7ad68c2aaec3a, run 45980144802, attempt 1. This time the cancellation occurred after both workers were assigned.

    • GROUP0 selector 140443409352 released worker 45980682875, job 140443496545. GitHub's check annotation attributes the cancellation to an account. The worker emitted The operation was canceled. in the Coverage UT step, with no reported test failures or coverage profile before cancellation.
    • GROUP1 selector 140443409458 released worker 45980688473, job 140443517980. GitHub attributes the cancellation to the same account. It occurred during checkout, while Git was fetching the exact PR SHA. Coverage UT was skipped.
    • Both selectors then ran python3 -I scripts/coverage_standby.py wait and exited 1 with ValueError: selected coverage group did not pass. The worker cancellations precede the selectors' cleanup calls. Coverage merge job 140468151038 received PREREQUISITES_READY=false and exited 1 without a coverage verdict. Both BVT producers passed.

    To verify, read the worker logs and their annotations at GET repos/matrixorigin/matrixone/check-runs/{job_id}/annotations, then compare the worker termination timestamps and selector wait traces. Official base a3aae79f39be31e20d7f9c3b7294ef0806414cfd and this PR use identical workflow and gate code. The direct evidence is an external cancellation of both producers. The initiator's reason is unknown. The transient metadata warnings resolved before both workers were granted admission. The selectors did not encounter the polling HTTP 502 tracked by #33391.

    This records the interrupted execution. Once the parent reaches a terminal state and any remaining failures are inspected, recovery is one failed-jobs rerun of 45980144802.

    Attempt 1 terminal result

    CI Required job 140482240082 ran actions/github-script@v7 and called verifyResults in .github/ci/change-scope.cjs. It emitted Error: matrixone-ut-coverage: failure. Its job results record failed UT Coverage and coverage merge, with successful regular CI and both BVT producers. The Ubuntu/x86 UT and Linux/arm64 SCA both passed. The four failed jobs at completion were the two selectors, Coverage merge, and CI Required. The gate correctly reflected the externally cancelled Coverage prerequisites.

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