You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/02/01 23:45:00 UTC

[jira] [Commented] (GEODE-6349) CI failure: RebalanceCommandDUnitTest.testWithBadRegionNames causes ArrayIndexOutOfBoundsException

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

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

Commit 98c0710b84e997bf49ded1077826413259d6aff2 in geode's branch refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=98c0710 ]

GEODE-6349: Fix potential race in DistributedRegionBridge.listAllRegions (#3147)



> CI failure: RebalanceCommandDUnitTest.testWithBadRegionNames causes ArrayIndexOutOfBoundsException
> --------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6349
>                 URL: https://issues.apache.org/jira/browse/GEODE-6349
>             Project: Geode
>          Issue Type: Test
>          Components: jmx
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This test failed with the following exception:
>  
>  
> {code:java}
> org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest > testWithBadRegionNames FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest$$Lambda$227/0x0000000840407440.run in VM 0 running on Host 2ec924e7a6ef with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:533)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:365)
>         at org.apache.geode.test.junit.rules.VMProvider.invoke(VMProvider.java:85)
>         at org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest.before(RebalanceCommandDUnitTest.java:106)
>         Caused by:
>         java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
>             at org.apache.geode.management.internal.beans.DistributedSystemBridge.listAllRegions(DistributedSystemBridge.java:831)
>             at org.apache.geode.management.internal.beans.DistributedSystemMBean.listRegions(DistributedSystemMBean.java:237)
>             at org.apache.geode.management.internal.cli.commands.RebalanceCommandDUnitTest.lambda$waitForManagerMBean$0(RebalanceCommandDUnitTest.java:331){code}
>  
> Looking at the code, it seems there is a small race in this failing method.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)