Repository navigation
Open
Labels
Description
Purpose
Long-lived dynamic tracker for main flaky CI/UT only. This issue is intentionally edited in place: add newly confirmed items, update recurrence evidence, and remove items after fixes are verified. It is not an archive of closed issues.
Maintenance rules
- Add each new item with the next
FLAKY-xxxID, affected test/workflow, error signature, first/last observed time, and direct CI evidence. - Prefer reproduction on the pure
mainbase or recurrence across unrelated changes. A single failure on a PR is not enough to attribute a branch-wide flake; mark such entries as candidates until the evidence closes that gap. - Do not count cancelled runs as failures.
- Do not add deterministic PR regressions, product bugs without a flaky CI/UT symptom, or non-flaky SCA/configuration work.
- Do not call something a data race unless the log contains an actual race-detector report such as
WARNING: DATA RACE. - Coverage prerequisite failures are not independent coverage flakes: track the first failed UT Coverage/BVT producer instead.
- When a fix is merged and the relevant path is verified, delete the item from Active items instead of retaining a closed-item list. Add a short comment with the verification evidence when useful.
- Keep this issue open and assigned to the current owner; update
Last refreshedwhenever the active set changes.
Last refreshed: 2026-11-25 UTC
Active items
FLAKY-002 — Embedded-cluster control-plane timeout and connection lifecycle candidates
- Scope: shared embedded-cluster environment in main Ubuntu/x86 UT and race UT; currently a watchlist item pending pure-base reproduction.
- Tests with observed signatures:
TestSQLTaskRunBarrierAcrossDropAndRecreate,TestIssue27719DropAccountCleansSQLTaskLifecycle,TestIssue28012And28013AcceptedCommitDuringStandaloneShutdown,TestAlterTablePartitionBy,TestCDCTargetGuardRejectsOptimisticModeBeforeTargetCreate,TestIssue26640ClusterRestoreRebindsSubscriptionPrivileges,TestDatabaseDefaultsTwoCNPreparedFreshness,TestIssue29133RoleRulesTrackRemoteChanges, andTestIssue29572LogicalViewAuthorization. - Observed signatures:
Condition never satisfied,context deadline exceeded,invalid connection,driver: bad connection,cn service heartbeattimeout,txn commit status is unknown, andCN ... was not admitted before startup deadline. - First observed: 2026-11-13 UTC. Last observed: 2026-11-25 UTC.
- Current assessment: recurring control-plane/connection failures across unrelated change sets, not confirmed product regressions and not observed race-detector reports. In the Python-only PR comparison, the failed run recorded 669s CPU throttling and 574.4s IO full stall versus 236.5s and 26.5s in the successful run; neither run had an OOM kill. Resource contention is a plausible amplifier, but it is not established as the root cause of every test failure.
- Evidence: three lifecycle failures on a Python-only PR, CN-admission/commit-status failures, cluster-refresh/deadline/bad-connection failures, CN-heartbeat deadline.
- 2026-11-25 normal-UT recurrence after fix: preserve TAE snapshot row IDs and stabilize main CI #32957: PR #32906, job 138845478495 failed
TestIssue29133RoleRulesTrackRemoteChanges/scenarioafter 70.00s withcontext deadline exceededatissue_29133_policy_refresh_test.go:74, followed byMO_UT_SETUPfailed-test seal/quarantine. PR #33144, job 138847890221 failedTestIssue29572LogicalViewAuthorization/current/cache=onand/nested_snapshot/cache=on; the actual error chain containedcontext deadline exceeded, followed by failed-test quarantine. Both failing heads are descendants of the fix: preserve TAE snapshot row IDs and stabilize main CI #32957 merge17df10b1b379e46b7c92ef031306c6430dcfae33(ahead,behind_by=0). These independent PR observations strengthen the base/shared-fixture suspicion, but no pure-base rerun was performed and they do not prove one root cause; PR refactor(bitmap): bitmaps own their words through an mpool #33144 has a broad memory-ownership diff, so PR-induced timing/resource effects remain an alternative. - Next evidence needed: focused reruns on an exact
mainbase with runner/load details and service exit diagnostics; split this item when distinct fixture, infrastructure, or product root causes are established. - Removal bar: merge the relevant fixture/infrastructure/product fix and demonstrate stable reruns without suppressing the original assertions or merely hiding the deadline.
FLAKY-003 — Whole-suite race UT can hit its global deadline without a captured failed test
- Scope: main Ubuntu/x86 race UT harness; suite-level timeout candidate, excluding cancelled jobs.
- Affected cases: active or incomplete cases at the deadline; one captured active case was
TestTxnModeSwitchDrainsInflightCatalogEventsinpkg/vm/engine/tae/db/test. This is not yet evidence that the active case caused the timeout. - Observed signature:
make: *** [Makefile:582: ut] Error 124with active/incomplete UT cases and no captured individual failed test in the raw summary. - First observed: 2026-11-13 UTC. Last observed: 2026-11-13 UTC.
- Current assessment: two non-cancelled suite-level deadline failures. Attribution to the checked-out PR, a hung case, or aggregate scheduling/resource pressure is unresolved; keep this as a watchlist item rather than declaring a product regression.
- Evidence: Error 124 with active catalog-event case, second Error 124 run.
- Next evidence needed: identify the long-pole or blocked case and its wait-for graph, then reproduce on the exact
mainbase with scheduling and resource measurements. - Removal bar: fix the demonstrated hung work or scheduling bottleneck and verify the complete race UT workflow within its existing deadline; do not merely increase the global timeout.
FLAKY-004 — TestDelete4 retains an independent GetValue row-offset panic
- Scope: main Ubuntu/x86 heavy race UT;
pkg/vm/engine/tae/db/test.TestDelete4, concurrent range-delete/append/restart and TAE flush prepare-commit. - Active failure signature:
runtime error: index out of range [12] with length 1throughcontainers.getNonNullValue,vectorWrapper.Get,baseObject.GetValue,txnTable.GetValue, andTestDelete4.func1.1. The CI occurrence had 18 caught worker panics before the terminal uncaught panic. - First observed: 2026-11-04 UTC. Last observed: 2026-11-04 UTC.
- Detailed context: tested head
ce0f9958bac803f9e0b774904c7b265dd8c9f5f7; clean-main comparison36c99836498293e5ada615a017908832e99072af. The unrelated PR changed streaming Sinker merge-spill ownership, while the failing TAE flush path uses the block-writer path directly. Three focused race/short/tag runs passed on both the PR head and clean main on Darwin/arm64; this does not reproduce Linux heavy-lane scheduling or prove the defect is fixed. - Scope reduction from later work: commit
4760bcaa88b23fabe064b1631b624c0e8c40d549addressed the separate empty-tombstone object-level rowid-zonemap initialization failure that causedZM.RowidPrefixEqto index an empty buffer. That stack is not an active item here. The change explicitly did not establish a fix for the independent GetValue row-offset panic or prove the original CI object's state; no final-merge-SHA recurrence check was recorded. - Evidence: failed UT job and both original stacks.
- Next evidence needed: preserve the exact row/vector owner and flush generation at the failing GetValue call, then reproduce under the Linux heavy-package envelope without changing test operations or assertions.
- Removal bar: identify and fix the GetValue vector/row ownership error, verify focused repetition and the owning TAE race path, and keep the independent zonemap fix covered separately.
FLAKY-005 — Five native-SQL timeout and cleanup roots remain after partial test-lifecycle fixes
- Scope: main full Ubuntu/x86 race UT;
pkg/tests/issuesembedded SQL scenarios. These roots are grouped as one full-lane incident, not assumed to share one product root cause. - Remaining roots and stable signatures:
TestCheckpointColdSnapshotSurvivesDatabaseDrop:force flush failed: context deadline exceededfrommo_ctl('dn','globalcheckpoint','').TestExportLifecyclePublicSQL: cleanup atexport_lifecycle_test.go:53returnscontext deadline exceeded.TestIssue26113CloneCreatedTableInSameTransaction: cleanupdrop database if exists issue_26113returnscontext deadline exceeded.TestIssue28317DisjointDDLAndTenantRestore:ordinary_tenant_SNAPSHOT_and_PITR_restorereturnscontext deadline exceededduring account restore.TestIssue31401ScalarRefreshProgress/tenant_snapshot: cleanupdrop account if exists issue31401_scalarreturnscontext deadline exceeded.
- First observed: 2026-11-11 UTC. Last observed: 2026-11-11 UTC.
- Detailed context: tested head
c549a60cdb18d5c5ba54e2007e0401f8d749717a, targeting main. The PR was restricted to Iceberg writer/budget/error paths and did not modify these SQL scenarios, their fixture, or the UT harness. Each root passed three focused race/short/tag rounds on both the head and clean main90e547c64521ff0d887678709fc4e1f22e757105on Darwin/arm64. Those controls do not reproduce Linux full-lane contention and are not proof of a fix. No OOM, compile failure, or race-detector report explains the incident; cancelled SQL results must not be mistaken for wrong snapshot/export values. - Scope reduction from later work: commit
4760bcaa88b23fabe064b1631b624c0e8c40d549gave the separate prepared-pagination test independent bounded lifetimes, fixed session ownership, real error assertions, and cleanup ownership. That prepared-pagination root is removed from this active item. The change did not establish causes or fixes for the five roots above; restore cleanup reduction and local passes do not prove full-lane latency has disappeared. - Evidence: full-lane UT failure.
- Next evidence needed: capture the slow SQL operation, shared-fixture state, deadline propagation, and wait-for owner for each remaining root; split this item when independent causes are established.
- Removal bar: fix the demonstrated service/fixture lifecycle causes and verify all five complete SQL scenarios and cleanup paths under the original assertions, without retries, skips, weaker checks, or blanket timeout increases.
FLAKY-006 — Ordered prepared-cache pagination still has an independent flush deadline
- Scope: main DML race UT;
TestPreparedAPRuntimeCacheWorkspaceTransition/ordered_pagination_across_CNsinpkg/tests/dml. - Observed signature:
select mo_ctl('dn','flush','db_testpreparedapruntimecacheworkspacetransition_....src')returnscontext deadline exceeded; failing leaf 80.96s and parent 170.56s. - First observed: 2026-11-11 UTC. Last observed: 2026-11-11 UTC.
- Detailed context: CI head
aa9ebad3fb5f9c5815bc70c35a87d5e0b7ed05ad, based on main553e16f52b02d59e9ecc5e3c8862f2603e661f48. DML ran in four independent prebuilt batches with admission pool 4 and GOMAXPROCS=2 under an 8-CPU/16-GiB cgroup; no OOM kill was recorded. Nearby LogService heartbeat/proposal timeouts and 1.8–2s WAL append latencies are correlations, not an established cause. Focused candidate and clean-main controls passed with the original SQL/assertions on Darwin/arm64, but did not reproduce Linux four-batch contention. - Scope reduction from later work: commit
4760bcaa88b23fabe064b1631b624c0e8c40d549isolated the separate branch-diff scenarios' bounded lifetimes so one expired scenario no longer drives dependent cases onto a cancelled session. That branch-diff family is not active here. The prepared-cache flush wait owner remains unresolved. - Evidence: DML race UT failure.
- Next evidence needed: trace the flush request through TN scheduling, WAL/catalog progress, and response delivery during the original four-batch Linux envelope.
- Removal bar: identify the delayed flush owner and verify the complete ordered-pagination scenario and all original subtests under the full DML race lane; do not merely enlarge its deadline.
FLAKY-007 — Fresh TRUNCATE rollback can exhaust its independent 15-second operation budget
- Scope: main race UT;
TestIssue29400CopyAlterRetainedGatePromotionFastFails/fresh_truncate/rollbackinpkg/tests/issues. - Observed signature: after deterministic registry-G waiter observation and holder rollback both succeed, the TRUNCATE result assertion at
issue_29400_test.go:532returnscontext deadline exceeded. The leaf lasts 16.17s; the parent completes in 102.66s. This is not failure to enter the waiter, an old-table-ID assertion, or exhaustion of the former shared parent setup budget. - First observed: 2026-11-04 UTC. Last observed: 2026-11-04 UTC.
- Detailed context: PR head
fec2852ee7b4e5a2d765210548819d91c897fe86; clean-main comparison36c99836498293e5ada615a017908832e99072af. The unrelated production change combined Shuffle gathering with sorted proof; it did not modify DDL admission, transaction/commit, lock ownership/release, SQL response, the embedded fixture, or the UT harness. The exact root and all subtests passed 3/3 on both head and clean main on Darwin/arm64, preserving the 15-second operation context. No OOM kill or race-detector report was observed. Nearby LogService timeouts and ISCP invalid-timestamp messages remain unproven correlations. - Evidence: failed UT job.
- Next evidence needed: identify the delayed DDL owner or response path after holder rollback under full Linux CI load, including commit visibility and waiter release.
- Removal bar: fix the demonstrated wait/response ownership and verify the complete retained-gate matrix with its waiter, commit, rollback, cancellation, and table-identity assertions unchanged.
FLAKY-008 — PROXY lower_case_table_names has both cross-session visibility and parallel-writer interference evidence
- Scope: main multi-CN Compose PROXY BVT;
test/distributed/cases/system_variable/lower_case_table_names.sql, account-global variable propagation and new-session initialization. - Observed signatures: both directions have occurred: expected
1/actual0, and expected0/actual1, onselect @@lower_case_table_names. A correlated case expectstable "t1" does not existbut instead returns rows because the new session still observes mode0. - First observed: 2026-08-07 UTC. Last observed: 2026-08-20 UTC.
- Detailed context — visibility candidate: after one connection commits
SET GLOBAL lower_case_table_names = 0, a new session routed through Proxy can still return1at rows 148 and 170. Earlier transitions in that file passed. A historical manual refresh workaround had been removed when new sessions began reading the catalog directly, leaving a possible cross-CN visibility/session-initialization window; the product owner of that window is not established. - Detailed context — direct clean-main interference reproduction: on clean main
2a38e2a4b50b92fefbef7f74ec9c9fe3f0d5cf3b, session A created uppercaseT1in mode0, wrote global1, and closed. A fresh session initially returned1and rejectedT1as expected. After an independent connection simulated another parallel BVT script writing global0, the next fresh session deterministically returned0and readT1, matching both CI mismatches. Multiple cases in the same BVT grouping write this account-global variable, including writes of0; this is a demonstrated test-isolation path, distinct from the still-unproven CN propagation hypothesis. - Evidence: stale new-session value, initial value mismatch, clean-main interference analysis and recurrence.
- Next evidence needed: separate per-account/global-writer scheduling from per-CN visibility checks and record which CN/session served each result. Do not conflate the two mechanisms or mask either with BVT retry/ignore directives.
- Removal bar: isolate conflicting account-global writes and, if a real visibility race remains, fix new-session synchronization on every CN; verify both value directions and the
T1namespace assertion under the original PROXY topology.
FLAKY-009 — Coverage UT commit-queue metric assertion observes one extra global sample
- Scope: main-target Coverage UT on a Linux x86 CS MTY runner;
TestCommitQueueStageMetricsFollowExecutedWorkinpkg/vm/engine/tae/txn/txnbase/txnmgr_test.go. - Observed signature: after committing one transaction, the process-global
pre_wal_queue_waithistogram sample count increases by two rather than one: expected6, actual7at line 505. The test fails in 0.01s; this is an assertion mismatch, not a timeout. - First observed: 2026-11-13 UTC. Last observed: 2026-11-13 UTC.
- Detailed context: historical tested source
3c389434ff902b262c6d4e8e1b13e5f264e3f0b1belonged to a main-target PR, not a verified clean-main checkout. The test stops heartbeat and waits for its transaction manager to become empty before taking the baseline, but the metric is process-global and stage-labelled. Whether an in-flight heartbeat, another manager, or the transaction under test emitted the extra sample is unknown. The same test passed in the concurrently running RUH Coverage job with the same source/settings, but that job failed a different test and is not a full-green control. There is only one MTY observation and no isolated repetition or introducing-commit attribution. - Evidence: failed MTY Coverage producer, same-test RUH comparison run.
- Next evidence needed: attribute every observation to its manager/transaction and run repeated isolated plus full-package controls on current main before classifying product versus test interference.
- Removal bar: establish metric ownership and eliminate unintended background samples or fix the real extra queue wait; retain the executed-work assertion rather than weakening or skipping it.
FLAKY-010 — Watermark retirement test has an unresolved subsequent-flush/deadline attribution
- Scope: main ordinary race UT light lane;
pkg/iscp.TestWatermarkBatchYieldsToRetirement. - Observed signature:
watermark_contention_test.go:151returnscontext deadline exceededafter 105.36s total test time. The original report locates this at the subsequentrequire.NoError(t, flush()), after retirement commits and after checking that the deliberately failed first watermark batch did not persist a prefix. The flush uses a 30-second context created after cluster startup; 105.36s is not the duration of that single flush. - First observed: 2026-11-06 UTC. Last observed: 2026-11-06 UTC.
- Detailed context: checked head
d4165a95856940f98c25746154b7dda0c3339c5e; exact target parenta86c130cc09c5859e1651d49746a35bc79c2c07a. The unrelated PR changed Top-K pruning/codec/readers, while this test and its ISCP transaction/SQL owners were unchanged. Three focused runs passed on both source sets on Darwin/arm64 with the original race/short/tag assertions; no Linux full-lane reproduction was obtained. The captured runner had no OOM kill. Nearby Raft/HAKeeper timeouts and ISCP invalid-timestamp errors are correlations only. - Unresolved discrepancy: later work gave the test's final DROP an independent bounded cleanup context, but its analysis described the failing statement as a final DROP near exhaustion of a shared context. That differs from the original subsequent-flush localization. The slow server operation, exact failing statement, and final transaction outcome therefore remain unverified; the cleanup change must not be treated as a complete fix without reconciling this discrepancy.
- Evidence: failed UT job.
- Next evidence needed: map the exact SQL statement and context to the test JSON, then capture its transaction/commit and watermark wait-for path under the original Linux light-lane envelope.
- Removal bar: resolve the statement attribution and slow-operation owner, then verify retirement, subsequent progress, atomicity, and cleanup assertions without sleeps, ignored errors, or arbitrary timeout increases.
FLAKY-011 — Second-coordinator multi-CN shuffle/spill join can expire before returning its count
- Scope: main Ubuntu/x86 race UT;
TestMultiCNShuffleJoinDrainsPersistedInputsinpkg/tests/issues/shuffle_multicn_test.go. - Observed signature: the fourth coordinator/spill cell expires its 30-second client context at
shuffle_multicn_test.go:85; root elapsed 39.24s. The first three cells complete: coordinator 0 without spill, coordinator 0 with spill 1000, and coordinator 1 without spill. The failing cell is coordinator 1 with spill 1000. Its query isselect count(*) from probe p join build b on p.k=b.k, expecting 80,000 rows from 100,000 probe and 80,000 build inputs. - First observed: 2026-11-09 UTC. Last observed: 2026-11-09 UTC.
- Detailed context: CI head
d8b3acf513ca39a5d3a93dc884d06ef82d5e0ba2, targeting main. The PR changed historical-snapshot transaction selection, but this test uses no snapshot and the nil-snapshot path returned the original transaction/context; shuffle/spill/dispatch/drain code was not modified. The candidate passed all four focused cells on Darwin/arm64, as did clean main6a2b29954749d5a47820ed429cfa8a6c4793682f. The clean-main root took 40.56s, including 33.13s of shared-cluster admission wait before SQL, demonstrating why focused elapsed time is not equivalent to full-lane query progress. No synchronized pre-cancel CN goroutine stacks exist, so deadlock, storage wait, scheduling delay, and ordinary elapsed-time exhaustion remain unseparated. - Evidence: failed UT job.
- Next evidence needed: capture both CNs' blocked stacks, remote dispatch/drain state, spill ownership, and storage waits before client cancellation; do not infer a deadlock from disconnect/teardown logs.
- Removal bar: identify and fix the demonstrated wait owner, then verify all coordinator/spill cells return 80,000 with correct remote cleanup and unchanged topology/count assertions.
Activity
gouhongshen commentedon Nov 17, 2026
Additional recurrence for FLAKY-002:
bb3ee9b9132463de9e894b76fbd18f7fac08ab0b.pkg/embed.TestStartupQueryReadinessfailed after 26 seconds atstartup_query_readiness_test.go:38while closing the preceding shared single-CN fixture.MO_UT_SETUP phase=service-closerecorded 25.996 seconds andstatus=error; the returned error wascontext deadline exceeded/internal error: cn service heartbeat. Log-service checker/proposal timeouts preceded the final CN metadata-withdrawal failure. The test had not started its replacement cluster or executed its readiness SQL.pkg/embedin UT job 133661347554;pkg/embedalso passed in attempt 1 of the failed run. This supports an unrelated embedded-cluster lifecycle flake. The primary cause of the heartbeat stall remains undetermined.ci: reduce race UT work and harden fixture retirement (#32872)
fengttt commentedon Nov 19, 2026
Root-caused and fixed in #32885 (commit 14e9059). Both failures were test-side time budgets that are too tight for CI. Neither is a server bug.
TestSQLTaskRunBarrierAcrossDropAndRecreate(Condition never satisfied/ "the scheduled retry must complete")require.Eventuallyloop errored on the expired context. The loop returnederr == nil && n == 1, so each error read as "not done yet" and was never reported.EventuallyWithTwithrequire.NoError, so a query error shows up in the failure message.TestIssue31401ScalarRefreshProgress/{other_account,tenant_snapshot}(cleanupdrop account if exists issue31401_scalar→context deadline exceeded)Both pass locally (barrier test 24s vs 150s in CI). These entries can be closed once #32885 merges. Please reopen if either signature recurs after that.
iamlinjunhong commentedon Nov 19, 2026
Recurrence on PR #32917, exact head
fbd18d6ceb26d5a439caf2a05657a5375ce1a805, Actions run 44487558160, attempt 1.time make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=allwith Go 1.27.1 on the 8-core/16 GiB Linux/amd64 runner. The wrapper reached its 120-minute deadline and recordedmake: *** [Makefile:582: ut] Error 124while the embedded SQL stage was still executing cases. CI Required job 135499371111 propagated the same failure asmatrixone-ci: failure.TestIssue31401ScalarRefreshProgress/other_accountand/tenant_snapshotfailing at the 20-secondDROP ACCOUNTcleanup deadline. This matches the maintainer's cleanup analysis.TestHiddenIndexUserAccessexhausted its shared three-minute client context. The server still recorded the expected privilege denial for textualEXECUTE revoked_crossat 10:30:01 UTC. At 10:30:06 UTC, the subsequent prepared execution returnedcontext deadline exceededwhere the test expected a MySQL privilege error. The runner logged 1,399 throttled intervals out of 1,818 between the 10:27 and 10:30 heartbeats, with about 7.9 of 8 assigned CPU cores consumed on average and zero OOM kills. These are distinct SQL deadlines observed in the suite timeout, with no race-detector, compiler, or static-check error in the failed lane.Focused controls and scope:
fbd18d6ceb26d5a439caf2a05657a5375ce1a805. Three more passed at exact official maind2e71035dbae7471052ca5c0034d05827b926249. Both includedTestHiddenIndexUserAccessand theother_accountandtenant_snapshotscalar subtests. The official comparison used a Go overlay for all 38 changed Go paths with the blobs checked against the official commit, including deletions. Native build inputs and UT harness match.Track these as embedded-race-UT timeout evidence for this occurrence. The corresponding retry is one failed-jobs rerun of run 44487558160.
fix: preserve TAE snapshot row IDs and stabilize main CI (#32957)
fix(ci): distinguish exited UT cases from live tests (#33050)
test: release disk cache read vectors (#33065)
fix: drain proxy connection work during shutdown (#33104)
iamlinjunhong commentedon Nov 26, 2026
FLAKY-003 recurrence on 2026-11-26.
3fb929b014cd1df1d25e922d22a14ed05825a4a2. Run 45753939871, attempt 1, Ubuntu/x86 UT job 139688086851 and CI Required job 139731853475.time make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=all(race, Go 1.27.1, Linux amd64). GNU timeout sent TERM at the 120-minute suite deadline and Make reportedMakefile:582: ut] Error 124. CI Required propagatedmatrixone-ci: failure. The runner's failed-test summary was empty. The final active case,TestSQLTaskAlterAfterTriggerOnRealStorage, started 19 seconds before TERM and entered itssuspendsubtest about one second before TERM. The logs show ongoing progress up to the overall deadline.e5d6f92fcdd5ce32c606c33994cee36a7b183643is confined to frontend role-rule code and its tests. The selected SQL task case and the UT scheduling and deadline configuration are unchanged. The observed CPU quota pressure before the frontend ran and the adjacent independent timeout support runner capacity as the reason this suite reached the outer deadline.The two failed jobs are in one run. They will be retried once with the failed-jobs rerun.
test: stabilize task creation after CN failover (#33296)
XuPeng-SH commentedon Nov 26, 2026
#33296 已合入
main(ba80b48f),覆盖TestTaskSchedulerExpiresLostRunnerWithoutReplay的一种 flaky:幸存 CN 提交后续任务时收到明确回滚的 20702。修复仅调整测试 fixture 的有界重试,不重试提交结果未知或其它错误,原有唯一记录、幸存者归属和一次执行断言仍保留。PR 报告pkg/tests/service全包 race 及最终定向对照通过;本轮未独立重跑。仅为此用例追加记录,其他 flaky 继续跟踪。iamlinjunhong commentedon Nov 26, 2026
FLAKY-003 recurrence for #33164 on 2026-11-26. Exact PR head:
dd0401022db7302fce18cfce928bbc1aa921c847.time make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=allwith race enabled. The outer 120-minute deadline sent TERM at 08:56:23 UTC and Make reportedMakefile:582: ut] Error 124. CI Required job 139798045368 propagatedmatrixone-ci: failure.TestUpdateIgnoreRepeatedPhysicalTargetUniqueArbitrationran out of its shared three-minute SQL context during its last large collision query.TestIntegerArithmeticWidth/grouping_rewrite_preserves_CTAS_rootsreached its three-minute SQL context deadline. Its parent assertion accounts for the subsequent Goexit message.TestDatabaseCharsetInheritanceContractfirst hit its four-minute SQL context deadline at 08:56:22 UTC during ALTER TABLE COPY. Its later subtests immediately reported bad or closed connections. The logs show deadline errors and continuing SQL progress, without a wrong-result assertion or race report in these cases. These checks use their existing fixture contexts and have no role rules to install or merge.2e13dc294b98ffd99103144c64949445fb445adcshows the PR changes role rules and their fixtures only. The failed cases, their deadlines, and the CI harness are unchanged. The exact-head race artifact 15101540824 records the frontend package passing in 126.887s andTestCTASCarriesRoleRuleAcrossSQLModesAndRemappassing in 21.1s. Coverage, SCA and both multi-CN BVT jobs passed. The measured runner pressure and the independent deadline failures support a CI capacity recurrence. They do not establish a shared product defect in the individual SQL tests.The failed jobs of run 45770255380 will be rerun once. The earlier run on a different PR head is separate.
Ariznawlll commentedon Nov 29, 2026
Flaky UT follow-up: HAKeeper allocate-retry deadline assertion
820c6f64aeb08ecd3cb44c518cab7af2e7786bcd. Failed jobpkg/logservice.TestAllocateBatchIDRetriesPrepareClientErrorUntilContextDonewas reported failed in 0.06 s. The isolated workflow preserved the test name and duration, but not its assertion output. Real S3 tree and cleanup passed in that job; the coverage upload was skipped because GROUP0 failed.net.ErrClosed, sets a 20 ms retry interval and a 55 ms caller deadline, then requires at least two attempts. A scheduling delay can leave only one attempt even when cancellation behaves correctly. Current main still contains these assertions. The new observation does not establish a product failure or show the precise failed assertion.Reporting the recurrence here rather than opening a duplicate of #31789.
iamlinjunhong commentedon Nov 29, 2026
FLAKY-002 startup recurrence on PR #33423.
TestIssue29492MultiCNCancellationCleanupreturnedcontext deadline exceededandinternal error: cn service heartbeatatissue_29492_test.go:110after 55.79s. The failing assertion is the return fromembed.StartTestCluster(embed.WithCNCount(3)). #33157 tracks a different later replay phase in the same test.9140c88d81f88d9fdfe846904f39e08e380226c2python3 -I scripts/coverage_standby.py waitand reportedselected coverage group did not passmatrixone-ut-coverage: failurecoverage_utphase withreason=command_exitand exit 1.The worker used Go 1.27.1, CGo,
-short -tags matrixone_test -covermode=set, seven-way package parallelism, and a two-slot cluster admission pool. The failed command was the Coverage supervisor runningrun_measured_coverage_packages.pyover GROUP0 with the production cover-package list. The full failed job logs and extracted per-test diagnostics show the errors were runtime test failures. No compile, type, static, or race-detector failure was reported.Focused controls ran from the exact PR head and a verified clean source export of official
mainate75a4d2ca470b35c2bf254cfcf5e3069f51be90a. Both used the repository CGo wrapper on Darwin/arm64, the same local CGo inputs, Go 1.27.1, the identical flags and coverage package list produced with the pinned CI filter. Each repetition used a new test process. The controls selected just the two failing tests, so they did not recreate the full 249-package Linux/IDC workload.The PR's complete delta is six files under
pkg/proxy. The disttae test constructs a transaction and engine, parks its GC producer, then invokes the final drain directly with a test file service. The three-CN test uses an in-process cluster with CN, TN and log services and connects directly to CN frontend ports. The failure is at the startup assertion before any SQL or cancellation scenario. Neither runtime path uses the patched backend handshake or the proxy connection manager. The Proxy compose BVT at the exact head passed in this job.Each test passed three consecutive invocations at both revisions. Times below are terminal test events in seconds, excluding compilation.
TestIssue25590CloseWaitsForParkedGCProducerpassed on PR head at [2.04, 2.05, 2.04] and official main at [2.04, 2.04, 2.03].TestIssue29492MultiCNCancellationCleanuppassed on PR head at [7.5, 5.56, 22.49] and official main at [5.77, 13.54, 23.62].This is a non-PR flaky candidate. The exact failure did not recur in the focused controls, and the cause of the original Linux worker's timing remains open. One failed-jobs rerun of parent run 46110396535 is planned after recording both distinct signatures.
test(embed): eliminate redundant branch clear race work (#33581)
test: reduce publication and snapshot race fixture work (#33584)
test: cut repeated work in slow race UT cases (#33596)