You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: TestDataBranchDiffAsFile panics in RunBaseClusterTests cleanup #25929
TestDataBranchDiffAsFile should either complete successfully or report the cluster startup/test error without
panicking during cleanup.
Steps to Reproduce
go test ./pkg/tests/dml -run TestDataBranchDiffAsFile -count=1
The failure may depend on an earlier embedded-cluster initialization failure in the CI environment.
Additional information
Observed in MatrixOne ALL CI run 29798346785. The panic appears to dereference partially initialized cleanup state.
The failure is unrelated to the prepared binary parameter changes in PR #25872; none of that PR's files touch pkg/embed or pkg/tests/dml.
Activity
fix(embed): preserve base cluster startup errors (#26203)
Ariznawlll commentedon Jul 30, 2026
在最新
main上对原始 panic 路径和修复后的初始化失败清理路径进行了重复验证,未再复现 nil pointer panic。测试版本
main:ebdc3de0f75f07490c8c85928e622ee309563245b19d5cd50ac20f98f4f588524ae8d1373071e003测试过程与结果
结果:20/20 通过,无 panic。
结果:3/3 通过,无 race、无 panic。
结果:3/3 通过。
结果:通过,无 race、无 cleanup panic。
Unhappy path 覆盖
nil + error,验证 teardown 不再解引用未初始化对象。TestDataBranchDiffAsFile连续执行 3 次,并执行-race,均无 cleanup panic 和数据竞争。测试结论
测试通过。
fix(embed): preserve base cluster startup errors (matrixorigin#26203)
fix(embed): preserve base cluster startup errors (matrixorigin#26203)
fix(embed): preserve base cluster startup errors (matrixorigin#26203)