Page MenuHomePhabricator

WikibaseMediaInfo test MultiLingualCaptionsTest fails
Open, HighPublic

Description

When running CI for https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseLexemeCirrusSearch/+/507847, this is produced:

01:07:59 Undefined index: imageinfo
01:07:59 
01:07:59 /workspace/src/extensions/WikibaseMediaInfo/tests/phpunit/integration/MultiLingualCaptionsTest.php:133
01:07:59 /workspace/src/extensions/WikibaseMediaInfo/tests/phpunit/integration/MultiLingualCaptionsTest.php:138
01:07:59 /workspace/src/tests/phpunit/MediaWikiTestCase.php:427
01:07:59 /workspace/src/maintenance/doMaintenance.php:96

the log has this:

01:07:59 [wfDebug] [debug] ApiUpload::performStash Stashing temporary file failed: UploadStashFileException Could not store file "/tmp/MW_PHPUnit_Wikibase\MediaInfo\Tests\Integration\MultiLingualCap8mTFoR" at "mwstore://local-backend/local-temp/6/60/20190503010521!MW_PHPUnit_Wikibase\MediaInfo\Tests\Integration\MultiLingualCap8mTFoR.png". {"private":false}

Event Timeline

Smalyshev created this task.May 3 2019, 3:01 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 3 2019, 3:01 AM
Smalyshev triaged this task as High priority.May 3 2019, 3:02 AM
Smalyshev updated the task description. (Show Details)

@Jdforrester-WMF any idea why this might be happening? Permissions in /tmp?

Possibly a permissions issue, yes. It's happening in the gate job but not the test job, which is confusing; possibly the order of operations is different and it's effectively a race condition with another test?

Krinkle added a subscriber: Krinkle.May 8 2019, 3:42 PM

@Smalyshev Looks like one or more WikibaseLexemeCirrusSearch commits have since been merged without overriding Verified. Is this resolved? Or was it not a consistent failure?

Looks like it's not happening anymore, and it happened only in old branch so maybe since we're moving on from that branch it may be irrelevant now.

Marking as resolved on the shared failure board. Keeping open for Multimedia to triage/close as needed.

Oh, here is the correct task which is still open.

I left a comment at T222436#5181994

dcausse added a subscriber: dcausse.

it's happening again on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CirrusSearch/+/516637 :

07:16:01 Undefined index: imageinfo
07:16:01 
07:16:01 /workspace/src/extensions/WikibaseMediaInfo/tests/phpunit/integration/WBMIApiTestCase.php:118
07:16:01 /workspace/src/extensions/WikibaseMediaInfo/tests/phpunit/integration/MultiLingualCaptionsTest.php:28
07:16:01 /workspace/src/tests/phpunit/MediaWikiTestCase.php:427

but surprisingly only for wmf-quibble-vendor-mysql-php71-docker.

Change 518168 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[mediawiki/extensions/WikibaseMediaInfo@master] Add more checks for failing test

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

Change 518168 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Add more checks for failing test

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

mmodell changed the subtype of this task from "Task" to "Production Error".Wed, Aug 28, 11:07 PM