[
https://issues.apache.org/jira/browse/FLINK-38534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18129134#comment-18129134
]
Martijn Visser commented on FLINK-38534:
----------------------------------------
Two more. release-2.2 still has neither df4f8c48d60 nor e009616411c:
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80049&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
(release-2.2, nightly 2026-10-12, test_cron_azure core, JDK 17)
{code}
[ERROR]
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart
-- Time elapsed: 63.66 s <<< ERROR!
org.apache.flink.util.FlinkException: Exhausted retry attempts.
at
org.apache.flink.runtime.scheduler.SchedulerTestingUtils.waitForCheckpointInProgress(SchedulerTestingUtils.java:320)
at
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart(LocalRecoveryTest.java:110)
{code}
And the NPE mode that https://github.com/apache/flink/pull/29322 fixes, on
release-2.3:
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80162&view=logs&j=0e7be18f-84f2-53f0-a32d-4a5e4a174679
(release-2.3, nightly 2026-10-15, test_cron_adaptive_scheduler core, JDK 17)
{code}
[ERROR]
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart
-- Time elapsed: 0.126 s <<< ERROR!
java.util.concurrent.CompletionException: java.lang.NullPointerException:
Cannot invoke
"org.apache.flink.runtime.state.CheckpointStorageLocation.createMetadataOutputStream()"
because "this.targetLocation" is null
Caused by: java.lang.NullPointerException: ...
at
org.apache.flink.runtime.checkpoint.PendingCheckpoint.finalizeCheckpoint(PendingCheckpoint.java:338)
{code}
> Fix flaky LocalRecoveryTest by waiting for tasks to reach RUNNING state
> -----------------------------------------------------------------------
>
> Key: FLINK-38534
> URL: https://issues.apache.org/jira/browse/FLINK-38534
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Affects Versions: 2.2.0, 2.2.2, 2.3.1
> Reporter: Ruan Hang
> Assignee: mukul mustikar
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.3.1, 2.4.0
>
>
> {code:java}
> Feb 27 04:21:50 04:21:50.067 [INFO] Results:
> Feb 27 04:21:50 04:21:50.068 [INFO]
> Feb 27 04:21:50 04:21:50.069 [ERROR] Errors:
> Feb 27 04:21:50 04:21:50.070 [ERROR]
> LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart:113 ยป
> Flink Exhausted retry attempts.
> Feb 27 04:21:50 04:21:50.071 [INFO]
> Feb 27 04:21:50 04:21:50.071 [ERROR] Tests run: 109715, Failures: 0, Errors:
> 1, Skipped: 354
> Feb 27 04:21:50 04:21:50.071 [INFO]
> {code}
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=70334&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33&t=25baecb7-cea0-597a-6b01-188b1478210d
--
This message was sent by Atlassian Jira
(v8.20.10#820010)