Page MenuHomePhabricator

PageTriage tests failing in Jenkins
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/PageTriage/+/715148

00:28:24 1) ApiPageTriageListTest::testQueryOres
00:28:24 Wikimedia\Rdbms\DBQueryError: Error 1062: Duplicate entry 'draftquality-0.0.1' for key 'oresm_version' (localhost:/workspace/db/quibble-mysql-oq_7619d/socket)
00:28:24 Function: Wikimedia\Rdbms\Database::upsert
00:28:24 Query: INSERT INTO `unittest_ores_model` (oresm_name,oresm_version,oresm_is_current) VALUES ('draftquality','0.0.1',1)

00:28:24 2) ApiPageTriageListTest::testQueryOresCopyvio
00:28:24 Wikimedia\Rdbms\DBQueryError: Error 1062: Duplicate entry 'draftquality-0.0.1' for key 'oresm_version' (localhost:/workspace/db/quibble-mysql-oq_7619d/socket)
00:28:24 Function: Wikimedia\Rdbms\Database::upsert
00:28:24 Query: INSERT INTO `unittest_ores_model` (oresm_name,oresm_version,oresm_is_current) VALUES ('draftquality','0.0.1',1)

Related Objects

Event Timeline

Legoktm triaged this task as Unbreak Now! priority.Fri, Aug 27, 12:49 AM
Legoktm created this task.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 715225 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/extensions/PageTriage@master] Add ores tables to clean ups in ApiPageTriageListTest

https://gerrit.wikimedia.org/r/715225

Change 715225 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] First try to get the ores model id before trying to upsert in tests

https://gerrit.wikimedia.org/r/715225