Page MenuHomePhabricator

Gerrit 146683 broke `php tests/parserTests.php`.
Closed, ResolvedPublic

Description

git bisect shows that gerrit patch https://gerrit.wikimedia.org/r/146683 broke php tests/parserTests.php.

$ php tests/parserTests.php --quiet
This is MediaWiki version 1.24alpha (4c0871f).

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: DELETE FROM parsertest_l10n_cache WHERE lc_lang = 'en'
Function: LCStoreDB::finishWrite
Error: 1146 Table 'mediawiki-dev.parsertest_l10n_cache' doesn't exist (localhost)
PHP Notice: Uncommitted DB writes (transaction from LocalFile::recordUpload2). in /home/cananian/Projects/Wikimedia/core/includes/db/Database.php on line 4188
PHP Notice: Uncommitted DB writes (transaction from LCStoreDB::finishWrite). in /home/cananian/Projects/Wikimedia/core/includes/db/Database.php on line 4188
$

(Running maintenance/update.php has no effect)

Umherirrender says, "This breaks parser tests, because the new db connection has the wrong prefix. CloneDatabase needs a callback in the LBFactory for new connections?"


Version: unspecified
Severity: normal

Details

Reference
bz69082

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:32 AM
bzimport set Reference to bz69082.

Change 151522 had a related patch set uploaded by Cscott:
Revert "Made LCStoreDB try to use a separate DB connection"

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

Change 151522 merged by jenkins-bot:
Revert "Made LCStoreDB try to use a separate DB connection"

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