Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Searched open and closed issues for the test, the historical-publication subtest, and the DROP PUBLICATION deadline signature. #32424 tracked the old deadline shared across independent root scenarios and was closed after #32574 split those budgets. This occurrence exhausts the historical-publication scenario's own 90-second context.
Branch Name
loom-33088-20261123T064542-main, targeting main. Source PR #33093.
Commit ID
PR head 14f698d821a287279987bc89f9418493e05a915e. Official main control c8805c3e2613bcb53f279035fdf2e2337c86a68e.
Other Environment Information
- Ubuntu/x86, Go 1.27.1, CGo,
-short -race -tags matrixone_test, 8 CPU / 16 GiB runner cgroup. - Run 45177065475, attempt 1.
- UT job 137701089043, Unit Testing step.
- CI Required job 137741878476 reports
matrixone-ci: failurefrom the UT job.
Actual Behavior
The failing case is pkg/tests/upgrade.TestViewDescriptionSubscription/historical_publication_authorization_and_source. The historical scenario starts around 13:19:19 UTC and hits context deadline exceeded at view_description_test.go:1179 during DROP PUBLICATION view_description_publication around 13:20:49 UTC. Its 109.59s reported duration includes teardown. The membership, table-scope, publication, and older-transaction authorization subtests passed.
Nearby logs show HAKeeper and LogService timeouts, WAL append latencies up to 6.69s, and unknown commit status on multiple sessions. The failed logs identify one failing test root, with no compiler error, panic, race-detector report, or cgroup OOM kill. Runner and service telemetry establish the slowdown window; the underlying cause remains unconfirmed.
Expected Behavior
The historical-publication scenario should finish its DDL and metadata assertions within its existing deadline on the supported Ubuntu race lane. Preserve the authorization, current-eligibility and source-resolution assertions while investigating the delayed transaction.
Steps to Reproduce
Run the Ubuntu lane with make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=all. Check whether the named subtest reaches the publication-remap DDL before its context expires. For a focused comparison:
GOWORK=off .agents/skills/mo-dev/scripts/mo-cgo-test -p=2 -short -v -race -tags=matrixone_test -count=3 -timeout=40m -run '^TestViewDescriptionSubscription$/^historical_publication_authorization_and_source$' ./pkg/tests/upgradeAdditional information
Classified as a CI flaky candidate independent of PR #33093 for this rerun.
- On the exact PR head the selected subtest passed three consecutive times on Darwin/arm64 in the above mode (11.95s, 12.87s, 9.19s; package 91.661s).
- The corresponding official
maincomparison passed three times with the same command plus a complete build overlay (8.43s, 8.46s, 8.54s; package 72.296s). The managed worktree remained clean. All 70 differing tracked paths were overlaid or removed as appropriate. The 7141 repository build and embed inputs selected by the test graph matched exact-main Git blobs. Tracked module and native sources were identical and both runs reused the same native installation (45 file fingerprints). - The PR changes optional sampling for ordinary nonunique integer point-index reads. The test, CI harness, publication transaction, log service and WAL paths were unchanged. The failing DDL uses background catalog operations and commits. The new sampler declines catalog, historical-snapshot and subscription scans. The shared object-metadata reader refactor preserves the pre-existing metadata cache checks and never introduces a blocking column-cache lookup.
- The exact head passed shared build, Linux SCA and both active multi-CN BVT jobs in this run. The focused Darwin checks use the same race, short, tags and CGo mode. The earlier official baseline
8f3ec29941cf36f4964f6726ec96e9c6658e2e81also passed all three rounds. The current baseline was retested after Share JSON parsing in projections and preserve statistics on cancellation #32980 changed SQL execution and cancellation accounting. Linux full-suite scheduling and the initial source of the service stalls remain unverified.
One failed-jobs rerun of run 45177065475 is planned after this record.
Activity
fix(ci): stabilize main regression test phases (#33179)