[ 
https://issues.apache.org/jira/browse/FLINK-38534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser reopened FLINK-38534:
------------------------------------

Reopening for the release branches. This fails on release-2.3 in five of the 
last eleven nightlies. The branch has df4f8c48d60 but not e009616411c, which 
only went to master; release-2.2 has neither. Master did not fail it in 50 runs 
over the same week.

https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79328&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79374&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79269&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
https://github.com/apache/flink/actions/runs/35808755810/job/107017026608
https://github.com/apache/flink/actions/runs/35945602087/job/107473932919

{code}
[ERROR] 
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart
 -- Time elapsed: 65.14 s <<< ERROR!
org.apache.flink.util.FlinkException: Exhausted retry attempts.
        at 
org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:176)
        at 
org.apache.flink.runtime.scheduler.SchedulerTestingUtils.waitForCheckpointInProgress(SchedulerTestingUtils.java:320)
        at 
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart(LocalRecoveryTest.java:126)
{code}

The other runs fail earlier in the same test, in {{waitForAllTasksRunning}} 
(line 118) or with "Job ... is not a streaming job." from {{triggerCheckpoint}} 
(line 122). All three Azure logs have the same "Cannot deploy v1 (1/4) ... 
because execution state has switched to RUNNING during task restore offload" as 
in my comment from June. We should backport e009616411c to release-2.3, and 
both commits to release-2.2, which has the same async restore offload.

> 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