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

Fix TestDocumentsSizeUpdater tests on 5.8/master build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 5.8.0-HF31, 6.0-HF06, 7.2
    • Component/s: Tests

      Description

      http://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-build/1064/

          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnCheckInCheckOut
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnVersions
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnMoveContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnRemoveContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnCopyContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnCopyFolderishContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnRemoveFoldishContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnMoveFoldishContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaExceeded
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaExceededOnVersion
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnDeleteContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnMoveContentWithVersions
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnCopyContentWithVersions
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testAllowSettingMaxQuota
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnRevertVersion
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnAddStreamingContent
          org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testAllowSettingMaxQuotaOnUserWorkspace
      
      org.nuxeo.ecm.core.api.model.PropertyException: Cannot get binary
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.writeBlobProperty(SQLSession.java:1216)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.writeComplexProperty(SQLSession.java:1094)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.writeComplexProperty(SQLSession.java:1168)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.writeDocumentPart(SQLDocumentLive.java:169)
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:273)
      	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:410)
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:769)
      	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:131)
      	at com.sun.proxy.$Proxy24.createDocument(Unknown Source)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater$51.run(TestDocumentsSizeUpdater.java:1346)
      	at org.nuxeo.ecm.quota.count.IsolatedSessionRunner.run(IsolatedSessionRunner.java:52)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.addContent(TestDocumentsSizeUpdater.java:1320)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.addContent(TestDocumentsSizeUpdater.java:1316)
      	at org.nuxeo.ecm.quota.count.TestDocumentsSizeUpdater.testQuotaOnRemoveContent(TestDocumentsSizeUpdater.java:450)
      	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:44)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$InvokeMethod.evaluate(FeaturesRunner.java:355)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:299)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: org.nuxeo.ecm.core.api.DocumentException: org.nuxeo.ecm.core.storage.StorageException: java.io.IOException: No such file or directory
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getBinary(SQLSession.java:1308)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.writeBlobProperty(SQLSession.java:1214)
      	... 40 more
      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:336)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionImpl.getBinary(ConnectionImpl.java:159)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getBinary(SQLSession.java:1306)
      	... 41 more
      Caused by: java.io.IOException: No such file or directory
      	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      	at java.io.File.createNewFile(File.java:1006)
      	at java.io.File.createTempFile(File.java:1989)
      	at org.nuxeo.ecm.core.storage.sql.LocalBinaryManager.storeAndDigest(LocalBinaryManager.java:167)
      	at org.nuxeo.ecm.core.storage.sql.LocalBinaryManager.getBinary(LocalBinaryManager.java:114)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.getBinary(SessionImpl.java:334)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: