geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nabarun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-2063) testConcurrentMultiIndexCreationAndQuery CacheClosedException
Date Mon, 07 Nov 2016 21:30:58 GMT

     [ https://issues.apache.org/jira/browse/GEODE-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

nabarun updated GEODE-2063:
---------------------------
    Issue Type: Bug  (was: Task)

> testConcurrentMultiIndexCreationAndQuery CacheClosedException 
> --------------------------------------------------------------
>
>                 Key: GEODE-2063
>                 URL: https://issues.apache.org/jira/browse/GEODE-2063
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: nabarun
>            Assignee: nabarun
>
> Here the timeout to wait for the asynchronous operation is 6 seconds, which is very less.
When it times out, the test start shutting down all components and this leads to cascading
exceptions in different threads.
> {noformat}
> java.lang.AssertionError: Thread did not terminate after 6000 ms: Thread[call invoked
on an instance of org.apache.geode.cache.query.internal.index.MultiIndexCreationDUnitTest$1,5,Async
Invocations]
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.geode.test.dunit.ThreadUtils.join(ThreadUtils.java:147)
> 	at org.apache.geode.test.dunit.ThreadUtils.join(ThreadUtils.java:110)
> 	at org.apache.geode.cache.query.internal.index.MultiIndexCreationDUnitTest.testConcurrentMultiIndexCreationAndQuery(MultiIndexCreationDUnitTest.java:134)
> 	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.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:114)
> 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
> 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
> 	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
> 	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.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
> 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
> 	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
> 	at org.gradle.internal.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:109)
> 	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.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
> 	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
> 	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377)
> 	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)
> {noformat}
> {noformat}
> [vm_1][info 2016/11/02 05:49:17.923 UTC <RMI TCP Connection(1)-67.195.81.146> tid=0x1b]
Got result: EXCEPTION_OCCURRED
> [vm_1]org.apache.geode.cache.CacheClosedException: The cache is closed.
> [vm_1]	at org.apache.geode.internal.cache.GemFireCacheImpl$Stopper.generateCancelledException(GemFireCacheImpl.java:1576)
> [vm_1]	at org.apache.geode.internal.cache.LocalRegion$Stopper.generateCancelledException(LocalRegion.java:496)
> [vm_1]	at org.apache.geode.CancelCriterion.checkCancelInProgress(CancelCriterion.java:87)
> [vm_1]	at org.apache.geode.internal.cache.CacheDistributionAdvisor.adviseAllEventsOrCached(CacheDistributionAdvisor.java:144)
> [vm_1]	at org.apache.geode.internal.cache.CacheDistributionAdvisor.adviseUpdate(CacheDistributionAdvisor.java:164)
> [vm_1]	at org.apache.geode.internal.cache.AbstractUpdateOperation.getRecipients(AbstractUpdateOperation.java:86)
> [vm_1]	at org.apache.geode.internal.cache.DistributedCacheOperation.distribute(DistributedCacheOperation.java:275)
> [vm_1]	at org.apache.geode.internal.cache.AbstractUpdateOperation.distribute(AbstractUpdateOperation.java:70)
> [vm_1]	at org.apache.geode.internal.cache.DistributedRegion.distributeUpdate(DistributedRegion.java:464)
> [vm_1]	at org.apache.geode.internal.cache.DistributedRegion.basicPutPart3(DistributedRegion.java:443)
> [vm_1]	at org.apache.geode.internal.cache.AbstractRegionMap.basicPut(AbstractRegionMap.java:2838)
> [vm_1]	at org.apache.geode.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5738)
> [vm_1]	at org.apache.geode.internal.cache.DistributedRegion.virtualPut(DistributedRegion.java:337)
> [vm_1]	at org.apache.geode.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:151)
> [vm_1]	at org.apache.geode.internal.cache.LocalRegion.basicPut(LocalRegion.java:5180)
> [vm_1]	at org.apache.geode.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1609)
> [vm_1]	at org.apache.geode.internal.cache.LocalRegion.put(LocalRegion.java:1596)
> [vm_1]	at org.apache.geode.internal.cache.AbstractRegion.put(AbstractRegion.java:277)
> [vm_1]	at org.apache.geode.cache.query.internal.index.MultiIndexCreationDUnitTest$1.call(MultiIndexCreationDUnitTest.java:75)
> [vm_1]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [vm_1]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [vm_1]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [vm_1]	at java.lang.reflect.Method.invoke(Method.java:498)
> [vm_1]	at hydra.MethExecutor.executeObject(MethExecutor.java:245)
> [vm_1]	at org.apache.geode.test.dunit.standalone.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:73)
> [vm_1]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [vm_1]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [vm_1]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [vm_1]	at java.lang.reflect.Method.invoke(Method.java:498)
> [vm_1]	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
> [vm_1]	at sun.rmi.transport.Transport$1.run(Transport.java:200)
> [vm_1]	at sun.rmi.transport.Transport$1.run(Transport.java:197)
> [vm_1]	at java.security.AccessController.doPrivileged(Native Method)
> [vm_1]	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
> [vm_1]	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
> [vm_1]	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
> [vm_1]	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
> [vm_1]	at java.security.AccessController.doPrivileged(Native Method)
> [vm_1]	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
> [vm_1]	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [vm_1]	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [vm_1]	at java.lang.Thread.run(Thread.java:745)
> [vm_1] from org.apache.geode.cache.query.internal.index.MultiIndexCreationDUnitTest$1.call
with 0 args on object: "Create Server1" (took 6625 ms)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message