The GitHub Actions job "Nightly (beta)" on flink.git/release-2.3 has failed.
Run started by GitHub user github-actions[bot] (triggered by 
github-actions[bot]).

Head commit for run:
2671b891db4debdf42c55c6e35ad94fa8838bce0 / Martijn Visser 
<[email protected]>
[FLINK-40074][tests] Avoid @TempDir cleanup race in SinkV2ITCase scaling test

writerAndCommitterExecuteInStreamingModeWithScaling injected the checkpoint
directory through JUnit's @TempDir. The class-shared MiniCluster keeps
discarding checkpoint state asynchronously after the finished job returns its
result, so JUnit's temp directory deletion races with that discard and
intermittently fails with "Failed to delete temp directory" once the job is
done, even though all test assertions pass.

Manage the checkpoint directory explicitly and clean it up quietly with
FileUtils#deleteDirectoryQuietly, which is safe against concurrent deletions
and never lets a cleanup failure mask a real test failure.

Generated-by: Claude Fable 5
(cherry picked from commit 6a99fec07503099fb14dc0e623f67358b91f3203)

Report URL: https://github.com/apache/flink/actions/runs/28838299796

With regards,
GitHub Actions via GitBox

Reply via email to