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

Xiaojian Zhou commented on GEODE-9715:
--------------------------------------

Accoding to Dale, CI no longer runs each test class in its own Docker 
container. So tests can conflict with each other. If two tests try to bind to 
the same port, one will fail.

So it's a test issue. Should not be any blocker. 

> CI: AvailablePortHelperIntegrationTest 
> getRandomAvailableTCPPortRange_returnsUsablePorts failed with Address already 
> in use
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-9715
>                 URL: https://issues.apache.org/jira/browse/GEODE-9715
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Xiaojian Zhou
>            Priority: Major
>              Labels: needsTriage
>
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/integration-test-openjdk8/builds/259
> {code:java}
> AvailablePortHelperIntegrationTest > 
> getRandomAvailableTCPPortRange_returnsUsablePorts(useMembershipPortRange=true)
>  FAILED
>     java.io.UncheckedIOException: java.net.BindException: Address already in 
> use (Bind failed)
>         at 
> org.apache.geode.internal.AvailablePortHelperIntegrationTest$PortAssertion.isUsable(AvailablePortHelperIntegrationTest.java:280)
>         at 
> org.apache.geode.internal.AvailablePortHelperIntegrationTest.lambda$getRandomAvailableTCPPortRange_returnsUsablePorts$0(AvailablePortHelperIntegrationTest.java:87)
>         at 
> java.util.Spliterators$IntArraySpliterator.forEachRemaining(Spliterators.java:1032)
>         at java.util.stream.IntPipeline$Head.forEach(IntPipeline.java:581)
>         at 
> org.apache.geode.internal.AvailablePortHelperIntegrationTest.getRandomAvailableTCPPortRange_returnsUsablePorts(AvailablePortHelperIntegrationTest.java:86)
>         Caused by:
>         java.net.BindException: Address already in use (Bind failed)
>             at java.net.PlainSocketImpl.socketBind(Native Method)
>             at 
> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
>             at java.net.ServerSocket.bind(ServerSocket.java:390)
>             at java.net.ServerSocket.bind(ServerSocket.java:344)
>             at 
> org.apache.geode.internal.AvailablePortHelperIntegrationTest$PortAssertion.isUsable(AvailablePortHelperIntegrationTest.java:273)
>             ... 4 more
> {code}



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

Reply via email to