Page MenuHomePhabricator

wikimedia-portals-build job failing to create castor workspace
Closed, ResolvedPublic

Description

The weekly wikimedia-portals-build Jenkins job (for updating the www.wikipedia.org page) is failing to rsync a directory:

11:22:02 Node version v6.11.0 matches '^v6[.]'
11:22:02 [wikimedia-portals-build] $ /bin/bash -xe /tmp/jenkins789990686635522292.sh
11:22:02 + set -eu +x
11:22:02 Defined: CASTOR_NAMESPACE="wikimedia-portals/master/wikimedia-portals-build"
11:22:02 Syncing...
11:22:02 rsync: change_dir "/wikimedia-portals/master/wikimedia-portals-build" (in caches) failed: No such file or directory (2)
11:22:02 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1655) [Receiver=3.1.1]
11:22:02 rsync: read error: Connection reset by peer (104)
11:22:02 
11:22:02 Done
11:22:02 [wikimedia-portals-build] $ /bin/bash -xe /tmp/jenkins316533928228946480.sh
11:22:02 + . /srv/deployment/integration/slave-scripts/bin/npm-setup.sh
11:22:02 ++ . /srv/deployment/integration/slave-scripts/bin/global-setup.sh
11:22:02 +++ . /srv/deployment/integration/slave-scripts/bin/global-set-env.sh
11:22:02 ++++ export TMPDIR_FS=/srv/home/jenkins-deploy/tmpfs/jenkins-0
11:22:02 ++++ TMPDIR_FS=/srv/home/jenkins-deploy/tmpfs/jenkins-0
11:22:02 ++++ export TMPDIR_REGULAR=/tmp/jenkins-0
11:22:02 ++++ TMPDIR_REGULAR=/tmp/jenkins-0
11:22:02 ++++ '[' -d /srv/home/jenkins-deploy/tmpfs ']'
11:22:02 ++++ '[' -z '' ']'
11:22:02 ++++ export TMPDIR=/srv/home/jenkins-deploy/tmpfs/jenkins-0
11:22:02 ++++ TMPDIR=/srv/home/jenkins-deploy/tmpfs/jenkins-0
11:22:02 ++++ export DISPLAY=:94
11:22:02 ++++ DISPLAY=:94
11:22:02 +++++ which chromium-browser
11:22:02 +++++ which chromium
11:22:02 ++++ export CHROME_BIN=/usr/bin/chromium
11:22:02 ++++ CHROME_BIN=/usr/bin/chromium
11:22:02 ++++ export COMPOSER_DISABLE_XDEBUG_WARN=1
11:22:02 ++++ COMPOSER_DISABLE_XDEBUG_WARN=1
11:22:02 +++ mkdir -p /srv/home/jenkins-deploy/tmpfs/jenkins-0
11:22:02 mkdir: cannot create directory ‘/srv/home/jenkins-deploy/tmpfs/jenkins-0’: Permission denied

https://integration.wikimedia.org/ci/job/wikimedia-portals-build/111/console

Details

Related Gerrit Patches:

Event Timeline

Jdrewniak created this task.Jul 8 2019, 9:13 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 8 2019, 9:13 AM

Change 521239 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] Wikimedia portals: stop using legacy npm-setup.sh script

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

The job uses some legacy script which ends up being broken with the removal of tmpfs partition from the hosts. We would need to migrate portals to a different system (eg docker: T213806).

Anyway I have updated the job to remove the legacy (and unneeded script) with https://gerrit.wikimedia.org/r/#/c/integration/config/+/521239 . I have ran the build again and it seems to pass:

So should be good now?

Jdrewniak closed this task as Resolved.Jul 8 2019, 10:17 AM

yup! thanks @hashar

Change 521239 merged by jenkins-bot:
[integration/config@master] Wikimedia portals: stop using legacy npm-setup.sh script

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