Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23472

Fix random error on testVeryLongLazyRendition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: Renditions, Tests

      Description

      We have this on TestLazyAutomationRenditions.testVeryLongLazyRendition for example:

      java.lang.AssertionError
      	at org.nuxeo.ecm.platform.rendition.service.lazy.TestLazyAutomationRenditions.testVeryLongLazyRendition(TestLazyAutomationRenditions.java:123)
      

      The logs contain:

      05:55:45 Nuxeo-Work-renditionBuilder-1:rendition:1d348fd3-adb5-4ea6-b0c3-866ad004f5cc::lazyAutomation 05:55:45,668 ERROR [AbstractWork] Exception during work: AutomationRenditionBuilder(, Progress(?%, ?/0), null)
      05:55:45 org.nuxeo.ecm.core.api.NuxeoException: java.io.FileNotFoundException: /opt/jenkins/workspace/master/nuxeo-master-fullbuild-part1-multidb/Slave/MULTIDB_LINUX/dbprofile/mongodb/jdk/java-8-oracle/nuxeo-features/nuxeo-platform-rendition/nuxeo-platform-rendition-core/target/nxruntime-main-6890282821760840235.tmp/data/transientstores/LazyRenditionCache/ZjU0YTRhNmM2NzU2NDVmOTZlNTkzNDA0OWRjYjcxNmE=/b1c514f8-7b5f-4cef-8839-6c2fbce5a4ba (No such file or directory)
      05:55:45     at org.nuxeo.ecm.core.transientstore.AbstractTransientStore.storeBlobs(AbstractTransientStore.java:164)
      05:55:45     at org.nuxeo.ecm.core.transientstore.AbstractTransientStore.putBlobs(AbstractTransientStore.java:138)
      05:55:45     at org.nuxeo.ecm.platform.rendition.lazy.AbstractRenditionBuilderWork.updateAndCompleteStoreEntry(AbstractRenditionBuilderWork.java:158)
      05:55:45     at org.nuxeo.ecm.platform.rendition.lazy.AbstractRenditionBuilderWork.work(AbstractRenditionBuilderWork.java:113)
      05:55:45     at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:379)
      05:55:45     at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:338)
      05:55:45     at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
      05:55:45     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      05:55:45     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      05:55:45     at java.lang.Thread.run(Thread.java:745)
      05:55:45 Caused by: java.io.FileNotFoundException: /opt/jenkins/workspace/master/nuxeo-master-fullbuild-part1-multidb/Slave/MULTIDB_LINUX/dbprofile/mongodb/jdk/java-8-oracle/nuxeo-features/nuxeo-platform-rendition/nuxeo-platform-rendition-core/target/nxruntime-main-6890282821760840235.tmp/data/transientstores/LazyRenditionCache/ZjU0YTRhNmM2NzU2NDVmOTZlNTkzNDA0OWRjYjcxNmE=/b1c514f8-7b5f-4cef-8839-6c2fbce5a4ba (No such file or directory)
      05:55:45     at java.io.FileOutputStream.open0(Native Method)
      05:55:45     at java.io.FileOutputStream.open(FileOutputStream.java:270)
      05:55:45     at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
      05:55:45     at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
      05:55:45     at org.nuxeo.ecm.core.api.impl.blob.AbstractBlob.transferTo(AbstractBlob.java:166)
      05:55:45     at org.nuxeo.ecm.core.transientstore.AbstractTransientStore.storeBlobs(AbstractTransientStore.java:161)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d