Kirk Lund created GEODE-2546:
--------------------------------

             Summary: RollingUpgradeDUnitTest fails intermittently with 
ClusterConfigurationNotAvailableException
                 Key: GEODE-2546
                 URL: https://issues.apache.org/jira/browse/GEODE-2546
             Project: Geode
          Issue Type: Bug
          Components: configuration, tests
            Reporter: Kirk Lund


This test might be hitting GEODE-2238. If we change the test to await cluster 
config readiness it should fix this.
{noformat}
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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to