geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-392) CI failure: DistTXPersistentDebugDUnitTest.testBasicDistributedTX
Date Wed, 21 Oct 2015 16:04:28 GMT

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

ASF subversion and git services commented on GEODE-392:
-------------------------------------------------------

Commit 25bce9646cc6f6d44212d0067d2d44bde0ad2268 in incubator-geode's branch refs/heads/feature/GEODE-409
from [~upthewaterspout]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=25bce96 ]

GEODE-392: Removing catch Throwable from CacheTestCase.closeCache

I'm fairly certain that GEODE-392 was caused by cache.close throwing an
exception in this method. Later on, we delete the disk store files, and
then end up calling cache.close again in DistributedTestCase. The
failure we are seeing is because the disk store files are deleted but
the cache is still open.

Unfortunately, this catch throwable was swallowing all errors, so we
were not seeing failures that happened when closing the cache.


> CI failure: DistTXPersistentDebugDUnitTest.testBasicDistributedTX
> -----------------------------------------------------------------
>
>                 Key: GEODE-392
>                 URL: https://issues.apache.org/jira/browse/GEODE-392
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Bruce Schuchardt
>            Assignee: Dan Smith
>              Labels: CI
>
>  com.gemstone.gemfire.disttx.DistTXPersistentDebugDUnitTest.testBasicDistributedTX (Failed
2 times in the last 22 runs. Stability: 90 %)
>  Error Details
> dunit.RMIException: While invoking dunit.DistributedTestCase.cleanupThisVM in VM 0 running
on Host cc6-co6.gemstone.com with 4 VMs
>  Stack Trace
> dunit.RMIException: While invoking dunit.DistributedTestCase.cleanupThisVM in VM 0 running
on Host cc6-co6.gemstone.com with 4 VMs
> 	at dunit.VM.invoke(VM.java:161)
> 	at dunit.VM.invoke(VM.java:86)
> 	at dunit.DistributedTestCase.invokeInEveryVM(DistributedTestCase.java:213)
> 	at dunit.DistributedTestCase.cleanupAllVms(DistributedTestCase.java:777)
> 	at dunit.DistributedTestCase.realTearDown(DistributedTestCase.java:759)
> 	at dunit.DistributedTestCase.tearDown(DistributedTestCase.java:737)
> 	at junit.framework.TestCase.runBare(TestCase.java:146)
> 	at junit.framework.TestResult$1.protect(TestResult.java:122)
> 	at junit.framework.TestResult.runProtected(TestResult.java:142)
> 	at junit.framework.TestResult.run(TestResult.java:125)
> 	at junit.framework.TestCase.run(TestCase.java:129)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
> 	at junit.framework.TestSuite.run(TestSuite.java:247)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
> 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
> 	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
> 	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.GeneratedMethodAccessor132.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.GeneratedMethodAccessor131.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.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
> 	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: java.lang.IllegalStateException: could not create krf /cc6-co6a/users/build/jenkins/blds/workspace/GemFire_develop_open_CC/gemfire-core/build/distributedTest/dunit/vm0/diskDir/disk0/BACKUPdisk_1.krf
> 	at com.gemstone.gemfire.internal.cache.Oplog.createKrf(Oplog.java:4233)
> 	at com.gemstone.gemfire.internal.cache.Oplog.finishKrf(Oplog.java:7828)
> 	at com.gemstone.gemfire.internal.cache.Oplog.prepareForClose(Oplog.java:7833)
> 	at com.gemstone.gemfire.internal.cache.PersistentOplogSet.prepareForClose(PersistentOplogSet.java:1009)
> 	at com.gemstone.gemfire.internal.cache.DiskStoreImpl.prepareForClose(DiskStoreImpl.java:2471)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.prepareDiskStoresForClose(GemFireCacheImpl.java:2347)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:2057)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:1799)
> 	at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:1795)
> 	at dunit.DistributedTestCase.closeCache(DistributedTestCase.java:823)
> 	at dunit.DistributedTestCase.cleanupThisVM(DistributedTestCase.java:789)
> 	at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at hydra.MethExecutor.execute(MethExecutor.java:189)
> 	at dunit.standalone.RemoteDUnitVM.executeMethodOnClass(RemoteDUnitVM.java:108)
> 	at sun.reflect.GeneratedMethodAccessor97.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/893358766.run(Unknown
Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
> 	... 3 more
> Caused by: java.io.FileNotFoundException: /cc6-co6a/users/build/jenkins/blds/workspace/GemFire_develop_open_CC/gemfire-core/build/distributedTest/dunit/vm0/diskDir/disk0/BACKUPdisk_1.krf
(No such file or directory)
> 	at java.io.FileOutputStream.open0(Native Method)
> 	at java.io.FileOutputStream.open(FileOutputStream.java:270)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
> 	at com.gemstone.gemfire.internal.cache.Oplog.krfFileCreate(Oplog.java:4032)
> 	at com.gemstone.gemfire.internal.cache.Oplog.createKrf(Oplog.java:4215)
> 	... 32 more



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

Mime
View raw message