Page MenuHomePhabricator

JobQueueError while adding claim to Wikidata entry
Closed, InvalidPublicPRODUCTION ERROR

Description

Error message
internal_api_error_JobQueueError: [f337c48c-4b8f-44cb-9f8f-21985f35cfb5] Caught exception of type JobQueueError
Could not enqueue jobs: Unable to deliver all events: 503: Service Unavailable
servedby: mw1376
Stack Trace
tbd
Impact

Claim appending failed.

Notes

Error raised while adding P27 --> Q142 on item https://www.wikidata.org/w/index.php?title=Q33103040 with Framawiki account on API editing (pywikibot).
Around 2020-07-14 04:12:50 UTC.

Details

Request ID
f337c48c-4b8f-44cb-9f8f-21985f35cfb5
Stack Trace
#0 /srv/mediawiki/php-1.35.0-wmf.40/includes/jobqueue/JobQueue.php(367): MediaWiki\Extension\EventBus\Adapters\JobQueue\JobQueueEventBus->doBatchPush(array, integer)
#1 /srv/mediawiki/php-1.35.0-wmf.40/includes/jobqueue/JobQueue.php(337): JobQueue->batchPush(array, integer)
#2 /srv/mediawiki/php-1.35.0-wmf.40/includes/jobqueue/JobQueueGroup.php(171): JobQueue->push(array)
#3 /srv/mediawiki/php-1.35.0-wmf.40/extensions/WikibaseQualityConstraints/src/WikibaseQualityConstraintsHooks.php(64): JobQueueGroup->push(array)
#4 /srv/mediawiki/php-1.35.0-wmf.40/includes/HookContainer/HookContainer.php(320): WikibaseQuality\ConstraintReport\WikibaseQualityConstraintsHooks::onWikibaseChange(Wikibase\Lib\Changes\ItemChange)
#5 /srv/mediawiki/php-1.35.0-wmf.40/includes/HookContainer/HookContainer.php(131): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#6 /srv/mediawiki/php-1.35.0-wmf.40/includes/Hooks.php(137): MediaWiki\HookContainer\HookContainer->run(string, array, array)
#7 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Notifications/HookChangeTransmitter.php(37): Hooks::run(string, array)
#8 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Notifications/ChangeNotifier.php(255): Wikibase\Repo\Notifications\HookChangeTransmitter->transmitChange(Wikibase\Lib\Changes\ItemChange)
#9 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Notifications/ChangeNotifier.php(197): Wikibase\Repo\Notifications\ChangeNotifier->transmitChange(Wikibase\Lib\Changes\ItemChange)
#10 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/RepoHooks.php(253): Wikibase\Repo\Notifications\ChangeNotifier->notifyOnPageModified(MediaWiki\Revision\RevisionStoreRecord, MediaWiki\Revision\RevisionStoreRecord)
#11 /srv/mediawiki/php-1.35.0-wmf.40/includes/HookContainer/HookContainer.php(320): Wikibase\Repo\RepoHooks::onRevisionFromEditComplete(WikiPage, MediaWiki\Revision\RevisionStoreRecord, boolean, User, array)
#12 /srv/mediawiki/php-1.35.0-wmf.40/includes/HookContainer/HookContainer.php(131): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#13 /srv/mediawiki/php-1.35.0-wmf.40/includes/HookContainer/HookRunner.php(3293): MediaWiki\HookContainer\HookContainer->run(string, array)
#14 /srv/mediawiki/php-1.35.0-wmf.40/includes/Storage/PageUpdater.php(1076): MediaWiki\HookContainer\HookRunner->onRevisionFromEditComplete(WikiPage, MediaWiki\Revision\RevisionStoreRecord, boolean, User, array)
#15 /srv/mediawiki/php-1.35.0-wmf.40/includes/Storage/PageUpdater.php(794): MediaWiki\Storage\PageUpdater->doModify(CommentStoreComment, User, integer)
#16 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Store/Sql/WikiPageEntityStore.php(374): MediaWiki\Storage\PageUpdater->saveRevision(CommentStoreComment, integer)
#17 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Store/Sql/WikiPageEntityStore.php(234): Wikibase\Repo\Store\Sql\WikiPageEntityStore->saveEntityContent(Wikibase\Repo\Content\ItemContent, User, string, integer, integer, array)
#18 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/lib/includes/Store/TypeDispatchingEntityStore.php(90): Wikibase\Repo\Store\Sql\WikiPageEntityStore->saveEntity(Wikibase\DataModel\Entity\Item, string, User, integer, integer, array)
#19 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/EditEntity/StatsdSaveTimeRecordingEntityStore.php(50): Wikibase\Lib\Store\TypeDispatchingEntityStore->saveEntity(Wikibase\DataModel\Entity\Item, string, User, integer, integer, array)
#20 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/EditEntity/MediawikiEditEntity.php(741): Wikibase\Repo\EditEntity\StatsdSaveTimeRecordingEntityStore->saveEntity(Wikibase\DataModel\Entity\Item, string, User, integer, integer, array)
#21 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/EditEntity/StatsdSaveTimeRecordingEditEntity.php(74): Wikibase\Repo\EditEntity\MediawikiEditEntity->attemptSave(Wikibase\DataModel\Entity\Item, string, integer, string, boolean, array)
#22 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Api/EntitySavingHelper.php(367): Wikibase\Repo\EditEntity\StatsdSaveTimeRecordingEditEntity->attemptSave(Wikibase\DataModel\Entity\Item, string, integer, string, NULL, array)
#23 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Api/SetClaim.php(155): Wikibase\Repo\Api\EntitySavingHelper->attemptSaveEntity(Wikibase\DataModel\Entity\Item, string)
#24 /srv/mediawiki/php-1.35.0-wmf.40/extensions/Wikibase/repo/includes/Api/SetClaim.php(110): Wikibase\Repo\Api\SetClaim->executeInternal()
#25 /srv/mediawiki/php-1.35.0-wmf.40/includes/api/ApiMain.php(1589): Wikibase\Repo\Api\SetClaim->execute()
#26 /srv/mediawiki/php-1.35.0-wmf.40/includes/api/ApiMain.php(525): ApiMain->executeAction()
#27 /srv/mediawiki/php-1.35.0-wmf.40/includes/api/ApiMain.php(496): ApiMain->executeActionWithErrorHandling()
#28 /srv/mediawiki/php-1.35.0-wmf.40/api.php(90): ApiMain->execute()
#29 /srv/mediawiki/php-1.35.0-wmf.40/api.php(45): wfApiMain()
#30 /srv/mediawiki/w/api.php(3): require(string)
#31 {main}

Event Timeline

Urbanecm edited Stack Trace. (Show Details)
Urbanecm added a subscriber: Urbanecm.

From the stacktrace, it seems this is a temporary error and shouldn't recur?

Unlikely, in my opinion. The message (“Could not enqueue jobs: Unable to deliver all events: 503: Service Unavailable”) indeed sounds like it’s just a random one-off error. Unless it happens more frequently, I think we can ignore it.

Unless it happens more frequently, I think we can ignore it.

Let's close then.