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

Martijn Visser commented on FLINK-41048:
----------------------------------------

Two more, both in the first process, and the second one in another test method:
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80457&view=logs&j=5af3fd07-293c-5932-0967-2a3127c0f840
 (master nightly 2026-10-24, Hadoop 3.4.3 core, JDK 17)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80571&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1
 (release-2.4 push 2026-10-27, core, JDK 17)

{code}
[ERROR] 
org.apache.flink.container.entrypoint.MiniClusterJobEntryPointITCase.restartResumesJobFromLatestCheckpoint(Termination)[2]
 -- Time elapsed: 3.653 s <<< FAILURE!
java.lang.AssertionError: The first process exited with code 1 while waiting 
for three completed checkpoints.
Caused by: java.net.BindException: Could not start rest endpoint on any port in 
port range 38762

[ERROR] 
org.apache.flink.container.entrypoint.MiniClusterJobEntryPointITCase.standaloneApplicationClusterRestartAfterApplicationFinishes
 -- Time elapsed: 4.158 s <<< FAILURE!
java.lang.AssertionError: The first MiniCluster process exited with code 1 
while waiting for job a87da8f7166654e7468a9db0674d189c to reach FINISHED (last 
seen: none).
Caused by: java.net.BindException: Could not start rest endpoint on any port in 
port range 33094
{code}

> 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: pull-request-available, 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
(v10.3.26#10030026)

Reply via email to