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

Darrel Schneider commented on GEODE-2458:
-----------------------------------------

I just saw this again in a pull request build: 
[https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258]

 
org.apache.geode.management.RegionManagementDUnitTest > testPartitionedRegion 
FAILED
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:822]
 org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.management.RegionManagementDUnitTest$$Lambda$182/0x000000084028bc40.run
 in VM 0 running on Host c8861395f7cb with 4 VMs
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:823]
 at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:579)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:824]
 at org.apache.geode.test.dunit.VM.invoke(VM.java:406)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:825]
 at 
org.apache.geode.management.RegionManagementDUnitTest.testPartitionedRegion(RegionManagementDUnitTest.java:215)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:826]
 
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:827]
 Caused by:
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:828]
 org.awaitility.core.ConditionTimeoutException: Assertion condition defined as 
a lambda expression in org.apache.geode.management.RegionManagementDUnitTest 
that uses int 
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:829]
 Expected size:<6> but was:<5> in:
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:830]
 
<[javax.management.Notification[source=172.17.0.2(148)<v17>-41001][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:831]
 
javax.management.Notification[source=172.17.0.2(153)<v18>-41002][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:832]
 
javax.management.Notification[source=172.17.0.2(161)<v19>-41003][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:833]
 
javax.management.Notification[source=172.17.0.2(153)<v18>-41002][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:834]
 
javax.management.Notification[source=172.17.0.2(161)<v19>-41003][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion]]> within 
300 seconds.
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:835]
 at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:145)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:836]
 at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:122)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:837]
 at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:32)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:838]
 at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:902)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:839]
 at 
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:723)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:840]
 at 
org.apache.geode.management.RegionManagementDUnitTest.verifyMemberNotifications(RegionManagementDUnitTest.java:652)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:841]
 at 
org.apache.geode.management.RegionManagementDUnitTest.lambda$testPartitionedRegion$bb17a952$5(RegionManagementDUnitTest.java:215)
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:842]
 
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:843]
 Caused by:
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:844]
 java.lang.AssertionError: 
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:845]
 Expected size:<6> but was:<5> in:
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:846]
 
<[javax.management.Notification[source=172.17.0.2(148)<v17>-41001][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:847]
 
javax.management.Notification[source=172.17.0.2(153)<v18>-41002][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:848]
 
javax.management.Notification[source=172.17.0.2(161)<v19>-41003][type=gemfire.distributedsystem.cache.region.created][message=Region
 Created With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:849]
 
javax.management.Notification[source=172.17.0.2(153)<v18>-41002][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion],
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:850]
 
javax.management.Notification[source=172.17.0.2(161)<v19>-41003][type=gemfire.distributedsystem.cache.region.closed][message=Region
 Destroyed/Closed With Name 
/RegionManagementDUnitTest_testPartitionedRegion_partitionedRegion]]>
[ 
|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK11/builds/1258#L5c6f8c16:851]
 at 
org.apache.geode.management.RegionManagementDUnitTest.lambda$verifyMemberNotifications$8(RegionManagementDUnitTest.java:652)
 
 

> 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
(v7.6.3#76005)

Reply via email to