Last modified: 2014-07-17 11:42:44 UTC
I have added Jenkins job for the FlaggedRevs extension (bug 59918) and created a dummy change https://gerrit.wikimedia.org/r/#/c/115143/ The test suite does not pass because FlaggablePageTest::testPageDataFromTitle triggers an uncommitted transaction. See attached build log coming from https://integration.wikimedia.org/ci/job/mwext-FlaggedRevs-testextensions-master/1/console
Change 115147 had a related patch set uploaded by Hashar: mwext-FlaggedRevs-testextensions-master is not passing https://gerrit.wikimedia.org/r/115147
Change 115147 merged by jenkins-bot: mwext-FlaggedRevs-testextensions-master is not passing https://gerrit.wikimedia.org/r/115147
The job is being run by Gerrit/Zuul but is not blocking changes pending the test suite to be fixed.
Glancing through the code, it appears that when sqlite is being used for both the main database and SqlBagOStuff, it will use the same database connection for both. So when SqlBagOStuff as $wgMemc flushes the database transaction, it is interfering with the transactions on the main database as well, giving this error. MySQL has a different code path in SqlBagOStuff::getDB that appears to create an entirely new loadbalancer object which will return a separate database connection, causing no interference in production.