Page MenuHomePhabricator
Paste P13343

Wikispeech SDC missing table
ActivePublic

Authored by Sebastian_Berlin-WMSE on Fri, Nov 20, 10:06 AM.
$ dev/phpunit.sh
/vagrant/mediawiki/tests/phpunit/phpunit.php --wiki wiki /vagrant/mediawiki/extensions/WikispeechSpeechDataCollector/tests/phpunit
Using PHP 7.2.22-1+0~20190902.26+debian9~1.gbpd64eb7+wmf1
PHPUnit 8.5.8 by Sebastian Bergmann and contributors.
EWikimedia\Rdbms\DBQueryError from line 1699 of /vagrant/mediawiki/includes/libs/rdbms/database/Database.php: Error 1146: Table 'wiki.unittest_wikispeech_sdc_language' doesn't exist (127.0.0.1)
Function: MediaWikiIntegrationTestCase::truncateTables
Query: TRUNCATE TABLE `unittest_wikispeech_sdc_language`
#0 /vagrant/mediawiki/includes/libs/rdbms/database/Database.php(1683): Wikimedia\Rdbms\Database->getQueryException('Table 'wiki.uni...', 1146, 'TRUNCATE TABLE ...', 'MediaWikiIntegr...')
#1 /vagrant/mediawiki/includes/libs/rdbms/database/Database.php(1658): Wikimedia\Rdbms\Database->getQueryExceptionAndLog('Table 'wiki.uni...', 1146, 'TRUNCATE TABLE ...', 'MediaWikiIntegr...')
#2 /vagrant/mediawiki/includes/libs/rdbms/database/Database.php(1227): Wikimedia\Rdbms\Database->reportQueryError('Table 'wiki.uni...', 1146, 'TRUNCATE TABLE ...', 'MediaWikiIntegr...', false)
#3 /vagrant/mediawiki/includes/libs/rdbms/database/Database.php(5370): Wikimedia\Rdbms\Database->query('TRUNCATE TABLE ...', 'MediaWikiIntegr...', 264)
#4 /vagrant/mediawiki/includes/libs/rdbms/database/Database.php(5357): Wikimedia\Rdbms\Database->doTruncate(Array, 'MediaWikiIntegr...')
#5 /vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php(1906): Wikimedia\Rdbms\Database->truncate(Array, 'MediaWikiIntegr...')
#6 /vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php(1880): MediaWikiIntegrationTestCase->truncateTables(Array, Object(Wikimedia\Rdbms\DatabaseMysqli))
#7 /vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php(444): MediaWikiIntegrationTestCase->resetDB(Object(Wikimedia\Rdbms\DatabaseMysqli), Array)
#8 /vagrant/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php(597): MediaWikiIntegrationTestCase->run(Object(PHPUnit\Framework\TestResult))
#9 /vagrant/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php(597): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#10 /vagrant/mediawiki/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(627): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#11 /vagrant/mediawiki/vendor/phpunit/phpunit/src/TextUI/Command.php(204): PHPUnit\TextUI\TestRunner->doRun(Object(PHPUnit\Framework\TestSuite), Array, Array, true)
#12 /vagrant/mediawiki/tests/phpunit/phpunit.php(75): PHPUnit\TextUI\Command->run(Array, true)
#13 /vagrant/mediawiki/maintenance/doMaintenance.php(106): PHPUnitMaintClass->execute()
#14 /vagrant/mediawiki/tests/phpunit/phpunit.php(134): require('/vagrant/mediaw...')
#15 {main}

Event Timeline