Page MenuHomePhabricator

deployment-prep database updater broken due to unsupported comments in dblist files
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/beta-update-databases-eqiad/ is broken with:

Exception: ('command: ', "echo '# NOTE: This file is automatically generated. Do not try to edit it directly.'; /usr/local/bin/mwscript update.php --wiki=# NOTE: This file is automatically generated. Do not try to edit it directly. --quick", 'output: ', '# NOTE: This file is automatically generated. Do not try to edit it directly.\nno version entry for #.\nFatal error: no version entry for #.\n in /srv/mediawiki-staging/multiversion/MWMultiVersion.php on line 423\n')

https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/545411/ adds a comment at the top of the dblist files:

# NOTE: This file is automatically generated. Do not try to edit it directly.

But that is not supported by the wmf-beta-update-databases script despite https://gerrit.wikimedia.org/r/#/c/operations/puppet/+/553200/2/modules/beta/files/wmf-beta-update-databases.py