[ 
https://issues.apache.org/jira/browse/GEODE-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15484665#comment-15484665
 ] 

Darrel Schneider commented on GEODE-1860:
-----------------------------------------

The stack of the hung thread doing the clear along with some log statements 
around it:
{noformat}
[info 2016/09/03 01:59:36.437 PDT <Idle OplogCompactor> tid=0x11b] Closing 
oplog#37 early since it is empty. It is for disk store 
testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.437 PDT <Oplog Delete Task> tid=0x12d] Deleted 
oplog#37 crf for disk store testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.437 PDT <Idle OplogCompactor> tid=0x11b] Closing 
oplog#38 early since it is empty. It is for disk store 
testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.437 PDT <Oplog Delete Task> tid=0x12d] Deleted 
oplog#37 drf for disk store testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.437 PDT <Oplog Delete Task> tid=0x12d] Deleted 
oplog#38 crf for disk store testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.437 PDT <Idle OplogCompactor> tid=0x11b] Closing 
oplog#39 early since it is empty. It is for disk store 
testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.437 PDT <Oplog Delete Task> tid=0x12d] Deleted 
oplog#38 drf for disk store testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.466 PDT <Oplog Delete Task> tid=0x12d] Deleted 
oplog#39 crf for disk store testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:36.466 PDT <Oplog Delete Task> tid=0x12d] Deleted 
oplog#39 drf for disk store testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:43.601 PDT <Test worker> tid=0xa] HUNG THREAD

[info 2016/09/03 01:59:43.603 PDT <Test worker> tid=0xa] 
Thread=<Thread[ClearThread0,5,main]> stackDump:
        sun.misc.Unsafe.park(Native Method)
        java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
        
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
        
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
        
java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:943)
        
com.gemstone.gemfire.internal.cache.DiskStoreImpl.acquireCompactorWriteLock(DiskStoreImpl.java:2238)
        
com.gemstone.gemfire.internal.cache.DiskStoreImpl.clear(DiskStoreImpl.java:2187)
        
com.gemstone.gemfire.internal.cache.DiskRegion.clear(DiskRegion.java:603)
        
com.gemstone.gemfire.internal.cache.LocalRegion.clearRegionLocally(LocalRegion.java:9775)
        
com.gemstone.gemfire.internal.cache.LocalRegion.cmnClearRegion(LocalRegion.java:9659)
        
com.gemstone.gemfire.internal.cache.LocalRegion.basicClear(LocalRegion.java:9650)
        
com.gemstone.gemfire.internal.cache.LocalRegion.basicClear(LocalRegion.java:9646)
        
com.gemstone.gemfire.internal.cache.AbstractRegion.clear(AbstractRegion.java:366)
        
com.gemstone.gemfire.internal.cache.ConcurrentRegionOperationsJUnitTest.clear(ConcurrentRegionOperationsJUnitTest.java:745)
        
com.gemstone.gemfire.internal.cache.ConcurrentRegionOperationsJUnitTest$DoesClear.run(ConcurrentRegionOperationsJUnitTest.java:865)
        java.lang.Thread.run(Thread.java:745)


[info 2016/09/03 01:59:43.845 PDT <Idle OplogCompactor> tid=0x11b] Created 
oplog#40 krf for disk store testNVPersistAndOverflowSyncConcurrency10.

[info 2016/09/03 01:59:43.845 PDT <Idle OplogCompactor> tid=0x11b] Closing 
oplog#41 early since it is empty. It is for disk store 
testNVPersistAndOverflowSyncConcurrency10.
{noformat}

> CI Failure: 
> ConcurrentRegionOperationsJUnitTest.testNVPersistAndOverflowSyncConcurrency
> ---------------------------------------------------------------------------------------
>
>                 Key: GEODE-1860
>                 URL: https://issues.apache.org/jira/browse/GEODE-1860
>             Project: Geode
>          Issue Type: Bug
>          Components: eviction, persistence
>            Reporter: Udo Kohlmeyer
>              Labels: ci
>
> Revision: bb829d3dcaa7105d517868a6fc060981e95643f3
> java.lang.AssertionError: Thread did not terminate after 10000 ms: 
> Thread[ClearThread0,5,]
>       at org.junit.Assert.fail(Assert.java:88)
>       at 
> com.gemstone.gemfire.test.dunit.ThreadUtils.join(ThreadUtils.java:154)
>       at 
> com.gemstone.gemfire.internal.cache.ConcurrentRegionOperationsJUnitTest.concurrencyTest(ConcurrentRegionOperationsJUnitTest.java:533)
>       at 
> com.gemstone.gemfire.internal.cache.ConcurrentRegionOperationsJUnitTest.testNVPersistAndOverflowSyncConcurrency(ConcurrentRegionOperationsJUnitTest.java:274)
>       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.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:497)
>       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:497)
>       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)



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

Reply via email to