PageTriage experimental build status as of gerrit:982906/6 on Jan 5, 2023:
- SQLite
- 1) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testAfcTags - Undefined offset: 0
- 2) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testMultiAfcCategories - Undefined offset: 0
- 14) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testAfcTagsAndThatFilter - Failed asserting that actual size 0 matches expected size 1.
- 15) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testUnsubmittedDrafts - Failed asserting that actual size 0 matches expected size 1.
- 16) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testFilterType - Mainspace pages that were previously deleted - Failed asserting that two arrays are equal.
- 17) MediaWiki\Extension\PageTriage\Test\MaintenancePopulateDraftQueueTest::testPreExistingPagesWithCategoriesAreGivenCorrectTags - row #1 mismatches - Failed asserting that two arrays are equal.
- Failures and errors in other extensions
- Postgres
- One MediaWiki-extensions-UserMerge test - MergeUserTest::testMergeOfUserGroups - Wikimedia\Rdbms\DBQueryError: Error 23505: ERROR: duplicate key value violates unique constraint "unittest_user_groups_pkey" - DETAIL: Key (ug_user, ug_group)=(2, group2) already exists.
- One MediaWiki-extensions-CentralAuth test - 1) MediaWiki\Extension\CentralAuth\Tests\Phpunit\Integration\Special\SpecialGlobalGroupMembershipTest::testSave - Failed asserting that two arrays are equal. (d4bbd1cc)
- Failures and errors in other extensions
- PHP 8.2
- PHP 8.3
- Node 18
- Node 20
SQLite
14:30:38 1) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testAfcTags
14:30:38 Undefined offset: 0
14:30:38
14:30:38 /workspace/src/extensions/PageTriage/tests/phpunit/integration/ApiPageTriageListTest.php:89
14:30:38 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:322
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 2) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testMultiAfcCategories
14:30:38 Undefined offset: 0
14:30:38
14:30:38 /workspace/src/extensions/PageTriage/tests/phpunit/integration/ApiPageTriageListTest.php:141
14:30:38 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:322
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 --
14:30:38
14:30:38 There were 17 failures:
14:30:38
14:30:38 1) ORES\Tests\WatchedItemQueryServiceExtensionTest::testModifyWatchedItemsWithRCInfo
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 Array (
14:30:38 'oresc_rev' => '1'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.400'
14:30:38 + 'oresc_probability' => '0.4'
14:30:38 'oresc_model' => '5'
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/includes/Api/WatchedItemQueryServiceExtensionTest.php:175
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 2) ORES\Tests\FetchScoreJobTest::testRun
14:30:38 row #1 mismatches
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 Array (
14:30:38 - 0 => 17
14:30:38 - 1 => 5
14:30:38 - 2 => 1
14:30:38 - 3 => 0.241
14:30:38 - 4 => 0
14:30:38 + 0 => '17'
14:30:38 + 1 => '5'
14:30:38 + 2 => '1'
14:30:38 + 3 => '0.2405552732802'
14:30:38 + 4 => '0'
14:30:38 )
14:30:38
14:30:38 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:2294
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/includes/Services/FetchScoreJobTest.php:136
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 3) ORES\Tests\SqlScoreStorageTest::testStoreScoresCleanupOldScores
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 'oresc_rev' => '567'
14:30:38 'oresc_model' => '3'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.600'
14:30:38 + 'oresc_probability' => '0.6'
14:30:38 'oresc_is_predicted' => '1'
14:30:38 )
14:30:38 2 => stdClass Object (...)
14:30:38 @@ @@
14:30:38 'oresc_rev' => '12345'
14:30:38 'oresc_model' => '1'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.900'
14:30:38 + 'oresc_probability' => '0.9'
14:30:38 'oresc_is_predicted' => '1'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/includes/Storage/SqlScoreStorageTest.php:266
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 4) ORES\Tests\SqlScoreStorageTest::testPurgeRows
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 'oresc_rev' => '12344'
14:30:38 'oresc_model' => '4'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.860'
14:30:38 + 'oresc_probability' => '0.86'
14:30:38 'oresc_is_predicted' => '1'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/includes/Storage/SqlScoreStorageTest.php:410
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 5) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #0 (array(stdClass Object (...)), array(array('123')), array(), array())
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '123'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.320'
14:30:38 + 'oresc_probability' => '0.32'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:184
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 6) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #1 (array(stdClass Object (...), stdClass Object (...)), array(array('123'), array('321')), array(array(0.32)), array())
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '123'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.320'
14:30:38 + 'oresc_probability' => '0.32'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 1 => stdClass Object (
14:30:38 'oresc_rev' => '321'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.120'
14:30:38 + 'oresc_probability' => '0.12'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:184
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 7) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #2 (array(stdClass Object (...)), array(array('123'), array('321')), array(), array('--batch-size', '1', '--number', '1'))
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '321'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.120'
14:30:38 + 'oresc_probability' => '0.12'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:184
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 8) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #3 (array(stdClass Object (...)), array(array('123', '0'), array('321', '1')), array(), array())
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '123'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.320'
14:30:38 + 'oresc_probability' => '0.32'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:184
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 9) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #4 (array(stdClass Object (...), stdClass Object (...)), array(array('123'), array('321')), array(), array('--batch-size', '1'))
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '123'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.320'
14:30:38 + 'oresc_probability' => '0.32'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 1 => stdClass Object (
14:30:38 'oresc_rev' => '321'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.120'
14:30:38 + 'oresc_probability' => '0.12'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:184
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 10) ORES\Tests\Maintenance\PurgeScoreCacheTest::testPurgeScoreCache_bad_model
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '4922'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.100'
14:30:38 + 'oresc_probability' => '0.1'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PurgeScoreCacheTest.php:70
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 11) ORES\Tests\Maintenance\PurgeScoreCacheTest::testPurgeScoreCache_oldModels
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '3717'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.100'
14:30:38 + 'oresc_probability' => '0.1'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PurgeScoreCacheTest.php:119
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 12) ORES\Tests\Maintenance\PurgeScoreCacheTest::testPurgeScoreCache_nonRecent
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '7128'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.100'
14:30:38 + 'oresc_probability' => '0.1'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PurgeScoreCacheTest.php:165
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 13) ORES\Tests\Maintenance\PurgeScoreCacheTest::testPurgeScoreCache_oneModel
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 0 => stdClass Object (
14:30:38 'oresc_rev' => '4768'
14:30:38 'oresc_class' => '1'
14:30:38 - 'oresc_probability' => '0.100'
14:30:38 + 'oresc_probability' => '0.1'
14:30:38 'oresc_model' => '3'
14:30:38 )
14:30:38 )
14:30:38
14:30:38 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PurgeScoreCacheTest.php:190
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 14) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testAfcTagsAndThatFilter
14:30:38 Failed asserting that actual size 0 matches expected size 1.
14:30:38
14:30:38 /workspace/src/extensions/PageTriage/tests/phpunit/integration/ApiPageTriageListTest.php:125
14:30:38 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:322
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 15) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testUnsubmittedDrafts
14:30:38 Failed asserting that actual size 0 matches expected size 1.
14:30:38
14:30:38 /workspace/src/extensions/PageTriage/tests/phpunit/integration/ApiPageTriageListTest.php:171
14:30:38 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:322
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 16) MediaWiki\Extension\PageTriage\Test\ApiPageTriageListTest::testFilterType
14:30:38 Mainspace pages that were previously deleted
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 Array (
14:30:38 - 0 => 'PageOther'
14:30:38 )
14:30:38
14:30:38 /workspace/src/tests/phpunit/MediaWikiTestCaseTrait.php:283
14:30:38 /workspace/src/extensions/PageTriage/tests/phpunit/PageTriageTestCase.php:142
14:30:38 /workspace/src/extensions/PageTriage/tests/phpunit/integration/ApiPageTriageListTest.php:604
14:30:38 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:322
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:30:38
14:30:38 17) MediaWiki\Extension\PageTriage\Test\MaintenancePopulateDraftQueueTest::testPreExistingPagesWithCategoriesAreGivenCorrectTags
14:30:38 row #1 mismatches
14:30:38 Failed asserting that two arrays are equal.
14:30:38 --- Expected
14:30:38 +++ Actual
14:30:38 @@ @@
14:30:38 Array (
14:30:38 - 0 => 5
14:30:38 + 0 => '0'
14:30:38 )
14:30:38
14:30:38 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:2294
14:30:38 /workspace/src/extensions/PageTriage/tests/phpunit/integration/MaintenancePopulateDraftQueueTest.php:112
14:30:38 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:322
14:30:38 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97Postgres
14:31:32 1) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #0 (array(stdClass Object (...)), array(array('123')), array(), array())
14:31:32 Wikimedia\Rdbms\DBQueryError: Error 23505: ERROR: duplicate key value violates unique constraint "unittest_ores_model_pkey"
14:31:32 DETAIL: Key (oresm_id)=(1) already exists.
14:31:32
14:31:32 Function: ORES\Services\ScoreFetcher::updateModelVersion
14:31:32 Query: INSERT INTO "unittest_ores_model" (oresm_name,oresm_version,oresm_is_current) VALUES ('damaging','0.0.4',1)
14:31:32
14:31:32
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1200
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1184
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1158
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:649
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1652
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:119
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:562
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:136
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:75
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:62
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:116
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:87
14:31:32 /workspace/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:114
14:31:32 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:176
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:31:32
14:31:32 2) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #1 (array(stdClass Object (...), stdClass Object (...)), array(array('123'), array('321')), array(array(0.32)), array())
14:31:32 Wikimedia\Rdbms\DBQueryError: Error 23505: ERROR: duplicate key value violates unique constraint "unittest_ores_model_pkey"
14:31:32 DETAIL: Key (oresm_id)=(1) already exists.
14:31:32
14:31:32 Function: ORES\Services\ScoreFetcher::updateModelVersion
14:31:32 Query: INSERT INTO "unittest_ores_model" (oresm_name,oresm_version,oresm_is_current) VALUES ('damaging','0.0.4',1)
14:31:32
14:31:32
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1200
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1184
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1158
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:649
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1652
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:119
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:562
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:136
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:75
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:62
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:116
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:87
14:31:32 /workspace/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:114
14:31:32 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:176
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:31:32
14:31:32 3) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #2 (array(stdClass Object (...)), array(array('123'), array('321')), array(), array('--batch-size', '1', '--number', '1'))
14:31:32 Wikimedia\Rdbms\DBQueryError: Error 23505: ERROR: duplicate key value violates unique constraint "unittest_ores_model_pkey"
14:31:32 DETAIL: Key (oresm_id)=(1) already exists.
14:31:32
14:31:32 Function: ORES\Services\ScoreFetcher::updateModelVersion
14:31:32 Query: INSERT INTO "unittest_ores_model" (oresm_name,oresm_version,oresm_is_current) VALUES ('damaging','0.0.4',1)
14:31:32
14:31:32
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1200
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1184
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1158
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:649
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1652
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:119
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:562
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:136
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:75
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:62
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:116
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:87
14:31:32 /workspace/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:114
14:31:32 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:176
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:31:32
14:31:32 4) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #3 (array(stdClass Object (...)), array(array('123', '0'), array('321', '1')), array(), array())
14:31:32 Wikimedia\Rdbms\DBQueryError: Error 23505: ERROR: duplicate key value violates unique constraint "unittest_ores_model_pkey"
14:31:32 DETAIL: Key (oresm_id)=(1) already exists.
14:31:32
14:31:32 Function: ORES\Services\ScoreFetcher::updateModelVersion
14:31:32 Query: INSERT INTO "unittest_ores_model" (oresm_name,oresm_version,oresm_is_current) VALUES ('damaging','0.0.4',1)
14:31:32
14:31:32
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1200
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1184
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1158
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:649
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1652
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:119
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:562
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:136
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:75
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:62
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:116
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:87
14:31:32 /workspace/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:114
14:31:32 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:176
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:31:32
14:31:32 5) ORES\Tests\Maintenance\PopulateDatabaseTest::testPopulateDatabase with data set #4 (array(stdClass Object (...), stdClass Object (...)), array(array('123'), array('321')), array(), array('--batch-size', '1'))
14:31:32 Wikimedia\Rdbms\DBQueryError: Error 23505: ERROR: duplicate key value violates unique constraint "unittest_ores_model_pkey"
14:31:32 DETAIL: Key (oresm_id)=(1) already exists.
14:31:32
14:31:32 Function: ORES\Services\ScoreFetcher::updateModelVersion
14:31:32 Query: INSERT INTO "unittest_ores_model" (oresm_name,oresm_version,oresm_is_current) VALUES ('damaging','0.0.4',1)
14:31:32
14:31:32
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1200
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1184
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1158
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:649
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1652
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:119
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:562
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:136
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:75
14:31:32 /workspace/src/extensions/ORES/includes/Services/ScoreFetcher.php:62
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:116
14:31:32 /workspace/src/extensions/ORES/maintenance/PopulateDatabase.php:87
14:31:32 /workspace/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:114
14:31:32 /workspace/src/extensions/ORES/tests/phpunit/maintenance/PopulateDatabaseTest.php:176
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:31:32
14:31:32 6) MergeUserTest::testMergeOfUserGroups
14:31:32 Wikimedia\Rdbms\DBQueryError: Error 23505: ERROR: duplicate key value violates unique constraint "unittest_user_groups_pkey"
14:31:32 DETAIL: Key (ug_user, ug_group)=(2, group2) already exists.
14:31:32
14:31:32 Function: MergeUser::mergeDatabaseTables
14:31:32 Query: UPDATE "unittest_user_groups" SET ug_user = 2 WHERE ug_user = 1
14:31:32
14:31:32
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1200
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1184
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1158
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:649
14:31:32 /workspace/src/includes/libs/rdbms/database/Database.php:1485
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:119
14:31:32 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:413
14:31:32 /workspace/src/extensions/UserMerge/includes/MergeUser.php:338
14:31:32 /workspace/src/extensions/UserMerge/includes/MergeUser.php:56
14:31:32 /workspace/src/extensions/UserMerge/tests/phpunit/MergeUserTest.php:76
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:31:32
14:31:32 --
14:31:32
14:31:32 There were 2 failures:
14:31:32
14:31:32 1) MediaWiki\Extension\CentralAuth\Tests\Phpunit\Integration\Special\SpecialGlobalGroupMembershipTest::testSave
14:31:32 Failed asserting that two arrays are equal.
14:31:32 --- Expected
14:31:32 +++ Actual
14:31:32 @@ @@
14:31:32 Array (
14:31:32 - 0 => 'group-one'
14:31:32 + 0 => 'group-two'
14:31:32 1 => 'group-three'
14:31:32 )
14:31:32
14:31:32 /workspace/src/extensions/CentralAuth/tests/phpunit/integration/Special/SpecialGlobalGroupMembershipTest.php:292
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test
Show Details
14:31:32
14:31:32 2) ORES\Tests\Maintenance\PurgeScoreCacheTest::testPurgeScoreCache_all
14:31:32 Failed asserting that 'Purging ORES scores:\n
14:31:32 ...purging scores from all model versions from 'damaging' model': deleted 2 rows\n
14:31:32 ...skipping 'reverted' model, no action needed\n
14:31:32 done.\n
14:31:32 ' matches PCRE pattern "/skipping 'reverted'.+purging scores from all model versions from 'damaging'/s".
14:31:32
14:31:32 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:97
Logs generated by test