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]: TestLazyCacheFSReadsMagicPrefixedRemoteObjectsWithoutLocalChecksum leaks IOEntry data in UT Coverage #27145
Job: Matrixone UT Coverage / UT Coverage on Ubuntu/x86 (94677074981)
Go: 1.26.4, Ubuntu/x86
Actual Behavior
The package tests report PASS, then the checked allocator finalizer panics with a 27-byte allocation that was not freed. The allocation originates in fileservice.(*IOEntry).prepareData, called by lazyCacheFS.readCachedFile from TestLazyCacheFSReadsMagicPrefixedRemoteObjectsWithoutLocalChecksum. This fails the whole UT Coverage producer job and consequently the downstream coverage aggregation job.
Expected Behavior
The test must release all IOEntry data/deallocator ownership before completion and the package must exit successfully under the checked allocator.
Steps to Reproduce
Run the UT Coverage workflow with the checked allocator enabled.
pkg/tools/toolfs printed PASS, then the checked-allocator finalizer panicked with missing free for a 24-byte allocation. The allocation stack is fileservice.(*IOEntry).prepareData <- ReadFromOSFile <- lazyCacheFS.readCachedFile <- TestLazyCacheFSEvictsOldEntriesWhenOverLimit at lazy_cache_fs_test.go:463.
This is the eviction-helper ownership leak covered by test: release lazy cache read vector #27147: the helper returns vec.Entries[0].Data without releasing the vector. That fix adds defer vec.Release() and returns a clone. Target 4.2-dev at 5be77ac92b64eba343f1659c21d24c886c6bb98d still lacks both changes.
This is unrelated to plan: bound composite unique index trailing IN lookups #32577: its diff from that base contains only pkg/sql/plan/apply_indices.go, its planner UT, and its SQL/BVT regression files. go list -mod=readonly -deps ./pkg/tools/toolfs does not include pkg/sql/plan.
Follow-up on the same run and head: Matrixone Coverage execution / Coverage failed at 2026-11-11T18:24:38Z with prerequisites_ready=false. Its terminal log states that a required producer did not publish a complete coverage profile and that no coverage verdict was calculated. This is downstream propagation of the UT Coverage failure above; it is not an independent failure caused by the planner-only #32577 diff.
Final follow-up on the same run and head: CI Required failed at 2026-11-11T18:42:57Z after verifyResults received matrixone-ut-coverage: failure and matrixone-coverage-merge: failure; its terminal error is Error: matrixone-ut-coverage: failure. This required-check aggregation ran no independent product tests and adds no new product failure. Workflow run 43070215395 attempt 1 is now completed / failure.
Activity
test: release lazy cache read vector (#27147)
fix: preserve clone auto-increment continuation (#27154)
test: release lazy cache read vector (matrixorigin#27147)
fix: preserve clone auto-increment continuation (matrixorigin#27154)
test: release lazy cache read vector (matrixorigin#27147)
fix: preserve clone auto-increment continuation (matrixorigin#27154)
test: release lazy cache read vector (matrixorigin#27147)
fix: preserve clone auto-increment continuation (matrixorigin#27154)
gouhongshen commentedon Nov 11, 2026
Recurrence on
4.2-devin #32577, head40faf2e589cc8e8504676ed85c8bb4acf94da943, workflow run 43070215395 attempt 1:pkg/tools/toolfsprintedPASS, then the checked-allocator finalizer panicked withmissing freefor a 24-byte allocation. The allocation stack isfileservice.(*IOEntry).prepareData<-ReadFromOSFile<-lazyCacheFS.readCachedFile<-TestLazyCacheFSEvictsOldEntriesWhenOverLimitatlazy_cache_fs_test.go:463.vec.Entries[0].Datawithout releasing the vector. That fix addsdefer vec.Release()and returns a clone. Target4.2-devat5be77ac92b64eba343f1659c21d24c886c6bb98dstill lacks both changes.pkg/sql/plan/apply_indices.go, its planner UT, and its SQL/BVT regression files.go list -mod=readonly -deps ./pkg/tools/toolfsdoes not includepkg/sql/plan.The complete uploaded diagnostics are in ut-coverage-diagnostics-attempt-1.
Follow-up on the same run and head: Matrixone Coverage execution / Coverage failed at 2026-11-11T18:24:38Z with
prerequisites_ready=false. Its terminal log states that a required producer did not publish a complete coverage profile and that no coverage verdict was calculated. This is downstream propagation of the UT Coverage failure above; it is not an independent failure caused by the planner-only #32577 diff.Final follow-up on the same run and head: CI Required failed at 2026-11-11T18:42:57Z after
verifyResultsreceivedmatrixone-ut-coverage: failureandmatrixone-coverage-merge: failure; its terminal error isError: matrixone-ut-coverage: failure. This required-check aggregation ran no independent product tests and adds no new product failure. Workflow run 43070215395 attempt 1 is nowcompleted/failure.