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]: disk cache finalization UT flakes under CI scheduling load #28784
Job: Matrixone CI execution / UT Test on Ubuntu/x86
The test ran in the race-sharded UT job. The same job later reported resource-heavy UT cgroup memory peaking near 16 GiB; no OOM kill was reported.
Actual Behavior
TestS3FSWriteDiskCacheFinalizeMode/async failed at pkg/fileservice/s3_fs_test.go:1111 with disk-cache finalization did not start. The test waited five seconds for the goroutine to reach the blocked file-sync barrier. The sibling sync subtest passed. This failure is unrelated to the Arrow LOAD test files changed by PR #28782.
Expected Behavior
The test should preserve its async-versus-sync ordering assertions while remaining reliable when a race-enabled CI worker is heavily loaded. A scheduling delay should not be reported as a broken disk-cache transition unless the transition itself is stuck.
Steps to Reproduce
Run the race-enabled UT suite on a busy Linux runner.
Execute TestS3FSWriteDiskCacheFinalizeMode/async.
Observe whether the goroutine reaches the injected file-sync barrier before the current five-second deadline.
Additional information
This is one observed failure, so it does not yet prove a product-code defect or repeatable flake. The failure window was 13:17:53–13:17:59 UTC; the test hit its scheduling timeout before exercising the async/sync completion assertions. Please investigate the barrier/deadline behavior without removing those assertions.
The reported test synchronization defect is resolved by merged PR #29116. That change makes async disk-cache finalization wait on a deterministic blocked-sync hook instead of depending on a five-second scheduling window; it does not change production finalization timeouts. The merge commit is present on current main. Closing this specific UT flake as fixed; this does not claim that every cache finalization failure class is eliminated.
Activity
test(fileservice): isolate async ownership from disk sync latency (#2…
XuPeng-SH commentedon Sep 22, 2026
The reported test synchronization defect is resolved by merged PR #29116. That change makes async disk-cache finalization wait on a deterministic blocked-sync hook instead of depending on a five-second scheduling window; it does not change production finalization timeouts. The merge commit is present on current main. Closing this specific UT flake as fixed; this does not claim that every cache finalization failure class is eliminated.