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

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

Three more in the NPE mode, all without 
https://github.com/apache/flink/pull/29322, which is still open:
https://github.com/apache/flink/actions/runs/44220201285/job/134524495153 
(release-2.4, nightly 2026-11-18, Java 21, module core)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=81868&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1
 (release-2.4, nightly 2026-11-21, test_ci core, JDK 17)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=81896&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1
 (master, nightly 2026-11-23, test_ci core, JDK 17)

{code}
[ERROR] 
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart
 -- Time elapsed: 0.069 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:365)
Caused by: java.lang.NullPointerException: ...
        at 
org.apache.flink.runtime.checkpoint.PendingCheckpoint.finalizeCheckpoint(PendingCheckpoint.java:338)
        at 
org.apache.flink.runtime.checkpoint.CheckpointCoordinator.finalizeCheckpoint(CheckpointCoordinator.java:1472)
{code}

That is three of the 142 master, release-2.4 and release-2.3 runs in the last 
seven days, and six of 567 since 2026-10-29, none on release-2.3.

> 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, 2.4.0, 2.5.0
>            Reporter: Ruan Hang
>            Assignee: mukul mustikar
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.2.2, 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
(v10.3.26#10030026)

Reply via email to