Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9106

CI Failure: Client Server Session Cache fails infrequently with ConditionTimeoutException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.14.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Sarm Kahel Benjamin P Ross
              Sarm Kahel Benjamin P Ross
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: