Last modified: 2014-03-19 09:47:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64262, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62262 - mw-update-l10n fail on beta because mwversioninuse yields wmf branches instead of 'master'
mw-update-l10n fail on beta because mwversioninuse yields wmf branches instea...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Highest critical (vote)
: ---
Assigned To: Bryan Davis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-05 17:17 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-03-19 09:47 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-03-05 17:17:24 UTC
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.
Comment 1 Antoine "hashar" Musso (WMF) 2014-03-05 17:27:13 UTC
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 :]
Comment 2 Antoine "hashar" Musso (WMF) 2014-03-05 17:31:36 UTC
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.
Comment 3 Gerrit Notification Bot 2014-03-05 19:02:45 UTC
Change 117014 had a related patch set uploaded by BryanDavis:
Use realm specific filename with mwversionsinuse

https://gerrit.wikimedia.org/r/117014
Comment 5 Bryan Davis 2014-03-06 21:18:30 UTC
(In reply to Nemo from comment #4)
> Now in production?
> https://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-
> betafeatures

Nope. That one is caused by https://bugzilla.wikimedia.org/show_bug.cgi?id=51174
Comment 6 Gerrit Notification Bot 2014-03-12 04:58:07 UTC
Change 117014 merged by jenkins-bot:
Use realm specific filename with mwversionsinuse

https://gerrit.wikimedia.org/r/117014
Comment 7 Bryan Davis 2014-03-19 03:27:33 UTC
This should be fixed. Antoine can reopen if the fix proves to be insufficient.
Comment 8 Antoine "hashar" Musso (WMF) 2014-03-19 09:47:11 UTC
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!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links