Page MenuHomePhabricator

mw-update-l10n fail on beta because mwversioninuse yields wmf branches instead of 'master'
Closed, ResolvedPublic

Description

mwdeploy@deployment-bastion:~$ /usr/local/bin/mwversionsinuse
1.23wmf15 1.23wmf16

That cause the mw-update-l10n script to fail ( https://integration.wikimedia.org/ci/job/beta-code-update/49932/consoleFull ) with:

00:02:46.684 /usr/local/apache/common-local/wikiversions.cdb has no version entry for fawiki.
00:02:46.684 PHP Fatal error: /usr/local/apache/common-local/wikiversions.cdb has no version entry for fawiki.
00:02:46.685 in /data/project/apache/common-local/multiversion/MWMultiVersion.php on line 352
00:02:46.693 Update of MediaWiki localisation messages failed

The root cause is that scap.utils in mediawiki/tools/scap.git is hardcoding wikiversions.json when it should use wikiversions-labs.json on labs :-]

Bryan Davis told me it would be solvable once https://gerrit.wikimedia.org/r/#/c/116918/ (sync-wikiversion rewrite) lands in.


Version: wmf-deployment
Severity: critical

Details

Reference
bz62262

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 3:00 AM
bzimport added a project: Deployments.
bzimport set Reference to bz62262.

As a onetime workaround I made mwversioninuse to do:

echo "master=aawiki"

Then ran mw-update-l10n as user mwdeploy.

Will have to get it fixed in scap though :]

And it is being rebuild as of https://integration.wikimedia.org/ci/job/beta-code-update/49938/console . Will break again whenever the local hack for mwversioninuse disappear.

Change 117014 had a related patch set uploaded by BryanDavis:
Use realm specific filename with mwversionsinuse

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

Change 117014 merged by jenkins-bot:
Use realm specific filename with mwversionsinuse

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

This should be fixed. Antoine can reopen if the fix proves to be insufficient.

I removed the live hack on deployment-bastion.pmtpa.wmflabs /srv/scap and the job is running properly again apparently:

https://integration.wikimedia.org/ci/job/beta-code-update/53036/console

Thank you!