Page MenuHomePhabricator

beta-code-update-eqiad broken, Fetched in submodule path 'Wikibase/view/lib/wikibase-api', but it did not contain XXX
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/beta-code-update-eqiad/224430/console

15:03:01 INFO:mwextupdate:cwd: /srv/mediawiki-staging/php-master/extensions
15:03:01 INFO:mwextupdate:running: git submodule update --init --recursive
15:03:38 error: no such remote ref 4e68bf94ea58dcdd3372e55089c7c8e0ff533b96
15:03:38 Fetched in submodule path 'Wikibase/view/lib/wikibase-api', but it did not contain 4e68bf94ea58dcdd3372e55089c7c8e0ff533b96. Direct fetching of that commit failed.
15:03:40 Failed to recurse into submodule path 'Wikibase'
15:03:40 INFO:mwextupdate:Exit code: 1

Event Timeline

Addshore triaged this task as High priority.Nov 8 2018, 3:19 PM

Looks like we have an outdated remote URL in there:

lucaswerkmeister-wmde@deployment-deploy01:/srv/mediawiki-staging/php-master/extensions/Wikibase/view/lib/wikibase-api$ git remote -v
origin  https://gerrit.wikimedia.org/r/mediawiki/extensions/WikibaseJavaScriptApi (fetch)
origin  https://gerrit.wikimedia.org/r/mediawiki/extensions/WikibaseJavaScriptApi (push)

What’s the correct one, and what are the steps to update it? Just to git remote set-url from the shell, or is there more to it?

It should probably be doing "git submodule sync" before anything else?

Change 472476 had a related patch set uploaded (by Addshore; owner: Addshore):
[operations/puppet@production] beta: run git submodule sync on beta autoupdate

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

Change 472476 merged by Alexandros Kosiaris:
[operations/puppet@production] beta: run git submodule sync on beta autoupdate

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

Build #224435 succeeded again, looks like the fix worked.


Argh, @Addshore beat me to it ^^

Also, to verify prod will be fine:

addshore@deploy1001:/srv/mediawiki-staging/php-1.33.0-wmf.3/extensions/Wikibase/view/lib/wikibase-api$ git remote -v
origin  https://gerrit.wikimedia.org/r/wikibase/javascript-api (fetch)
origin  https://gerrit.wikimedia.org/r/wikibase/javascript-api (push)