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

ASF subversion and git services commented on GEODE-7328:
--------------------------------------------------------

Commit f506638b4cb06e3d5b48311eb4fe810aef48e3fa in geode's branch 
refs/heads/feature/GEODE-7258 from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=f506638 ]

GEODE-7328: Prevent BindExceptions in ServerLauncherTest

Use disable-default-server to prevent binding to default port in unit
test.


> CI Failure: org.apache.geode.distributed.ServerLauncherTest(s)failed
> --------------------------------------------------------------------
>
>                 Key: GEODE-7328
>                 URL: https://issues.apache.org/jira/browse/GEODE-7328
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Ernest Burghardt
>            Assignee: Kirk Lund
>            Priority: Major
>             Fix For: 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
>  
> {code:java}
> org.apache.geode.distributed.ServerLauncherTest > 
> startRunsExceptionActionAfterStartupTasksError FAILED 
> java.lang.RuntimeException: An IO error occurred while starting a Server in 
> /home/geode/geode/geode-core/build/test on 
> heavy-lifter-fac2da6c-bacb-5e92-9cf1-b8cdb36d3b27.c.apachegeode-ci.internal[40404]:
>  Network is unreachable; port (40404) is not available on localhost. at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:854) at 
> org.apache.geode.distributed.ServerLauncherTest.startRunsExceptionActionAfterStartupTasksError(ServerLauncherTest.java:368)
>  Caused by: java.net.BindException: Network is unreachable; port (40404) is 
> not available on localhost. at 
> org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:142)
>  at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:796) 
> ... 1 more org.apache.geode.distributed.ServerLauncherTest > 
> startRunsCompletionActionAfterStartupTasksComplete FAILED 
> java.lang.RuntimeException: An IO error occurred while starting a Server in 
> /home/geode/geode/geode-core/build/test on 
> heavy-lifter-fac2da6c-bacb-5e92-9cf1-b8cdb36d3b27.c.apachegeode-ci.internal[40404]:
>  Network is unreachable; port (40404) is not available on localhost. at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:854) at 
> org.apache.geode.distributed.ServerLauncherTest.startRunsCompletionActionAfterStartupTasksComplete(ServerLauncherTest.java:346)
>  Caused by: java.net.BindException: Network is unreachable; port (40404) is 
> not available on localhost. at 
> org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:142)
>  at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:796) 
> ... 1 more org.apache.geode.distributed.ServerLauncherTest > 
> startUsesControllableProcessFromBuilder FAILED java.lang.RuntimeException: An 
> IO error occurred while starting a Server in 
> /home/geode/geode/geode-core/build/test on 
> heavy-lifter-fac2da6c-bacb-5e92-9cf1-b8cdb36d3b27.c.apachegeode-ci.internal[40404]:
>  Network is unreachable; port (40404) is not available on localhost. at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:854) at 
> org.apache.geode.distributed.ServerLauncherTest.startUsesControllableProcessFromBuilder(ServerLauncherTest.java:402)
>  Caused by: java.net.BindException: Network is unreachable; port (40404) is 
> not available on localhost. at 
> org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:142)
>  at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:796) 
> ... 1 more org.apache.geode.distributed.ServerLauncherTest > 
> startUsesCacheProviderFromBuilder FAILED java.lang.RuntimeException: An IO 
> error occurred while starting a Server in 
> /home/geode/geode/geode-core/build/test on 
> heavy-lifter-fac2da6c-bacb-5e92-9cf1-b8cdb36d3b27.c.apachegeode-ci.internal[40404]:
>  Network is unreachable; port (40404) is not available on localhost. at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:854) at 
> org.apache.geode.distributed.ServerLauncherTest.startUsesCacheProviderFromBuilder(ServerLauncherTest.java:385)
>  Caused by: java.net.BindException: Network is unreachable; port (40404) is 
> not available on localhost. at 
> org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:142)
>  at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:796) 
> ... 1 more org.apache.geode.distributed.ServerLauncherTest > 
> startCacheServerDoesNothingWhenCacheServerAlreadyExists FAILED 
> java.lang.RuntimeException: An IO error occurred while starting a Server in 
> /home/geode/geode/geode-core/build/test on 
> heavy-lifter-fac2da6c-bacb-5e92-9cf1-b8cdb36d3b27.c.apachegeode-ci.internal[40404]:
>  Network is unreachable; port (40404) is not available on localhost. at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:854) at 
> org.apache.geode.distributed.ServerLauncherTest.startCacheServerDoesNothingWhenCacheServerAlreadyExists(ServerLauncherTest.java:324)
>  Caused by: java.net.BindException: Network is unreachable; port (40404) is 
> not available on localhost. at 
> org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:142)
>  at 
> org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:796) 
> ... 1 more{code}
>  
> UnitTestOpenJDK11 #1196: 
> [https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/UnitTestOpenJDK11/builds/1196]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to