Is there an existing issue for the same bug?
Branch Name
main
Commit ID
0b8b53d
Other Environment Information
- GitHub Actions workflow:
MatrixOne ALL CI
- Job:
Matrixone CI / UT Test on Ubuntu/x86
- Runner: Ubuntu 22.04 x86
- PR head tested:
6961ff16d217e947618f43b92216c944f4559181
Actual Behavior
The Ubuntu UT job reported 20+ failures across unrelated ownership boundaries. The common symptoms include:
- embedded-cluster tests failing during setup with
context deadline exceeded / internal error: waitAnyShardReadyLocked;
- HAKeeper heartbeats and proposals timing out, Dragonboat processing multiple delayed local ticks, and connections being reset;
TestHandleBackup timing out while forcing a checkpoint;
TestReadCheckpoint first observing an unexpected checkpoint count and then panicking after dereferencing a nil CheckpointEntry;
- later authenticated-cluster tests failing after the shared service connection became unavailable.
The final failure list includes engine lease, TAE checkpoint, Iceberg, embed cluster, lock service, and data-branch tests:
TestCheckLeaseFailed, TestReadCheckpoint, TestHandleBackup,
TestIcebergSQLEngineEmbeddedSecurityErrors, TestRunSQLWithFrontend,
TestRowCountOverMySQLProtocol, TestBaseClusterCanWorkWithNewCluster,
TestCreateDB, TestBaseClusterOnlyStartOnce, TestClusterCanStartNewCNServices,
TestCommitWithLockTablesChanged, TestKeepRemoteLockPeerCursorIsFairAcrossSlowRounds,
TestIssue26111DataBranchDatabaseWithCyclicForeignKeys,
TestIssue26121DatabaseOperationsKeepOrdinaryInternalLookingTables,
TestIssue26087ConcurrentDataBranchQuota, ...
Failing job: https://github.com/matrixorigin/matrixone/actions/runs/30620241711/job/91122944038
This was observed while validating PR #26502, but that PR only changes pkg/logservice/snapshot.go and its focused unit test. The same CI job reports the entire pkg/logservice package as PASS (181.18s), including:
TestInitSnapshotMgrReplacesInMemoryView PASS
TestInitSnapshotMgr PASS
TestAddSnapshot PASS
Expected Behavior
The Ubuntu UT job should complete deterministically. A timeout or crash in one package/shared embedded cluster should not cascade into many unrelated test failures, and checkpoint tests should not panic after a failed prerequisite assertion.
Steps to Reproduce
- Run the full Ubuntu/x86
make ut workflow using the same package parallelism as MatrixOne ALL CI.
- Observe delayed Dragonboat ticks and HAKeeper heartbeat/proposal timeouts during concurrent package execution.
- Observe embedded-cluster initialization failing with
waitAnyShardReadyLocked and subsequent tests failing immediately or losing their service connection.
- Inspect the final
FAIL_UT_CASES summary and the TAE checkpoint panic.
Additional information
The run's SCA, BVT, and coverage jobs succeeded; the failure was isolated to the full Ubuntu UT job. Investigation should determine whether runner resource contention, shared embedded-cluster lifecycle, and checkpoint test cleanup/error handling each require separate follow-up fixes.
Is there an existing issue for the same bug?
matrixorigin/matrixoneandmatrixorigin/CIforwaitAnyShardReadyLocked, base-cluster deadline failures, the observed checkpoint tests, and multi-test Ubuntu timeout failures; no matching issue was found.Branch Name
main
Commit ID
0b8b53d
Other Environment Information
MatrixOne ALL CIMatrixone CI / UT Test on Ubuntu/x866961ff16d217e947618f43b92216c944f4559181Actual Behavior
The Ubuntu UT job reported 20+ failures across unrelated ownership boundaries. The common symptoms include:
context deadline exceeded/internal error: waitAnyShardReadyLocked;TestHandleBackuptiming out while forcing a checkpoint;TestReadCheckpointfirst observing an unexpected checkpoint count and then panicking after dereferencing a nilCheckpointEntry;The final failure list includes engine lease, TAE checkpoint, Iceberg, embed cluster, lock service, and data-branch tests:
Failing job: https://github.com/matrixorigin/matrixone/actions/runs/30620241711/job/91122944038
This was observed while validating PR #26502, but that PR only changes
pkg/logservice/snapshot.goand its focused unit test. The same CI job reports the entirepkg/logservicepackage as PASS (181.18s), including:Expected Behavior
The Ubuntu UT job should complete deterministically. A timeout or crash in one package/shared embedded cluster should not cascade into many unrelated test failures, and checkpoint tests should not panic after a failed prerequisite assertion.
Steps to Reproduce
make utworkflow using the same package parallelism asMatrixOne ALL CI.waitAnyShardReadyLockedand subsequent tests failing immediately or losing their service connection.FAIL_UT_CASESsummary and the TAE checkpoint panic.Additional information
The run's SCA, BVT, and coverage jobs succeeded; the failure was isolated to the full Ubuntu UT job. Investigation should determine whether runner resource contention, shared embedded-cluster lifecycle, and checkpoint test cleanup/error handling each require separate follow-up fixes.