Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1200

occasional test failure in org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.12
    • None
    • mk
    • None

    Description

      Occasionally seen on W7 64bit:

      Tests in error:
      testConcurrentMergeGC(org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest)
      : java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.jackrabbit.mk.store.NotFoundException: 0a9706e6ec0320c779cd6f775910826e79c97f58

      -------------------------------------------------------------------------------
      Test set: org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest
      -------------------------------------------------------------------------------
      Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.377 sec <<< FAILURE!
      testConcurrentMergeGC(org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest) Time elapsed: 0.151 sec <<< ERROR!
      org.apache.jackrabbit.mk.api.MicroKernelException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.jackrabbit.mk.store.NotFoundException: 0a9706e6ec0320c779cd6f775910826e79c97f58
      at org.apache.jackrabbit.mk.core.MicroKernelImpl.merge(MicroKernelImpl.java:557)
      at org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest.testConcurrentMergeGC(DefaultRevisionStoreTest.java:193)
      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: java.util.concurrent.ExecutionException: org.apache.jackrabbit.mk.store.NotFoundException: 0a9706e6ec0320c779cd6f775910826e79c97f58
      at org.apache.jackrabbit.mk.model.TraversingNodeDiffHandler.childNodeChanged(TraversingNodeDiffHandler.java:53)
      at org.apache.jackrabbit.mk.model.DiffBuilder$1.childNodeChanged(DiffBuilder.java:182)
      at org.apache.jackrabbit.mk.model.AbstractNode.diff(AbstractNode.java:127)
      at org.apache.jackrabbit.mk.model.TraversingNodeDiffHandler.start(TraversingNodeDiffHandler.java:40)
      at org.apache.jackrabbit.mk.model.DiffBuilder.build(DiffBuilder.java:193)
      at org.apache.jackrabbit.mk.model.CommitBuilder.doMerge(CommitBuilder.java:260)
      at org.apache.jackrabbit.mk.core.MicroKernelImpl.merge(MicroKernelImpl.java:555)
      ... 32 more
      Caused by: java.util.concurrent.ExecutionException: org.apache.jackrabbit.mk.store.NotFoundException: 0a9706e6ec0320c779cd6f775910826e79c97f58
      at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
      at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)
      at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
      at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135)
      at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2344)
      at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2316)
      at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
      at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
      at com.google.common.cache.LocalCache.get(LocalCache.java:3932)
      at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721)
      at org.apache.jackrabbit.mk.store.DefaultRevisionStore.getNode(DefaultRevisionStore.java:385)
      at org.apache.jackrabbit.mk.model.TraversingNodeDiffHandler.childNodeChanged(TraversingNodeDiffHandler.java:51)
      ... 38 more
      Caused by: org.apache.jackrabbit.mk.store.NotFoundException: 0a9706e6ec0320c779cd6f775910826e79c97f58
      at org.apache.jackrabbit.mk.persistence.InMemPersistence.readNode(InMemPersistence.java:95)
      at org.apache.jackrabbit.mk.store.DefaultRevisionStore$4.call(DefaultRevisionStore.java:391)
      at org.apache.jackrabbit.mk.store.DefaultRevisionStore$4.call(DefaultRevisionStore.java:386)
      at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724)
      at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
      at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
      ... 44 more

      Attachments

        Issue Links

          Activity

            People

              dpfister Dominique Pfister
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: