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

Ivan Godwin commented on GEODE-2458:
------------------------------------

More failures from the mass test run:
{code:java}
org.apache.geode.management.RegionManagementDUnitTest > testFixedPRRegionMBean 
FAILED
    org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.management.RegionManagementDUnitTest$$Lambda$68/164905474.run 
in VM 0 running on Host 57fec67091fd with 4 VMs
        at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:437)
        at 
org.apache.geode.management.RegionManagementDUnitTest.testFixedPRRegionMBean(RegionManagementDUnitTest.java:244)

        Caused by:
        org.awaitility.core.ConditionTimeoutException: Assertion condition 
defined as a lambda expression in 
org.apache.geode.management.RegionManagementDUnitTest that uses int 
        Expected size:<6> but was:<4> in:
        
<[javax.management.Notification[source=172.17.0.9(245)<v51>-41001][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion],
            
javax.management.Notification[source=172.17.0.9(267)<v53>-41003][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion],
            
javax.management.Notification[source=172.17.0.9(245)<v51>-41001][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion],
            
javax.management.Notification[source=172.17.0.9(267)<v53>-41003][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion]]> within 
300 seconds.
            at 
org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:145)
            at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:122)
            at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:32)
            at 
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:902)
            at 
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:723)
            at 
org.apache.geode.management.RegionManagementDUnitTest.verifyMemberNotifications(RegionManagementDUnitTest.java:652)
            at 
org.apache.geode.management.RegionManagementDUnitTest.lambda$testFixedPRRegionMBean$bb17a952$4(RegionManagementDUnitTest.java:244)

            Caused by:
            java.lang.AssertionError: 
            Expected size:<6> but was:<4> in:
            
<[javax.management.Notification[source=172.17.0.9(245)<v51>-41001][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion],
                
javax.management.Notification[source=172.17.0.9(267)<v53>-41003][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion],
                
javax.management.Notification[source=172.17.0.9(245)<v51>-41001][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion],
                
javax.management.Notification[source=172.17.0.9(267)<v53>-41003][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testFixedPRRegionMBean_partitionedRegion]]>
                at 
org.apache.geode.management.RegionManagementDUnitTest.lambda$verifyMemberNotifications$8(RegionManagementDUnitTest.java:652)

{code}
https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-mass-test-run-main/jobs/DistributedTestOpenJDK8/builds/1701
 
https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-mass-test-run-main/jobs/DistributedTestOpenJDK8/builds/1546

> RegionManagementDUnitTest fails with AssertionError in 
> verifyMemberNotifications
> --------------------------------------------------------------------------------
>
>                 Key: GEODE-2458
>                 URL: https://issues.apache.org/jira/browse/GEODE-2458
>             Project: Geode
>          Issue Type: Bug
>          Components: management, tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: flaky
>             Fix For: 1.2.0
>
>
> This appears to be a race condition. The assertion finds 5 members when 6 is 
> expected and then lists the members as part of the assertion message which 
> then shows 6 members.
> {noformat}
> org.apache.geode.management.RegionManagementDUnitTest > 
> testFixedPRRegionMBean FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.test.dunit.NamedRunnable.run in VM 0 running on Host 
> 242824700ff7 with 4 VMs
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:377)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:347)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:280)
>         at 
> org.apache.geode.management.RegionManagementDUnitTest.verifyMemberNotifications(RegionManagementDUnitTest.java:580)
>         at 
> org.apache.geode.management.RegionManagementDUnitTest.testFixedPRRegionMBean(RegionManagementDUnitTest.java:227)
>         Caused by:
>         java.lang.AssertionError: 
>         Expected size:<6> but was:<5> in:
>         
> <[javax.management.Notification[source=172.17.0.4(161)<v37>-32770][type=gemfire.distributedsystem.cache.region.created][message=Region
>  Created With Name /MANAGEMENT_FIXED_PR],
>             
> javax.management.Notification[source=172.17.0.4(166)<v38>-32771][type=gemfire.distributedsystem.cache.region.created][message=Region
>  Created With Name /MANAGEMENT_FIXED_PR],
>             
> javax.management.Notification[source=172.17.0.4(171)<v39>-32772][type=gemfire.distributedsystem.cache.region.created][message=Region
>  Created With Name /MANAGEMENT_FIXED_PR],
>             
> javax.management.Notification[source=172.17.0.4(161)<v37>-32770][type=gemfire.distributedsystem.cache.region.closed][message=Region
>  Destroyed/Closed With Name /MANAGEMENT_FIXED_PR],
>             
> javax.management.Notification[source=172.17.0.4(166)<v38>-32771][type=gemfire.distributedsystem.cache.region.closed][message=Region
>  Destroyed/Closed With Name /MANAGEMENT_FIXED_PR],
>             
> javax.management.Notification[source=172.17.0.4(171)<v39>-32772][type=gemfire.distributedsystem.cache.region.closed][message=Region
>  Destroyed/Closed With Name /MANAGEMENT_FIXED_PR]]>
>             at 
> org.apache.geode.management.RegionManagementDUnitTest.lambda$verifyMemberNotifications$3d0515b3$1(RegionManagementDUnitTest.java:582)
> {noformat}
> Each of these tests call verifyMemberNotifications and may fail with this 
> timing failure:
> * testDistributedRegion
> * testFixedPRRegionMBean
> * testPartitionedRegion



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

Reply via email to