Description
Failure
UT Coverage on Linux/x64 fails in TestIssue29400DropDatabaseRCReclaimFailureRollsBackWholeDatabase at pkg/tests/issues/issue_29400_test.go:1091, before fault injection or DROP DATABASE rollback is exercised:
Error: Condition never satisfied
Messages: initial ISCP consumer did not advance
ISCP-Task retry failed, err: internal error: unexpected rows count: 8192
ISCP-Task check lease failed {"error":"internal error: unexpected rows count: 8192"}
The initial FULLTEXT2 consumer does not advance during the existing 120-second wait. Its test fails after 137.81 seconds, including cleanup. The raw diagnostic shows lease errors during that wait. The abnormal logical row count's origin has not been established.
Source and complete diagnostics
- PR: fix(planner): honor query-level IVF nprobe options #30002
- Exact head:
bddb64bba1f9c8f11235f04969428369c2a9c76a. - Actions run
38416395255, attempt1. - UT Coverage: https://github.com/matrixorigin/matrixone/actions/runs/38416395255/job/115362962874
- Downstream Coverage: https://github.com/matrixorigin/matrixone/actions/runs/38416395255/job/115389745004
- Complete UT Coverage job log: 2,289 lines; complete downstream log: 169 lines.
- Raw diagnostic artifact
ut-coverage-diagnostics-attempt-1, artifact ID11826118524: https://github.com/matrixorigin/matrixone/actions/runs/38416395255/artifacts/11826118524 . The complete failed-test output has 2,339 lines; lines 1760–1769 contain the assertion that was omitted from the console's cleanup-heavy tail. - The exported report has zero build failures and only this failed test plus its package failure. Coverage preparation succeeds; its command exits 1. The merge gate then reports that a required producer did not publish a complete profile; no coverage verdict is calculated.
Non-PR flaky candidate evidence
All four comparison requirements were checked:
- Complete failed-job logs and raw failed-test output were inspected. This is an asynchronous progress assertion, with no compilation, type, static-analysis, safety-gate, or runner phase timeout error in the failed case.
- The exact failed test passes in three consecutive independent invocations at the exact PR head: 34.82s, 35.70s, 35.67s, all terminal exit 0.
- The PR changes query-level rank-option parsing, RankOption propagation/serialization, and IVF nprobe lowering. The ISCP lease SQL has no BY RANK or UNION and does not use an IVF index. The existing non-nil AST guard prevents the new rank-option parser from running;
DeepCopyRankOption(nil)is unchanged; the plan contains no RankOption payload. ISCP, task scheduling,Result.ReadRows, Batch logical cardinality, FULLTEXT2 startup, the failing test, its fixture, and the CI harness are unchanged. The reachable failure path isCheckLeaseWithRetry→GetTaskRunner→ internal SQL →readSingleTaskRunner→Result.ReadRows; a lease error skips the executor's worker submission. Shared generic planner/parser dependencies were inspected rather than assumed unrelated merely from file names. - A clean detached official-main checkout at
8586fa08715c868cab997d11d2687a76b8cc360fpasses the same command in three consecutive independent invocations: 35.97s, 36.66s, 35.79s, all terminal exit 0. Both source trees remain clean, and temporary native links were removed without changing their targets.
The comparison used Go 1.27.1, CGO enabled, matrixone_test, -short -count=1 -v -timeout=20m -p=8 -covermode=set, and the same complete 505-package coverpkg list as CI. The lists were compared and are identical. No race flag was added. The repository's mo-cgo-test wrapper supplied the verified native dependency closure.
Limits: CI ran the full suite on Linux/amd64; these focused comparisons ran on Darwin/arm64. CI exported JSON, while the focused runs retained verbose text logs. This supports the defined non-PR flaky-candidate classification, not a claim that the Linux full-suite failure or abnormal row count has been fixed. All six local logs and their SHA-256 digests are preserved in the lane's comparison evidence.
Reproduction
Use the existing coverage lane with its complete package scope, or run the focused case with the repository CGo wrapper:
cover_pkgs=$(go list -mod=readonly ./... | grep -v 'driver\|engine/aoe\|engine/memEngine\|pkg/catalog' | paste -sd, -)
.agents/skills/mo-dev/scripts/mo-cgo-test \
-mod=readonly -count=1 -short -v -tags matrixone_test \
-timeout=20m -p=8 -covermode=set \
-coverprofile="$TMPDIR/iscp-initial-tail.cover" -coverpkg="$cover_pkgs" \
-run '^TestIssue29400DropDatabaseRCReclaimFailureRollsBackWholeDatabase$' \
./pkg/tests/issuesThe focused invocation currently passes on both compared revisions. To investigate the observed failure, retain the full-suite coverage workload and inspect ISCP lease result cardinality and consumer startup before the initial-tail assertion.
Follow-up
Track this CI failure independently of PR 30002. Request one failed-jobs rerun of run 38416395255 after the original workflow reaches a terminal state. Do not increase the assertion timeout or modify unrelated production code merely to make this PR green.
Activity
iamlinjunhong commentedon Oct 13, 2026
Current comparison and terminal workflow evidence for the same failure:
38416395255, attempt1, has completed. The fullgh run view --log-failedoutput (2,529 lines) and the additional Required job log have been inspected. UT Coverage job115362962874remains the sole failed test producer; Coverage job115389745004is blocked by its missing complete profile. CI Required job115405928371reportsmatrixone-ut-coverage: failure. Ordinary Ubuntu/x86 UT, SCA, shared build and both BVT lanes passed.bddb64bba1f9c8f11235f04969428369c2a9c76a. Its three independent focused passes recorded above and their log hashes are unchanged and verified.de4bec0c71dc8b74559506e79144eaf919c5a637. A clean checkout of this current revision passes the same focused coverage command three consecutive times: 35.73s, 36.57s, 35.80s, each terminal exit 0. The full 505-package coverpkg set remains identical to the CI set. Both trees are clean and the temporary native dependency links were removed.The four flaky-candidate conditions remain satisfied: complete async-failure diagnostics, three exact-PR passes, no PR changes to the reachable failure mechanism, and three clean-current-main passes with matching CGO/tags/coverage instrumentation. Local comparisons still run on Darwin/arm64 rather than the Linux/amd64 full-suite runner. This is a non-PR flaky candidate, not proof of the abnormal
8192row count's root cause or a fix.Request one failed-jobs rerun of this terminal run. No unrelated production changes or assertion timeout increases are proposed.
test: isolate quota transaction mode from daemon tasks (#30659)
Ariznawlll commentedon Oct 20, 2026
测试版本
main,完整 commit76e152a1dd02b7875829027117a6f6344d1f8d33;本地测试启动后main前进到无关压缩流修复cce20b9ac791bc70693d9109906567026cddcaec,本地结论对应前一 SHA。a69f7e066deece1fd3efcb8cc1dad8d343936b60已核实进入测试 SHA。修复将配额测试的事务模式设置收敛到专用 account,而非整个 CN。matrixone_test,未触碰主工作区;CI:PR head2d6a78bb19e7406361275e6624c8a92598c18ef0的 Linux/x86 UT Coverage。原问题验证
原失败发生在完整 Linux/x86 UT Coverage:
TestIssue29400DropDatabaseRCReclaimFailureRollsBackWholeDatabase等待初始 ISCP consumer 前,lease 查询报unexpected rows count: 8192,120 秒内不能推进;先前只跑该单例通过不能代表修复。本轮在含修复的 main 上将
TestIssue26087ConcurrentDataBranchQuota与原失败的TestIssue29400DropDatabaseRCReclaimFailureRollsBackWholeDatabase放在同一pkg/tests/issues定向 invocation 中,-short -tags matrixone_test -count=3通过,终端退出 0,包耗时 137.529 秒。更关键的是 #30659 的完整 Linux/x86 UT Coverage job 通过,覆盖了原先失败的同一 CI 测试层,不再只依据本地单例。Happy Path 覆盖
Unhappy Path 覆盖
pkg/common/runtimerace 测试通过。原故障中的8192行计数没有在本轮单独注入或再次复现;本结论不宣称修复引擎所有混合事务模式下的冲突校验语义。白盒验证
回归测试
测试证据
-count=3PASS,耗时 137.529 秒;完整 CI 及必需汇总 job 链接如上。2d6a78bb19e7406361275e6624c8a92598c18ef0、merge commita69f7e066deece1fd3efcb8cc1dad8d343936b60、执行时 main 完整 SHA 如上,便于重放。测试结论
测试通过。