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

Fix S3 Binary Manager temporary file cleanup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.9.6-SNAPSHOT
    • Fix Version/s: 6.0
    • Component/s: Core VCS

      Description

      ITFileUploadTest.testFileUpload fails on FT nuxeo-core-binarymanager-s3. Regression since 7/10 14:03

      2014-10-09 21:29:07,211 WARN  [http-apr-0.0.0.0-8080-exec-2] [javax.enterprise.resource.webcontainer.jsf.lifecycle] #{action.getLink()}: javax.el.ELException: org.nuxeo.ecm.core.api.model.PropertyException: Cannot get binary
      javax.faces.FacesException: #{action.getLink()}: javax.el.ELException: org.nuxeo.ecm.core.api.model.PropertyException: Cannot get binary
      	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
      	at javax.faces.component.UICommand.broadcast(UICommand.java:315)
      	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.broadcast(UIAliasHolder.java:100)
      	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.broadcast(UIAliasHolder.java:100)
      	at org.nuxeo.ecm.platform.ui.web.binding.alias.UIAliasHolder.broadcast(UIAliasHolder.java:100)
      ...
      Caused by: org.nuxeo.ecm.core.storage.StorageException: java.io.IOException: No such file or directory
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.getBinary(SessionImpl.java:340)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionImpl.getBinary(ConnectionImpl.java:179)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getBinary(SQLSession.java:1299)
      	... 124 more
      Caused by: java.io.IOException: No such file or directory
      	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      	at java.io.File.createTempFile(File.java:1879)
      	at org.nuxeo.common.file.LRUFileCache.getTempFile(LRUFileCache.java:114)
      	at org.nuxeo.ecm.core.storage.binary.CachingBinaryManager.getBinary(CachingBinaryManager.java:109)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.getBinary(SessionImpl.java:338)
      

      http://qa.nuxeo.org/jenkins/job/addons_FT_nuxeo-core-binarymanager-s3-master/org.nuxeo.marketplace.amazon-s3-online-storage$amazon-s3-online-storage-webdriver-tests/ws/target/tomcat/log/server.log

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: