Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M2
    • Component/s: Testing
    • Labels:

      Description

      It generates this stacktrace on CI server:

      com.liferay.portal.kernel.search.SearchException: java.util.concurrent.ExecutionException: org.elasticsearch.snapshots.SnapshotMissingException: [liferay_backup:com.liferay.portal.search.BackupAndRestoreIndexesTest-1412143558702] is missing
      	at com.liferay.portal.search.elasticsearch.ElasticsearchSearchEngine.restore(ElasticsearchSearchEngine.java:219)
      	at com.liferay.portal.kernel.search.SearchEngineProxyWrapper.restore(SearchEngineProxyWrapper.java:115)
      	at com.liferay.portal.kernel.search.SearchEngineUtil.restore(SearchEngineUtil.java:670)
      	at com.liferay.portal.search.BackupAndRestoreIndexesTest.testBackupAndRestore(BackupAndRestoreIndexesTest.java:57)
      	at com.liferay.portal.kernel.test.RunBeforeTestMethodCallback.evaluate(RunBeforeTestMethodCallback.java:45)
      	at com.liferay.portal.kernel.test.RunAfterTestMethodCallback.evaluate(RunAfterTestMethodCallback.java:49)
      	at com.liferay.portal.test.runners.LiferayIntegrationJUnitTestRunner$1.evaluate(LiferayIntegrationJUnitTestRunner.java:74)
      	at com.liferay.portal.kernel.test.RunBeforeTestClassesCallback.evaluate(RunBeforeTestClassesCallback.java:39)
      	at com.liferay.portal.kernel.test.RunAfterTestClassesCallback.evaluate(RunAfterTestClassesCallback.java:42)
      	at com.liferay.portal.test.runners.LiferayIntegrationJUnitTestRunner$1.evaluate(LiferayIntegrationJUnitTestRunner.java:74)
      	at com.liferay.portal.test.runners.LiferayIntegrationJUnitTestRunner$2.evaluate(LiferayIntegrationJUnitTestRunner.java:111)
      Caused by: java.util.concurrent.ExecutionException: org.elasticsearch.snapshots.SnapshotMissingException: [liferay_backup:com.liferay.portal.search.BackupAndRestoreIndexesTest-1412143558702] is missing
      	at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:288)
      	at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:275)
      	at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:113)
      	at com.liferay.portal.search.elasticsearch.ElasticsearchSearchEngine.restore(ElasticsearchSearchEngine.java:214)
      Caused by: org.elasticsearch.snapshots.SnapshotMissingException: [liferay_backup:com.liferay.portal.search.BackupAndRestoreIndexesTest-1412143558702] is missing
      	at org.elasticsearch.repositories.blobstore.BlobStoreRepository.readSnapshot(BlobStoreRepository.java:404)
      	at org.elasticsearch.snapshots.RestoreService.restoreSnapshot(RestoreService.java:118)
      	at org.elasticsearch.action.admin.cluster.snapshots.restore.TransportRestoreSnapshotAction.masterOperation(TransportRestoreSnapshotAction.java:78)
      	at org.elasticsearch.action.admin.cluster.snapshots.restore.TransportRestoreSnapshotAction.masterOperation(TransportRestoreSnapshotAction.java:41)
      	at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$3.run(TransportMasterNodeOperationAction.java:136)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.FileNotFoundException: /tmp/es_backup/snapshot-com.liferay.portal.search.BackupAndRestoreIndexesTest-1412143558702 (No such file or directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:146)
      	at org.elasticsearch.common.blobstore.fs.AbstractFsBlobContainer$1.run(AbstractFsBlobContainer.java:86)
      

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            manuel.delapenya Manuel de la Peña (Inactive)
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 4 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 M2