You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dale Lane (Jira)" <ji...@apache.org> on 2026/10/20 23:10:00 UTC
[jira] [Commented] (FLINK-41048) MiniClusterJobEntryPointITCase.restartResumesJobFromLatestCheckpoint fails to bind the REST port on restart
[ https://issues.apache.org/jira/browse/FLINK-41048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18129371#comment-18129371 ]
Dale Lane commented on FLINK-41048:
-----------------------------------
proposed fix at https://github.com/apache/flink/pull/29537 - changing how port numbers are given to the MiniCluster instances in the test
> MiniClusterJobEntryPointITCase.restartResumesJobFromLatestCheckpoint fails to bind the REST port on restart
> -----------------------------------------------------------------------------------------------------------
>
> Key: FLINK-41048
> URL: https://issues.apache.org/jira/browse/FLINK-41048
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Scripts
> Affects Versions: 2.4.0
> Reporter: Martijn Visser
> Assignee: Dale Lane
> Priority: Major
> Labels: test-stability
>
> The restartResumesJobFromLatestCheckpoint test added in 047597e0cce failed on master three days after the merge, push run 2026-10-18 (test_ci core, JDK 17):
> https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80254&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1
> {code}
> [ERROR] org.apache.flink.container.entrypoint.MiniClusterJobEntryPointITCase.restartResumesJobFromLatestCheckpoint(Termination)[2] -- Time elapsed: 9.927 s <<< FAILURE!
> java.lang.AssertionError: The second process exited with code 1 while waiting for a restored checkpoint.
> at org.apache.flink.container.entrypoint.MiniClusterJobEntryPointITCase.awaitRest(MiniClusterJobEntryPointITCase.java:1166)
> at org.apache.flink.container.entrypoint.MiniClusterJobEntryPointITCase.restartResumesJobFromLatestCheckpoint(MiniClusterJobEntryPointITCase.java:344)
> {code}
> This is the SIGKILL case. The second process could not bind the REST port the first one had used:
> {code}
> 10:47:07,571 ERROR MiniClusterJobEntryPoint - Could not run the application on a MiniCluster.
> org.apache.flink.util.FlinkException: Could not create the DispatcherResourceManagerComponent.
> Caused by: java.net.BindException: Could not start rest endpoint on any port in port range 41586
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)