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

Test failure: JdbcToSegmentTest:validateMigration

    XMLWordPrintableJSON

Details

    Description

      java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content
          at com.google.common.io.Closer.rethrow(Closer.java:149)
          at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:81)
          at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:67)
          at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.main(OakUpgrade.java:48)
          at org.apache.jackrabbit.oak.upgrade.cli.AbstractOak2OakTest.prepare(AbstractOak2OakTest.java:112)
      Caused by: javax.jcr.RepositoryException: Failed to copy content
          at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.copy(RepositorySidegrade.java:264)
          at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.sidegrade(OakUpgrade.java:92)
          at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:78)
          ... 34 more
      Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Root document does not have a lastRev entry for local clusterId 0
          at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
          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.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
          at org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
          at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1632)
          at org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
          at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.migrateWithCheckpoints(RepositorySidegrade.java:369)
          at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.copyState(RepositorySidegrade.java:294)
          at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.copy(RepositorySidegrade.java:257)
          ... 36 more
      Caused by: java.lang.IllegalStateException: Root document does not have a lastRev entry for local clusterId 0
          at org.apache.jackrabbit.oak.plugins.document.JournalDiffLoader.call(JournalDiffLoader.java:82)
          at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.diffImpl(DocumentNodeStore.java:2428)
          at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.access$1100(DocumentNodeStore.java:136)
          at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$8.call(DocumentNodeStore.java:1637)
          at org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache$1.call(MemoryDiffCache.java:89)
          at org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache$1.call(MemoryDiffCache.java:83)
          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)
          at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
          at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
          ... 45 more
      

      Attachments

        Issue Links

          Activity

            People

              tomek.rekawek Tomek Rękawek
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: