Page MenuHomePhabricator

Tests failing for the master branch of Jade
Closed, ResolvedPublicBUG REPORT

Description

Tests are currently failing for the master branch for Jade

https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Jade/+/594344/ has nothing but a commit message

20:11:16 PHPUnit 8.5.4 by Sebastian Bergmann and contributors.
20:11:16 
20:11:26 ...............................................................  63 / 420 ( 15%)
20:11:32 ............................................................... 126 / 420 ( 30%)
20:11:34 ............................................................... 189 / 420 ( 45%)
20:11:36 ............................................................S.. 252 / 420 ( 60%)
20:11:38 ...............................S....S.........SS...SSSSSSSSSSSS 315 / 420 ( 75%)
20:11:38 SSSSS.........Wikimedia\Rdbms\DBQueryError from line 1679 of /workspace/src/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? 
20:11:38 Query: TRUNCATE TABLE `unittest_jade_diff_judgment`
20:11:38 Function: MediaWikiIntegrationTestCase::truncateTables
20:11:38 Error: 1146 Table 'wikidb.unittest_jade_diff_judgment' doesn't exist (localhost:/workspace/db/quibble-mysql-nzregt3y/socket)
20:11:38 
20:11:38 #0 /workspace/src/includes/libs/rdbms/database/Database.php(1663): Wikimedia\Rdbms\Database->getQueryException('Table 'wikidb.u...', 1146, 'TRUNCATE TABLE ...', 'MediaWikiIntegr...')
20:11:38 #1 /workspace/src/includes/libs/rdbms/database/Database.php(1640): Wikimedia\Rdbms\Database->getQueryExceptionAndLog('Table 'wikidb.u...', 1146, 'TRUNCATE TABLE ...', 'MediaWikiIntegr...')
20:11:38 #2 /workspace/src/includes/libs/rdbms/database/Database.php(1215): Wikimedia\Rdbms\Database->reportQueryError('Table 'wikidb.u...', 1146, 'TRUNCATE TABLE ...', 'MediaWikiIntegr...', false)
20:11:38 #3 /workspace/src/includes/libs/rdbms/database/Database.php(5081): Wikimedia\Rdbms\Database->query('TRUNCATE TABLE ...', 'MediaWikiIntegr...', 264)
20:11:38 #4 /workspace/src/includes/libs/rdbms/database/Database.php(5069): Wikimedia\Rdbms\Database->doTruncate(Array, 'MediaWikiIntegr...')
20:11:38 #5 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php(1836): Wikimedia\Rdbms\Database->truncate(Array, 'MediaWikiIntegr...')
20:11:38 #6 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php(1810): MediaWikiIntegrationTestCase->truncateTables(Array, Object(Wikimedia\Rdbms\DatabaseMysqli))
20:11:38 #7 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php(429): MediaWikiIntegrationTestCase->resetDB(Object(Wikimedia\Rdbms\DatabaseMysqli), Array)
20:11:38 #8 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(597): MediaWikiIntegrationTestCase->run(Object(PHPUnit\Framework\TestResult))
20:11:38 #9 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(597): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
20:11:38 #10 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(597): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
20:11:38 #11 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(597): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
20:11:38 #12 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(597): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
20:11:38 #13 /workspace/src/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(621): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
20:11:38 #14 /workspace/src/vendor/phpunit/phpunit/src/TextUI/Command.php(204): PHPUnit\TextUI\TestRunner->doRun(Object(PHPUnit\Framework\TestSuite), Array, Array, true)
20:11:38 #15 /workspace/src/tests/phpunit/phpunit.php(71): PHPUnit\TextUI\Command->run(Array, true)
20:11:38 #16 /workspace/src/maintenance/doMaintenance.php(105): PHPUnitMaintClass->execute()
20:11:38 #17 /workspace/src/tests/phpunit/phpunit.php(130): require('/workspace/src/...')
20:11:38 #18 {main}
20:11:38 INFO:quibble.cmd:<<< Finish: PHPUnit extensions suite (with database), in 24.192 s

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Looks like Jade hasn't had much changes recently. It sounds like a regression in mediawiki/core.

@DannyS712 this might be related to a WIP patchset https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Jade/+/591503 where some tables were accidentally dropped during testing. We are finishing this up and should have it merged soon.

Appears to have been resolved