[
https://issues.apache.org/jira/browse/FLINK-38534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123271#comment-18123271
]
Martijn Visser commented on FLINK-38534:
----------------------------------------
One more on release-2.2, nightly 2026-10-03 (test_cron_azure core, JDK 17),
this time in waitForCheckpointInProgress:
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79741&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
{code}
[ERROR]
org.apache.flink.runtime.scheduler.adaptive.LocalRecoveryTest.testStateSizeIsConsideredForLocalRecoveryOnRestart
-- Time elapsed: 64.58 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:110)
{code}
The fork log has the same deployment collision:
{code}
06:57:13,464 [ComponentMainThread-pool-746-thread-1] INFO
org.apache.flink.runtime.executiongraph.ExecutionGraph [] - v1 (1/4)
(904ee008d45878393e9e914bb8099a6f_9369bbfb9a66d4de28cab3354c40b8c2_0_0)
switched from RUNNING to FAILED on 8eb064afeb03f6e8440209d93189a0fa @ localhost
(dataPort=42).
java.lang.IllegalStateException: Cannot deploy v1 (1/4) (attempt #0) with
attempt id
904ee008d45878393e9e914bb8099a6f_9369bbfb9a66d4de28cab3354c40b8c2_0_0 and
vertex id 9369bbfb9a66d4de28cab3354c40b8c2_0 to
8eb064afeb03f6e8440209d93189a0fa @ localhost (dataPort=42) with allocation id
a1bdff3de648bfd9ed1adcffd09083fd because execution state has switched to
RUNNING during task restore offload
{code}
Two of the 23 release-2.2 runs in the last seven days, none of the 30 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
> 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)