Benjamin P Ross created GEODE-9106:
--------------------------------------

             Summary: CI Failure: Client Server Session Cache fails 
infrequently with ConditionTimeoutException
                 Key: GEODE-9106
                 URL: https://issues.apache.org/jira/browse/GEODE-9106
             Project: Geode
          Issue Type: Bug
    Affects Versions: 1.14.0
            Reporter: Benjamin P Ross


org.apache.geode.modules.util.ClientServerSessionCacheDUnitTest > 
preCreatedRegionIsNotCopiedToNewlyStartedServers FAILED
    org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.modules.util.ClientServerSessionCacheDUnitTest$$Lambda$52/487544699.run
 in VM 1 running on Host a1dde695db62 with 4 VMs
        at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:448)
        at 
org.apache.geode.modules.util.ClientServerSessionCacheDUnitTest.preCreatedRegionIsNotCopiedToNewlyStartedServers(ClientServerSessionCacheDUnitTest.java:144)

        Caused by:
        org.awaitility.core.ConditionTimeoutException: Assertion condition 
defined as a lambda expression in 
org.apache.geode.modules.util.ClientServerSessionCacheDUnitTest 
        Expected size: 1 but was: 0 in:
        [] within 5 minutes.
            at 
org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
            at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
            at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
            at 
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
            at 
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:679)
            at 
org.apache.geode.modules.util.ClientServerSessionCacheDUnitTest.lambda$preCreatedRegionIsNotCopiedToNewlyStartedServers$bb17a952$1(ClientServerSessionCacheDUnitTest.java:144)

            Caused by:
            java.lang.AssertionError: 
            Expected size: 1 but was: 0 in:
            []
                at 
org.apache.geode.modules.util.ClientServerSessionCacheDUnitTest.validateBootstrapped(ClientServerSessionCacheDUnitTest.java:258)


This issue seems to be specific to the method validateBootstrapped(). In this 
method we attempt to verify that the BootstrappingFunction is being registered 
as a Listener within the Distribution Manager (which is a part of setting up 
the ClientServerSessionCache) however in some situations it seems that we are 
unable to verify this. This issue does not seem to reproduce locally.



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

Reply via email to