Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-16757

Delete incomplete uploads DockerUploadPurgeTask task fails in 3.10.0

    XMLWordPrintable

    Details

    • Story Points:
      2

      Description

      We have a task, that runs daily, to delete incomplete docker uploads (Docker - Delete incomplete uploads). This has been functioning normally, until our upgrade to 3.10.0-04 yesterday.

      Task schedule details:

      • Age in hours: 24
      • Task frequency: Daily
      • Start date: 02/07/2016
      • Time to run this task: 00:00

      Run Summary, after manually clicking "Run":

      • Status: Waiting
      • Next Run: Wed Apr 11 2017 00:00:00 GMT-0500
      • Last result: Error[0s]

      It has been failing since then, with the following error in the logs:

      WARN  [quartz-5-thread-8] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskJob - Task nexus.59d41341-1b80-4af2-8c1f-bcedd3710b01 instantiation failure
      com.google.inject.ProvisionException: Unable to provision, see the following errors:
      
      1) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
       but the 1st parameter of org.sonatype.nexus.repository.docker.tasks.DockerUploadPurgeTask.<init>(DockerUploadPurgeTask.java:36) is not @Nullable
        while locating org.sonatype.nexus.repository.docker.UploadManager
          for the 1st parameter of org.sonatype.nexus.repository.docker.tasks.DockerUploadPurgeTask.<init>(DockerUploadPurgeTask.java:36)
        while locating org.sonatype.nexus.repository.docker.tasks.DockerUploadPurgeTask
      
      1 error
              at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028)
              at org.sonatype.nexus.scheduling.internal.TaskFactoryImpl.newInstance(TaskFactoryImpl.java:164)
              at org.sonatype.nexus.scheduling.internal.TaskFactoryImpl.create(TaskFactoryImpl.java:193)
              at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.doExecute(QuartzTaskJob.java:136)
              at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.execute(QuartzTaskJob.java:108)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
              at org.sonatype.nexus.thread.internal.MDCAwareRunnable.run(MDCAwareRunnable.java:40)
              at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
              at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      INFO  [quartz-5-thread-8] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Purge incomplete docker uploads' [repository.docker.upload-purge] state change RUNNING -> WAITING (FAILED)
      

        Attachments

          Activity

            People

            Assignee:
            bradbeck Brad Beck
            Reporter:
            skhushalani Sagar Khushalani
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Core
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title