Martijn Visser created FLINK-41048:
--------------------------------------
Summary:
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
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)