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

OAK 1.0 test failures with MongoDB 3.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.42
    • documentmk
    • None

    Description

      Test failures with -Ppedantic and running instance of MongoDB 3.2:

      delete(org.apache.jackrabbit.oak.plugins.document.blob.MongoBlobStoreTest)  Time elapsed: 0.104 sec  <<< FAILURE!
      java.lang.AssertionError: [fbbab289f7f94b25736c58be46a994c441fd02552cc6022352e3d86d2fab7c83, e96760a87768717bcebcfd25ddc7d46b4dbc95a4b0014def080c08539f7d90d0, 445d72bc039eaa0e37ab998887e830ab86f259df1053fe866eb84a14a46247a1, 34d9ec4bc3f61fe79b14069880a6430564cc6d3f5aa11adbc5383bbda12b6419, ee78cd29d3a534713b36e6ff6fa3668c8a8f851a542d5eb2401c25ca4e057d02, e6520fddce039e8eacabc6130d5440fc8ba837644d89d30c0f5aeed8e269bbef]
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.apache.jackrabbit.oak.spi.blob.AbstractBlobStoreTest.delete(AbstractBlobStoreTest.java:423)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
      
      nodeJoins(org.apache.jackrabbit.oak.plugins.document.ClusterJoinTest)  Time elapsed: 0.478 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<25>
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.failNotEquals(Assert.java:834)
              at org.junit.Assert.assertEquals(Assert.java:118)
              at org.junit.Assert.assertEquals(Assert.java:144)
              at org.apache.jackrabbit.oak.plugins.document.DocumentMKTestBase.assertPropertyValue(DocumentMKTestBase.java:144)
              at org.apache.jackrabbit.oak.plugins.document.DocumentMKTestBase.assertChildNodeCount(DocumentMKTestBase.java:81)
              at org.apache.jackrabbit.oak.plugins.document.ClusterJoinTest.nodeJoins(ClusterJoinTest.java:49)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      
      copyPath(org.apache.jackrabbit.oak.plugins.document.DocumentMKDiffTest)  Time elapsed: 0.29 sec  <<< ERROR!
      org.apache.jackrabbit.mk.api.MicroKernelException: org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: The node 1:/level1 was already added in revision
      r15a5bbff27f-0-1 (older than base r15a5bbff4b2-3-1), before
      r15a5bbff4b3-1-1; document:
      {_lastRev={r0-0-1=r15a5bbff27f-0-1},
      _deletedOnce=true,
      _id=1:/level1, prop1={r15a5bbff27f-0-1="value1", r15a5bbff27e-0-1="value2", r15a5bbff27c-0-1="value1"},
      _revisions={r15a5bbff27f-0-1=c, r15a5bbff27e-0-1=c, r15a5bbff139-0-1=c},
      _modified=1487597990,
      _modCount=10,
      _commitRoot={r15a5bbff27c-0-1=0, r15a5bbff131-0-1=0},
      _deleted={r15a5bbff27c-0-1=false, r15a5bbff139-0-1=true, r15a5bbff131-0-1=false}},
      revision order:
      1:
       r15a5bbff4b2-2-1:r15a5bbff4b2-0-0 r15a5bbff4b2-3-1:r15a5bbff4b3-0-0
      2:
       r15a5bbf6c0a-0-2:r15a5bbff4b2-1-0
      3:
       r15a5bbf6bee-0-3:r15a5bbff4b2-1-0
      
              at org.apache.jackrabbit.oak.plugins.document.DocumentMK.commit(DocumentMK.java:290)
              at org.apache.jackrabbit.oak.plugins.document.DocumentMKDiffTest.copyPath(DocumentMKDiffTest.java:163)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      diff(org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreDiffTest)  Time elapsed: 0.178 sec  <<< ERROR!
      java.lang.IllegalArgumentException: Unexpected token: null
              at org.apache.jackrabbit.oak.plugins.document.DocumentPropertyState.readProperty(DocumentPropertyState.java:211)
              at org.apache.jackrabbit.oak.plugins.document.DocumentPropertyState.readProperty(DocumentPropertyState.java:166)
              at org.apache.jackrabbit.oak.plugins.document.DocumentPropertyState.parsed(DocumentPropertyState.java:151)
              at org.apache.jackrabbit.oak.plugins.document.DocumentPropertyState.getType(DocumentPropertyState.java:76)
              at org.apache.jackrabbit.oak.plugins.document.DocumentNodeState.getMemory(DocumentNodeState.java:460)
              at org.apache.jackrabbit.oak.cache.EmpiricalWeigher.weigh(EmpiricalWeigher.java:33)
              at org.apache.jackrabbit.oak.cache.EmpiricalWeigher.weigh(EmpiricalWeigher.java:27)
              at com.google.common.cache.LocalCache$Segment.setValue(LocalCache.java:2158)
              at com.google.common.cache.LocalCache$Segment.storeLoadedValue(LocalCache.java:3140)
              at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2349)
              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.oak.plugins.document.DocumentNodeStore.getNode(DocumentNodeStore.java
      

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: