Page MenuHomePhabricator

Wikibase Travis CI jobs failing due to unability to pull some git submodules from Gerrit
Closed, ResolvedPublic

Description

Problems seems to had started yesterday (2020-03-30). All jobs on all commits error consistently.
See e.g. https://travis-ci.org/github/wikimedia/mediawiki-extensions-Wikibase/builds/669141316 and https://travis-ci.org/github/wikimedia/mediawiki-extensions-Wikibase/jobs/669141317

Cloning into '/home/travis/build/wikimedia/mediawiki-extensions-Wikibase/lib/resources/wikibase-api'...
fatal: unable to access 'https://gerrit.wikimedia.org/r/wikibase/javascript-api/': gnutls_handshake() failed: Handshake failed
fatal: clone of 'https://gerrit.wikimedia.org/r/wikibase/javascript-api' into submodule path '/home/travis/build/wikimedia/mediawiki-extensions-Wikibase/lib/resources/wikibase-api' failed
Failed to clone 'lib/resources/wikibase-api'. Retry scheduled

Cloning into '/home/travis/build/wikimedia/mediawiki-extensions-Wikibase/view/lib/wikibase-data-values-value-view'...
fatal: unable to access 'https://gerrit.wikimedia.org/r/data-values/value-view/': gnutls_handshake() failed: Handshake failed
fatal: clone of 'https://gerrit.wikimedia.org/r/data-values/value-view' into submodule path '/home/travis/build/wikimedia/mediawiki-extensions-Wikibase/view/lib/wikibase-data-values-value-view' failed
Failed to clone 'view/lib/wikibase-data-values-value-view'. Retry scheduled

Retried attempts also fail

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

My current (unverified) hypothesis is that something might have changed to Gerrit SSL settings/certificate in a way that Ubuntu 14's git binary running in Travis VMs can no longer work with it.

Updating the Ubuntu environment used on Travis seems to make git parts work (although some other parts of the build require adjustments), see https://github.com/wikimedia/mediawiki-extensions-Wikibase/commit/2ff1ef12daa460341f9fb3385621b1193b827f74 and https://travis-ci.org/github/wikimedia/mediawiki-extensions-Wikibase/builds/669220717 (the green jobs, errored ones have different set of issues, unrelated to this one).

Change 585155 had a related patch set uploaded (by Jakob; owner: Jakob):
[mediawiki/extensions/Wikibase@master] Use ubuntu bionic for travis

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

Change 585155 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Use ubuntu bionic for travis

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

Addshore claimed this task.