Skip to content

[Bug] [Flaky UT]: pkg/issues TestIssue31401ScalarRefreshProgress fails intermittently across unrelated main PRs (4 runs on 2026-11-19) #32952

Closed

Description

@XuPeng-SH

Summary

In a survey of the 15 failed MatrixOne ALL CI runs on 2026-11-19 (every one red on UT Test on Ubuntu/x86), pkg/issues/TestIssue31401ScalarRefreshProgress was the single most frequent failing test — hit in 4 of 15 runs, across four completely unrelated PRs. Signatures below were extracted from each run's ut-diagnostics-* artifact (ut-report.json).

CI run Branch / PR topic Failed subtests Other failures in the same run
44551182875 fix/astra-meow-31760 — retain duplicate UNION branch selects (plan) /tenant_snapshot —
44517787941 codex/issue-28891-json-opaque-agg — preserve opaque values in JSON aggregates parent + /other_account + /tenant_snapshot morpc/TestGetBackendWithCircuitBreaker
44511263160 codex/issue-28160-odku-row-alias — INSERT row aliases for ODKU /other_account isolated/TestSQLTaskRunBarrierAcrossDropAndRecreate
44505920806 codex/32278-c02 — reduce CDC watermark / persisted-PK check overhead parent + /tenant_snapshot sqlintegration/isolated flake cluster

Analysis

  • None of the four PRs touch scalar-refresh / publication-progress code paths → this is a pre-existing, order/timing-sensitive flake, not a regression introduced by those diffs.
  • All 4 failures occurred in the UT race stage; the merged ut-report.json for those runs contains no WARNING: DATA RACE, no panic, no fatal for this test — these are plain test-level assertion failures (progress/visibility timing).
  • This flake is already recorded several times in the dynamic flaky tracker [Tracking]: main flaky CI/UT dynamic tracker #32745; this dedicated issue is so the flake actually gets fixed instead of only being re-tried.

Task

Stabilize TestIssue31401ScalarRefreshProgress (and its /other_account, /tenant_snapshot subtests): the tenant-snapshot refresh-progress assertions appear to be timing-sensitive — replace fixed/racy waits with deterministic WaitUntil-style polling on the refreshed state, or quarantine the test until fixed.

Refs: #32745, #31401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions