Page MenuHomePhabricator

OpenStackManager fails the mwext-testextension-zend test
Closed, ResolvedPublic

Description

OpenStackManager fails the mwext-testextension-zend test please see https://integration.wikimedia.org/ci/job/mwext-testextension-zend/9526/console

Errors that are shown are

20:25:42 There were 3 failures:
20:25:42
20:25:42 1) ResourcesTest::testFileExistence with data set #476 ('/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/warning-32.png', 'ext.openstack', '/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/warning-32.png')
20:25:42 File '/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/warning-32.png' referenced by 'ext.openstack' must exist.
20:25:42 Failed asserting that file "/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/warning-32.png" exists.
20:25:42
20:25:42 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/structure/ResourcesTest.php:24
20:25:42 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/MediaWikiTestCase.php:131
20:25:42
20:25:42 2) ResourcesTest::testFileExistence with data set #477 ('/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/critical-32.png', 'ext.openstack', '/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/critical-32.png')
20:25:42 File '/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/critical-32.png' referenced by 'ext.openstack' must exist.
20:25:42 Failed asserting that file "/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/critical-32.png" exists.
20:25:42
20:25:42 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/structure/ResourcesTest.php:24
20:25:42 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/MediaWikiTestCase.php:131
20:25:42
20:25:42 3) ResourcesTest::testFileExistence with data set #478 ('/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/tick-32.png', 'ext.openstack', '/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/tick-32.png')
20:25:42 File '/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/tick-32.png' referenced by 'ext.openstack' must exist.
20:25:42 Failed asserting that file "/mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/extensions/OpenStackManager/modules/images/tick-32.png" exists.
20:25:42
20:25:42 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/structure/ResourcesTest.php:24
20:25:42 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/MediaWikiTestCase.php:131

Event Timeline

Paladox raised the priority of this task from to Needs Triage.
Paladox updated the task description. (Show Details)
Paladox subscribed.

Change 240875 had a related patch set uploaded (by Hashar):
Adjust MediaWiki images that have been renamed

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

They have been renamed in MediaWiki core since MediaWiki 1.24.0 by https://gerrit.wikimedia.org/r/#/c/153368/

I am not sure how to reference the images from mediawiki /mw-config/ and they are probably not reachable anyway. Maybe should use material from OOUI or some other icons instead.

Oh I have copied the three images that are required and added them to the extension directly so that the error dosent happened in future.

Change 240876 had a related patch set uploaded (by Paladox):
Fix jenkings tests

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

Change 240875 abandoned by Hashar:
Adjust MediaWiki images that have been renamed

Reason:
Thanks Bartosz. Follow up on https://gerrit.wikimedia.org/r/#/c/240876/

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

Change 240876 merged by jenkins-bot:
Adjust MediaWiki images that have been renamed

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

Paladox removed a project: Patch-For-Review.
Paladox removed a subscriber: gerritbot.