[ 
https://issues.apache.org/jira/browse/FLINK-38534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120046#comment-18120046
 ] 

Martijn Visser commented on FLINK-38534:
----------------------------------------

Three more, one of them the first on release-2.2:

https://github.com/apache/flink/actions/runs/36084551382/job/107923102308 
(release-2.3, nightly 2026-09-25, AdaptiveScheduler, JDK 17)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79497&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
 (release-2.3, nightly 2026-09-28, test_cron_azure, JDK 17)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79477&view=logs&j=d89de3df-4600-5585-dadc-9bbc9a5e661c
 (release-2.2, nightly 2026-09-27, test_cron_hadoop313, JDK 17)

On release-2.3 these are the "Exhausted retry attempts" and "Job ... is not a 
streaming job." variants. release-2.2 fails with an NPE while the acknowledged 
checkpoint is finalized, and its fork log has no "Cannot deploy" line:

{code}
[ERROR] 
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart
 -- Time elapsed: 0.047 s <<< ERROR!
java.util.concurrent.CompletionException: java.lang.NullPointerException: 
Cannot invoke 
"org.apache.flink.runtime.state.CheckpointStorageLocation.createMetadataOutputStream()"
 because "this.targetLocation" is null
        at 
org.apache.flink.runtime.scheduler.adaptive.StateWithExecutionGraph.lambda$triggerCheckpoint$3(StateWithExecutionGraph.java:353)
        ...
Caused by: java.lang.NullPointerException: Cannot invoke 
"org.apache.flink.runtime.state.CheckpointStorageLocation.createMetadataOutputStream()"
 because "this.targetLocation" is null
        at 
org.apache.flink.runtime.checkpoint.PendingCheckpoint.finalizeCheckpoint(PendingCheckpoint.java:338)
        at 
org.apache.flink.runtime.checkpoint.CheckpointCoordinator.finalizeCheckpoint(CheckpointCoordinator.java:1474)
        at 
org.apache.flink.runtime.checkpoint.CheckpointCoordinator.completePendingCheckpoint(CheckpointCoordinator.java:1375)
        at 
org.apache.flink.runtime.checkpoint.CheckpointCoordinator.receiveAcknowledgeMessage(CheckpointCoordinator.java:1267)
{code}

That is six of 27 runs on release-2.3 and one of 16 on release-2.2 in the last 
seven days, none on master.

> 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
>            Reporter: Ruan Hang
>            Assignee: mukul mustikar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.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)

Reply via email to