Page MenuHomePhabricator

selenium-daily-betacommons-MediaWiki fails with `internal_api_error_LogicException: [...] Exception caught: Local entity source does not have items.`
Closed, DuplicatePublic

Description

selenium-daily-betacommons-MediaWiki Jenkins job is failing since 2020-05-14 (#320).

Example error message:

[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] [01:22:37] [S] [MWBOT] Login successful: Selenium user@https://commons.wikimedia.beta.wmflabs.org/w
[0-1] Error in "Page should be editable @daily"
internal_api_error_LogicException: [XrydXawQBHcAACmBbskAAAAI] Exception caught: Local entity source does not have items.
[0-1] 
	Video location: /log/Page-should-be-editable-%40daily.mp4 

	ffmpeg exited with code 255 /log/Page-should-be-editable-%40daily.mp4
[0-1] 
	Screenshot location: /log/Page-should-be-editable-%40daily.png 

[0-1] Error in "Page should have history @daily"
internal_api_error_LogicException: [XrydXawQBHcAACmBbsoAAAAI] Exception caught: Local entity source does not have items.
[0-1] 
	Video location: /log/Page-should-have-history-%40daily.mp4 

[0-1] 	ffmpeg exited with code 255 /log/Page-should-have-history-%40daily.mp4
[0-1] 
	Screenshot location: /log/Page-should-have-history-%40daily.png 

[0-1] FAILED in chrome - /tests/selenium/specs/page.js

A similar job, selenium-daily-beta-MediaWiki, targeting en.wikipedia.beta.wmflabs.org (instead of commons.wikimedia.beta.wmflabs.org) passes.

Event Timeline

zeljkofilipin updated the task description. (Show Details)

The issue seems to be specific to commons betalabs. Checking in test-commons wmf.34 and commons wmf.34did not show the error.

Special:SuggestedTags displays the following Console error in`commons betalabs`:

mw.Api error:  modification-failed 
{error: {…}, servedby: "deployment-mediawiki-07"}
error:
*: "See https://commons.wikimedia.beta.wmflabs.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
code: "modification-failed"
info: "[[d:Special:EntityPage/Q155802|Q155802]] not found"
messages: Array(1)
0:
html:
*: "<a href="https://wikidata.beta.wmflabs.org/wiki/Special:EntityPage/Q155802" class="extiw" title="d:Special:EntityPage/Q155802">Q155802</a> not found"
__proto__: Object
name: "wikibase-validator-no-such-entity"
parameters: ["[[d:Special:EntityPage/Q155802|Q155802]]"]

Is this actual breakage? Should we tag the WBMI project?

@Etonkovidova that error for SuggestedTags is expected on beta - the google vision call returns wikidata ids for items that only exist on production wikidata, and beta-commons uses beta-wikidata so they're not found