You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Geode Integration (Jira)" <ji...@apache.org> on 2022/05/30 19:25:00 UTC
[jira] [Commented] (GEODE-10345) Unable to bind port in DUnit test with LocatorLauncher
[ https://issues.apache.org/jira/browse/GEODE-10345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544037#comment-17544037 ]
Geode Integration commented on GEODE-10345:
-------------------------------------------
Seen in [distributed-test-openjdk8 #2585|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-mass-test-run/jobs/distributed-test-openjdk8/builds/2585] ... see [test results|http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.16.0-build.0261/test-results/distributedTest/1653765462/] or download [artifacts|http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.16.0-build.0261/test-artifacts/1653765462/distributedtestfiles-openjdk8-1.16.0-build.0261.tgz].
> Unable to bind port in DUnit test with LocatorLauncher
> ------------------------------------------------------
>
> Key: GEODE-10345
> URL: https://issues.apache.org/jira/browse/GEODE-10345
> Project: Geode
> Issue Type: Test
> Components: locator, tests
> Affects Versions: 1.16.0
> Reporter: Joris Melchior
> Priority: Major
>
> > Task :geode-assembly:distributedTest
> StartLocatorCommandDUnitTest > startLocatorRespectsHostnameForClients FAILED
> org.opentest4j.AssertionFailedError: [The Locator process terminated unexpectedly with exit status 1. Please refer to the log file in /tmp/junit4420570198856523478/junit1807706233748416943 for full details.
> Exception in thread "main" java.lang.RuntimeException: An IO error occurred while starting a Locator in /tmp/junit4420570198856523478/junit1807706233748416943 on heavy-lifter-2a24cff8-0d64-55e0-9585-2d6391f92533.c.apachegeode-ci.internal[10339]: Network is unreachable; port (10339) is not available on localhost.
> at org.apache.geode.distributed.LocatorLauncher.start(LocatorLauncher.java:801)
> at org.apache.geode.distributed.LocatorLauncher.run(LocatorLauncher.java:685)
> at org.apache.geode.distributed.LocatorLauncher.main(LocatorLauncher.java:222)
> Caused by: java.net.BindException: Network is unreachable; port (10339) is not available on localhost.
> at org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:142)
> at org.apache.geode.distributed.LocatorLauncher.start(LocatorLauncher.java:773)
> ... 2 more
> ]
> expected: OK
> but was: ERROR
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at org.apache.geode.test.junit.assertions.CommandResultAssert.statusIsSuccess(CommandResultAssert.java:108)
> at org.apache.geode.management.internal.cli.commands.StartLocatorCommandDUnitTest.startLocatorRespectsHostnameForClients(StartLocatorCommandDUnitTest.java:256)
> 372 tests completed, 1 failed
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-= Test Results URI =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.16.0-build.0261/test-results/distributedTest/1653765462/
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Test report artifacts from this job are available at:
> http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.16.0-build.0261/test-artifacts/1653765462/distributedtestfiles-openjdk8-1.16.0-build.0261.tgz
--
This message was sent by Atlassian Jira
(v8.20.7#820007)