Page MenuHomePhabricator

CI blocking merges in the Vector skin
Closed, DuplicatePublic

Description

The train blocker T299352 is fixed by https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/753990 which after multiple attempts refuses to merge.

The issues are mixed but on Friday related to npm version, and today seem to be relating to Selenium tests.

Event Timeline

Jdlrobson lowered the priority of this task from Unbreak Now! to High.Jan 18 2022, 4:30 PM

The patch finally merged. I'm keeping this open so we can investigate the CI failures that occurred here. Here are the logs of the errors we were hitting:

10:28:30 Started by user unknown or anonymous
10:28:30 Running as SYSTEM
10:28:30 Building remotely on integration-agent-docker-1013 (pipelinelib Docker blubber) in workspace /srv/jenkins/workspace/workspace/mwgate-node12-docker
10:28:30 [mwgate-node12-docker] $ /bin/bash -xe /tmp/jenkins3158127405773475279.sh
10:28:30 + mkdir -m 2777 -p cache
10:28:30 [mwgate-node12-docker] $ /bin/bash /tmp/jenkins8156217562846022124.sh
10:28:30 + set -o pipefail
10:28:30 ++ pwd
10:28:30 + exec docker run --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node12-docker --label jenkins.build=71059 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.2.4 load
10:28:30 ++ /usr/bin/env
10:28:30 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
10:28:31 Defined: CASTOR_NAMESPACE="castor-mw-ext-and-skins/master/mwgate-node12-docker"
10:28:31 Syncing...
10:28:32 rsync: failed to set times on "/cache/.": Operation not permitted (1)
10:30:30 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.2]
10:30:30 
10:30:30 Done
10:30:30 [mwgate-node12-docker] $ /bin/bash -xe /tmp/jenkins1322069250999455453.sh
10:30:30 + set -eux
10:30:30 + mkdir -m 2777 -p src
10:30:31 [mwgate-node12-docker] $ /bin/bash /tmp/jenkins17560977158481101582.sh
10:30:31 + set -o pipefail
10:30:31 + exec docker run --entrypoint=/usr/bin/find --user=nobody --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker:/workspace --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node12-docker --label jenkins.build=71059 --env-file /dev/fd/63 docker-registry.wikimedia.org/buster:latest /workspace/src -mindepth 1 -delete
10:30:31 ++ /usr/bin/env
10:30:31 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
10:30:32 [mwgate-node12-docker] $ /bin/bash -xe /tmp/jenkins11111923578575892053.sh
10:30:32 + set -eux
10:30:32 + mkdir -m 2777 -p log
10:30:32 [mwgate-node12-docker] $ /bin/bash /tmp/jenkins4912194497292779300.sh
10:30:32 + set -o pipefail
10:30:32 + exec docker run --entrypoint=/usr/bin/find --user=nobody --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker:/workspace --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node12-docker --label jenkins.build=71059 --env-file /dev/fd/63 docker-registry.wikimedia.org/buster:latest /workspace/log -mindepth 1 -delete
10:30:32 ++ /usr/bin/env
10:30:32 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
10:30:33 [mwgate-node12-docker] $ /bin/bash /tmp/jenkins321247695063975596.sh
10:30:33 + set -o pipefail
10:30:33 ++ pwd
10:30:33 ++ pwd
10:30:33 + exec docker run --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker/src:/src --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker/cache:/cache --volume /srv/git:/srv/git:ro --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node12-docker --label jenkins.build=71059 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/ci-src-setup-simple:0.4.2-s1
10:30:33 ++ /usr/bin/env
10:30:33 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
10:30:34 + git init
10:30:34 Initialized empty Git repository in /src/.git/
10:30:34 + git fetch --quiet --update-head-ok --depth 2 git://contint1001.wikimedia.org/mediawiki/skins/Vector +refs/zuul/master/Z71dc639569124141a5a72c1a693668df:refs/zuul/master/Z71dc639569124141a5a72c1a693668df
10:30:34 + '[' -z master ']'
10:30:34 + git checkout -B master FETCH_HEAD
10:30:34 Reset branch 'master'
10:30:34 + set +x
10:30:34 + git submodule --quiet update --init --recursive
10:30:35 [mwgate-node12-docker] $ /bin/bash -eu /tmp/jenkins15341528232216474607.sh
10:30:35 + chmod 2777 src
10:30:35 [mwgate-node12-docker] $ /bin/bash /tmp/jenkins14161779975895704309.sh
10:30:35 + set -o pipefail
10:30:35 ++ pwd
10:30:35 ++ pwd
10:30:35 ++ pwd
10:30:35 + exec docker run --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker/src:/src --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker/cache:/cache --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker/log:/log --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node12-docker --label jenkins.build=71059 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/node12-test:0.0.3-s2
10:30:35 ++ /usr/bin/env
10:30:35 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
10:30:36 + cd /src
10:30:36 + '[' '!' -f package.json ']'
10:30:36 + node --version
10:30:36 v12.22.5
10:30:36 + npm --version
10:30:36 7.21.0
10:30:36 + '[' -e npm-shrinkwrap.json ']'
10:30:36 + '[' -e package-lock.json ']'
10:30:36 + npm ci
10:30:38 npm WARN old lockfile 
10:30:38 npm WARN old lockfile The package-lock.json file was created with an old version of npm,
10:30:38 npm WARN old lockfile so supplemental metadata must be fetched from the registry.
10:30:38 npm WARN old lockfile 
10:30:38 npm WARN old lockfile This is a one-time fix-up, please be patient...
10:30:38 npm WARN old lockfile 
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fapi: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/2a/58/4cd670c5bb3696772e78227eb66a12fb29c650521c3f893712cdf1fd8ca8b112601c83fedff751d486c46cb4bed1d467bcafa930eb717e3bf47273448a57'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/api@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fapi: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/2a/58/4cd670c5bb3696772e78227eb66a12fb29c650521c3f893712cdf1fd8ca8b112601c83fedff751d486c46cb4bed1d467bcafa930eb717e3bf47273448a57'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/2a/58/4cd670c5bb3696772e78227eb66a12fb29c650521c3f893712cdf1fd8ca8b112601c83fedff751d486c46cb4bed1d467bcafa930eb717e3bf47273448a57',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2faddons: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/2a/41/10a01015a24132560ce984c64e432c4a0a7f111fae2bc308ca75a5890d6166d84624f34063c00755591cbabb74e574ff28c460ab1dcad5cfebb2b88f09c1'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/addons@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2faddons: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/2a/41/10a01015a24132560ce984c64e432c4a0a7f111fae2bc308ca75a5890d6166d84624f34063c00755591cbabb74e574ff28c460ab1dcad5cfebb2b88f09c1'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/2a/41/10a01015a24132560ce984c64e432c4a0a7f111fae2bc308ca75a5890d6166d84624f34063c00755591cbabb74e574ff28c460ab1dcad5cfebb2b88f09c1',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fclient-api: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/f4/22/93deae0a14fd5dc1f9da87fe9324de3a8c488ace70dbc96c658d16491f1b7b55dccc9ca8c6308e1c8ca3e2958398fbc40b8872e9b9b841c5e7fbad83ea7c'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/client-api@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fclient-api: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/f4/22/93deae0a14fd5dc1f9da87fe9324de3a8c488ace70dbc96c658d16491f1b7b55dccc9ca8c6308e1c8ca3e2958398fbc40b8872e9b9b841c5e7fbad83ea7c'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/f4/22/93deae0a14fd5dc1f9da87fe9324de3a8c488ace70dbc96c658d16491f1b7b55dccc9ca8c6308e1c8ca3e2958398fbc40b8872e9b9b841c5e7fbad83ea7c',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fchannels: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/48/35/a0f8698b7e10b9420d09c673e76a3d8b916ab1ef287a9f67cd44c05342a34694c8e7fbc90dd360ab6ce15115741a81ac3e5229b3c0a8210929087f4c507d'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/channels@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fchannels: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/48/35/a0f8698b7e10b9420d09c673e76a3d8b916ab1ef287a9f67cd44c05342a34694c8e7fbc90dd360ab6ce15115741a81ac3e5229b3c0a8210929087f4c507d'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/48/35/a0f8698b7e10b9420d09c673e76a3d8b916ab1ef287a9f67cd44c05342a34694c8e7fbc90dd360ab6ce15115741a81ac3e5229b3c0a8210929087f4c507d',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fclient-logger: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/fd/70/520871911204364dddb2cb9f9fddf2d14c40904bb32eb4c2049479f70da77450e0a9e0b4855b4ac69f1c330c85d4609cfde50f056331eab3dce3df23a9a0'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/client-logger@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fclient-logger: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/fd/70/520871911204364dddb2cb9f9fddf2d14c40904bb32eb4c2049479f70da77450e0a9e0b4855b4ac69f1c330c85d4609cfde50f056331eab3dce3df23a9a0'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/fd/70/520871911204364dddb2cb9f9fddf2d14c40904bb32eb4c2049479f70da77450e0a9e0b4855b4ac69f1c330c85d4609cfde50f056331eab3dce3df23a9a0',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fchannel-postmessage: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/a1/a9/0fc432cffa3607346c3febbc94d33435b6b1e8d963880410e864540718a51411990d9cf6dcdde7d1568adaf820cc2a7761546217df5ecfb37f1178b74559'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/channel-postmessage@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fchannel-postmessage: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/a1/a9/0fc432cffa3607346c3febbc94d33435b6b1e8d963880410e864540718a51411990d9cf6dcdde7d1568adaf820cc2a7761546217df5ecfb37f1178b74559'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/a1/a9/0fc432cffa3607346c3febbc94d33435b6b1e8d963880410e864540718a51411990d9cf6dcdde7d1568adaf820cc2a7761546217df5ecfb37f1178b74559',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fcore-events: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/90/8e/b961553da5b06f43bae6a559a835493945a79e1ddf0b16eeef1c81cac1f0de94891fad21f480110489bf55886f6dcbba109f9051e4ca3fcce02ffe5c4cfa'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/core-events@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fcore-events: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/90/8e/b961553da5b06f43bae6a559a835493945a79e1ddf0b16eeef1c81cac1f0de94891fad21f480110489bf55886f6dcbba109f9051e4ca3fcce02ffe5c4cfa'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/90/8e/b961553da5b06f43bae6a559a835493945a79e1ddf0b16eeef1c81cac1f0de94891fad21f480110489bf55886f6dcbba109f9051e4ca3fcce02ffe5c4cfa',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2ftheming: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/4e/09/352497322714358d8ac4a2b4ccb1705e22e64d483a38956346ad3ef48a1fe3224010a0f79cc11926116dd94be7a0273686753cc61fdedc55162ac13cd987'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/theming@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2ftheming: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/4e/09/352497322714358d8ac4a2b4ccb1705e22e64d483a38956346ad3ef48a1fe3224010a0f79cc11926116dd94be7a0273686753cc61fdedc55162ac13cd987'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/4e/09/352497322714358d8ac4a2b4ccb1705e22e64d483a38956346ad3ef48a1fe3224010a0f79cc11926116dd94be7a0273686753cc61fdedc55162ac13cd987',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:39 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2frouter: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/05/4a/31226c566508c2ecec6b004ebb31e8dda8e07c8ad6a40c9ed3a8bbf53006ad204f96be98d319afca9b799b6dfd6981665ec8dae67050239578123b476aef'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:39 npm WARN old lockfile  Could not fetch metadata for @storybook/router@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2frouter: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/05/4a/31226c566508c2ecec6b004ebb31e8dda8e07c8ad6a40c9ed3a8bbf53006ad204f96be98d319afca9b799b6dfd6981665ec8dae67050239578123b476aef'
10:30:39 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:39 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:39 npm WARN old lockfile   code: 'ENOENT',
10:30:39 npm WARN old lockfile   errno: 'ENOENT',
10:30:39 npm WARN old lockfile   syscall: 'lstat',
10:30:39 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/05/4a/31226c566508c2ecec6b004ebb31e8dda8e07c8ad6a40c9ed3a8bbf53006ad204f96be98d319afca9b799b6dfd6981665ec8dae67050239578123b476aef',
10:30:39 npm WARN old lockfile   type: 'system'
10:30:39 npm WARN old lockfile }
10:30:40 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fnode-logger: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/88/0f/f1d17f6badc22bdbe3adb9185d63f34aa0dec0603650de32bc57f0665f69f34880d35e5613e0fc9682f3a98eaafc84c67319a98fd0feeca74c4099986fca'
10:30:40 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:40 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:40 npm WARN old lockfile  Could not fetch metadata for @storybook/node-logger@5.2.8 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@storybook%2fnode-logger: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/88/0f/f1d17f6badc22bdbe3adb9185d63f34aa0dec0603650de32bc57f0665f69f34880d35e5613e0fc9682f3a98eaafc84c67319a98fd0feeca74c4099986fca'
10:30:40 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:40 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:40 npm WARN old lockfile   code: 'ENOENT',
10:30:40 npm WARN old lockfile   errno: 'ENOENT',
10:30:40 npm WARN old lockfile   syscall: 'lstat',
10:30:40 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/88/0f/f1d17f6badc22bdbe3adb9185d63f34aa0dec0603650de32bc57f0665f69f34880d35e5613e0fc9682f3a98eaafc84c67319a98fd0feeca74c4099986fca',
10:30:40 npm WARN old lockfile   type: 'system'
10:30:40 npm WARN old lockfile }
10:30:46 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/react: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/e1/7f/84c5de18a1c9c4ac90c735060074497248c1f39225257c021404d1f0aee1c655a928355dde3ac1734e5f7f4a1b03fd3d208438b329f6844ceca891dc4c0a'
10:30:46 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:46 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:46 npm WARN old lockfile  Could not fetch metadata for react@16.14.0 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/react: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/e1/7f/84c5de18a1c9c4ac90c735060074497248c1f39225257c021404d1f0aee1c655a928355dde3ac1734e5f7f4a1b03fd3d208438b329f6844ceca891dc4c0a'
10:30:46 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:46 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:46 npm WARN old lockfile   code: 'ENOENT',
10:30:46 npm WARN old lockfile   errno: 'ENOENT',
10:30:46 npm WARN old lockfile   syscall: 'lstat',
10:30:46 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/e1/7f/84c5de18a1c9c4ac90c735060074497248c1f39225257c021404d1f0aee1c655a928355dde3ac1734e5f7f4a1b03fd3d208438b329f6844ceca891dc4c0a',
10:30:46 npm WARN old lockfile   type: 'system'
10:30:46 npm WARN old lockfile }
10:30:46 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/react-dom: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/18/4a/e6737ecdd50aebc885fe09314ae3f7180ee98cd6d96a58384f214b4e84932b675e8899759c11f0ad79265b2d480053af94fc5b1ae1925e12592b8ff0d717'
10:30:46 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:46 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:46 npm WARN old lockfile  Could not fetch metadata for react-dom@16.14.0 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/react-dom: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/18/4a/e6737ecdd50aebc885fe09314ae3f7180ee98cd6d96a58384f214b4e84932b675e8899759c11f0ad79265b2d480053af94fc5b1ae1925e12592b8ff0d717'
10:30:46 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:46 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:46 npm WARN old lockfile   code: 'ENOENT',
10:30:46 npm WARN old lockfile   errno: 'ENOENT',
10:30:46 npm WARN old lockfile   syscall: 'lstat',
10:30:46 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/18/4a/e6737ecdd50aebc885fe09314ae3f7180ee98cd6d96a58384f214b4e84932b675e8899759c11f0ad79265b2d480053af94fc5b1ae1925e12592b8ff0d717',
10:30:46 npm WARN old lockfile   type: 'system'
10:30:46 npm WARN old lockfile }
10:30:46 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/react-is: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/e0/4f/71a2a13e9bb8b55883dc184951dd2ff83eaf293ba773ee9363941d9a8b064ff3c773cd7d7d51e23dcd074abb9fa3abcb36a436608acf3d4d0b3e08f30323'
10:30:46 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:46 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:46 npm WARN old lockfile  Could not fetch metadata for react-is@16.13.1 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/react-is: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/e0/4f/71a2a13e9bb8b55883dc184951dd2ff83eaf293ba773ee9363941d9a8b064ff3c773cd7d7d51e23dcd074abb9fa3abcb36a436608acf3d4d0b3e08f30323'
10:30:46 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:46 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:46 npm WARN old lockfile   code: 'ENOENT',
10:30:46 npm WARN old lockfile   errno: 'ENOENT',
10:30:46 npm WARN old lockfile   syscall: 'lstat',
10:30:46 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/e0/4f/71a2a13e9bb8b55883dc184951dd2ff83eaf293ba773ee9363941d9a8b064ff3c773cd7d7d51e23dcd074abb9fa3abcb36a436608acf3d4d0b3e08f30323',
10:30:46 npm WARN old lockfile   type: 'system'
10:30:46 npm WARN old lockfile }
10:30:47 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/regexp.prototype.flags: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/90/52/1e73340abe596ef56da8971b2a9138f450b71b2c098039da415213a553732999eca0e3096aeb92783b081d3b46060c26999cd810e0326c7ba764eb053354'
10:30:47 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:47 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:47 npm WARN old lockfile  Could not fetch metadata for regexp.prototype.flags@1.3.1 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/regexp.prototype.flags: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/90/52/1e73340abe596ef56da8971b2a9138f450b71b2c098039da415213a553732999eca0e3096aeb92783b081d3b46060c26999cd810e0326c7ba764eb053354'
10:30:47 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:47 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:47 npm WARN old lockfile   code: 'ENOENT',
10:30:47 npm WARN old lockfile   errno: 'ENOENT',
10:30:47 npm WARN old lockfile   syscall: 'lstat',
10:30:47 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/90/52/1e73340abe596ef56da8971b2a9138f450b71b2c098039da415213a553732999eca0e3096aeb92783b081d3b46060c26999cd810e0326c7ba764eb053354',
10:30:47 npm WARN old lockfile   type: 'system'
10:30:47 npm WARN old lockfile }
10:30:47 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/scheduler: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/03/eb/c13f98df9dd782707b889f7aadf40c99ad11cb5ae89a1960af5bf4d84ebbeec263a7b1d3f30909b1899c55316a015cab4b3d8fc2b08b944aed8d5165c2ce'
10:30:47 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:47 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:47 npm WARN old lockfile  Could not fetch metadata for scheduler@0.19.1 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/scheduler: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/03/eb/c13f98df9dd782707b889f7aadf40c99ad11cb5ae89a1960af5bf4d84ebbeec263a7b1d3f30909b1899c55316a015cab4b3d8fc2b08b944aed8d5165c2ce'
10:30:47 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:47 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:47 npm WARN old lockfile   code: 'ENOENT',
10:30:47 npm WARN old lockfile   errno: 'ENOENT',
10:30:47 npm WARN old lockfile   syscall: 'lstat',
10:30:47 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/03/eb/c13f98df9dd782707b889f7aadf40c99ad11cb5ae89a1960af5bf4d84ebbeec263a7b1d3f30909b1899c55316a015cab4b3d8fc2b08b944aed8d5165c2ce',
10:30:47 npm WARN old lockfile   type: 'system'
10:30:47 npm WARN old lockfile }
10:30:47 npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/typescript: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/b8/16/bbee7664df77382a7c09fca0ee32a6faf10c0536b165d8d9bae66f150aa317dc0481a215f46ddf386dd03641125bd6674111faeb55b30bc920eb9ac19529'
10:30:47 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:47 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9)
10:30:47 npm WARN old lockfile  Could not fetch metadata for typescript@3.8.3 FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/typescript: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/b8/16/bbee7664df77382a7c09fca0ee32a6faf10c0536b165d8d9bae66f150aa317dc0481a215f46ddf386dd03641125bd6674111faeb55b30bc920eb9ac19529'
10:30:47 npm WARN old lockfile     at /srv/npm/node_modules/minipass-fetch/lib/body.js:162:15
10:30:47 npm WARN old lockfile     at async Array.<anonymous> (/srv/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:691:9) {
10:30:47 npm WARN old lockfile   code: 'ENOENT',
10:30:47 npm WARN old lockfile   errno: 'ENOENT',
10:30:47 npm WARN old lockfile   syscall: 'lstat',
10:30:47 npm WARN old lockfile   path: '/cache/_cacache/content-v2/sha512/b8/16/bbee7664df77382a7c09fca0ee32a6faf10c0536b165d8d9bae66f150aa317dc0481a215f46ddf386dd03641125bd6674111faeb55b30bc920eb9ac19529',
10:30:47 npm WARN old lockfile   type: 'system'
10:30:47 npm WARN old lockfile }
10:30:55 npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
10:30:55 npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
10:30:55 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
10:30:55 npm WARN deprecated har-validator@5.1.5: this library is no longer supported
10:30:55 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
10:30:56 npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
10:30:56 npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
10:30:56 npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
10:30:56 npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
10:30:56 npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
10:30:56 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
10:30:59 npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
10:30:59 npm WARN deprecated highlight.js@9.12.0: Version no longer supported. Upgrade to @latest
10:31:05 npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
10:31:08 
10:31:08 added 1568 packages, and audited 1569 packages in 32s
10:31:08 
10:31:08 151 packages are looking for funding
10:31:08   run `npm fund` for details
10:31:08 
10:31:08 54 vulnerabilities (3 low, 36 moderate, 14 high, 1 critical)
10:31:08 
10:31:08 To address issues that do not require attention, run:
10:31:08   npm audit fix
10:31:08 
10:31:08 To address all issues possible (including breaking changes), run:
10:31:08   npm audit fix --force
10:31:08 
10:31:08 Some issues need review, and may require choosing
10:31:08 a different dependency.
10:31:08 
10:31:08 Run `npm audit` for details.
10:31:08 + npm run-script test
10:31:09 
10:31:09 > test
10:31:09 > npm -s run lint && tsc && npm -s run doc
10:31:09 
10:31:12 Browserslist: caniuse-lite is outdated. Please run:
10:31:12 npx browserslist@latest --update-db
10:31:12 
10:31:12 Why you should do it regularly:
10:31:12 https://github.com/browserslist/browserslist#browsers-data-updating
10:31:19 Browserslist: caniuse-lite is outdated. Please run:
10:31:19 npx browserslist@latest --update-db
10:31:19 
10:31:19 Why you should do it regularly:
10:31:19 https://github.com/browserslist/browserslist#browsers-data-updating
10:31:20 Checked 1 message directory.
10:31:20 sh: 1: tsc: not found
10:31:21 Build step 'Execute shell' marked build as failure
10:31:21 Archiving artifacts
10:31:21 [PostBuildScript] - [INFO] Executing post build scripts.
10:31:21 [PostBuildScript] - [INFO] Build does not have any of the results [SUCCESS]. Did not execute build step #0.
10:31:21 [PostBuildScript] - [INFO] Executing post build scripts.
10:31:21 [mwgate-node12-docker] $ /bin/bash -xe /tmp/jenkins898462623848420325.sh
10:31:21 + echo 'Clearing /srv/jenkins/workspace/workspace/mwgate-node12-docker/cache'
10:31:21 Clearing /srv/jenkins/workspace/workspace/mwgate-node12-docker/cache
10:31:21 [mwgate-node12-docker] $ /bin/bash /tmp/jenkins2783817210837027101.sh
10:31:21 + set -o pipefail
10:31:21 ++ pwd
10:31:21 + exec docker run --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node12-docker --label jenkins.build=71059 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.2.4 clear
10:31:21 ++ /usr/bin/env
10:31:21 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
10:31:25 [PostBuildScript] - [INFO] Executing post build scripts.
10:31:25 [mwgate-node12-docker] $ /bin/bash -xe /tmp/jenkins15457247849044295785.sh
10:31:25 + set -euxo pipefail
10:31:25 + docker ps -q --filter label=jenkins.job=mwgate-node12-docker --filter label=jenkins.build=71059
10:31:25 + xargs --no-run-if-empty docker stop
10:31:25 [PostBuildScript] - [INFO] Executing post build scripts.
10:31:25 [mwgate-node12-docker] $ /bin/bash /tmp/jenkins8141237905176901707.sh
10:31:25 + set -o pipefail
10:31:25 + exec docker run --entrypoint=/usr/bin/find --user=root --volume /srv/jenkins/workspace/workspace/mwgate-node12-docker:/workspace --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node12-docker --label jenkins.build=71059 --env-file /dev/fd/63 docker-registry.wikimedia.org/buster:latest /workspace -mindepth 1 -delete
10:31:25 ++ /usr/bin/env
10:31:25 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
10:31:27 [mwgate-node12-docker] $ /bin/bash -xe /tmp/jenkins3472073704730604863.sh
10:31:27 + set -u
10:31:27 + rmdir /srv/jenkins/workspace/workspace/mwgate-node12-docker
10:31:28 Finished: FAILURE
18:15:01 2022-01-18 02:15:02,235 INFO exited: php-fpm (exit status 0; expected)
18:15:02 [0-0] RUNNING in chrome - /tests/selenium/specs/addlink.js
18:15:10 [0-0] Error in "add link.link inspector appears after clicking through task from Special:Homepage"
18:15:47 Error: element (".mw-ge-recommendedLinkRejectionDialog .oo-ui-messageDialog-actions") still not displayed after 5000ms
18:15:47     at Element.<anonymous> (/workspace/src/extensions/GrowthExperiments/node_modules/@wdio/utils/build/shim.js:270:24)
18:15:47     at runMicrotasks (<anonymous>)
18:15:47     at processTicksAndRejections (internal/process/task_queues.js:95:5)
18:15:47     at Context.<anonymous> (/workspace/src/extensions/GrowthExperiments/tests/selenium/specs/addlink.js:30:48)
18:15:47 [0-0] RETRYING after 3s in chrome - /tests/selenium/specs/addlink.js
18:15:47 [0-0] RUNNING in chrome - /tests/selenium/specs/addlink.js
18:15:52 [0-0] Error in "add link.link inspector appears after clicking through task from Special:Homepage"
18:16:22 Error: element (".mw-ge-recommendedLinkRejectionDialog .oo-ui-messageDialog-actions") still not displayed after 5000ms
18:16:22     at Element.<anonymous> (/workspace/src/extensions/GrowthExperiments/node_modules/@wdio/utils/build/shim.js:270:24)
18:16:22     at runMicrotasks (<anonymous>)
18:16:22     at processTicksAndRejections (internal/process/task_queues.js:95:5)
18:16:22     at Context.<anonymous> (/workspace/src/extensions/GrowthExperiments/tests/selenium/specs/addlink.js:30:48)
18:16:22 [0-0] RETRYING after 3s in chrome - /tests/selenium/specs/addlink.js (1 retries)
18:16:22 [0-0] RUNNING in chrome - /tests/selenium/specs/addlink.js
18:16:27 [0-0] Error in "add link.link inspector appears after clicking through task from Special:Homepage"
18:16:56 Error: element (".mw-ge-recommendedLinkRejectionDialog .oo-ui-messageDialog-actions") still not displayed after 5000ms
18:16:56     at Element.<anonymous> (/workspace/src/extensions/GrowthExperiments/node_modules/@wdio/utils/build/shim.js:270:24)
18:16:56     at runMicrotasks (<anonymous>)
18:16:56     at processTicksAndRejections (internal/process/task_queues.js:95:5)
18:16:56     at Context.<anonymous> (/workspace/src/extensions/GrowthExperiments/tests/selenium/specs/addlink.js:30:48)
18:16:56 [0-0] FAILED in chrome - /tests/selenium/specs/addlink.js (2 retries)
18:16:57 [0-1] RUNNING in chrome - /tests/selenium/specs/homepage.js
18:16:58 [0-1] 
18:17:11 [0-1] 	Video location: /workspace/log/Homepage-is-enabled-for-new-user-2022-01-18T02-17-07-874Z.mp4 
18:17:11 [0-1] 
18:17:11 [0-1] 	ffmpeg exited with code 255 /workspace/log/Homepage-is-enabled-for-new-user-2022-01-18T02-17-07-874Z.mp4
18:17:11 [0-1] PASSED in chrome - /tests/selenium/specs/homepage.js
18:17:12 [0-2] RUNNING in chrome - /tests/selenium/specs/welcomesurvey.js
18:17:14 [0-2] PASSED in chrome - /tests/selenium/specs/welcomesurvey.js
18:17:30

For the first one, the build failed due to:

sh: 1: tsc: not found
Build step 'Execute shell' marked build as failure

.. which in turn is likely caused by the fact that npm-install failed to download the typescript package from npmjs.org. There are numerous warnings about this in its output:

npm WARN old lockfile FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/typescript: ENOENT: no such file or directory, lstat '/cache/_cacache/content-v2/sha512/b8..'

.. this in turn is likely caused by one of two things: 1) maybe npmjs.org had a brief outage that affected at least the US-West region where our CI cluster resides. and 2) maybe npm-cli failed to recover from corrupt or invalid state left in the its dedicated cache folder.

If the latter, then that could be something infrastructure related to our side of things, e.g. maybe we sometimes let Castor write things in a way that gets corrupted. This isn't the first time we've seen it corrupt the caches in strange ways like this. I don't know how much integrity we currently ensure there, but it may be worth confirming that the basics are in place, e.g. ensure we persist cache to a known new and empty directory, validate transport with checksums, and ensure other jobs don't consume it unless and until it is finished e.g. using tmp symlinks or some such.

The other issue I see is the fact that npm-install knowingly failed and yet our job still attempted to start executing npm-test. That is either a bug in our CI job configuration (or npm-test docker entrypoint) in which we wrongly ignore exit status code of the npm-install/ci command. Or, it is a bug in upstream npm-cli where it is not using a exit code to signal failure. The latter seems unlikely as upstream has good test coverage for this.