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

TcpServerBackwardCompatDUnitTest leaves a DistributedSystem connected in one of its members causing DistTXDebugDUnitTest to fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-incubating.M2
    • Component/s: locator
    • Labels:
      None

      Description

      The failing test cases are:

      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPRRR2_putall
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPR2
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXRR2
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPR
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXDestroy_invalidate
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPR_removeAll
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPR_putall
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPR_RR
      • com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPRRR2_create

      Although there are a few other ones, the main exception is this PartitionedRegionStorageException:

      com.gemstone.gemfire.test.dunit.RMIException: While invoking com.gemstone.gemfire.disttx.DistTXDebugDUnitTest$7.call in VM 3 running on Host ip-10-32-39-161.ore1.vpc.pivotal.io with 4 VMs
      	at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:439)
      	at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:381)
      	at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:346)
      	at com.gemstone.gemfire.disttx.DistTXDebugDUnitTest.testTXPR2(DistTXDebugDUnitTest.java:501)
      	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:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
      	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      	at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
      	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
      	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.gemstone.gemfire.cache.PartitionedRegionStorageException: Unable to find any members to host a bucket in the partitioned region. Advise you to start enough data store nodes.
      Partitioned Region name = /pregion1
         Redundancy level set to 1
      . Number of available data stores: 0
         . Number successfully allocated = 0
      . Data stores: []
      . Data stores successfully allocated: []
      . Equivalent members: [ip-10-32-39-161(16350)<ec><v1>:1026]
      
      	at com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.insufficientStores(PRHARedundancyProvider.java:310)
      	at com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.createBucketOnDataStore(PRHARedundancyProvider.java:483)
      	at com.gemstone.gemfire.internal.cache.PartitionedRegion.createBucket(PartitionedRegion.java:3520)
      	at com.gemstone.gemfire.internal.cache.PartitionedRegion.getOwnerForKey(PartitionedRegion.java:10490)
      	at com.gemstone.gemfire.internal.cache.DistTXStateProxyImplOnCoordinator.getOwnerForKey(DistTXStateProxyImplOnCoordinator.java:1061)
      	at com.gemstone.gemfire.internal.cache.DistTXStateProxyImplOnCoordinator.getRealDeal(DistTXStateProxyImplOnCoordinator.java:342)
      	at com.gemstone.gemfire.internal.cache.TXStateProxyImpl.putEntry(TXStateProxyImpl.java:696)
      	at com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5482)
      	at com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1757)
      	at com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1737)
      	at com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:342)
      	at com.gemstone.gemfire.disttx.DistTXDebugDUnitTest$7.call(DistTXDebugDUnitTest.java:486)
      	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:497)
      	at hydra.MethExecutor.executeObject(MethExecutor.java:268)
      	at com.gemstone.gemfire.test.dunit.standalone.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:83)
      	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
      	at sun.rmi.transport.Transport$1.run(Transport.java:200)
      	at sun.rmi.transport.Transport$1.run(Transport.java:197)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$241(TCPTransport.java:683)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$1/251752108.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      	... 3 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bschuchardt Bruce J Schuchardt
                Reporter:
                boglesby Barrett Oglesby
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: