hashar created this task.
hashar added projects: Wikidata, ci-test-error.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: wdwb-tech.

TASK DESCRIPTION
  The webdriver.io Selenium tests are run serially. As part of T226869 
<https://phabricator.wikimedia.org/T226869> I have made a change to run up to 4 
tests in parallel with 
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/545650 which 
has failures.
  
  counterexample, name=repo/tests/selenium/specs/item.js
    Error in "item.can add a statement using the keyboard"
    Error: internal_api_error_DBQueryError: [3b6a7dfcb49300fd1f95a0e6] 
Exception caught: A database query error has occurred. This may indicate a bug 
in the software.
  
  There is db error attached to the CI build:
  
    Wed Jan 5 20:01:59 UTC 2022 030379ee3acc    wikidb  Error 1213 from 
Wikibase\Repo\Store\Sql\SqlIdGenerator::generateNewId, Deadlock found when 
trying to get lock; try restarting transaction 
(localhost:/workspace/db/quibble-mysql-fkbo30y1/socket) INSERT INTO 
`wb_id_counters` (id_value,id_type) VALUES (1,'wikibase-item') 
localhost:/workspace/db/quibble-mysql-fkbo30y1/socket
    #0 /workspace/src/includes/libs/rdbms/database/Database.php(1758): 
Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, 
string)
    #1 /workspace/src/includes/libs/rdbms/database/Database.php(1302): 
Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, 
boolean)
    #2 /workspace/src/includes/libs/rdbms/database/Database.php(2530): 
Wikimedia\Rdbms\Database->query(string, string, integer)
    #3 /workspace/src/includes/libs/rdbms/database/Database.php(2510): 
Wikimedia\Rdbms\Database->doInsert(string, array, string)
    #4 
/workspace/src/extensions/Wikibase/repo/includes/Store/Sql/SqlIdGenerator.php(103):
 Wikimedia\Rdbms\Database->insert(string, array, string)
    #5 
/workspace/src/extensions/Wikibase/repo/includes/Store/Sql/SqlIdGenerator.php(59):
 
Wikibase\Repo\Store\Sql\SqlIdGenerator->generateNewId(Wikimedia\Rdbms\DatabaseMysqli,
 string)
    #6 
/workspace/src/extensions/Wikibase/repo/includes/Store/RateLimitingIdGenerator.php(37):
 Wikibase\Repo\Store\Sql\SqlIdGenerator->getNewId(string)
    #7 
/workspace/src/extensions/Wikibase/repo/includes/Store/Sql/WikiPageEntityStore.php(166):
 Wikibase\Repo\Store\RateLimitingIdGenerator->getNewId(string)
    #8 
/workspace/src/extensions/Wikibase/lib/includes/Store/TypeDispatchingEntityStore.php(59):
 
Wikibase\Repo\Store\Sql\WikiPageEntityStore->assignFreshId(Wikibase\DataModel\Entity\Item)
    #9 
/workspace/src/extensions/Wikibase/repo/includes/Api/EntitySavingHelper.php(298):
 
Wikibase\Lib\Store\TypeDispatchingEntityStore->assignFreshId(Wikibase\DataModel\Entity\Item)
    #10 
/workspace/src/extensions/Wikibase/repo/includes/Api/EntitySavingHelper.php(228):
 Wikibase\Repo\Api\EntitySavingHelper->createEntity(string, NULL, string)
    #11 
/workspace/src/extensions/Wikibase/repo/includes/Api/ModifyEntity.php(381): 
Wikibase\Repo\Api\EntitySavingHelper->loadEntity(array, NULL, string)
    #12 
/workspace/src/extensions/Wikibase/repo/includes/Api/ModifyEntity.php(305): 
Wikibase\Repo\Api\ModifyEntity->loadEntityFromSavingHelper(NULL)
    #13 /workspace/src/includes/api/ApiMain.php(1889): 
Wikibase\Repo\Api\ModifyEntity->execute()
    #14 /workspace/src/includes/api/ApiMain.php(868): ApiMain->executeAction()
    #15 /workspace/src/includes/api/ApiMain.php(839): 
ApiMain->executeActionWithErrorHandling()
    #16 /workspace/src/api.php(90): ApiMain->execute()
    #17 /workspace/src/api.php(45): wfApiMain()
    #18 {main}
  
  This can be reproduced by setting wdio maxInstances to 4:
  
  https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/545650

TASK DETAIL
  https://phabricator.wikimedia.org/T298682

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hashar
Cc: Aklapper, kostajh, hashar, Invadibot, maantietaja, Akuckartz, DannyS712, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF, Addshore, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to