Page MenuHomePhabricator

Wikibase\MediaInfo\Tests\Integration\StatementsTest::testEditStatements fails on REL1_35
Closed, DuplicatePublic

Description

Seen on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CirrusSearch/+/713849 in https://integration.wikimedia.org/ci/job/quibble-composer-mysql-php73-noselenium-docker/15180/console

13:01:22 1) Wikibase\MediaInfo\Tests\Integration\StatementsTest::testEditStatements
13:01:22 ApiUsageException: The file you submitted was empty.
13:01:22 
13:01:22 /workspace/src/includes/api/ApiUsageException.php:71
13:01:22 /workspace/src/includes/api/ApiBase.php:1382
13:01:22 /workspace/src/includes/api/ApiUpload.php:648
13:01:22 /workspace/src/includes/api/ApiUpload.php:616
13:01:22 /workspace/src/includes/api/ApiUpload.php:87
13:01:22 /workspace/src/includes/api/ApiMain.php:1593
13:01:22 /workspace/src/includes/api/ApiMain.php:498
13:01:22 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:109
13:01:22 /workspace/src/extensions/WikibaseMediaInfo/tests/phpunit/integration/WBMIApiTestCase.php:63
13:01:22 /workspace/src/extensions/WikibaseMediaInfo/tests/phpunit/integration/WBMIApiTestCase.php:115
13:01:22 /workspace/src/extensions/WikibaseMediaInfo/tests/phpunit/integration/StatementsTest.php:180
13:01:22 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446
13:01:22 /workspace/src/maintenance/doMaintenance.php:107

Something need backporting?

See also: T283535: Wikibase\MediaInfo\Tests\Integration\WatchlistTest::testWatchlist test failure on REL1_35

Event Timeline

This might be worth removing from the gate/shared build in Continuous-Integration-Config on 1.35 until it's fixed...

I don't believe that's bundled in the Wikibase releases, so shouldn't be an issue...

This might be worth removing from the gate/shared build in Continuous-Integration-Config on 1.35 until it's fixed...

I don't believe that's bundled in the Wikibase releases, so shouldn't be an issue...

Or I guess just mark the test broken

This and T283535 both look like there's a problem with RandomImageGenerator.php, while the random image that's being generated for testing is being written to disk

libgomp: Thread creation failed: Resource temporarily unavailable

This might be worth removing from the gate/shared build in Continuous-Integration-Config on 1.35 until it's fixed...

I don't believe that's bundled in the Wikibase releases, so shouldn't be an issue...

Or I guess just mark the test broken

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseMediaInfo/+/714092

Apparently I didn't tag the change to this bug