The GitHub Actions job "Flink CI (beta)" on flink.git/master has failed.
Run started by GitHub user snuyanzin (triggered by snuyanzin).

Head commit for run:
0ecc34d3bb53d6214e1bb4997967fa2cff3b8bf0 / Efrat Levitan 
<[email protected]>
[FLINK-33186][tests] Fix flakiness in 
CheckpointAfterAllTasksFinishedITCase.testRestoreAfterSomeTasksFinished (#28800)

There was traced the flakiness to task finished after the checkpoint plan was 
calculated
but before triggerCheckpoint. The task is already removed from 
TaskExecutor#taskSlotTable
So TaskExecutor#triggerCheckpoint fails the checkpoint with error
'TaskManager received a checkpoint request for unknown task <>'.

Production systems are expected to tolerate an occasional checkpoint failure
So we can address the flakiness without changes this known limitation for
tasks finished mid checkpoint.

the test provisions 2 sources passA that finishes quickly and passB that blocks 
forever
and non-deterministically waits for at least one of passA subtasks to finish, 
which introduces
the race.
The fix here makes 
CheckpointAfterAllTasksFinishedITCase.testRestoreAfterSomeTasksFinished
wait for all subtasks of passA to finish before triggering savepoint, to avoid 
the race
but still achieve the test goal with passB subtasks still locking.

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

With regards,
GitHub Actions via GitBox

Reply via email to