Repository navigation
Description
- I have checked the existing issues.
Branch Name
codex/loom/develop/ac5ef1edf3aa9854d70db7e7e2b350f5785f42ff4b291c668684803a72d71be5
Commit ID
Other Environment Information
- Ubuntu/x86 self-hosted coverage worker
amd64-mo-guangzhou-2xlarge16-jvhxs-runner-q6wt8, Go1.27.1, CGo enabled. - CI source
matrixorigin/CIrevision30b0e58572e96df22b0ea6f32eed355eb498074a. - Coverage mode:
-short -tags matrixone_test -covermode=set, 502 selected packages, package parallelism 8, per-package timeout20m; this is not the race lane.
Actual Behavior
The coverage producer exhausts the cumulative pkg/embed package deadline while test binaries contend for runner-wide embedded-cluster admission. This is a package-budget incident, not evidence that the final test hung for20minutes.
Source PR #31136 at the complete head above. Workflow https://github.com/matrixorigin/matrixone/actions/runs/40233501986, attempt1:
- Root failed job: UT Coverage on Ubuntu/x86,121290126580.
- Coverage,121299685131 fails because the producer did not publish a complete profile; no coverage-rate verdict was calculated.
- CI Required,121301378354 reports the producer failure.
Full failed-step logs and the complete CRC-verified ut-coverage-diagnostics-attempt-1 artifact were read, including the464268673-byte JSON stream and full goroutine dump. Stable signature:
FAIL github.com/matrixorigin/matrixone/pkg/embed (1201.94s)
panic: test timed out after 20m0s
running tests:
TestUpdateIgnoreRepeatedAliasesAdvanceGreedily (18s)
The package started21:13:15.584591989Z. Its141 earlier root tests all passed and consumed1183.63seconds. The final test started21:32:59.412204588Z and reached its end-of-body deferred DROP DATABASE (update_ignore_repeated_alias_test.go:349 -> :95); the timeout dump shows its client reading that cleanup response.
Direct admission measurements from the same JSON stream:
| Test | Total test time | Admission wait |
|---|---|---|
| TestTestingTCPOnlySnapshotAppliesToAdditionalCN | 563.88s | 559.423869841s |
| TestStartTestClusterReturnsCleanupOwnerOnRollbackFailure | 200.48s | 200.470410364s |
| TestUpdateIgnoreRepeatedAliasesAdvanceGreedily | 18s before package alarm | 11.150583861s |
These three waits alone consume771.044864066seconds. Cross-package acquire/release events corroborate actual holders: issues PID95697, dml95685, multicnPID96141, sqlintegrationPID96076, isolatedPID95770 and arrowloadPID95668. Completed overlapping lease records account for466.281s of the first wait and176.667s of the second; these are partial interval accounting, not a claim to reconstruct every held instant. The last wait overlaps11.109s of isolated tests TestIssue30708UnionNullTopExecutesOnPeerCN and TestSpeedupAbortAllTxn.
Expected Behavior
Coverage package scheduling and package deadlines should accommodate the shared exclusive cluster-admission contract. Waiting for another package's successful fixture should not consume almost the entire budget and then kill an otherwise progressing package. No kernel SQL workaround or assertion weakening is proposed here.
Steps to Reproduce
On a coverage worker with the repository native prerequisites built, run the producer's full package selection concurrently:
test_scope=$(go list -mod=readonly ./... | grep -v 'driver\|engine/aoe\|engine/memEngine\|pkg/catalog')
cover_pkgs=$(printf '%s\n' "$test_scope" | paste -sd, -)
go test -mod=readonly -count=1 -json -short -v -tags matrixone_test \
-timeout=20m -p 8 -covermode=set -coverprofile="$RUNNER_TEMP/coverage.out" \
-coverpkg="$cover_pkgs" $test_scopeInspect each package's cumulative elapsed time and MO_UT_SETUP admission acquire/release events, rather than treating the last active test name as the root cause. Exact scheduling is intermittent; a single selected package removes the cross-process contention.
Additional information
Attribution uses direct capacity evidence, not the strict individual-test-flake route or a claimed baseline failure:
pkg/embed/cluster.goobtains admission before service start, normally with a background context.pkg/testutil/clusteradmission/admission.gouses the runner-wide temporary-directorymo-test-cluster-lifecycle.lockand default exclusive admission. Shared fixtures retain leases across roots; shutdown releases them after cleanup. Those sources, fixture lifecycle, coverage orchestration, and the victim test are unchanged by PR31136, verified against official mainb14d67a29041cb24b5c4e3029e20980580346c42.- The PR's ordinary Resolve path still delegates with the unchanged temporary-first policy; the alias-free operation and new prepared-dependency selector apply only to standalone RENAME. No wait, lock, admission setting or scheduler path was added.
- There is a real workload overlap: the PR adds
TestRenameTableIgnoresTemporaryAliasesinside an existing sqlintegration holder. It PASSED in1.39s and acquired no additional cluster lease. The existing rename test passed in0.79s. Removing that workload could change scheduling; the evidence establishes hundreds of seconds of cross-package admission delay, not an identical counterfactual schedule. - Current-head normal UT, SCA and both BVT lanes passed. The rename regression also passed in this failing coverage run. Exact local head coverage controls passed3/3 in fresh processes using the repository CGo wrapper, the producer's tags/short/coverage selector and package parallelism.
- Local controls are Darwin/arm64, not a reproduction of Ubuntu contention. A verified current-main source overlay covered5967 selected source/module/native/embed inputs, but its first coverage attempt stopped BEFORE tests: Go's cover tool could not open physical paths for overlay-only newly added regexp files. No main test pass or main product compilation failure is claimed; optional baseline repetitions were stopped because direct runner-capacity evidence already establishes this incident's mechanism.
- Dedup:29020 covers this victim's historical SQL context deadline;31044 covers upgrade recovery waits;29044 covers a retained cleanup lease. None documents this cumulative package-budget/admission mechanism, so this is a separate narrow tracker. No issue lifecycle or severity change is requested.
After this issue is created and verified, request exactly one failed-jobs rerun of run40233501986; it is a new run, not a repeated rerun of the previous incident40219577066. A rerun result will be separate evidence, not assumed success.
Activity
iamlinjunhong commentedon Oct 26, 2026
A matching coverage package-budget failure recurred on PR #31141, exact head
d4498ec1379c649315258039b20cc400fe27e536.Workflow https://github.com/matrixorigin/matrixone/actions/runs/40243807007, attempt 1:
Complete failed-job logs and the readable
ut-coverage-report-attempt-1artifact show zero build failures and only one failed package:Runner:
amd64-mo-guangzhou-2xlarge16-jvhxs-runner-ntgrm, Go 1.27.1, CGo, Linux/x64. The producer selected 502 packages with-short -tags matrixone_test -timeout=20m -p 8 -covermode=set -coverpkg=<selected packages>. Its total test phase completed after 1849.9 seconds; this is the package alarm, not the outer phase timeout. EarlierTestStartupQueryReadinesscompleted in 779.24 seconds; this is elapsed time, not a separately measured admission wait.Comparison and attribution use this still-open issue's exact failing case and cumulative package-budget class, including its maintainer analysis and independent PR #31136 occurrence at head
fcce381f85dd2c608be8d59f7c949f3330b4201a, run https://github.com/matrixorigin/matrixone/actions/runs/40233501986, attempt-1 job 121290126580. That Linux/x64 job's failure and revision were independently verified. The admission measurements in the original report establish the shared mechanism; no claim is made that the current final SQL spent 20 minutes hanging. The large current raw diagnostic archive did not finish downloading within the bounded attempts, so this record does not claim a new current-run admission-wait measurement or full-stack analysis.Source comparison with official main
b14d67a29041cb24b5c4e3029e20980580346c42confirms identicalpkg/embed,pkg/testutil/clusteradmission, Makefile and workflow sources. The PR changes temporal parsing/result inference and prepared type-history/writer preservation. It adds no embedded cluster fixture or admission acquisition, and changes no runner capacity, admission mode/lease lifecycle, scheduler or deadline. Numeric prepared DML in the victim shares frontend/planner code; the attribution does not rely on claiming those packages are disjoint. The failure class is the unchanged cumulative fixture/admission budget documented here, while the PR's own closure has successful exact-head normal UT, SCA, PROXY BVT and PESSIMISTIC BVT.Reproduction remains the full concurrent coverage command in this issue; isolating the last test removes the cross-package scheduling condition. This uses the known-open-defect comparison route, not a claimed local main reproduction or a three-plus-three individual-test flake result. No unrelated product or harness workaround is included in PR #31141. One failed-jobs rerun of run 40243807007 is planned after this record is verified; its result is not assumed successful.
iamlinjunhong commentedon Oct 26, 2026
Another occurrence of the cumulative coverage package-budget/admission mechanism on PR #31168, exact head
78fccc03952e97ac22fcdc72ec0f2d064cf95062.Run https://github.com/matrixorigin/matrixone/actions/runs/40262997139, attempt 1; failed UT Coverage on Ubuntu/x86 job 121379263389. Runner
amd64-mo-guangzhou-2xlarge16-jvhxs-runner-q2lqn, Linux/x86, Go 1.27.1, CGo. Producer command:go test -mod=readonly -count=1 -json -short -v -tags matrixone_test -timeout=20m -p 8 -covermode=set -coverprofile=<profile> -coverpkg=<selected packages> <505 selected packages>.Read the complete 2,375-line job log, CRC-verified diagnostic archive, and every event in its 467,207,039-byte JSON stream (1,193,546 events). There are zero build failures and exactly three failed events: the subtest below, its parent, and pkg/embed. The failure step is
Fail on coverage UT failure; the producer returned exit 1 after 1785 seconds, without reaching its outer timeout.Direct current-run capacity evidence:
Attribution uses this direct runner-capacity evidence, rather than a claimed clean-main reproduction or a three-plus-three flake protocol. PR #31168 changes executable-comment token admission, immutable compatibility constants, and tests. Its full diff leaves cluster.go, upgrade_recovery_test.go, pkg/testutil/clusteradmission, Makefile and CI harness unchanged. Its existing frontend fixture is extended with scalar queries without adding a cluster or lease; that entire TestRunSQLWithFrontend PASSED in 0.08 seconds in this failing coverage process. Config's default string remains 8.0.30-MatrixOne-v, and the failing admission boundary precedes SQL parsing. Local parser/consumer evidence at this head is also passing. No scheduling, admission or recovery workaround is added.
This extends this open mechanism tracker with a different last victim; the maintainer package-budget analysis on closed #31044 is supporting context, not an open-defect comparison claim. Reproduce using the full concurrent coverage selection above; selecting only the final test removes the capacity condition.
The current repair adds reviewed BVT coverage in a new commit. Publishing it will start CI for the new head; the superseded attempt is not rerun as part of that code delivery. No rerun acceptance or successful new CI result is claimed here.
iamlinjunhong commentedon Oct 26, 2026
Coverage package-budget/admission recurrence on PR #31168, exact head
63ebc06d8e99cc0f8d97c1de89635c2e24092cbd.Run https://github.com/matrixorigin/matrixone/actions/runs/40267016647, attempt 1, runner
amd64-mo-guangzhou-2xlarge16-jvhxs-runner-zrdvj, Linux/x86, Go 1.27.1, CGo:Fail on coverage UT failure.matrixone-ut-coverage: failure.Read all 2,705 failed-job log lines and CRC-verified the complete diagnostic archive, including every event of its 464,291,044-byte JSON stream (1,186,376 events). Zero build failures; exactly five failed events, all in the recovery family and its enclosing package:
Direct evidence from this run establishes cumulative runner capacity consumption:
Attribution uses direct current runner-capacity evidence, not a claimed clean-main reproduction or a three-plus-three individual-test flake result. The complete PR diff leaves cluster.go, upgrade_recovery_test.go, pkg/testutil/clusteradmission, Makefile and CI harness unchanged. Its scanner/version/config changes do not add an admission, deadline, cluster owner or lease. Its extension of an existing frontend fixture passed in 0.16 seconds in this very coverage process. The executable-comment public parser, modes, scanner, work-budget, compatibility-version and config-default tests also passed here. The same exact head has successful normal UT job 121391884609, SCA job 121391884734 and both BVT jobs 121394286808 / 121394286796. The latest commit adds only SQL/result BVT fixtures in a separate lane.
Reproduce with the producer's concurrent selection:
go test -mod=readonly -count=1 -json -short -v -tags matrixone_test -timeout=20m -p 8 -covermode=set -coverprofile=<profile> -coverpkg=<505 selected packages> <505 selected packages>, with the CI native prerequisites. Inspect cumulative package time and cross-process MO_UT_SETUP admission intervals; isolated last-test execution removes this contention condition.The prior run 40262997139 recorded above was on the previous head. This is a distinct run, currently attempt 1; no rerun for it has yet been requested. After verifying this evidence comment, request exactly one failed-jobs rerun of run 40267016647. No unrelated product or harness workaround is included, and rerun acceptance will not be described as a passing result.
Update after the single authorized failed-jobs rerun: attempt 2 was accepted at 04:59:56Z and finished with failure at 05:36:56Z, on the same exact head
63ebc06d8e99cc0f8d97c1de89635c2e24092cbdof PR #31168. This is the result of that existing rerun, not a request for another one.The new root Coverage UT job 121406334111 ran on
amd64-mo-guangzhou-2xlarge16-jvhxs-runner-qdrxr. Coverage job 121416180756 again fails the missing-producer guard, and CI Required job 121416241467 propagates the root failure. No coverage-rate verdict was calculated.Read all 2,658 failed-job log lines and CRC-verified the attempt-2 diagnostic archive, including all 1,177,117 events in its 459,916,037-byte JSON stream. There are zero build failures and five failed events: recovery /4.0.13, /manual-4.0.13, /manual-ready-steps-4.0.13, their parent, and pkg/embed. All three subcases fail at upgrade_recovery_test.go:159, before their SQL/service startup. The first waits 143.683600663 seconds for cluster admission before its inherited deadline expires; subsequent subcases return the expired context in 0.01 seconds. The package completes in 1201.718 seconds (05:13:00.004Z to 05:33:01.722Z).
Current-run capacity measurements: admission-acquire durations total 764.936 seconds, including 313.891 seconds for the passing recovery /4.0.12 case, 269.027 seconds for TestStartupQueryReadiness, and the failed 143.684-second acquisition. Cross-package release records corroborate contention: TestIssue29723MediumIntSemantics overlaps 212.547 seconds of the readiness wait; TestPreparedSchemaCommitBeforeMetadata overlaps 51.570 seconds of the failed recovery acquisition. These are partial observed lease intervals, not a reconstructed counterfactual schedule.
The PR's executable-comment parser/mode/scanner/work-budget/version/config checks passed in this attempt, and its existing frontend fixture passed in 0.09 seconds. The full PR diff still leaves recovery, cluster admission and the CI harness unchanged. Thus the new evidence supports the same independent cumulative package-budget/admission mechanism, without claiming a main reproduction or an individual recovery hang. No product test rerun, source change, timeout increase or assertion relaxation was made to obtain this attribution.
The one failed-jobs rerun for run 40267016647 at this head has now been used and failed. No further rerun is requested. Restoring the coverage lane requires separate work on this tracked scheduling/capacity issue; that unrelated harness change is outside PR #31168's executable-comment scope.
iamlinjunhong commentedon Oct 26, 2026
Coverage package-budget/admission recurrence on PR #30184, exact head
71a54d811b38c333b87531a8542477cb450713fd.Run https://github.com/matrixorigin/matrixone/actions/runs/40269121326, attempt 1:
Fail on coverage UT failure.Read the complete 2,715-line failed-job log and CRC-verified diagnostic archive, including every event of its 467,510,058-byte JSON stream. There are zero build failures and exactly four failed events: two subcases, their recovery parent, and pkg/embed. The producer uses CGo, Go 1.27.1, Linux/x86,
-short -tags matrixone_test -timeout=20m -p 8 -covermode=set -coverpkg=<505 selected packages>; this is not the race lane. Runner:amd64-mo-guangzhou-2xlarge16-jvhxs-runner-dcs2f.Direct current-run capacity evidence establishes cumulative package-budget exhaustion:
TestStartupQueryReadinesswaits 602.957s,TestSQLFileAccessPeerPersistence93.276s, andTestTestingTCPOnlySnapshotAppliesToAdditionalCN49.270s.Attribution uses this direct runner-capacity evidence and this still-open mechanism tracker, not a claimed clean-main reproduction or three-plus-three individual-test protocol. The report/maintainer analysis above and independent Linux/x64 PR #31136 occurrence (head
fcce381f85dd2c608be8d59f7c949f3330b4201a, run https://github.com/matrixorigin/matrixone/actions/runs/40233501986, failed attempt-1 job 121290126580) identify the same runner-wide admission/package-deadline contract; that run's head and failed job were independently verified. The newer recovery-subcase occurrences in the comments cover the exact victim family.Source comparison against dispatch base
4769417cdce5531c9771644eca49f1e71d8f654cand current official maince1dfe62f11747584bc8cc93f6bd7293afdbb710confirms no PR changes under pkg/embed, pkg/testutil/clusteradmission, its shared sqlintegration fixture, Makefile or CI workflows. The PR's attempt-local scalar candidate budget/CN permit is a different mechanism from the temporary-directory test-cluster lock. Its public regression uses the existing sequential one-CN fixture and adds no admission owner. That scenario passed in 1.75s (recorded body 1.745415241s) in this failing coverage process. Adding workload can alter scheduling; no claim of an identical schedule without the PR is made.The same coverage stream records 31 passing focused roots across set keys, spill representatives, scalar identity, dependent work accounting, resource lifecycle, protocol placement/receive and persisted admission. The current exact head also has successful ordinary UT, SCA, PROXY BVT, and PESSIMISTIC BVT. This does not claim the overall coverage lane passed.
Reproduce with the full concurrent coverage selection documented in this issue, retaining admission timing and package elapsed time; running only the final subcase removes the capacity condition. No unrelated product/harness workaround or raw execution artifact is added to the PR. After verifying this record, request exactly one failed-jobs rerun of 40269121326, currently attempt 1. Rerun acceptance will be reported separately from its eventual result.
iamlinjunhong commentedon Oct 26, 2026
A matching coverage package-budget/admission failure occurred on PR #31191, exact head
b65aa30fac7dfaf2642f6c475b5bd49a761d858a.Run https://github.com/matrixorigin/matrixone/actions/runs/40272032472, attempt 1:
Fail on coverage UT failure.The complete failed-job logs and diagnostic artifact were read, including all 1,198,797 events in
ut-coverage-report.json. The Linux/x86 CGo coverage producer uses Go 1.27.1,-short -tags matrixone_test -timeout=20m -p 8 -covermode=setand its complete selected-package coverage closure.Direct current-run capacity evidence: the package started at 05:16:57.779Z; 143 earlier passing roots consumed 1144.15s. Recorded admission-acquire durations total 746.639s, including 692.030s in
TestSQLFileAccessPeerPersistence, 37.924s in the TCP-only snapshot test and 11.257s in recovery/4.0.13. The final manual restart reached service-ready at 05:36:58.914Z, after the inherited package deadline. The next subcase immediately rejects the expired context. This is cumulative package-budget exhaustion, not a twenty-minute hang in either manual recovery operation.The documented mechanism and exact recovery victims match this issue's independent recurrence. Independently verified Linux/x64 failed runs include 40233501986, head
fcce381f85dd2c608be8d59f7c949f3330b4201a, job 121290126580, and 40267016647, head63ebc06d8e99cc0f8d97c1de89635c2e24092cbd, job 121391910717. PR 31191 leavespkg/embed,pkg/testutil/clusteradmission, Makefile and CI workflows unchanged relative to dispatch basece1dfe62f11747584bc8cc93f6bd7293afdbb710; these mechanism sources are also unchanged at verified official mainb466f4ae9b74813a4ff93eaf43a6c81e6cbb8b0b. Its decimal conversion and SQL policy changes add no cluster-admission owner, wait, capacity setting or package deadline. This attribution uses direct capacity evidence and the open mechanism tracker, without claiming a clean-main reproduction or an individual-test flake protocol.This comment covers the embed timeout only. The same run also contains PR-specific static and compatibility-fixture failures, which are being corrected in PR 31191. A corrective push will trigger fresh CI; this mixed failed run will not be rerun. No unrelated upgrade/harness workaround is included, and overall CI success is not claimed. Reproduction remains the full concurrent coverage producer command and admission timing protocol documented above.
fix(iscp): preserve fresh init jobs and shorten embedded test waits (#…
Fix decimal rounding and MySQL text-to-float casts (#31191)
XuPeng-SH commentedon Oct 26, 2026
Verified the existing correction at its owning CI boundary: matrixorigin/CI#468 is merged, current
coverage-ut.yamlsetsMO_TEST_CLUSTER_ADMISSION_POOL_SIZE=2, and MatrixOne main's entrypoint calls CI@main. It preserves package parallelism8, the20m package budget and coverage selection. The owning16GiB-runner canary run40268403568/job121395747003 completed all505 selected packages with producer exit0 and a complete uploaded profile; this is existing observed evidence, not a new rerun claim.Current MatrixOne main
861a2c4cb6also includes #31237, which reduces test-only ISCP idle cadence through the existing timing owner. The current complete cluster-admission package passes under-race; the lease/slot/cancellation behavior is retained. The recurring logs here reference earlier exclusive-admission CI revisions.Closing this specific cumulative-admission-budget incident as addressed by those existing corrections. This does not guarantee every future coverage timeout is fixed; reopen with a current CI revision using pool2 and direct package/admission timing if the same mechanism recurs.
iamlinjunhong commentedon Oct 30, 2026
Current pool-2 admission-budget recurrence on PR #29152, exact head
fc83c5454701f4b95ca4adbe0c91a90ffb810c66.Run https://github.com/matrixorigin/matrixone/actions/runs/41018620816, attempt 1:
Read both completed jobs' full logs and every event of the 506,987,741-byte diagnostic JSON (1,295,983 events, no invalid/truncated lines). Exactly one test and its owning package failed:
The failure occurs in the initial predecessor cluster's admission acquisition, before service startup, fixture DDL, or the injected COLUMNS replacement/replay. This is an individual five-minute setup budget, rather than the historical twenty-minute package alarm. The producer returned command_exit/1 after 1489.9s; it was not the outer-runner timeout.
Direct current-run capacity evidence:
matrixorigin/CI@79c604b5c2c265427185271ab68629c9a464cbd0uses Go1.27.1/Linux-amd64/CGo,-short -tags matrixone_test -timeout=20m -p8 -covermode=set, withMO_TEST_CLUSTER_ADMISSION_POOL_SIZE=2. This recurrence therefore includes the pool-2 correction mentioned in the closing analysis.issuesPID95637 holds cluster14001 across the interval, including a252.956-second completed lease whose overlap is183.993seconds, then reacquires duringTestIssue29723MediumIntSemanticsuntil the process exits.sqlintegrationPID96049 repeatedly retains/reacquires clusters18001–18009 across ordinary DDL/CDC/prepared-role scenarios. Other holders include arrowloadPID95490, upgradePID96355 and isolatedPID95712. The victim never acquired a slot and had no new service to tear down.TestPythonRoutineSQLBoundariespasses in13.05s and its completed lease holds7.346s;TestV4019LoginRepairsLegacyRoutineCatalogpasses in7.05s within the shared upgrade fixture. Both finish successfully. Removing workload could change scheduling; no identical counterfactual schedule without the PR is claimed.Attribution uses this direct runner-capacity evidence, not this closed issue as an open-known-defect comparison. The victim,
pkg/embed/cluster.go,options.go,testing.go, startup owner,pkg/testutil/clusteradmissionand repository workflows are unchanged between official baselined39d8a40343ccd40bf665036388df7a40ee867f8and the PR head. The PR's embed config change only replaces Python configuration fields and does not acquire admission; construction and port leasing already succeeded before the failed wait. Itsoptools/run_ut.shPython dependency bootstrap is not this producer: the job invokes CI'sscripts/run_coverage_ut.pyand directgo test. No admission capacity, slot lifecycle, setup deadline or coverage scheduling change is introduced by this PR.The exact head's affected owner-package normal tests, real Python SQL race boundaries and other closure controls already passed. A new focused local run of the unchanged victim also passes (11.32s root/12.647s package) with
-short -tags=matrixone_test -count=1 -covermode=set -coverpkg=./pkg/bootstrapand pool2 using the verified native wrapper. This local control is Darwin/arm64 with a focused coverage closure, not a reproduction of the full Linux contention or a clean-main/three-plus-three assertion.Reproduce the capacity condition with the full concurrent coverage selection and pool2, retaining acquire/release timing and package exit events; running only the victim removes the competing processes. No product assertion, fixture, admission mechanism or source artifact is changed for this incident.
This records the current recurrence while retaining the issue's closed state. The overall run is still executing ordinary UT, so no rerun has been requested. Once terminal, inspect any additional failures, then request at most one failed-jobs rerun of this exact run and verify acceptance separately; that is not a claim that a rerun has succeeded.
gouhongshen commentedon Oct 30, 2026
Coverage UT individual five-minute admission-budget recurrence on PR #31489, exact head
a62c3387bfc0b3d1c53c8db0503d9c8447c0d18c.Workflow/job/run: MatrixOne ALL CI run 41068362534, attempt 1, pull_request_target, 2026-10-30. Root failure: UT Coverage on Ubuntu/x86, job 124105846673, step
Fail on coverage UT failure(job 14:06:39–14:38:17Z). The same job's log records the producer asgo test -mod=readonly -count=1 -json -short -v -tags matrixone_test -timeout=20m ... -covermode=settogether withMO_TEST_CLUSTER_ADMISSION_POOL_SIZE: 2, so the pool-2 correction (matrixorigin/CI#468) requested in the closing note is in effect for this run.Observed failure — exactly one test and its owning package failed; 499 root tests started, zero build failures:
The test's own setup passes a 5-minute context (
upgrade_columns_4_0_18_test.go:396→stageReady407Predecessorat:109); cluster construct and port-lease took ~9 ms, then admission acquisition consumed the entire remaining budget (duration=4m59.991s status=error) before any service started. The package finished at 918.83 s — far below the 20-minute package budget — so this is the individual-budget variant of this issue's mechanism, not a package alarm or a hung test.Direct current-run contention evidence: the per-minute heartbeat notices between 14:27:08Z and 14:31:09Z (the failed acquire window) record the stream's last output events coming from other cluster-constructing binaries holding runner-wide admission:
pkg/tests/dml(TestStrictGroupConcatOldWorkerCannotCommit),pkg/tests/issues(TestIssue26882ComQueryCacheTracksViewIdentity,TestLoadRejectsDuplicatePrimaryKeys/session_policy_and_cached_statements),pkg/tests/sqlintegration,pkg/tests/issues/isolated(TestIssue25782BroadcastHashBuildFailsClosedUnderHardBudget), andpkg/tests/upgrade(Test_UpgradeEntry). Immediately afterwards,pkg/embed's remaining tests acquired admission instantly and passed (next clustercluster_id=10046:phase=admission-release wait=35.116µs hold=1.667s;TestColumnsUpgradeInterruptedRouteResumesandTestCrossTargetUpgradeRecoverycompleted green), confirming transient cross-process contention rather than a per-test defect.Why this is unrelated to PR #31489:
TestColumnsUpgradeWithoutEntryKeepsPredecessorDefinitionsis pre-existing code from merged fix(sql): enforce DECIMAL UNSIGNED and ZEROFILL attributes end to end #31739; PR fix(sysview): publish declared COLUMNS metadata, numeric SUB_PART and full generated expressions #31489 does not modifypkg/embed/upgrade_columns_4_0_18_test.go,pkg/embed/cluster.go,pkg/testutil/clusteradmission, or the CI lane.38901ce0e7(both pushes are documentation-only over implementation head61da7f8ef0;git diff 61da7f8ef0 a62c3387bf --name-onlyshows onlydocs/design/20261026-declared-catalog-metadata-publication-and-repair.md), UT Coverage on Ubuntu/x86 success 11:03:53–11:34:50Z (see run 41045029484).TestColumnsUpgradeInterruptedRouteResumesin the same base test file withphase=admission-acquire duration=4m59.998s status=error.Posting this current pool-2 recurrence record here per the closing guidance. Evidence retained: full failed-job log and failure summary quoted above from job 124105846673.
gouhongshen commentedon Oct 30, 2026
Downstream coverage-merge gate recurrence on PR #31489, exact head
a62c3387bfc0b3d1c53c8db0503d9c8447c0d18c— this record extends the coverage-UT recurrence logged above (issuecomment-6525666286) with the cascade failure the same run produced.Workflow/job/run: MatrixOne ALL CI run 41068362534, attempt 1, pull_request_target, 2026-10-30. Failing job: Matrixone Coverage execution / Coverage, job 124135295384, 15:01:39–15:01:45Z (≈6s, no test executed).
Steps / relevant context:
matrixone-coverage-merge(.github/workflows/entrypoint.yaml:194-202) is the reusablematrixorigin/CIcoverage-merge.yamlgate invoked withprerequisites_readycomputed fromneeds.matrixone-ut-coverage.result == 'success' && needs.matrixone-ut-coverage.outputs.coverage_ready == 'true'plus both BVT suites green. Its input evaluatedfalsesolely because the required UT producer UT Coverage on Ubuntu/x86, job 124105846673 failed at 14:38:17Z in the admission-budget mechanism of this issue (TestColumnsUpgradeWithoutEntryKeepsPredecessorDefinitions, 4m59.99s wait on the runner-wide cross-processmo-test-cluster-lifecycle.lock, pool-2 in effect). Both BVT producers completed green (PESSIMISTIC 15:01:36Z, PROXY 14:37:51Z).Observed failure: first gate step exited 1 by design —
::error::coverage merge blocked: a required producer did not publish a complete coverage profile; no coverage verdict was calculated— withprerequisites_ready: falsein the job inputs; job log shows zero test/binaries executed and a warn-onlycoverage-merge-debug-attempt-1artifact upload (retention 1 day).Why unrelated to PR #31489: the job runs no PR code at all (prerequisite gate only); the missing producer profile is exactly the coverage-UT failure recorded above as a base-code admission-contention recurrence. The identical
Coveragegate job passed earlier the same day on this PR's code-identical head38901ce0e7(run 41045029484, jobMatrixone Coverage execution / Coverage= success, whole run success), and the current failed head differs from implementation head61da7f8ef0only by the design document.Evidence: failing job log 124135295384 (gate step + inputs
prerequisites_ready: false,expected_bvt_generation: 41068362534-1,ci_ref: main); producer failure job 124105846673 (see the record above); caller configentrypoint.yamllines 194-205 including the by-design AND-gate note.gouhongshen commentedon Oct 30, 2026
Final change-scope verdict gate recurrence on PR #31489, exact head
a62c3387bfc0b3d1c53c8db0503d9c8447c0d18c— this record extends the two recurrences logged above (issuecomment-6525666286 producer, issuecomment-6526042375 coverage-merge gate) with the same run's final aggregate gate failure.Workflow/job/run: MatrixOne ALL CI run 41068362534, attempt 1, pull_request_target, 2026-10-30. Failing job: CI Required, job 124171307173, 16:08:45–16:08:50Z (≈5s, no test executed).
Steps / relevant context:
CI Requiredis the run's final change-scope verdict gate: it checks out only.github/ci(sparse, fetch-depth 1) at the workflow commit75e39644734c4492cf066816b78e4a6584a6002bon main and runsverifyResults(scope='full', JOB_RESULTS)from.github/ci/change-scope.cjsvia actions/github-script@v7. No MatrixOne source, test, or build is executed. For scopefull,change-scope.cjsrequiresmatrixone-ci,matrixone-ut-coverage,matrixone-compose-ci,matrixone-standalone-ciandmatrixone-coverage-mergeto all besuccess(preflight additionally must besuccesswithpr_valid=true).Observed failure: the job's fed
JOB_RESULTSshow preflight success (scope=full, pr_valid=true, sdk_required=false, complementary BVT plan compose_group=1/launch_group=0),matrixone-cisuccess,matrixone-compose-cisuccess,matrixone-standalone-cisuccess,matrixone-ut-coverageresult=failure (outputs coverage_ready=true, coverage_status=failed — the producer recurrence above) andmatrixone-coverage-mergeresult=failure (the gate recurrence above).verifyResultsthrewError: matrixone-ut-coverage: failureat the first non-success required job, so the gate failed deterministically in ≈5s.Why unrelated to PR #31489: the job is a pure downstream reflection of the two #31146-rooted producer failures already recorded above; it evaluates producer statuses only and runs no PR code. The PR does not touch the failing producer test, the admission mechanism, or the CI lane; repairing the verdict gate or the admission scheduling would be CI-side changes (
matrixorigin/CI/.github/ci), outside the repository this PR may change. The identical run shape passed earlier the same day on this PR's code-identical head38901ce0e7(run 41045029484, whole run success), and the failed head differs from implementation head61da7f8ef0only by the design document.Evidence: failing job log 124171307173 (verifier script,
JOB_RESULTSinput block, thrown errorError: matrixone-ut-coverage: failureat change-scope.cjs line 113); producer failure job 124105846673 and coverage-merge gate job 124135295384 (records above); PR base/head provenance echoed by the job (PR_BASE_SHA: a54850983d9cddaacc97e38a84515ec724c937b7,PR_HEAD_SHA: a62c3387bfc0b3d1c53c8db0503d9c8447c0d18c).fix(parser): gate executable comments by MySQL version (#31168)