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

Dale Emery commented on GEODE-6751:
-----------------------------------

I think this test is trying to start the second locator (the one with the 
current Geode version) with JMX enabled on the default port. Tests designed to 
run in parallel cannot use default ports, because other concurrently running 
tests might already be bound to those ports.

If that's correct, the fix is to either:
 # Use `AvailablePortHelper` to assign ports for every service used by every 
member, instead of using defaults.
 # Disable JXM if the test doesn't need it.

> CI failure: AcceptanceTestOpenJDK8 
> ConnectCommandAcceptanceTest.useCurrentGfshToConnectToOlderLocator failure
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6751
>                 URL: https://issues.apache.org/jira/browse/GEODE-6751
>             Project: Geode
>          Issue Type: Bug
>          Components: management
>    Affects Versions: 1.15.0
>            Reporter: Scott Jewell
>            Priority: Major
>
> Assertion failure in 
> ConnectCommandAcceptanceTest.useCurrentGfshToConnectToOlderLocator
> Appears to be a new bug
> org.apache.geode.management.internal.cli.commands.ConnectCommandAcceptanceTest
>  > useCurrentGfshToConnectToOlderLocator FAILED
>     java.lang.AssertionError: 
>     Expecting:
>      <"
>     (1) Executing - connect
>     Connecting to Locator at [host=localhost, port=10334] ..
>     Exception caused JMX Manager startup to fail because: 'HTTP service 
> failed to start'
>     ">
>     to contain:
>      <"Cannot use a"> 
>         at 
> org.apache.geode.management.internal.cli.commands.ConnectCommandAcceptanceTest.useCurrentGfshToConnectToOlderLocator(ConnectCommandAcceptanceTest.java:50)
> 60 tests completed, 1 failed
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=  Test Results URI 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> [*http://files.apachegeode-ci.info/builds/apache-develop-main/1.10.0-SNAPSHOT.0258/test-results/acceptanceTest/1557290414/*]
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Test report artifacts from this job are available at:
> [*http://files.apachegeode-ci.info/builds/apache-develop-main/1.10.0-SNAPSHOT.0258/test-artifacts/1557290414/acceptancetestfiles-OpenJDK8-1.10.0-SNAPSHOT.0258.tgz*]
>  
>  



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

Reply via email to