jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Pfister <dpfis...@adobe.com>
Subject Re: Intermittent test failures with -PintegrationTesting
Date Tue, 22 May 2012 08:09:04 GMT
Hi Michi,

Seen this, too, very rarely though. Anyway, I created an issue for this:

https://issues.apache.org/jira/browse/OAK-107

Cheers
Dominique

On May 21, 2012, at 11:41 PM, Michael Dürig wrote:

> 
> Hi,
> 
> About every third build fails for me:
> 
> -------------------------------------------------------------------------------
> Test set: org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.723 
> sec <<< FAILURE!
> testConcurrentMergeGC(org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest) 
>  Time elapsed: 0.737 sec  <<< ERROR!
> org.apache.jackrabbit.mk.api.MicroKernelException: 
> java.lang.RuntimeException: Unexpected error
> 	at 
> org.apache.jackrabbit.mk.core.MicroKernelImpl.merge(MicroKernelImpl.java:504)
> 	at 
> org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest.testConcurrentMergeGC(DefaultRevisionStoreTest.java:184)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> 	at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> 	at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> 	at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> 	at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
> 	at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
> 	at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at 
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
> 	at 
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
> 	at 
> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
> 	at 
> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
> Caused by: java.lang.RuntimeException: Unexpected error
> 	at 
> org.apache.jackrabbit.mk.store.StoredNodeAsState$3.getNode(StoredNodeAsState.java:176)
> 	at 
> org.apache.jackrabbit.mk.store.StoredNodeAsState.getChildNode(StoredNodeAsState.java:120)
> 	at 
> org.apache.jackrabbit.mk.store.DefaultRevisionStore$3.childNodeChanged(DefaultRevisionStore.java:476)
> 	at org.apache.jackrabbit.mk.model.AbstractNode.diff(AbstractNode.java:126)
> 	at 
> org.apache.jackrabbit.mk.store.DefaultRevisionStore.compare(DefaultRevisionStore.java:443)
> 	at org.apache.jackrabbit.mk.model.NodeDelta.<init>(NodeDelta.java:68)
> 	at 
> org.apache.jackrabbit.mk.model.CommitBuilder.mergeNode(CommitBuilder.java:371)
> 	at 
> org.apache.jackrabbit.mk.model.CommitBuilder.mergeTree(CommitBuilder.java:363)
> 	at 
> org.apache.jackrabbit.mk.model.CommitBuilder.doMerge(CommitBuilder.java:216)
> 	at 
> org.apache.jackrabbit.mk.core.MicroKernelImpl.merge(MicroKernelImpl.java:502)
> 	... 32 more
> Caused by: org.apache.jackrabbit.mk.store.NotFoundException: 
> 0a9706e6ec0320c779cd6f775910826e79c97f58
> 	at 
> org.apache.jackrabbit.mk.persistence.InMemPersistence.readNode(InMemPersistence.java:70)
> 	at 
> org.apache.jackrabbit.mk.store.DefaultRevisionStore.getNode(DefaultRevisionStore.java:341)
> 	at 
> org.apache.jackrabbit.mk.store.StoredNodeAsState$3.getNode(StoredNodeAsState.java:173)
> 	... 41 more
> 
> 
> Michael


Mime
View raw message