Repository navigation
Description
Failure signature
pkg/embed / TestSQLFileAccessTenantStageCDC / documents MATCH / fulltext2 index not loaded
On official repository PR #32253 at exact head 5880f42a8bd2430cbbf1e512af0f03acf49baeaa, run 42026946931, attempt 1 failed in the Ubuntu/x86 coverage producer. This issue tracks a non-PR flaky candidate, not a confirmed fix or a claim that the product error is harmless.
Observed failure and affected checks
- UT Coverage on Ubuntu/x86, job 127243586118: the coverage test command exits 1. The sole failing test is
TestSQLFileAccessTenantStageCDC(44.70s), atpkg/embed/sql_file_access_auth_test.go:509. - Coverage, job 127265319036: prerequisite failure; no coverage verdict was calculated because the producer did not publish a complete profile.
- CI Required, job 127265394429: dependent summary fails with
matrixone-ut-coverage: failure.
The original Actions diagnostics artifact ut-coverage-diagnostics-attempt-1 contains the complete JSON event stream. Its actual assertion, omitted from the short job-tail summary, is:
select id from documents where id=2 and match(fpath) against('matrixone')
sql_file_access_auth_test.go:509:
Received unexpected error:
Error 20101 (HY000): internal error: fulltext2 index not loaded
Test: TestSQLFileAccessTenantStageCDC
--- FAIL: TestSQLFileAccessTenantStageCDC (44.70s)
Attribution evidence
- Read all three failed-job logs and the full coverage JSON stream. There are zero build failures; no other package or test fails. This is an intermittent runtime assertion/internal-error result, not a compilation, static-check, race-detector, security-gate or coverage-threshold failure. No infrastructure cause is claimed.
- The exact failing test passes 3/3 consecutive runs on PR head: 114.41s, 90.18s, 89.84s, with final command exit 0. Local mode matches CI's Go 1.26.4, CGo enabled,
-short,-tags=matrixone_test, and no race flag. Host is Darwin/arm64; these focused local runs omit CI's repository-wide coverage instrumentation and concurrent package workload. - The complete PR diff changes COPY ALTER column-impact tracking, copy-source lineage, deduplication and their tests. Its production entry point is
buildAlterTableCopy. The failing test/helper use CREATE, INSERT, UPDATE, MATCH, stage and CDC operations, with no ALTER TABLE. The exact bytes at target base and head are identical forpkg/embed/sql_file_access_auth_test.go,pkg/embed/async_datalink_auth_test.go,pkg/fulltext2/search_cache.go,pkg/vectorindex/cache/cache.go,pkg/sql/colexec/table_function/fulltext2_search.go, andpkg/iscp/fulltext2_consumer.go. No change to the failing search/cache lifecycle, case or CI harness is included in this PR. In the same exact-head CI artifact, the planner package and all nine directly relevant regression groups pass. - Official target
4.2-devremains atebf03dc42bf25ba00018da019783e1037299d1ae(verified by GitHub API and official remote). Its source-equivalent clean baseline view passes the identical focused test 3/3 consecutive runs: 116.97s, 89.76s, 90.33s, final exit 0. Comparison uses the exact Go/native/module inputs verified below. Non-reproduction on both sides is the flaky-candidate result; no clean Linux coverage reproduction or confirmed root cause is claimed.
The causal mechanism is still to be isolated. A useful next investigation is ownership across FULLTEXT2 load, cache eviction and cache retry; this is a hypothesis, not an established root cause. No unrelated cache code or assertions were changed to make this PR green.
Reproduction / comparison commands
With native dependencies built from the target revision's pinned archives:
GOTOOLCHAIN=go1.26.4 GOWORK=off GOFLAGS= GOEXPERIMENT= \
.agents/skills/mo-dev/scripts/mo-cgo-test \
-short -tags=matrixone_test -count=3 -timeout=10m -v \
-run '^TestSQLFileAccessTenantStageCDC$' ./pkg/embedThe target-base comparison uses the same command with -overlay <baseline-overlay.json>. This is a Go source overlay in the clean managed lane, not a second Git checkout: every changed Go path is replaced with git show ebf03dc42bf25ba00018da019783e1037299d1ae:<path>, both head-only Go test files are removed from package enumeration, and all 4,695 tracked Go/module/native source inputs are checked against their baseline Git blob IDs. Native source, module metadata and test runtime resources are unchanged between base and head. This keeps the branch and shared Git metadata untouched while compiling the exact official target-base source inputs. Local commands, input verification and logs are retained in the task evidence directory; original CI diagnostics remain in the run artifacts.
Searches of open and closed issues for the exact test and normalized fulltext2 index not loaded signature found no matching tracker. The closed HTTP trace race issue #30463 is a different error/mechanism and is not used as comparison evidence.
CI follow-up
After recording this evidence, request one failed-jobs rerun of run 42026946931. If the same signature fails again, collect fresh attribution evidence under this tracker rather than repeatedly rerunning or opening duplicates.
Activity
[4.2] Stabilize index cache retries and CI tests (#32354)
Stabilize native CI runners and WAL replay checkpoint test (#32353)
[4.2] Fix flaky spill pipeline reset test (#32439)
[4.2] Fix flaky spill pipeline reset test (matrixorigin#32439)