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

Fix setting of max quota size

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8, 5.9.5-SNAPSHOT
    • Fix Version/s: 5.8.0-HF30, 6.0-HF05, 7.2
    • Component/s: Quotas

      Description

      initially seen on http://qa.nuxeo.org/jenkins/job/nuxeo-master-fullbuild-maven3.1/130, assertion failed on quota result size.

      testSetQuotaOnUserWorkspaces(org.nuxeo.ecm.quota.count.TestQuotaService)  Time elapsed: 0.44 sec  <<< FAILURE!
      java.lang.AssertionError: 
      	at org.junit.Assert.fail(Assert.java:91)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.junit.Assert.assertTrue(Assert.java:54)
      	at org.nuxeo.ecm.quota.count.TestQuotaService.testSetQuotaOnUserWorkspaces(TestQuotaService.java:127)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      related error ?

      07:51:59,259 [Nuxeo-Work-quota-1] ERROR [AbstractWork] Exception during work: QuotaMaxSizeSetterWork(9c886697-4651-4ed7-9f18-27984e5110da..., , Progress(?%, ?/0), null)
      org.nuxeo.ecm.core.api.ClientException: Failed to get document 59a7868b-712d-44cf-9451-8e0b6e645d7b
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1018)
      	at sun.reflect.GeneratedMethodAccessor11.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.$Proxy23.getDocument(Unknown Source)
      	at org.nuxeo.ecm.quota.QuotaMaxSizeSetterWork$1.run(QuotaMaxSizeSetterWork.java:72)
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:149)
      	at org.nuxeo.ecm.quota.QuotaMaxSizeSetterWork.work(QuotaMaxSizeSetterWork.java:67)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:355)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:316)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:284)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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:744)
      Caused by: org.nuxeo.ecm.core.model.NoSuchDocumentException: No such document: 59a7868b-712d-44cf-9451-8e0b6e645d7b
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getDocumentByUUID(SQLSession.java:245)
      	at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:359)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1014)
      	... 15 more
      Exception in thread "Nuxeo-Work-quota-1" java.lang.RuntimeException: org.nuxeo.ecm.core.api.ClientException: Failed to get document 59a7868b-712d-44cf-9451-8e0b6e645d7b
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:368)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:316)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:284)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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:744)
      Caused by: org.nuxeo.ecm.core.api.ClientException: Failed to get document 59a7868b-712d-44cf-9451-8e0b6e645d7b
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1018)
      	at sun.reflect.GeneratedMethodAccessor11.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.$Proxy23.getDocument(Unknown Source)
      	at org.nuxeo.ecm.quota.QuotaMaxSizeSetterWork$1.run(QuotaMaxSizeSetterWork.java:72)
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:149)
      	at org.nuxeo.ecm.quota.QuotaMaxSizeSetterWork.work(QuotaMaxSizeSetterWork.java:67)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:355)
      	... 6 more
      Caused by: org.nuxeo.ecm.core.model.NoSuchDocumentException: No such document: 59a7868b-712d-44cf-9451-8e0b6e645d7b
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getDocumentByUUID(SQLSession.java:245)
      	at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:359)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1014)
      	... 15 more
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.