Repository navigation
Closed
Labels
bug/utkind/bugSomething isn't workingseverity/s0Active / top priority for current sprint. Owner has committed to working on it now.
Description
Is there an existing issue for the same bug?
- I have checked the existing issues. Historical occurrences [Bug]: ut TestSpeedupAbortAllTxn failed #20312, [Bug]: ut TestSpeedupAbortAllTxn failed #20318, and [Bug]: ut TestSpeedupAbortAllTxn failed #22781 are closed. The current open issue [Bug]: CI UT timeout failures in transaction abort and backup protection tests #25997 combines multiple unrelated UT failures; this issue tracks
TestSpeedupAbortAllTxnindependently.
Branch Name
issue-25421-main (PR #25872)
Commit ID
daed24135d5818a5842faa06b5b705dd7090d253
Other Environment Information
- Hardware parameters: GitHub Actions runner
- OS type: Ubuntu/x86
- Others: MatrixOne ALL CI, pull_request_targetActual Behavior
TestSpeedupAbortAllTxn ran for 145.36 seconds and failed with context deadline exceeded.
Before the assertion failed, the CN logtail consumer reported a receive timeout, paused, and repeatedly failed to rebuild its logtail client because the backend connection was closed. The internal SQL executor then reached its deadline.
Related combined tracking issue: #25997
Historical occurrences: #20312, #20318, #22781
Expected Behavior
TestSpeedupAbortAllTxn should complete reliably without logtail reconnect or internal SQL execution timing out.
Steps to Reproduce
1. Trigger MatrixOne ALL CI for PR #25872 at commit daed24135d5818a5842faa06b5b705dd7090d253.
2. Run the Ubuntu/x86 Unit Testing job.
3. Observe TestSpeedupAbortAllTxn fail after 145.36 seconds.Additional information
logtail.consumer.receive.error.from.logtail.client:
context deadline exceeded
internal error: ReceiveOneLogtail
[logtail-consumer] rebuild the cn log tail client failed:
backend connection closed
internal sql executor error:
context deadline exceeded
Test: TestSpeedupAbortAllTxn
--- FAIL: TestSpeedupAbortAllTxn (145.36s)
FAIL_UT_CASES=TestSpeedupAbortAllTxn,
Metadata
Metadata
Assignees
Labels
bug/utkind/bugSomething isn't workingseverity/s0Active / top priority for current sprint. Owner has committed to working on it now.
Activity
fix: eliminate reconnect and checkpoint timeout flakes (#26011)
ck89119 commentedon Jul 23, 2026
New occurrence on PR #25335 at commit
42da361e9504cb5c20c02fa897841234e3ac89a2.Failed run/job:
TestSpeedupAbortAllTxnfailed after 132.67s withcontext deadline exceededatpkg/tests/issues/issue_test.go:1063while waiting for logtail recovery.Additional signal from the same UT log immediately before the timeout:
The exact test passed locally on the same commit:
This is outside PR #25335 planner-only diff. The failed jobs were rerun as attempt 2 of run 29993275918.
XuPeng-SH commentedon Jul 28, 2026
should be fixed
ck89119 commentedon Jul 29, 2026
Verified on the latest
main(f0e5cd7b0da14d94a2cde944f7223824047e8e23).The fix from merged PR #26011 (
27765e735d914f353073b33d0a061ac96558ad05) is an ancestor of the currentmain. I reran the original regression test with real process exit statuses:TestSpeedupAbortAllTxn, normal mode,-count=10: passed 10/10 in 132.568sTestSpeedupAbortAllTxn, race mode,-count=3: passed 3/3 in 55.375sPR #26011's Ubuntu/x86 UT check also passed. The original logtail reconnect/internal SQL timeout failure is no longer reproducible on the latest
main, so this issue can be closed as completed.fix: eliminate reconnect and checkpoint timeout flakes (matrixorigin#…
fix: eliminate reconnect and checkpoint timeout flakes (matrixorigin#…
fix: eliminate reconnect and checkpoint timeout flakes (matrixorigin#…