Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Searched open and closed issues for the full root name, grouped_aliases, 29876, and correlation/shared-deadline signatures. #30322 records the published-view account cleanup deadline; #30454 records independent deferred DROP DATABASE cleanup deadlines. This occurrence first fails during the body matrix's reset DELETE after the parent execution budget expires, before publication setup. Main PR #30426 already changes this test's execution-deadline ownership; this report retains the distinct original CI signature and the unresolved underlying latency.
Branch Name
issue-29974-main, PR #30115.
Commit ID
3b3f10d947954d7469f98959c1653f9c5f0f2bcc.
Other Environment Information
- Ubuntu/x86, Go 1.27.1, CGo, race/short/
matrixone_testUT mode. - Run: https://github.com/matrixorigin/matrixone/actions/runs/38874039206
- Failed job: https://github.com/matrixorigin/matrixone/actions/runs/38874039206/job/116885326284
- Entry:
make ut UT_CONFIGURED=1 UT_PARALLEL=6 UT_TIMEOUT=40 UT_SHARD=all.
Actual Behavior
The complete job log identifies one failing root, TestIssue29876CrossDatabaseCorrelation (149.15s), and its subtest disjoint/grouped_aliases (5.29s).
issue_29876_test.go:43 <- reset at line 61 <- subtest at line 85
Received unexpected error: context deadline exceeded
The root starts at approximately 2026-10-16 10:23:48 UTC. It creates one two-minute context before connecting/creating both databases and reuses it across all SELECT/DELETE shapes. At 10:25:48 UTC, reset's delete from <target>.records fails; subsequent work and deferred database cleanup also report deadline errors.
The retained output also shows HAKeeper/logservice request timeouts, queued Dragonboat LocalTick batches and a disk-cache object read spending approximately 937ms in io.ReadFull. These are correlated delay symptoms, not proof of the original stall's cause. No race-detector report, compilation failure or assertion of incorrect correlation results is reported. CI Required fails downstream of this producer.
Expected Behavior
Independent correlation scenarios must own their operation/scenario budgets rather than inheriting a setup-wide deadline already consumed by earlier scenarios. Preserve the existing timeout durations and every row/affected-row, prepared reuse, publication and cleanup oracle. Investigate underlying logservice/storage/scheduling delays separately; do not hide them by raising timeouts, adding retries/sleeps or skipping cases.
Steps to Reproduce
The authoritative reproduction is the Linux CI run above. Focused diagnostic command:
GOTOOLCHAIN=go1.27.1 .agents/skills/mo-dev/scripts/mo-cgo-test \
-v -short -race -tags=matrixone_test -count=1 -timeout=300s \
-run '^TestIssue29876CrossDatabaseCorrelation$' ./pkg/tests/issuesA local focused run is not equivalent to the full Linux fixture history or runner contention. Its results are tracked in the PR validation record; no clean-main reproduction or Linux stability claim is made here.
Additional information
The PR's production changes reconcile LAG/LEAD result/default domains and distinguish quoted literal expression keys. The failing reset statement is a plain DELETE without a window, projection cache identity collision, or changed conversion. It does not exercise those new reconciliation arms. No fixture or deadline in this root was changed by PR #30115.
Fetched main already contains 47b9690d7caec56b589fdefaf0684177412cffb2 (#30426), which assigns the same two-minute durations to individual operations, shape subtests, ordered reuse and publication scenarios, and scopes prepared rows cleanup per iteration. Absorbing this existing upstream correction is preferable to duplicating it in the LAG/LEAD patch. That correction does not by itself explain the original Raft/storage delay or establish that every deferred cleanup deadline is fixed; #30454 remains a separate investigation.
Activity
fix: close HTTP trace and CI fixture ownership gaps (#30472)
XuPeng-SH commentedon Oct 17, 2026
Verified the reported shared-deadline ownership defect is corrected on latest official main b111224. Independent named scenarios/operations now receive the existing two-minute budget instead of consuming one setup-wide deadline. Assertions, bounded waiters, cleanup checks and the two-minute duration remain; no retry or skip was added.
The actual TestIssue29876CrossDatabaseCorrelation root and its subtests ran successfully on Linux/amd64, Go1.27.1, CGo, short/race/matrixone_test (-count=1); root elapsed 10.54s, owning selection terminal0. The prior full successful CI39024356589 also executes this root with the same corrected ownership. Closing this test-budget defect. This does not claim the original storage/control-plane slowdown is understood or fixed; remaining startup and catalog-cleanup latency stays tracked by #30453 and #30454.