Repository navigation
Description
- I have checked the existing issues.
Branch Name
main
Commit ID
9d9b581 (observed in the CI run of PR #30629, which executes on the merge of main with the PR head)
Other Environment Information
- Hardware parameters: amd64-mo-guangzhou-2xlarge16 runner
- OS type: Ubuntu 24.04 (GitHub-hosted)
- Others: UT Coverage job (
UT Coverage on Ubuntu/x86), cross-target upgrade recovery test spins a real MO cluster with manual ready steps
Actual Behavior
TestCrossTargetUpgradeRecovery/manual-ready-steps-4.0.13 in pkg/embed hangs and is killed by the go test 20-minute timeout:
FAIL github.com/matrixorigin/matrixone/pkg/embed (1201.752s)
github.com/matrixorigin/matrixone/pkg/embed / TestCrossTargetUpgradeRecovery/manual-ready-steps-4.0.13:
panic: test timed out after 20m0s
The whole package runtime (1201.752s ≈ 20m) is consumed by this single subtest — it is a hang, not an assertion failure. Runner diagnostics show no OOM signal.
Retained goroutine dump fragment (the published log keeps only ~11 panic-like lines; full dump sits in the JSON report at line 1193663 and is not in the job log):
- 2×
pkg/publication.(*filterObjectWorker).start.func1inselect(pkg/publication/worker.go:813) — idle - dragonboat stepWorkerMain idle in select
- 1× goroutine in
[IO wait], blocked inside goetty TCP read (RPC read never answered)
Shape: the test starts the cluster, then the main flow waits for a ready condition/handshake that never completes while every server goroutine is idle.
Failing run: https://github.com/matrixorigin/matrixone/actions/runs/40079833089/job/120852470366 (attempt 2 of PR #30629 CI)
Expected Behavior
The upgrade recovery subtest completes within its share of the package budget; a readiness wait should fail fast with a diagnosable error instead of burning the full 20-minute package timeout.
Steps to Reproduce
# UT / UT-coverage environment (pkg/embed starts real clusters; needs the download infra)
go test -count=1 -timeout 20m -run 'TestCrossTargetUpgradeRecovery' ./pkg/embed/Intermittent: observed once on 2026-10-24 in the UT Coverage lane.
Additional information
- Observed on PR Move ordinary ApplyAppend out of the TN commit queue #30629 ("Move ordinary ApplyAppend out of the TN commit queue"), whose 62-file diff (disttae/logtailreplay, tae/catalog, metric/v2, design doc) has zero overlap with pkg/embed or the upgrade test framework — most likely a flaky env/timing hang. Residual caveat: the manual ready steps do exercise TN commit/apply paths, so a timing shift from the PR cannot be fully excluded; keep this in triage until reproducibility is known.
- Diagnostics artifact from the failed run:
ut-coverage-diagnostics-attempt-2/ut-runner-diagnostics.txt; the dropped panic goroutine stacks live in the step's JSON test report (≈ line 1193663). - Sibling flaky-UT tracking pattern: [Bug]: [flaky] multi-CN index rebuild UT: copy-alter (flush=false) loses column
noteon cn1 (TestIssue29566IndexRebuildCoordinator) #31042.
Activity
gouhongshen commentedon Oct 24, 2026
Reproduction record — UT Coverage lane, PR #31000, run 40105576983 attempt 4 (failure unrelated to that PR)
UT Coverage on Ubuntu/x86(2026-10-24 20:38:15Z→21:12:50Z, runneramd64-mo-guangzhou-2xlarge16-jvhxs-runner-4gzx8, Guangzhou pool). Checkout verified this exact headf79bbb0dbed15194e3538b2d483fb33c3d12632(PR feat(sql): add quantileExactWeighted exact weighted percentile #31000 head, base6fb6531432);Set up Go/JDK/CMake and the fullRun coverage unit testsphase (32m,-short -v -covermode=set -coverpkg=<whole tree>) all completed — first attempt of this run to reach test execution.pkg/embed, 5 failed test/package events, all this test family —TestCrossTargetUpgradeRecovery/4.0.13FAIL 11.54s,/manual-4.0.13FAIL 0.01s,/manual-ready-steps-4.0.13FAIL 0.02s, each atupgrade_recovery_test.go:159withcontext deadline exceeded(the recovery-cluster start() admission deadline, i.e. before any of the test's recovery SQL runs);/4.0.12PASSED in the same process (23.81s); package lineFAIL github.com/matrixorigin/matrixone/pkg/embed 1202.088s. Nopanic: test timed outthis time — a third distinct terminal mode of the same startup-readiness timing failure: the Move ordinary ApplyAppend out of the TN commit queue #30629 record hung to the 20m go-test timeout, this one expired the admission deadline inside the same 4.0.13 subtest family.UT Test on Ubuntu/x86lane ~2h earlier (attempt-3 job 120954419838, step result table 19:12:14Z→19:14:13Z:TestCrossTargetUpgradeRecoverypass 118.20s,/4.0.1231.66s,/4.0.1330.45s,/manual-4.0.1326.35s,/manual-ready-steps-4.0.1329.65s). That PR's 33-file diff (SQL plan/function/aggexec/window/parser/compile) has no overlap withpkg/embed, bootstrap version handlers or the cluster-start path, and the failing call site precedes any SQL executed by the test. Same-day occurrence on the unrelated PR Move ordinary ApplyAppend out of the TN commit queue #30629 (issue body) supports the flaky env/timing classification under whole-tree coverage instrumentation.Coverage21:12:53Z→21:12:59Z — prerequisite gatePREREQUISITES_READY: false, "a required producer did not publish a complete coverage profile" (the producer skips profile upload after failed tests);CI Required21:13:01Z→21:13:08Z — aggregate gate only,matrixone-ut-coverage: failure(coverage_status: failed),Error: matrixone-ut-coverage: failureat.github/ci/change-scope.cjs:113.XuPeng-SH commentedon Oct 24, 2026
The complete retained coverage artifact changes the diagnosis. The Go panic reports the upgrade root running for 1m18s and manual-ready-steps running for only 11s at the package's 20m alarm. Its stack is in checkRecoverySQL's bounded EventuallyWithT, not a twenty-minute readiness/RPC wait. The complete JSON places upgrade start at 11:16:36.424Z and manual-ready start at 11:17:43.399Z. Earlier completed package roots include TestSQLFileAccessPeerPersistence 358.64s and TestUpdateIgnoreRepeatedAliasesAdvanceGreedily 294.42s. Thus the report's single-subcase twenty-minute-hang claim is unsupported; package budget was already largely consumed before this case.
On current main
dae02bbaaaa18aac7fa9b788e42f4483b3adf091, the complete CHECK namespace + all four cross-target recovery scenarios passed under Linux/amd64 race + matrixone_test (120.959s package); manual-ready completed in 16.71s. This is not a reproduction of the original coverage/full-package workload and does not claim the CI package-time problem fixed. Closing this misattributed recovery-hang report as not planned under the assignee's instruction. Package cost remains part of #29249; reopen a specific recovery defect with a phase/stack demonstrating its own violated bound.The concurrent recurrence comment from PR #31000 / run 40105576983 attempt 4 has also been reviewed before this write. It reports total package time 1202.088s, a first recovery subcase completing in 23.81s, a following startup returning the inherited admission deadline after 11.54s, and later scenarios failing immediately in 0.01/0.02s. Since this fixture derives admission from the test/package deadline, that record is consistent with the package-budget boundary; it does not establish a twenty-minute wait inside one recovery subcase. The full original coverage workload remains unvalidated locally. No startup timeout/retry increase or production recovery change is included in this campaign.
Merge branch 'main' into agent/issue-29944-main-8fb0a4e7
gouhongshen commentedon Oct 24, 2026
Reproduction record — UT Coverage lane, PR #30988, run 40140629208 attempt 1 (failure unrelated to that PR)
UT Coverage on Ubuntu/x86(2026-10-24 22:59:52Z→23:32:56Z, FAILURE; runner path shows theamd64-mo-guangzhou-2xlarge16-jvhxsGuangzhou pool). Checkout finished and the full coverage phase executed head9f0c4e2ce7(PR fix(disttae): bound long-transaction workspace maintenance and close orphan-cleanup ownership #30988, basedae02bbaaa) — 502 packages at parallelism 8 — so this is a real run of the head's source, not a fetch/toolchain casualty.pkg/embed,TestCrossTargetUpgradeRecovery/manual-ready-steps-4.0.13FAIL 4.81s; the package completed in 1201.56s with every other test green (no go-test hang, no panic, OOM scan negative — unlike the original 20m-hang record and the feat(sql): add quantileExactWeighted exact weighted percentile #31000 multi-subtest record). The subtest's first-generation setup hitcontext deadline exceededonalter table mo_catalog.mo_cdc_watermark drop column target_identity(CN internal SQL executor,WithWaitCommittedLogApplied), immediately after the ALTER's copy-tableINSERT INTO … SELECT FROM mo_catalog.mo_cdc_watermarkerrored with the same deadline — the bounded-wait-under-contention class this issue collects. The three sibling subtests passed in the same execution on the same cluster machinery (4.0.129.99s,4.0.1310.01s,manual-4.0.1310.20s).UT Test on Ubuntu/x86(SUCCESS 23:46:37Z) executed the same test family on the same head and all four subtests passed —manual-ready-steps-4.0.13in 26.36s (23:30:44Z→23:31:11Z), overlapping the failing coverage execution's window.pkg/embedoverlap, and its only delta from head967e0ace23— whose coverage-lane run 40130528379 attempt 1 was fully green on all 502 packages includingpkg/embed(UT Coverage SUCCESS 21:13:36Z; same subtest 58.59s pass in that run's UT lane) — is apkg/vm/engine/disttaetransaction-terminal bookkeeping detach plus disttae tests and a design document.TestPartitionBasedShardCanBeCreated654.19s,TestStartupQueryReadiness650.45s) and unrelated isolated suites logged the samecontext deadline exceededwatchdogs while passing (pkg/vm/engine/tae/logtail/service,pkg/vm/engine/tae/db/testcheckpoint chaos,pkg/tests/issues/isolated).ut-coverage-diagnostics-attempt-1of the run (ut-coverage-incident.md,ut-coverage-report.json); the PR's single CI-blocker tracker comment records this marker (PR #30988).Three diffs on this lane today have now recorded this family failing while their own concurrent evidence cleared the same test on the same heads (PR #30629 in the issue body, PR #31000 in the comment above, PR #30988 here).
gouhongshen commentedon Oct 25, 2026
Reproduction record — downstream
Coveragegate of the run whose UT Coverage lane is recorded above: PR #30988, run 40140629208 attempt 1 (deterministic projection of the #31044-family UT Coverage failure; unrelated to that PR)Matrixone Coverage execution / Coverage, job 121022575751, started 2026-10-24T23:51:21Z, terminal FAILURE at 23:51:27Z (~6 seconds) — after the run'sUT Coverage on Ubuntu/x86lane had failed.prerequisites_ready: false(its other inputs:expected_bvt_generation: 40140629208-1, both BVT producer legs green —PROXYsuccess 23:35:26Z,PESSIMISTICsuccess 23:51:19Z) and failed closed inside its input guard, before diff generation or profile processing:The summary step records
Merge step: 'skipped', no coverage rates were computed, and the debug-artifact upload found no files. The sole required producer that failed is the UT Coverage lane of the same run — thepkg/embedTestCrossTargetUpgradeRecovery/manual-ready-steps-4.0.13flaky of this issue's family, job 121011497087, already recorded in this issue (previous comment). No MatrixOne source of the PR ran in this gate job and no coverage-rate verdict exists, so this is a projection of the same tracked lane failure, not a separate root cause and not evidence about PR #30988's diff (which has zeropkg/embedand zero coverage-tooling overlap).feat(sql): add quantileExactWeighted exact weighted percentile (#31000)
gouhongshen commentedon Oct 25, 2026
Reproduction record — UT Coverage lane, PR #31143, run 40232128784 attempt 1 (failure unrelated to that PR)
Job:
UT Coverage on Ubuntu/x86(started 2026-10-25 20:44Z, FAILURE at 21:19Z;amd64-mo-guangzhou-2xlarge16Guangzhou pool). The run checks out PR test(plan): pin backslash comment replay and dump fingerprint regressions #31143 head07876cfdab(baseb14d67a290); the full coverage phase executed (502-package report,fail=4events).Observed failure:
FAIL github.com/matrixorigin/matrixone/pkg/embed 1203.300s—TestCrossTargetUpgradeRecovery/manual-4.0.13FAIL (116.81s) andTestCrossTargetUpgradeRecovery/manual-ready-steps-4.0.13FAIL (0.01s), both atupgrade_recovery_test.go:159withReceived unexpected error: context deadline exceeded, whileTestCrossTargetUpgradeRecovery/4.0.13PASSED (26.15s) in the same test.MO_UT_SETUPshows the embedded cluster completedphase=service-start duration=4.219614171s status=ready(admission released, port lease released), and themanual-ready-stepssubtest then fails instantly at itscluster-constructphase — the setup context (t.Deadline-derived) is already expired, matching this family's package-budget exhaustion signature analyzed in the 2026-10-24 21:37 UTC comment (fail-fast at a bounded wait rather than the single-subcase hang originally reported).Why unrelated to this PR: PR test(plan): pin backslash comment replay and dump fingerprint regressions #31143's diff is four test/BVT files (
pkg/frontend/table_dump_comment_fingerprint_test.go,pkg/sql/plan/show_create_comment_backslash_replay_test.go,test/distributed/cases/comment/comment_backslash_roundtrip.sql/.result) with zero production-code orpkg/embedoverlap; its added UT load is seconds against a 20-minutepkg/embedpackage timeout that this package consumes on its own real-cluster boots. Same-evening lane noise confirms head independence: run 40229272385 (PR headdd786f1b3a, diff does not touchpkg/embedeither) failed the same lane on a differentpkg/embedtimeout (TestTestingTCPOnlySnapshotAppliesToAdditionalCNpanic: test timed out after 20m0s), while runs 40230100351 (20:17Z) and 40228429678 (19:56Z) passed it with heads containing this test file unchanged.Job-log evidence excerpts (failed subtests, setup fixture lines) are quoted in the linked job log lines 711–720 and 1183–1300.
gouhongshen commentedon Oct 26, 2026
Reproduction record — UT Coverage lane, PR #31147, run 40247682659 attempt 1 (failure unrelated to that PR)
Matrixone UT Coverage execution / UT Coverage on Ubuntu/x86(started 2026-10-26 00:08:06Z, FAILURE 00:41:55Z; runneramd64-mo-guangzhou-2xlarge16-jvhxs-runner-t8clk, Guangzhou pool). Checkout ran PR test(plan): pin padded binary default replay and dump fingerprint parity (#31066) #31147 headb45b9eebea(baseb14d67a290); the full coverage phase executed — 505 packages at parallelism 8, producer exit 1 with 5 failed test/package events.FAIL github.com/matrixorigin/matrixone/pkg/embed 1202.072s;TestCrossTargetUpgradeRecovery/manual-ready-steps-4.0.13FAIL 67.22s withReceived unexpected error: context deadline exceededat the recovery-SQLrequire.NoError(Error Trace: upgrade_recovery_test.go:172→:174), after the embedded-cluster fixture spentMO_UT_SETUP ... phase=admission-acquire wait=1m2.495748941sand reachedphase=service-start duration=4.202s status=ready(cluster_id=10042). The three sibling subtests PASSED in the same test process (/4.0.1273.73s,/4.0.1310.42s,/manual-4.0.1310.41s). The package elapsed 1202.072s at the ~20m package boundary — the deadline-derived context expired inside the subtest's recovery SQL, the same fail-fast-at-package-budget signature as this issue's 2026-10-24 21:37 UTC analysis and as the records for PRs feat(sql): add quantileExactWeighted exact weighted percentile #31000, fix(disttae): bound long-transaction workspace maintenance and close orphan-cleanup ownership #30988, and test(plan): pin backslash comment replay and dump fingerprint regressions #31143 (test(plan): pin backslash comment replay and dump fingerprint regressions #31143 on the identical baseb14d67a290).pkg/sql/plan/build_show_util.go(SHOW CREATE TABLE string-default quoting), two focused pure UT files (pkg/sql/plan/show_create_table_default_test.go,pkg/frontend/table_dump_default_hash_test.go), and one BVT case (test/distributed/cases/dml/show/show_create_table_default_quote.{sql,result}) — zeropkg/embedoverlap and no recovery-cluster/startup path touched. The failing subtest is the last one of a package that had consumed its ~20m coverage-lane budget; the identical family recurs on unrelated PR heads recorded in this issue (most recently test(plan): pin backslash comment replay and dump fingerprint regressions #31143, run 40232128784; also this same lane run: package-budget embed failure in run 40231612704, PR "perf: reuse bounded scratch for batched ASCII LOWER").ut-coverage-report-attempt-1.zip(readable incident report, listed failed tests/passing siblings/fixture phases) andut-coverage-diagnostics-attempt-1.zip(failed-UT output excerpts) of run 40247682659.test(plan): pin backslash comment replay and dump fingerprint regress…
gouhongshen commentedon Oct 26, 2026
Reproduction record — UT Coverage lane, PR #31143, run 40248125075 attempt 1 (failure unrelated to that PR)
Job:
Matrixone UT Coverage execution / UT Coverage on Ubuntu/x86— started 2026-10-26T00:13:02Z, terminal FAILURE 00:46:39Z, runner on theamd64-mo-guangzhou-2xlarge16Guangzhou pool. The lane checked out merge head337c3d03(Mergify merge ofmainb14d67a290into this PR's57f93b5873) and ran the full coverage phase: the JSON report covers the whole tree (~89k tests, 89,247run/ 89,658pass) with exactly 3failevents (one subtest, its parent, and the package). Job log excerpt: "Received unexpected error: context deadline exceeded" atupgrade_recovery_test.go:256.Observed failure:
pkg/embedTestCrossTargetUpgradeRecovery/manual-ready-steps-4.13— more preciselyTestCrossTargetUpgradeRecovery/manual-ready-steps-4.0.13(9.72s) failed atupgrade_recovery_test.go:256, therequire.NoErrorright after the manual-recovery flow's second bounded clusterstart()(thenewRecoveryClusterStarterhelper). This is the same starter-budget/context deadline exceededfamily as this PR's earlier occurrence in run 40232128784 (record, which failed at line 159, the firststart()). Sibling subtests4.0.12(11.07s),4.0.13(9.77s) andmanual-4.0.13(10.36s) passed; this was the only failing test in the entire report. Package exit:FAIL github.com/matrixorigin/matrixone/pkg/embed 1201.890s, after which the phase hit its controlled-deadline handling ("Coverage UT hit the controlled deadline"). Downstream of the flake, the run'sCoveragegate andCI Requiredfailed as deterministic projections and Mergify dequeued the PR from the main merge queue citing this check.Why unrelated to that PR: test(plan): pin backslash comment replay and dump fingerprint regressions #31143 is test-only —
pkg/frontend/table_dump_comment_fingerprint_test.go,pkg/sql/plan/show_create_comment_backslash_replay_test.goand thetest/distributed/cases/commentBVT case; it touches nothing underpkg/embedor cluster startup. The same lane/flake family also reproduced on other non-pkg/embedPRs the same night (e.g. test(plan): pin padded binary default replay and dump fingerprint parity (#31066) #31147 run 40247682659, FAILURE at 00:41:55Z, about 40 minutes before this one, same runner pool), and this PR's own plainUT Test on Ubuntu/x86lane passed in the same run.Disposition: tracked as the unrelated blocker for the PR (marker comment: test(plan): pin backslash comment replay and dump fingerprint regressions #31143 (comment)); the failed jobs of run 40248125075 were rerun once (attempt 2 pending at the time of this record).
gouhongshen commentedon Oct 29, 2026
Reproduction record for the same hang class re-observed in a PR CI lane (not by ten manual steps initially — this lane spins the real cluster itself):
8b41e39227of PR #30988, runneramd64-mo-shanghai-8c16g-dkj59.TestCrossTargetUpgradeRecoveryhung thepkg/embedbinary until the package alarm —panic: test timed out after 37m7s ... running tests: TestCrossTargetUpgradeRecovery (35m48s)— while the upgrade framework kept pollingselect ... from mo_upgrade where state = 1(empty result, every ~120 ms) for the whole window; the tail also showstaskservice.holder.refresh.failed: invalid state no CN in the cluster. Same shape as this issue's record: the flow waits for a cross-process cluster condition that never completes while surrounding services idle. Runner heartbeat during the hang: 11.4–14.2 GiB of the 16 GiB limit, 19–24 live test processes, ~749 s accumulated cgroup CPU throttle.7c75f3e07b, which differs only by commit 8b41e39 confined topkg/vm/engine/disttaeworkspace-admission bookkeeping) passed the same UT job, this test included; this issue's original failure (#30629, commit 9d9b581) predates that commit entirely; no workspace-admission condition appears in the hung segment — the blocked waiter is the upgrade-state/cluster-admission poll.fix(disttae): wait the settle's ledger retire in the r58 recovery leg
gouhongshen commentedon Oct 29, 2026
Reproduction record — UT Coverage lane, PR #30988, run 40843109971 attempt 1 (failure unrelated to that PR)
Run/job: MatrixOne ALL CI, run 40843109971 attempt 1, job "Matrixone UT Coverage execution / UT Coverage on Ubuntu/x86" (2026-10-29T08:37:39Z→09:08:35Z), head
a52b906996of PR #30988. This was a real execution of the head's source: 497 packages / 94,003 tests ran with a blanket coverage profile, and exactly two failure events occurred — both this test family (TestCrossTargetUpgradeRecoveryFAIL 182.51s and thepkg/embedpackage projection FAIL 571.409s). Every other test in the run passed, including the wholedisttae/colexec/compilecorpus andpkg/tests/service's 487s multi-CN replay test.Observed:
--- FAIL: TestCrossTargetUpgradeRecovery (182.51s)atupgrade_recovery_test.go:186 → :403(readRecoveryCatalog) withReceived unexpected error: context deadline exceeded. The retainedMO_UT_SETUPfixture trace shows the upstream fixed 3-minute test budget (context.WithTimeout(t.Context(), 3*time.Minute)feedingWithTestAdmissionContext(ctx)) being consumed by the cross-processclusteradmissionpool (pkg/embed/cluster.goclusteradmission.Acquire), which serializes embedded clusters against the coverage runner's 8-way package parallelism:phase=admission-acquire ... wait=47.420463412sbefore the first clusterStart()(cluster_10039 constructed 08:55:20.736Z, admission granted 08:56:08.157Z);phase=admission-acquire ... wait=2m3.58422879sbefore the interrupted-upgrade leg'sStart()(queued 08:56:13.62Z→08:58:17.21Z).47.42s + 123.58s ≈ 171s of the 180s budget was spent queued in the pool. The deadline expired at 08:58:19.68Z while that leg's services were still coming up (
phase=service-start status=errorat 08:58:20.08Z, cleanly canceled); the test's stop/cancel assertions still passed, the followingc.Start()succeeded (phase=service-start status=ready, 1.97s at 08:58:22.117Z), and the first recovery-catalog read then received the already-expired context. No hang, no OOM (runner diagnostics clean: 0oom-kill/killed processlines, 13 Gi memory available), no data assertion involved; all in-test SQL executed in milliseconds.Why it is unrelated to PR fix(disttae): bound long-transaction workspace maintenance and close orphan-cleanup ownership #30988:
pkg/embedat heada52b906996is byte-identical to base3cf38889bc— this PR's diff touches zeropkg/embedfiles, and both the test shape and the admission gate are upstream code (ea47345ff8restructured this test,5f94c8f88a/8adb9d8f80built the fixture budget path). The queueing happens insideclusteradmission.Acquirebefore any engine or SQL code of this PR executes. The same UT Coverage lane passed the immediately preceding head8b41e39227— which differs from the failing head only by this PR's round-59disttaesinker-admission commit: run 40798664858UT Coverage on Ubuntu/x86SUCCESS 2026-10-29 01:11:09Z→01:40:28Z — and run 40778977585 passed both UT lanes on head7c75f3e07b. Same waiter-shape family recorded on this issue — run 40140629208 (PR fix(disttae): bound long-transaction workspace maintenance and close orphan-cleanup ownership #30988,manual-ready-stepsALTER bounded-wait deadline), run 40105576983 (PR feat(sql): add quantileExactWeighted exact weighted percentile #31000, subtest start()-admission deadlines), run 40798664858 (UT Test lane,mo_upgradepoll hang) and the original Move ordinary ApplyAppend out of the TN commit queue #30629 20m-hang record — in every record the fixture's cross-process queue/wait outruns the budget-derived admission deadline instead of a functional defect surfacing.Evidence: job log; run artifacts ut-coverage-report-attempt-1 (
ut-coverage-incident.md) and ut-coverage-diagnostics-attempt-1 (fullut-coverage-report.jsonline 657414 test-elapsed events,ut-failure-summary.md,ut-runner-diagnostics.txt).gouhongshen commentedon Oct 29, 2026
Reproduction record (addendum) - downstream Coverage merge gate, PR #30988, run 40843109971 attempt 1 (failure unrelated to that PR)
a52b906996of PR #30988. This is the fail-closed downstream merge/verdict gate of the same run whoseUT Coverage on Ubuntu/x86lane failed on this issue's test family; the producer record is two comments up (issuecomment-6493240651).PREREQUISITES_READY: false(inputs logged by the runner:prerequisites_ready: false,expected_bvt_generation: 40843109971-1); its very first gate step emitted::error::coverage merge blocked: a required producer did not publish a complete coverage profile; no coverage verdict was calculatedand exited 1 about 2 seconds into the job - before any profile download, merge or threshold evaluation, so no overall or changed-code coverage value was ever produced for the PR head. The merge outcome was recorded asskippedand no diagnostics artifact was uploaded (No files were found with the provided path).UT Coveragelane (job 123344161544, FAILURE 09:08:35Z) whose only failure is theTestCrossTargetUpgradeRecoveryadmission-queue timeout recorded on this issue:pkg/embedat the head is byte-identical to base3cf38889bcand the PR diff touches zeropkg/embedfiles, so no byte of the PR influenced either the producer failure or this gate. Re-running this job alone cannot produce a verdict while the upstream producer is red; it is a deterministic projection, not a separate root cause.gouhongshen commentedon Oct 29, 2026
Reproduction record — UT Coverage lane, PR #31739, run 40862553192 attempt 1 (failure unrelated to that PR)
74a4105d94of PR #31739.--- FAIL: TestCrossTargetUpgradeRecovery (180.00s)inpkg/embed. Error atupgrade_recovery_test.go:123(require.NoError(t, c.Start())):context deadline exceeded. Fixture trace:MO_UT_SETUP fixture=embedded-cluster cluster_id=10046 pid=53808 phase=admission-acquire duration=2m59.995969049s status=error— runner-wide embedded-cluster admission was never granted within the test's 3-minute admission context (WithTestAdmissionContext(ctx), deadline introduced by ea47345 / fix: consolidate safe 4.1 and 4.2 catalog upgrades into 4.0.7 #31497 on 2026-10-28). Cluster construction and port-lease completed in milliseconds; no service in this cluster ever started, so thec.Start()abort happened before any bootstrap/upgrade code of the PR could execute.no runtime for service "0-cn-10027","0-cn-10025","2-cn-10027"— cluster ids distinct from the blocked 10046), i.e. cross-process admission contention from parallel coverage packages, matching the mechanism documented in this issue and in [Bug]: Coverage UT exhausts pkg/embed package timeout while waiting for cross-process cluster admission #31146. The preceding cluster in this same package (10045) released admission cleanly (admission_released=true, hold 1.98s) before the wait began.pkg/embed/upgrade_recovery_test.go(itspkg/embeddiff is confined tocatalog_upgrade_paging_test.go,catalog_view_identity_test.go,upgrade_columns_4_0_18_test.go,upgrade_columns_cdc_4_0_18_test.go), and the abort occurred during admission-acquire, before any PR code path could run in this process. All otherpkg/embedtests passed in the same job, including the PR's own new cluster-spinning tests (e.g.--- PASS: TestColumnsUpgradeTaskSurvivalCrossingEmbed (13.09s)immediately before the failure). Same failure class observed today on other PRs: fix(disttae): bound long-transaction workspace maintenance and close orphan-cleanup ownership #30988 run 40798664858 (UT Test lane, 2026-10-29T02:57Z) and run 40843109971 (UT Coverage lane, 2026-10-29T09:08Z), and earlier test(plan): pin padded binary default replay and dump fingerprint parity (#31066) #31147/test(plan): pin backslash comment replay and dump fingerprint regressions #31143 records here.641.338swithTestCrossTargetUpgradeRecoverythe only--- FAIL.fix(sql): enforce DECIMAL UNSIGNED and ZEROFILL attributes end to end (…
fix(disttae): bound long-transaction workspace maintenance and close …