[Builder] Build failed in Jenkins: platform-builds » identity-apps #4407
cbuilder at wso2.org
cbuilder at wso2.org
Mon Aug 29 09:24:59 PDT 2022
See <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/4407/display/redirect>
Changes:
------------------------------------------
[...truncated 212.79 KB...]
+ [ -z v16.13.1 ]
+ nvm_echo v16.13.1
+ command printf %s\n v16.13.1
+ VERSION=v16.13.1
+ [ -z v16.13.1 ]
+ [ _v16.13.1 = _N/A ]
+ nvm_echo v16.13.1
+ command printf %s\n v16.13.1
+ VERSION=v16.13.1
+ [ v16.13.1 = N/A ]
+ nvm_make_alias default 16.13.1
+ local ALIAS
+ ALIAS=default
+ [ -z default ]
+ local VERSION
+ VERSION=16.13.1
+ [ -z 16.13.1 ]
+ nvm_echo 16.13.1
+ command printf %s\n 16.13.1
+ nvm_alias_path
+ nvm_version_dir old
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=old
+ [ -z old ]
+ [ old = new ]
+ [ _old = _iojs ]
+ [ _old = _old ]
+ nvm_echo /root/.nvm
+ command printf %s\n /root/.nvm
+ nvm_echo /root/.nvm/alias
+ command printf %s\n /root/.nvm/alias
+ tee /root/.nvm/alias/default
+ NVM_NO_COLORS= NVM_CURRENT=v16.13.1 DEFAULT=false nvm_print_formatted_alias default 16.13.1 v16.13.1
+ local ALIAS
+ ALIAS=default
+ local DEST
+ DEST=16.13.1
+ local VERSION
+ VERSION=v16.13.1
+ [ -z v16.13.1 ]
+ local VERSION_FORMAT
+ local ALIAS_FORMAT
+ local DEST_FORMAT
+ local INSTALLED_COLOR
+ local SYSTEM_COLOR
+ local CURRENT_COLOR
+ local NOT_INSTALLED_COLOR
+ local DEFAULT_COLOR
+ local LTS_COLOR
+ nvm_get_colors 1
+ local COLOR
+ local SYS_COLOR
+ [ -n ]
+ COLOR=0;34m
+ echo 0;34m
+ INSTALLED_COLOR=0;34m
+ nvm_get_colors 2
+ local COLOR
+ local SYS_COLOR
+ [ -n ]
+ COLOR=0;33m
+ echo 0;33m
+ SYSTEM_COLOR=0;33m
+ nvm_get_colors 3
+ local COLOR
+ local SYS_COLOR
+ [ -n ]
+ COLOR=0;32m
+ echo 0;32m
+ CURRENT_COLOR=0;32m
+ nvm_get_colors 4
+ local COLOR
+ local SYS_COLOR
+ [ -n ]
+ COLOR=0;31m
+ echo 0;31m
+ NOT_INSTALLED_COLOR=0;31m
+ nvm_get_colors 5
+ local COLOR
+ local SYS_COLOR
+ [ -n ]
+ COLOR=0;37m
+ echo 0;37m
+ DEFAULT_COLOR=0;37m
+ nvm_get_colors 6
+ local COLOR
+ local SYS_COLOR
+ [ -n ]
+ COLOR=1;33m
+ echo 1;33m
+ LTS_COLOR=1;33m
+ ALIAS_FORMAT=%s
+ DEST_FORMAT=%s
+ VERSION_FORMAT=%s
+ local NEWLINE
+ NEWLINE=\n
+ [ _false = _true ]
+ local ARROW
+ ARROW=->
+ [ -z ]
+ nvm_has_colors
+ local NVM_NUM_COLORS
+ nvm_has tput
+ type tput
+ tput -T vt100 colors
+ NVM_NUM_COLORS=-1
+ [ -1 -ge 8 ]
+ [ _v16.13.1 != _∞ ]
+ [ _v16.13.1 != _N/A ]
+ VERSION_FORMAT=%s *
+ [ 16.13.1 = v16.13.1 ]
+ command printf -- %s -> %s (-> %s *)\n default 16.13.1 v16.13.1
+ OUTPUT=default -> 16.13.1 (-> v16.13.1 *)
+ local EXIT_CODE
+ EXIT_CODE=0
+ nvm_echo Creating default alias: default -> 16.13.1 (-> v16.13.1 *)
+ command printf %s\n Creating default alias: default -> 16.13.1 (-> v16.13.1 *)
Creating default alias: default -> 16.13.1 (-> v16.13.1 *)
+ return 0
+ [ 0 = 1 ]
+ [ -z ]
+ [ -n ]
+ [ -n ]
+ return 0
+ EXIT_CODE=0
+ set -e
+ return 0
+ which node
/root/.nvm/versions/node/v16.13.1/bin/node
+ which npm
/root/.nvm/versions/node/v16.13.1/bin/npm
+ chmod 775 /root/.nvm/versions/node/v16.13.1/bin/node
+ chmod 775 /root/.nvm/versions/node/v16.13.1/bin/npm
+ ln -s /root/.nvm/versions/node/v16.13.1/bin/node /bin/node
+ ln -s /root/.nvm/versions/node/v16.13.1/bin/npm /bin/npm
+ node --version
+ echo node version is v16.13.1
node version is v16.13.1
+ npm --version
+ echo npm version is 8.1.2
npm version is 8.1.2
[identity-apps] $ /bin/sh -xe /tmp/jenkins1790117948190314930.sh
+ curl -fsSL https://get.pnpm.io/install.sh
+ which bash
+ SHELL=/bin/bash bash -
==> Extracting pnpm binaries 7.9.5
Copying pnpm CLI from /tmp/tmp.THq3JQIQfO/pnpm to /root/.local/share/pnpm/pnpm
Appended new lines to /root/.bashrc
Next configuration changes were made:
export PNPM_HOME="/root/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
To start using pnpm, run:
source /root/.bashrc
+ curl -fsSL https://yarnpkg.com/install.sh
+ which bash
+ SHELL=/bin/bash bash -
[37mInstalling Yarn![0m
[36m> Downloading tarball...[0m
[1/2]: https://yarnpkg.com/latest.tar.gz --> /tmp/yarn.tar.gz.LpylHVCLUj
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 56 100 56 0 0 736 0 --:--:-- --:--:-- --:--:-- 736
100 95 100 95 0 0 650 0 --:--:-- --:--:-- --:--:-- 650
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1215k 100 1215k 0 0 5758k 0 --:--:-- --:--:-- --:--:-- 5758k
[2/2]: https://yarnpkg.com/latest.tar.gz.asc --> /tmp/yarn.tar.gz.LpylHVCLUj.asc
100 60 100 60 0 0 2222 0 --:--:-- --:--:-- --:--:-- 2222
100 99 100 99 0 0 1980 0 --:--:-- --:--:-- --:--:-- 1980
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 833 100 833 0 0 11410 0 --:--:-- --:--:-- --:--:-- 11410
[36m> Verifying integrity...[0m
gpg: key 1646B01B86E50310: public key "Yarn Packaging <yarn at dan.cx>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: Signature made Tue May 10 19:48:23 2022 UTC
gpg: using RSA key 6D98490C6F1ACDDD448E45954F77679369475BAA
gpg: Good signature from "Yarn Packaging <yarn at dan.cx>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
[32m> GPG signature looks good[0m
[36m> Extracting to ~/.yarn...[0m
[36m> Adding to $PATH...[0m
[36m> We've added the following to your /root/.bashrc
> If this isn't the profile of your current shell then please add the following to your correct profile:
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
[0m
[32m> Successfully installed Yarn 1.22.19! Please open another terminal where the `yarn` command will now be available.[0m
+ . /root/.bashrc
+ [ -z # ]
+ HISTCONTROL=ignoredups:ignorespace
+ shopt -s histappend
/tmp/jenkins1790117948190314930.sh: 13: /root/.bashrc: shopt: not found
Build step 'Execute shell' marked build as failure
[identity-apps] $ /usr/bin/env bash /tmp/jenkins4658034087118610368.sh
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @wso2is/webapps at 1.4.67
npm ERR! Found: @typescript-eslint/parser at 4.33.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! dev @typescript-eslint/parser@"^4.17.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/parser@"^5.29.0" from @nrwl/eslint-plugin-nx at 14.4.2
npm ERR! node_modules/@nrwl/eslint-plugin-nx
npm ERR! dev @nrwl/eslint-plugin-nx@"14.4.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-08-29T16_24_50_988Z-debug.log
> @wso2is/webapps at 1.4.67 update-version
> node scripts/update-version.js "jenkins=true" "build=#4407" "pom=1.4.67"
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'fs-extra'
Require stack:
- <https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/scripts/update-version.js>
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (<https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/scripts/update-version.js>:30:12)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'<https://wso2.org/jenkins/job/platform-builds/job/identity-apps/ws/scripts/update-version.js'>
]
}
Build step 'Execute shell' marked build as failure
More information about the Builder
mailing list