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

Head commit for run:
c3ec5690874a55110ef3ecfb80a335c415ee1b57 / Martijn Visser 
<[email protected]>
[FLINK-39845][tests] Fix 
SavepointITCase.testStopWithSavepointFailsOverToSavepoint under 
AdaptiveScheduler

The JUnit5 migration (FLINK-39124, #27667) replaced a cause-chain search 
(ExceptionUtils.assertThrowable -> findThrowable) with a direct-cause assertion 
(assertThatThrownBy(...).hasCauseInstanceOf(StopWithSavepointStoppingException.class)).
 Under the AdaptiveScheduler, StopWithSavepoint.onLeave() wraps the expected 
StopWithSavepointStoppingException inside a FlinkException ("Stop with 
savepoint operation could not be completed."), so it is no longer the direct 
cause. This regressed the test_cron_adaptive_scheduler nightly leg on master 
(red every build since 2026-03-21); the default scheduler still exposes it as 
the direct cause and passed.

Restore the chain search via FlinkAssertions.anyCauseMatches so the test passes 
under both the default and adaptive schedulers, matching the pre-migration 
behavior still present on release-2.1.

Generated-by: Claude Code (Claude Opus 4.8)

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

With regards,
GitHub Actions via GitBox

Reply via email to