Page MenuHomePhabricator

When git-submodule clone fails in Quibble, the error should not be ignored
Closed, DuplicatePublicPRODUCTION ERROR


Failure on an unrelated core patch

01:00:48 1) Warning
01:00:48 The data provider specified for ResourcesTest::testFileExistence is invalid.
01:00:48 ResourceLoaderFileModule::readStyleFile: style file not found: "/workspace/src/extensions/Wikibase/view/lib/wikibase-data-values-value-view/lib/jquery.ui/jquery.ui.inputextender.css"
01:00:48 /workspace/src/maintenance/doMaintenance.php:94
01:00:48 2) ResourcesTest::testMissingMessages
01:00:48 Message 'valueview-listrotator-manually' required by 'jquery.ui.listrotator' must exist
01:00:48 Failed asserting that false is true.
01:00:48 /workspace/src/tests/phpunit/structure/ResourcesTest.php:110
01:00:48 /workspace/src/tests/phpunit/MediaWikiTestCase.php:424
01:00:48 /workspace/src/maintenance/doMaintenance.php:94

Event Timeline

CC @Krinkle as it's possibly related to the flattening he's doing

Thanks @Reedy. From what I can tell, this error would've happened both with and without my change.

The resource is described as being in this directory, which says:

Submodule link to 488d5b595632487f93f62cc5b35748857ff3e5ce of

That points to, where the file jquery.ui.inputextender.css exists. The error valueview-listrotator-manually similarly, is also a message defined in that same submodule.

These two failures are what I'd expect to happen if the Jenkins job skipped or failed to complete the git submodule update --init command. And the build output confirms this at

+ git submodule update --init --recursive
Submodule 'view/lib/wikibase-api' ( registered for path 'view/lib/wikibase-api'
Submodule 'view/lib/wikibase-data-values-value-view' ( registered for path 'view/lib/wikibase-data-values-value-view'
Cloning into 'view/lib/wikibase-api'...
fatal: unable to access '': The requested URL returned error: 502
Clone of '' into submodule path 'view/lib/wikibase-api' failed
INFO:backend.MySQL:Starting MySQL
INFO:backend.MySQL:Creating the wiki database and grant

So the git-submodule operation failed. And then Quibble skipped over all the other git-submodule operations, and moves on to the next phase (MySQL) as if nothing went wrong.

Instead, Quibble should have failed the build at that point.

Krinkle renamed this task from Wikibase/view/lib/wikibase-data-values-value-view/lib/jquery.ui/jquery.ui.inputextender.css is 404 to When git-submodule clone fails in Quibble, the error should not be ignored.Feb 10 2019, 3:55 AM
Krinkle added a subscriber: hashar.
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM