Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Branch Name
main
Commit ID
Other Environment Information
- Hardware parameters: GitHub Actions Ubuntu/x86 runner
- OS type: Linux/amd64
- Others: MatrixOne ALL CI, UT job 91069918726
Actual Behavior
Test_TxnExecutorExec intermittently panics while starting its private embedded
single-CN cluster:
panic: writeto tcp4 127.0.0.1:43814->127.0.0.1:18020:
read tcp4 127.0.0.1:43814->127.0.0.1:18020:
read: connection reset by peer
The panic originates from cnservice.handleBootstrapErr during
embed.(*operator).startCNServiceLocked. Before the reset, LogService reports
Dragonboat proposal/tick timeouts and delayed LocalTick batches, followed by
failed CN/TN heartbeats.
This is a recurrence after #26299 and #26316, but with a different terminal
failure. The earlier issue failed by returning a HAKeeper startup timeout;
the current failure panics from CN bootstrap after the HAKeeper backend
connection is reset.
The failure is unrelated to PR #26448. Test_TxnExecutorExec creates its own
cluster with embed.NewCluster, while that PR changes the shared
RunBaseClusterTests configuration and authenticated issue-test routing. The
PR does not modify the CN bootstrap or Test_TxnExecutorExec paths.
Expected Behavior
Transient HAKeeper or LogService unavailability during embedded-cluster startup
should return a start error and clean up partial services. It should not panic
the UT process.
Steps to Reproduce
1. Run the Ubuntu/x86 MatrixOne UT job under CI load.
2. Execute Test_TxnExecutorExec in pkg/tests/txnexecutor.
3. Observe CN bootstrap while Dragonboat tick/proposal processing is delayed.
Additional information
- Workflow run:
https://github.com/matrixorigin/matrixone/actions/runs/30603151585 - Failed job:
https://github.com/matrixorigin/matrixone/actions/runs/30603151585/job/91069918726 - Failed case:
Test_TxnExecutorExec - Previous tracker: [Bug]: Test_TxnExecutorExec flakes on embedded HAKeeper startup timeout under CI load #26299
- Previous fix: Agent/fix 26299 hakeeper startup cleanup #26316
Activity