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

RollingUpgradeDUnitTest fails intermittently with ClusterConfigurationNotAvailableException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: configuration, locator
    • Labels:

      Description

      This test might be hitting GEODE-2238. If we change the test to await cluster config readiness it should fix this.

      org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest > testRollServersOnPartitionedRegion_dataserializable[1] FAILED
          org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest$3.run in VM 0 running on Host e41dd4960b22 with 4 VMs with version 110
              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:292)
              at org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.invokeRunnableInVMs(RollingUpgradeDUnitTest.java:333)
              at org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.doTestRollAll(RollingUpgradeDUnitTest.java:177)
              at org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.testRollServersOnPartitionedRegion_dataserializable(RollingUpgradeDUnitTest.java:129)
      
              Caused by:
              java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      
                  Caused by:
                  java.lang.reflect.InvocationTargetException
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:498)
                      at org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.createCache(RollingUpgradeDUnitTest.java:722)
      
                      Caused by:
                      org.apache.geode.GemFireConfigException: cluster configuration service not available
                          at org.apache.geode.internal.cache.GemFireCacheImpl.requestSharedConfiguration(GemFireCacheImpl.java:1067)
                          at org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1200)
                          at org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:798)
                          at org.apache.geode.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:783)
                          at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:178)
                          at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:218)
                          ... 5 more
      
                          Caused by:
                          org.apache.geode.internal.process.ClusterConfigurationNotAvailableException: Unable to retrieve cluster configuration from the locator.
                              at org.apache.geode.internal.cache.ClusterConfigurationLoader.requestConfigurationFromLocators(ClusterConfigurationLoader.java:245)
                              at org.apache.geode.internal.cache.GemFireCacheImpl.requestSharedConfiguration(GemFireCacheImpl.java:1029)
                              ... 10 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prhomberg Patrick Rhomberg
                Reporter:
                klund Kirk Lund
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: