Broken master in qa-frontend-node tests
In https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/256641095, we see:
$ yarn install --frozen-lockfile --cache-folder .yarn-cache --prefer-offline
yarn install v1.16.0
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "ts-jest@24.0.0" is incompatible with requested version "ts-jest@^23.10.5"
[3/5] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error /builds/gitlab-org/gitlab-ce/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /builds/gitlab-org/gitlab-ce/node_modules/node-sass
Output:
Building: /usr/local/bin/node /builds/gitlab-org/gitlab-ce/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli '/builds/gitlab-org/gitlab-ce/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.8.0
gyp info using node@10.16.0 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:80:29)
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/which/which.js:89:16
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:153:21)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:80:29)
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/which/which.js:89:16
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:153:21)
gyp verb `which` failed stack:
gyp verb `which` failed 'Error: not found: python2\n at getNotFoundError (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:13:12)\n at F (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:68:19)\n at E (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:80:29)\n at /builds/gitlab-org/gitlab-ce/node_modules/which/which.js:89:16\n at /builds/gitlab-org/gitlab-ce/node_modules/isexe/index.js:42:5\n at /builds/gitlab-org/gitlab-ce/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:153:21)',
gyp verb `which` failed code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed at getNotFoundError (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:80:29)
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/which/which.js:89:16
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:153:21)
gyp verb `which` failed python { Error: not found: python
gyp verb `which` failed at getNotFoundError (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:80:29)
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/which/which.js:89:16
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /builds/gitlab-org/gitlab-ce/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:153:21)
gyp verb `which` failed stack:
gyp verb `which` failed 'Error: not found: python\n at getNotFoundError (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:13:12)\n at F (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:68:19)\n at E (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:80:29)\n at /builds/gitlab-org/gitlab-ce/node_modules/which/which.js:89:16\n at /builds/gitlab-org/gitlab-ce/node_modules/isexe/index.js:42:5\n at /builds/gitlab-org/gitlab-ce/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:153:21)',
gyp verb `which` failed code: 'ENOENT' }
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (/builds/gitlab-org/gitlab-ce/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack at PythonFinder.<anonymous> (/builds/gitlab-org/gitlab-ce/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack at F (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:68:16)
gyp ERR! stack at E (/builds/gitlab-org/gitlab-ce/node_modules/which/which.js:80:29)
gyp ERR! stack at /builds/gitlab-org/gitlab-ce/node_modules/which/which.js:89:16
gyp ERR! stack at /builds/gitlab-org/gitlab-ce/node_modules/isexe/index.js:42:5
gyp ERR! stack at /builds/gitlab-org/gitlab-ce/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.19.23-coreos-r1
gyp ERR! command "/usr/local/bin/node" "/builds/gitlab-org/gitlab-ce/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /builds/gitlab-org/gitlab-ce/node_modules/node-sass
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
From Slack:
leipert [4 minutes ago]
Ah, python2 is used to compile e.g. node-sass or fsevents
leipert [4 minutes ago]
If a compiled version of libsass cannot be downloaded
leipert [3 minutes ago]
Ah, shoot
leipert [3 minutes ago]
Yeah, there is a newer node@10 version out now