The GitHub Actions job "Flink CI (beta)" on flink.git/release-2.2 has failed.
Run started by GitHub user MartijnVisser (triggered by MartijnVisser).

Head commit for run:
14814adcac099aa6258cc1f7993760fcd00a5d6d / Rui Fan <[email protected]>
[FLINK-40446][tests] Make CommonTestUtils.terminateJob wait for the CANCELED 
terminal state

JobClient#cancel().get() only acknowledges that cancellation was initiated, not
that the job has reached a terminal state. Tests that cancel a job and then let
JUnit delete its checkpoint directory (a @TempDir) can therefore race with the
source subtasks' async snapshot of the last completed checkpoint, which keeps
writing SourceReaderState files into the file-merging taskowned directory after
cancel() returns. This shows up as a flaky
UnalignedCheckpointRescaleWithMixedExchangesITCase teardown failure:
"Failed to delete temp directory ... DirectoryNotEmptyException".

Make CommonTestUtils.terminateJob wait for the CANCELED terminal state after
cancel(), and route the UC rescale ITCases and the connector test suites
(which previously duplicated this wait in a local killJob helper) through it.

(cherry picked from commit 9c1015353f8735bf28b76d01db544514fab60c87)

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

With regards,
GitHub Actions via GitBox

Reply via email to