https://bugzilla.wikimedia.org/show_bug.cgi?id=58692

       Web browser: Google Chrome
            Bug ID: 58692
           Summary: nextJobDB.php does not gwtoolsetUploadMetadataJobs
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
               URL: http://commons.wikimedia.beta.wmflabs.org/wiki/Special
                    :GWToolset
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Infrastructure
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: d_ent...@yahoo.com
                CC: abog...@wikimedia.org, aschulz4...@gmail.com,
                    has...@free.fr, rlan...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

expected behavior
-----------------
when a gwtoolset batch job is created the runner should pick it up and run the
gwtoolset* jobs.

actual behavior
---------------
• the MetadataJob goes into the queue.
• the MetadataJob is never picked up
• if another MetadatJob is added before approximately 5 minutes that one is
also added to the queue, but not picked up
• if another MetadataJob is added to the queue after approximately 5 minutes,
the MetadataJobs waiting in the queue are picked up, run and their
MediaFileJobs and CleanUp jobs are run. the new MetadataJob waits in the queue
and is not picked up until yet another gwtoolset MetadataJob is created.

additional research by hashar
-----------------------------
the beta cluster shows gwtoolset* jobs pending:
 $ mwscript showJobs.php --wiki=commonswiki --group
 cirrusSearchUpdatePages: 0 queued; 7 claimed (0 active, 7 abandoned)
 gwtoolsetGWTFileBackendCleanupJob: 0 queued; 1 claimed (1 active, 0 abandoned)
 gwtoolsetUploadMediafileJob: 0 queued; 5 claimed (0 active, 5 abandoned)
 gwtoolsetUploadMetadataJob: 1 queued; 0 claimed (0 active, 0 abandoned)
 webVideoTranscode: 4 queued; 0 claimed (0 active, 0 abandoned)
 $

in this case gwtoolsetUploadMetadataJob, however, nextJobDB.php does not find
it.

it looks like this is because nextJobDB.php calls
JobQueueAggregator::singleton()->getAllReadyWikiQueues(), which does not list
gwtoolset jobs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to