You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bill Burcham (Jira)" <ji...@apache.org> on 2022/03/29 00:47:00 UTC

[jira] [Comment Edited] (GEODE-10188) AvailablePortHelperIntegrationTest > initializeUniquePortRange_returnSamePortsForSameRange gets different ports on subsequent tries

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

Bill Burcham edited comment on GEODE-10188 at 3/29/22, 12:46 AM:
-----------------------------------------------------------------

A theory about what happened from Dale Emery:
 # The 10 Keepers created by a previous test (returnsUniqueKeepers) held onto their ports for a little longer than usual.
 # The failing test called getRandomAvailableTCPPorts, which skipped those 10 ports because they were still in use, and instead picked up the next ten ports in the initialized range.
 # Then the Keepers released their ports.
 # Then the failing test called getRandomAvailableTCPPorts again, and picked up the first ports in the initialized range.


was (Author: bburcham):
A theory about what happened @dale:
 # The 10 Keepers created by a previous test (returnsUniqueKeepers) held onto their ports for a little longer than usual.
 # The failing test called getRandomAvailableTCPPorts, which skipped those 10 ports because they were still in use, and instead picked up the next ten ports in the initialized range.
 # Then the Keepers released their ports.
 # Then the failing test called getRandomAvailableTCPPorts again, and picked up the first ports in the initialized range.

> AvailablePortHelperIntegrationTest > initializeUniquePortRange_returnSamePortsForSameRange gets different ports on subsequent tries
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-10188
>                 URL: https://issues.apache.org/jira/browse/GEODE-10188
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 1.13.9
>            Reporter: Bill Burcham
>            Priority: Major
>              Labels: needsTriage
>
> Failed here: [https://hydradb.hdb.gemfire-ci.info/hdb/testresult/14294054]
>  
> {noformat}
> > Task :geode-core:integrationTest
> org.apache.geode.internal.AvailablePortHelperIntegrationTest > initializeUniquePortRange_returnSamePortsForSameRange(useMembershipPortRange=true) FAILED
>     org.junit.ComparisonFailure: expected:<[460[10, 46011, 4601]2]> but was:<[460[00, 46001, 4600]2]>
>         at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at org.apache.geode.internal.AvailablePortHelperIntegrationTest.initializeUniquePortRange_returnSamePortsForSameRange(AvailablePortHelperIntegrationTest.java:322)
> 4023 tests completed, 1 failed, 82 skipped
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=  Test Results URI =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> http://files.apachegeode-ci.info/builds/apache-support-1-13-main/1.13.9-build.0668/test-results/integrationTest/1648509410/
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Test report artifacts from this job are available at:
> http://files.apachegeode-ci.info/builds/apache-support-1-13-main/1.13.9-build.0668/test-artifacts/1648509410/integrationtestfiles-openjdk11-1.13.9-build.0668.tgz
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)