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

Deadlock when calling ReloadService#reload in Drive tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 8.2-SNAPSHOT
    • Fix Version/s: 8.2
    • Component/s: Events / Works, Nuxeo Drive

      Description

      See http://qa.nuxeo.org/jenkins/view/Drive/job/addons_nuxeo-drive-server-master-multidb/PYTHON=System-CPython-2.7,Slave=MULTIDB_LINUX,dbprofile=pgsql,jdk=java-8-oracle/2698/console

      20:12:43 -------------------------------------------------------
      20:12:43  T E S T S
      20:12:43 -------------------------------------------------------
      20:12:45 StorageConfiguration: Deploying JDBC using DatabasePostgreSQL
      20:12:45 StorageConfiguration: Deploying a VCS repository
      20:12:45 Running org.nuxeo.drive.service.adapter.TestFileSystemItemAdapterService
      20:12:51 18:12:51,898 ERROR [WorkManagerImpl$NamedThreadFactory$1] Uncaught error on thread Nuxeo-Work-fulltextUpdater-1
      20:12:51 java.lang.AssertionError: Interrupted while waiting for class org.nuxeo.runtime.services.event.EventService
      20:12:51 	at org.nuxeo.runtime.api.ServicePassivator$WaitForProvider.getService(ServicePassivator.java:576)
      20:12:51 	at org.nuxeo.runtime.api.ServicePassivator$PassivateProvider.getService(ServicePassivator.java:520)
      20:12:51 	at org.nuxeo.runtime.api.Framework.getService(Framework.java:224)
      20:12:51 	at org.nuxeo.runtime.trackers.concurrent.ThreadEvent.send(ThreadEvent.java:69)
      20:12:51 	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:56)
      20:12:51 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      20:12:51 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      20:12:51 	at java.lang.Thread.run(Thread.java:745)
      20:12:51 18:12:51,898 ERROR [WorkManagerImpl$NamedThreadFactory$1] Uncaught error on thread Nuxeo-Work-default-2
      20:12:51 java.lang.AssertionError: Interrupted while waiting for class org.nuxeo.runtime.services.event.EventService
      20:12:51 	at org.nuxeo.runtime.api.ServicePassivator$WaitForProvider.getService(ServicePassivator.java:576)
      20:12:51 	at org.nuxeo.runtime.api.ServicePassivator$PassivateProvider.getService(ServicePassivator.java:520)
      20:12:51 	at org.nuxeo.runtime.api.Framework.getService(Framework.java:224)
      20:12:51 	at org.nuxeo.runtime.trackers.concurrent.ThreadEvent.send(ThreadEvent.java:69)
      20:12:51 	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:56)
      20:12:51 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      20:12:51 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      20:12:51 	at java.lang.Thread.run(Thread.java:745)
      20:12:51 18:12:51,898 ERROR [WorkManagerImpl$NamedThreadFactory$1] Uncaught error on thread Nuxeo-Work-default-1
      20:12:51 java.lang.AssertionError: Interrupted while waiting for class org.nuxeo.runtime.services.event.EventService
      20:12:51 	at org.nuxeo.runtime.api.ServicePassivator$WaitForProvider.getService(ServicePassivator.java:576)
      20:12:51 	at org.nuxeo.runtime.api.ServicePassivator$PassivateProvider.getService(ServicePassivator.java:520)
      20:12:51 	at org.nuxeo.runtime.api.Framework.getService(Framework.java:224)
      20:12:51 	at org.nuxeo.runtime.trackers.concurrent.ThreadEvent.send(ThreadEvent.java:69)
      20:12:51 	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:56)
      20:12:51 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      20:12:51 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      20:12:51 	at java.lang.Thread.run(Thread.java:745)
      20:41:51 Build timed out (after 30 minutes). Marking the build as failed.
      20:41:51 Build was aborted
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: