Page MenuHomePhabricator

install cypress dependencies on CI
Closed, ResolvedPublic

Description

in order to run cypress tests on CI (T230729) we need some dependencies installed.

from the cypress docs we have this list of dependencies:

apt-get install libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb

from the failed CI job we have:
Cypress: error while loading shared libraries: libgtk-3.so.0

from this github comment we have:
$ sudo apt install libgtk-3-0

this is the code we are trying to run.

Any more info you need feel free to reach out.

Event Timeline

Jpita created this task.Mar 13 2020, 12:30 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 13 2020, 12:30 PM
docker pull docker-registry.wikimedia.org/releng/quibble-stretch
docker run --rm -it --entrypoint=bash docker-registry.wikimedia.org/releng/quibble-stretch:latest
$ apt-cache depends chromium|grep gtk
  Depends: libgtk2.0-0

The container has chromium 73.

We should add libgtk-3-0 in integration/config.git in dockerfiles/quibble-stretch/Dockerfile.template, bump the changelog, rebuild etc.

Jpita raised the priority of this task from Medium to High.Mar 13 2020, 12:42 PM

Change 579590 had a related patch set uploaded (by KartikMistry; owner: KartikMistry):
[integration/config@master] Add dependency on libgtk-3-0

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

Change 579590 merged by jenkins-bot:
[integration/config@master] dockerfiles: [quibble-stretch] Add dependency on libgtk-3-0

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

Change 579614 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[integration/config@master] jjb: Migrate all quibble images to version with libgtk-3.0

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

Mentioned in SAL (#wikimedia-releng) [2020-03-13T19:38:10Z] <James_F> jjb: Speculatively pushing mediawiki-fresnel-patch-docker with libgtk-3.0 for manual testing of T247599

Jdforrester-WMF closed this task as Resolved.Mar 13 2020, 7:48 PM
Jdforrester-WMF claimed this task.
Jdforrester-WMF added a subscriber: hashar.

Change 579614 merged by jenkins-bot:
[integration/config@master] jjb: Migrate all quibble images to version with libgtk-3.0

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