Steps to replicate the issue (include links if applicable):
- Upload a patch to the ORES or PageTriage repositories via Gerrit
- Wait for CI to finish
What happens?:
12:06:08 INFO:quibble.commands:Shutting down backends: <ExternalWebserver http://127.0.0.1:9413 /workspace/src> <Xvfb :94> <ChromeWebDriver :94> 12:06:08 INFO:backend.ChromeWebDriver:Terminating ChromeWebDriver 12:06:08 INFO:backend.Xvfb:Terminating Xvfb 12:06:08 INFO:quibble.commands:Shutting down backends: <MySQL /workspace/db/quibble-mysql-x90vwkuc/socket> 12:06:08 INFO:backend.MySQL:Terminating MySQL 12:06:08 [quibble-vendor-mysql-php74-noselenium-docker] $ /bin/bash -xe /tmp/jenkins14156388653785436904.sh 12:06:11 + set -eu 12:06:11 + ERROR_FILES=(mw-dberror.log mw-error.log) 12:06:11 + echo 'Asserting empty files: mw-dberror.log mw-error.log' 12:06:11 Asserting empty files: mw-dberror.log mw-error.log 12:06:11 ++ cd /srv/jenkins/workspace/quibble-vendor-mysql-php74-noselenium-docker/log 12:06:11 ++ ls mw-dberror.log mw-error.log 12:06:11 ++ : 12:06:11 + log_files=mw-dberror.log 12:06:11 + '[' '!' mw-dberror.log ']' 12:06:11 + echo 'Dumping file(s) mw-dberror.log' 12:06:11 Dumping file(s) mw-dberror.log 12:06:11 + set +e 12:06:11 + cd /srv/jenkins/workspace/quibble-vendor-mysql-php74-noselenium-docker/log 12:06:11 + grep --color . mw-dberror.log mw-error.log 12:06:11 mw-dberror.log:Mon Jan 15 20:06:08 UTC 2024 5973089a7101 wikidb-unittest_ Error 1265 from ORES\Storage\SqlScoreStorage::storeScores, Insert returned unacceptable warning: Data truncated for column 'oresc_probability' at row 1 INSERT IGNORE INTO `unittest_ores_classification` (oresc_rev,oresc_model,oresc_class,oresc_probability,oresc_is_predicted) VALUES (17,5,1,'0.2405552732802',0),(17,7,1,'0.74879388161087',1) localhost:/workspace/db/quibble-mysql-x90vwkuc/socket 12:06:11 mw-dberror.log:#0 /workspace/src/includes/libs/rdbms/database/Database.php(1161): Wikimedia\Rdbms\Database->getQueryExceptionAndLog() 12:06:11 mw-dberror.log:#1 /workspace/src/includes/libs/rdbms/database/DatabaseMySQL.php(274): Wikimedia\Rdbms\Database->reportQueryError() 12:06:11 mw-dberror.log:#2 /workspace/src/includes/libs/rdbms/database/Database.php(1483): Wikimedia\Rdbms\DatabaseMySQL->checkInsertWarnings() 12:06:11 mw-dberror.log:#3 /workspace/src/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\Rdbms\Database->insert() 12:06:11 mw-dberror.log:#4 /workspace/src/includes/libs/rdbms/database/DBConnRef.php(407): Wikimedia\Rdbms\DBConnRef->__call() 12:06:11 mw-dberror.log:#5 /workspace/src/extensions/ORES/includes/Storage/SqlScoreStorage.php(101): Wikimedia\Rdbms\DBConnRef->insert() 12:06:11 mw-dberror.log:#6 /workspace/src/extensions/ORES/includes/Services/FetchScoreJob.php(98): ORES\Storage\SqlScoreStorage->storeScores() 12:06:11 mw-dberror.log:#7 /workspace/src/extensions/ORES/tests/phpunit/includes/Services/FetchScoreJobTest.php(131): ORES\Services\FetchScoreJob->run() 12:06:11 mw-dberror.log:#8 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestCase.php(1548): ORES\Tests\FetchScoreJobTest->testRun() 12:06:11 mw-dberror.log:#9 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestCase.php(1154): PHPUnit\Framework\TestCase->runTest() 12:06:11 mw-dberror.log:#10 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestResult.php(728): PHPUnit\Framework\TestCase->runBare() 12:06:11 mw-dberror.log:#11 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestCase.php(904): PHPUnit\Framework\TestResult->run() 12:06:11 mw-dberror.log:#12 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit\Framework\TestCase->run() 12:06:11 mw-dberror.log:#13 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit\Framework\TestSuite->run() 12:06:11 mw-dberror.log:#14 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit\Framework\TestSuite->run() 12:06:11 mw-dberror.log:#15 /workspace/src/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit\Framework\TestSuite->run() 12:06:11 mw-dberror.log:#16 /workspace/src/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(653): PHPUnit\Framework\TestSuite->run() 12:06:11 mw-dberror.log:#17 /workspace/src/vendor/phpunit/phpunit/src/TextUI/Command.php(144): PHPUnit\TextUI\TestRunner->run() 12:06:11 mw-dberror.log:#18 /workspace/src/vendor/phpunit/phpunit/src/TextUI/Command.php(97): PHPUnit\TextUI\Command->run() 12:06:11 mw-dberror.log:#19 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit(97): PHPUnit\TextUI\Command::main() 12:06:11 mw-dberror.log:#20 /workspace/src/vendor/bin/phpunit(118): include(string) 12:06:11 mw-dberror.log:#21 {main} 12:06:11 + set -e 12:06:11 + echo -e 'MediaWiki emitted some errors. Check output above.' 12:06:11 MediaWiki emitted some errors. Check output above. 12:06:11 + exit 1 12:06:11 Build step 'Execute shell' marked build as failure
What should have happened instead?:
CI passes
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Unit tests pass in local dev environment.