[Builder] Build failed in Jenkins: platform-builds » identity-apps #4383

cbuilder at wso2.org cbuilder at wso2.org
Sun Aug 28 22:51:07 PDT 2022


See <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/4383/display/redirect>

Changes:


------------------------------------------
Started by user Maduranga Siriwardena
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on ECS_PRODUCTION-410382913d854f (COMPONENT_ECS) in workspace <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/>
using credential github-user-for-maven-releases
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/wso2/identity-apps.git
 > git init <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/> # timeout=10
Fetching upstream changes from https://github.com/wso2/identity-apps.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials github user for maven release plugin (CD)
 > git fetch --tags --progress https://github.com/wso2/identity-apps.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/wso2/identity-apps.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/wso2/identity-apps.git # timeout=10
Fetching upstream changes from https://github.com/wso2/identity-apps.git
using GIT_ASKPASS to set credentials github user for maven release plugin (CD)
 > git fetch --tags --progress https://github.com/wso2/identity-apps.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision b1220ad06fb03fc66b9fc492bbfc91653fe3420b (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b1220ad06fb03fc66b9fc492bbfc91653fe3420b # timeout=10
Commit message: "Merge pull request #3379 from NipuniBhagya/master"
 > git rev-list --no-walk b1220ad06fb03fc66b9fc492bbfc91653fe3420b # timeout=10
executing script 'Removing M2 repos'
[identity-apps] $ /bin/sh /tmp/build_step_template3511323941492103038.sh
Not a docker build
RepoCleaner - ****************************************************************
RepoCleaner - ** Day of the week, repository is scheduled to delete is  - 6 **
RepoCleaner - ** No of days to keep the repository is set to            - 7 **
RepoCleaner - ****************************************************************
RepoCleaner - current date is - 2022-08-29
RepoCleaner - current day of the week is - 1
RepoCleaner - creating the record file since it doesn't exist, upate the file with current date - 2022-08-29
[identity-apps] $ /bin/sh -xe /tmp/jenkins7314238929419989617.sh
+ curl -f https://get.pnpm.io/v6.16.js
+ node - add --global pnpm at 7
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100 5051k    0 5051k    0     0  66.4M      0 --:--:-- --:--:-- --:--:-- 66.6M
(node:161) ExperimentalWarning: The fs.promises API is experimental
(node:161) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +1
+
 WARN  GET https://registry.npmjs.org/pnpm/-/pnpm-7.9.5.tgz error (undefined). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/pnpm/-/pnpm-7.9.5.tgz error (undefined). Will retry in 1 minute. 1 retries left.
 ERROR  Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?

at decode            [stdin]:67404  
at onheader          [stdin]:67549  
at _write            [stdin]:67663  
at doWrite           [stdin]:10091  
at writeOrBuffer     [stdin]:10077  
at write             [stdin]:10006  
at ondata            [stdin]:65480  
at emit              events.js:198  
at addChunk          [stdin]:65240  
at readableAddChunk  [stdin]:65229  
Build step 'Execute shell' marked build as failure
[identity-apps] $ /usr/bin/env bash /tmp/jenkins4196871542696322835.sh
npm WARN deprecated @babel/polyfill at 7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated @types/i18next-xhr-backend at 1.4.2: This is a stub types definition. i18next-xhr-backend provides its own type definitions, so you do not need this installed.
npm WARN deprecated redux-devtools-extension at 2.13.9: Package moved to @redux-devtools/extension.
npm WARN deprecated core-js at 2.6.12: core-js@<3.23.3 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. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated i18next-xhr-backend at 3.2.2: replaced by i18next-http-backend
npm WARN deprecated stable at 0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated chokidar at 2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated svgo at 1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated fsevents at 1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated uuid at 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.
npm WARN deprecated querystring at 0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated popper.js at 1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated source-map-resolve at 0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated sane at 4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated source-map-resolve at 0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated source-map-url at 0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated resolve-url at 0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix at 0.1.0: Please see https://github.com/lydell/urix#deprecated

> @parcel/watcher at 2.0.4 install <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/@parcel/watcher>
> node-gyp-build


> core-js at 2.6.12 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/@babel/polyfill/node_modules/core-js>
> node -e "try{require('./postinstall')}catch(e){}"


> core-js at 2.6.12 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/babel-polyfill/node_modules/core-js>
> node -e "try{require('./postinstall')}catch(e){}"


> core-js at 2.6.12 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/babel-runtime/node_modules/core-js>
> node -e "try{require('./postinstall')}catch(e){}"


> core-js at 3.25.0 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/core-js>
> node -e "try{require('./postinstall')}catch(e){}"


> core-js-pure at 3.25.0 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/core-js-pure>
> node -e "try{require('./postinstall')}catch(e){}"


> nx at 14.5.10 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/lerna/node_modules/nx>
> node ./bin/compute-project-graph


> nx at 14.4.2 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/nx>
> node ./bin/compute-project-graph


> cypress at 9.7.0 postinstall <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/node_modules/cypress>
> node index.js --exec install

(node:271) ExperimentalWarning: The fs.promises API is experimental
Cypress cannot write to the cache directory due to file permissions

See discussion and possible solutions at
https://github.com/cypress-io/cypress/issues/1281

----------

Failed to access /root/.cache/Cypress:

EACCES: permission denied, mkdir

----------

Platform: linux-x64 (Ubuntu - 14.04)
Cypress Version: 9.7.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.1.2 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents at 2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents at 1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents at 1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @nrwl/eslint-plugin-nx at 14.4.2 requires a peer of @typescript-eslint/parser@^5.29.0 but none is installed. You must install peer dependencies yourself.
npm WARN ts-node at 10.8.2 requires a peer of @swc/core@>=1.2.50 but none is installed. You must install peer dependencies yourself.
npm WARN ts-node at 10.8.2 requires a peer of @swc/wasm@>=1.2.50 but none is installed. You must install peer dependencies yourself.
npm WARN ws at 8.8.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws at 8.8.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @nrwl/linter at 14.4.2 requires a peer of eslint@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nrwl/workspace at 14.4.2 requires a peer of prettier@^2.6.2 but none is installed. You must install peer dependencies yourself.
npm WARN @pmmmwh/react-refresh-webpack-plugin at 0.5.7 requires a peer of react-refresh@>=0.10.0 <1.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @pmmmwh/react-refresh-webpack-plugin at 0.5.7 requires a peer of webpack-plugin-serve at 0.x || 1.x but none is installed. You must install peer dependencies yourself.
npm WARN ws at 8.8.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws at 8.8.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-essentials at 6.4.22 requires a peer of @storybook/vue at 6.4.22 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-essentials at 6.4.22 requires a peer of @storybook/web-components at 6.4.22 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-essentials at 6.4.22 requires a peer of lit-html@^1.4.1 || ^2.0.0-rc.3 but none is installed. You must install peer dependencies yourself.
npm WARN babel-plugin-rename-jsx-attribute at 0.2.4 requires a peer of babel-core@^6.26.3 but none is installed. You must install peer dependencies yourself.
npm WARN css-loader at 1.0.1 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN extract-text-webpack-plugin at 4.0.0-beta.0 requires a peer of webpack@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN file-loader at 2.0.0 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN fork-ts-checker-webpack-plugin at 6.5.2 requires a peer of vue-template-compiler@* but none is installed. You must install peer dependencies yourself.
npm WARN nx at 14.5.10 requires a peer of @swc-node/register@^1.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN nx at 14.5.10 requires a peer of @swc/core@^1.2.173 but none is installed. You must install peer dependencies yourself.
npm WARN less-loader at 5.0.0 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN mini-css-extract-plugin at 0.4.5 requires a peer of webpack@^4.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN nx at 14.4.2 requires a peer of @swc-node/register@^1.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN nx at 14.4.2 requires a peer of @swc/core@^1.2.173 but none is installed. You must install peer dependencies yourself.
npm WARN thread-loader at 2.1.3 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ts-node at 10.9.1 requires a peer of @swc/core@>=1.2.50 but none is installed. You must install peer dependencies yourself.
npm WARN ts-node at 10.9.1 requires a peer of @swc/wasm@>=1.2.50 but none is installed. You must install peer dependencies yourself.
npm WARN url-loader at 2.3.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN worker-loader at 2.0.0 requires a peer of webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN jsdom at 16.7.0 requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN ws at 7.5.9 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws at 7.5.9 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader at 12.6.0 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader at 12.6.0 requires a peer of node-sass@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader at 12.6.0 requires a peer of sass-embedded@* but none is installed. You must install peer dependencies yourself.
npm WARN ajv-formats at 2.1.1 requires a peer of ajv@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of @storybook/angular at 6.4.22 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of @storybook/html at 6.4.22 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of @storybook/vue at 6.4.22 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of @storybook/vue3 at 6.4.22 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of @storybook/web-components at 6.4.22 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of lit@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of lit-html@^1.4.1 || ^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of svelte@^3.31.2 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of sveltedoc-parser@^4.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN @storybook/addon-docs at 6.4.22 requires a peer of vue@^2.6.10 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-filter-warnings-plugin at 1.2.1 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN The package @svgr/webpack is included as both a dev and production dependency.
npm WARN The package babel-jest is included as both a dev and production dependency.
npm WARN The package core-js is included as both a dev and production dependency.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cypress at 9.7.0 postinstall: `node index.js --exec install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the cypress at 9.7.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-08-29T05_50_58_875Z-debug.log

> @wso2is/webapps at 1.4.67 update-version <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/>
> node scripts/update-version.js "jenkins=true" "build=#4383" "pom=1.4.67"

/bin/sh: 1: pnpm: not found
child_process.js:669
    throw err;
    ^

Error: Command failed: pnpm lerna version 1.4.67 --yes --no-git-tag-version --force-publish && pnpm install --no-frozen-lockfile
/bin/sh: 1: pnpm: not found

    at checkExecSyncError (child_process.js:629:11)
    at execSync (child_process.js:666:13)
    at Object.<anonymous> (<https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/scripts/update-version.js>:55:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @wso2is/webapps at 1.4.67 update-version: `node scripts/update-version.js "jenkins=true" "build=#4383" "pom=1.4.67"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @wso2is/webapps at 1.4.67 update-version script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-08-29T05_50_59_331Z-debug.log
Build step 'Execute shell' marked build as failure


More information about the Builder mailing list