Page MenuHomePhabricator

`scap sync` fails with `Error: You are missing some external dependencies.`
Closed, ResolvedPublic

Description

[zfilipin@deploy1001 mediawiki-staging (master * u=)]$ scap sync "testwiki to php-1.32.0-wmf.14 and rebuild l10n cache"
           ___ ____
         ⎛   ⎛ ,----
          \  //==--'
     _//|,.·//==--'    ____________________________
    _OO≣=-  ︶ ᴹw ⎞_§ ______  ___\ ___\ ,\__ \/ __ \
   (∞)_, )  (     |  ______/__  \/ /__ / /_/ / /_/ /
     ¨--¨|| |- (  / ______\____/ \___/ \__^_/  .__/
         ««_/  «_/ jgs/bd808                /_/

11:55:32 Started scap: testwiki to php-1.32.0-wmf.14 and rebuild l10n cache
11:55:34 Copying to deploy1001.eqiad.wmnet from deploy1001.eqiad.wmnet
11:55:34 Started rsync common
11:55:37 Finished rsync common (duration: 00m 03s)
11:55:37 Started cache_git_info
11:55:52 Finished cache_git_info (duration: 00m 14s)
11:55:52 Started l10n-update
11:55:52 Updating ExtensionMessages-1.32.0-wmf.12.php
11:55:53 Updating LocalisationCache for 1.32.0-wmf.12 using 30 thread(s)
11:57:08 Generating JSON versions and md5 files
11:57:09 Updating ExtensionMessages-1.32.0-wmf.13.php
11:57:10 Updating LocalisationCache for 1.32.0-wmf.13 using 30 thread(s)
11:58:22 Generating JSON versions and md5 files
11:58:23 Bootstrapping l10n cache for 1.32.0-wmf.14
11:58:23 Last output:
Error: You are missing some external dependencies.
MediaWiki now also has some external dependencies that need to be installed
via composer or from a separate git repo. Please see
https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
for help on installing the required components.
11:58:23 Finished l10n-update (duration: 02m 31s)
11:58:23 Unhandled error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 339, in run
    exit_status = app.main(app.extra_arguments)
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 549, in main
    return super(Scap, self).main(*extra_args)
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 69, in main
    self._after_sync_common()
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 572, in _after_sync_common
    version, wikidb, self.verbose, self.config)
  File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 402, in context_wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/scap/tasks.py", line 592, in update_localization_cache
    wikidb, cache_dir, use_cores, lang='en', quiet=True)
  File "/usr/lib/python2.7/dist-packages/scap/tasks.py", line 543, in _call_rebuildLocalisationCache
    'quiet': '--quiet' if quiet else ''
  File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 402, in context_wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 479, in sudo_check_call
    raise subprocess.CalledProcessError(proc.returncode, cmd)
CalledProcessError: Command '/usr/local/bin/mwscript rebuildLocalisationCache.php --wiki="testwiki" --outdir="/tmp/scap_l10n_4179557944" --threads=30 --lang en  --quiet' returned non-zero exit status 1
11:58:23 scap failed: CalledProcessError Command '/usr/local/bin/mwscript rebuildLocalisationCache.php --wiki="testwiki" --outdir="/tmp/scap_l10n_4179557944" --threads=30 --lang en  --quiet' returned non-zero exit status 1 (duration: 02m 50s)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 24 2018, 12:02 PM
zeljkofilipin triaged this task as Unbreak Now! priority.Jul 24 2018, 12:02 PM
Restricted Application added subscribers: Liuxinyu970226, TerraCodes. · View Herald TranscriptJul 24 2018, 12:02 PM
thcipriani closed this task as Resolved.Jul 24 2018, 12:50 PM
thcipriani claimed this task.

the branch checked out to /srv/mediawiki-staging/php-1.32.0-wmf.14 was master.

I checked out wmf/1.32.0-wmf.14. This should be resolved now.