Page MenuHomePhabricator

FlaggedRevs: Fatal error '/srv/mediawiki-staging/php-master/extensions/Flagged Revisions/extension.json does not exist!'
Closed, ResolvedPublic

Description

The beta-scap-eqiad Jenkins job is no more able to scap on the Beta-Cluster-Infrastructure because of FlaggedRevs:

jenkins-deploy@deployment-deploy01:~$ /usr/bin/scap sync --verbose 'hashar test'
           ___ ____
         ⎛   ⎛ ,----
          \  //==--'
     _//|,.·//==--'    ____________________________
    _OO≣=-  ︶ ᴹw ⎞_§ ______  ___\ ___\ ,\__ \/ __ \
   (∞)_, )  (     |  ______/__  \/ /__ / /_/ / /_/ /
     ¨--¨|| |- (  / ______\____/ \___/ \__^_/  .__/
         ««_/  «_/ jgs/bd808                /_/

19:23:32 Checking for new runtime errors locally
19:23:32 <Command u'/usr/local/bin/mwscript eval.php --wiki enwiki'>: starting process
19:23:32 <Command u'/usr/local/bin/mwscript eval.php --wiki enwiki', pid 20573>: process started
19:23:32 Scap failed!: Call to mwscript eval.php returned: None
19:23:32 Unhandled error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 342, in run
    exit_status = app.main(app.extra_arguments)
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 604, in main
    return super(Scap, self).main(*extra_args)
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 80, in main
    self._check_fatals()
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 217, in _check_fatals
    raise RuntimeError(errmsg.format('returned', exit_code))
RuntimeError: Scap failed!: Call to mwscript eval.php returned: None
19:23:32 scap failed: RuntimeError Scap failed!: Call to mwscript eval.php returned: None (duration: 00m 00s)
$ /usr/local/bin/mwscript eval.php --wiki enwiki
[Wed Jun  5 19:23:49 2019] [hphp] [26439:7fe495b4a3c0:0:000001] [] 
Fatal error: Uncaught exception 'Exception' with message '/srv/mediawiki-staging/php-master/extensions/Flagged Revisions/extension.json does not exist!' in /srv/mediawiki-staging/php-master/includes/registration/ExtensionRegistry.php:132
Stack trace:
#0 /srv/mediawiki-staging/php-master/includes/GlobalFunctions.php(52): ExtensionRegistry->queue()
#1 /srv/mediawiki-staging/php-master/extensions/FlaggedRevs/FlaggedRevs.php(22): wfLoadExtension()
#2 /srv/mediawiki-staging/wmf-config/flaggedrevs.php(17): include()
#3 /srv/mediawiki-staging/wmf-config/CommonSettings.php(1034): include()
#4 /srv/mediawiki-staging/php-master/LocalSettings.php(5): include()
#5 /srv/mediawiki-staging/php-master/includes/Setup.php(105): include()
#6 /srv/mediawiki-staging/php-master/maintenance/doMaintenance.php(83): include()
#7 /srv/mediawiki-staging/php-master/maintenance/commandLine.inc(77): include()
#8 /srv/mediawiki-staging/php-master/maintenance/eval.php(39): include()
#9 /srv/mediawiki-staging/multiversion/MWScript.php(101): include()
#10 {main}

Last good build was on June 5th 17:14:28 UTC https://integration.wikimedia.org/ci/job/beta-scap-eqiad/252164/console

First bad one at 17:24 UTC https://integration.wikimedia.org/ci/job/beta-scap-eqiad/252165/console

Event Timeline

hashar created this task.Jun 5 2019, 7:33 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 5 2019, 7:33 PM
hashar triaged this task as Unbreak Now! priority.Jun 5 2019, 7:33 PM
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptJun 5 2019, 7:33 PM
hashar updated the task description. (Show Details)Jun 5 2019, 7:35 PM

Change 514561 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/extensions/FlaggedRevs@master] Use name of extension repo

https://gerrit.wikimedia.org/r/514561

Cirdan added a subscriber: Cirdan.Jun 5 2019, 7:39 PM
hashar assigned this task to Reedy.Jun 5 2019, 7:49 PM

@Reedy kindly stepped in and the patch is entering the pipe. So should be fixed soon.

Change 514561 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Use name of extension repo

https://gerrit.wikimedia.org/r/514561

hashar closed this task as Resolved.Jun 5 2019, 8:46 PM

It is working again now. Thank you @Reedy