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

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

Commit 1e278b98211434826b392e77e60c987d13291c5b in geode's branch 
refs/heads/feature/GEODE-3251 from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=1e278b9 ]

GEODE-3251: make JMX test rules more robust

Add "Failed to retrieve RMIServer stub" to rule await
to help ensure that JMX RMI is ready before running
the test.


> DiskStoreMXBeanSecurityJUnitTest fails with IOException: Failed to retrieve 
> RMIServer stub
> ------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3251
>                 URL: https://issues.apache.org/jira/browse/GEODE-3251
>             Project: Geode
>          Issue Type: Bug
>          Components: jmx, tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>
> I'm not sure if the JMX RMI startup is asynchronous in some way or not, but 
> at some point any of the JMX tests seem to be prone to hitting this failure: 
> "java.io.IOException: Failed to retrieve RMIServer stub"
> {noformat}
> :geode-core:integrationTest
> org.apache.geode.management.internal.security.DiskStoreMXBeanSecurityJUnitTest
>  > testNoAccess FAILED
>    java.io.IOException: Failed to retrieve RMIServer stub: 
> javax.naming.ServiceUnavailableException [Root exception is 
> java.rmi.ConnectException: Connection refused to host: 10.254.0.238; nested 
> exception is:
>        java.net.ConnectException: Connection refused (Connection refused)]
>        Caused by:
>        javax.naming.ServiceUnavailableException [Root exception is 
> java.rmi.ConnectException: Connection refused to host: 10.254.0.238; nested 
> exception is:
>            java.net.ConnectException: Connection refused (Connection refused)]
>            Caused by:
>            java.rmi.ConnectException: Connection refused to host: 
> 10.254.0.238; nested exception is:
>                java.net.ConnectException: Connection refused (Connection 
> refused)
>                Caused by:
>                java.net.ConnectException: Connection refused (Connection 
> refused)
> 3598 tests completed, 1 failed, 163 skipped
> :geode-core:integrationTest FAILED
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to