Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cross-spawn from 7.0.3 to 7.0.6 #1469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Bump cross-spawn from 7.0.3 to 7.0.6

5365735
Select commit
Loading
Failed to load commit list.
Open

Bump cross-spawn from 7.0.3 to 7.0.6 #1469

Bump cross-spawn from 7.0.3 to 7.0.6
5365735
Select commit
Loading
Failed to load commit list.
StreetCodeApplication / Jenkins failed Dec 19, 2024 in 3m 55s

Run tests: error in 'sh' step

Run tests / Shell Script

Error in sh step, with arguments `
export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ]; then
. "$NVM_DIR/nvm.sh"
fi
nvm use 16
npm install

                npm run test:cover
            `.
script returned exit code 1
Build log
+ export NVM_DIR=/home/admin_1/.nvm
+ [ -s /home/admin_1/.nvm/nvm.sh ]
+ . /home/admin_1/.nvm/nvm.sh
+ NVM_SCRIPT_SOURCE=/usr/bin/java
+ [ -z  ]
+ export NVM_CD_FLAGS=
+ nvm_is_zsh
+ [ -n  ]
+ [ -z /home/admin_1/.nvm ]
+ unset NVM_SCRIPT_SOURCE
+ nvm_process_parameters
+ local NVM_AUTO_MODE
+ NVM_AUTO_MODE=use
+ [ 0 -ne 0 ]
+ nvm_auto use
+ local NVM_MODE
+ NVM_MODE=use
+ local VERSION
+ local NVM_CURRENT
+ [ _use = _install ]
+ [ _use = _use ]
+ nvm_ls_current
+ local NVM_LS_CURRENT_NODE_PATH
+ command which node
+ NVM_LS_CURRENT_NODE_PATH=/usr/bin/node
+ nvm_version_dir iojs
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=iojs
+ [ -z iojs ]
+ [ iojs = new ]
+ [ _iojs = _iojs ]
+ nvm_echo /home/admin_1/.nvm/versions/io.js
+ command printf %s\n /home/admin_1/.nvm/versions/io.js
+ nvm_tree_contains_path /home/admin_1/.nvm/versions/io.js /usr/bin/node
+ local tree
+ tree=/home/admin_1/.nvm/versions/io.js
+ local node_path
+ node_path=/usr/bin/node
+ [ @/home/admin_1/.nvm/versions/io.js@ = @@ ]
+ [ @/usr/bin/node@ = @@ ]
+ local previous_pathdir
+ previous_pathdir=/usr/bin/node
+ local pathdir
+ dirname /usr/bin/node
+ pathdir=/usr/bin
+ [ /usr/bin !=  ]
+ [ /usr/bin != . ]
+ [ /usr/bin != / ]
+ [ /usr/bin != /home/admin_1/.nvm/versions/io.js ]
+ [ /usr/bin != /usr/bin/node ]
+ previous_pathdir=/usr/bin
+ dirname /usr/bin
+ pathdir=/usr
+ [ /usr !=  ]
+ [ /usr != . ]
+ [ /usr != / ]
+ [ /usr != /home/admin_1/.nvm/versions/io.js ]
+ [ /usr != /usr/bin ]
+ previous_pathdir=/usr
+ dirname /usr
+ pathdir=/
+ [ / !=  ]
+ [ / != . ]
+ [ / != / ]
+ [ / = /home/admin_1/.nvm/versions/io.js ]
+ nvm_tree_contains_path /home/admin_1/.nvm /usr/bin/node
+ local tree
+ tree=/home/admin_1/.nvm
+ local node_path
+ node_path=/usr/bin/node
+ [ @/home/admin_1/.nvm@ = @@ ]
+ [ @/usr/bin/node@ = @@ ]
+ local previous_pathdir
+ previous_pathdir=/usr/bin/node
+ local pathdir
+ dirname /usr/bin/node
+ pathdir=/usr/bin
+ [ /usr/bin !=  ]
+ [ /usr/bin != . ]
+ [ /usr/bin != / ]
+ [ /usr/bin != /home/admin_1/.nvm ]
+ [ /usr/bin != /usr/bin/node ]
+ previous_pathdir=/usr/bin
+ dirname /usr/bin
+ pathdir=/usr
+ [ /usr !=  ]
+ [ /usr != . ]
+ [ /usr != / ]
+ [ /usr != /home/admin_1/.nvm ]
+ [ /usr != /usr/bin ]
+ previous_pathdir=/usr
+ dirname /usr
+ pathdir=/
+ [ / !=  ]
+ [ / != . ]
+ [ / != / ]
+ [ / = /home/admin_1/.nvm ]
+ nvm_echo system
+ command printf %s\n system
+ NVM_CURRENT=system
+ [ _system = _none ]
+ [ _system = _system ]
+ nvm_resolve_local_alias default
+ VERSION=v16.20.2
+ [ -n v16.20.2 ]
+ nvm use --silent v16.20.2
+ [ 3 -lt 1 ]
+ local DEFAULT_IFS
+ nvm_echo t
+ command printf %s\n t
+ command tr t \t
+ DEFAULT_IFS= 	

+ [  != xe ]
+ set +e
+ local EXIT_CODE
+ IFS= 	
 nvm use --silent v16.20.2
+ [ 3 -lt 1 ]
+ local DEFAULT_IFS
+ nvm_echo t
+ command printf %s\n t
+ command tr t \t
+ DEFAULT_IFS= 	

+ [ x != x ]
+ [ x != x ]
+ [ -n  ]
+ [  	
 !=  	
 ]
+ local i
+ local COMMAND
+ COMMAND=use
+ shift
+ local VERSION
+ local ADDITIONAL_PARAMETERS
+ local PROVIDED_VERSION
+ local NVM_SILENT
+ local NVM_SILENT_ARG
+ local NVM_DELETE_PREFIX
+ NVM_DELETE_PREFIX=0
+ local NVM_LTS
+ local IS_VERSION_FROM_NVMRC
+ IS_VERSION_FROM_NVMRC=0
+ [ 2 -ne 0 ]
+ NVM_SILENT=1
+ NVM_SILENT_ARG=--silent
+ shift
+ [ 1 -ne 0 ]
+ [ -n v16.20.2 ]
+ PROVIDED_VERSION=v16.20.2
+ shift
+ [ 0 -ne 0 ]
+ [ -n  ]
+ [ -z v16.20.2 ]
+ nvm_match_version v16.20.2
+ local NVM_IOJS_PREFIX
+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ local PROVIDED_VERSION
+ PROVIDED_VERSION=v16.20.2
+ nvm_version v16.20.2
+ local PATTERN
+ PATTERN=v16.20.2
+ local VERSION
+ [ -z v16.20.2 ]
+ [ v16.20.2 = current ]
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ nvm_ls v16.20.2
+ local PATTERN
+ PATTERN=v16.20.2
+ local VERSIONS
+ VERSIONS=
+ [ v16.20.2+  = current ]
command+  taillocal -1 NVM_IOJS_PREFIX

+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ local NVM_VERSION_DIR_IOJS
+ nvm_version_dir iojs
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=iojs
+ [ -z iojs ]
+ [ iojs = new ]
+ [ _iojs = _iojs ]
+ nvm_echo /home/admin_1/.nvm/versions/io.js
+ command printf %s\n /home/admin_1/.nvm/versions/io.js
+ NVM_VERSION_DIR_IOJS=/home/admin_1/.nvm/versions/io.js
+ local NVM_VERSION_DIR_NEW
+ nvm_version_dir new
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=new
+ [ -z new ]
+ [ new = new ]
+ nvm_echo /home/admin_1/.nvm/versions/node
+ command printf %s\n /home/admin_1/.nvm/versions/node
+ NVM_VERSION_DIR_NEW=/home/admin_1/.nvm/versions/node
+ local NVM_VERSION_DIR_OLD
+ nvm_version_dir old
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=old
+ [ -z old ]
+ [ old = new ]
+ [ _old = _iojs ]
+ [ _old = _old ]
+ nvm_echo /home/admin_1/.nvm
+ command printf %s\n /home/admin_1/.nvm
+ NVM_VERSION_DIR_OLD=/home/admin_1/.nvm
+ nvm_resolve_local_alias v16.20.2
+ [ -z v16.20.2 ]
+ local VERSION
+ local EXIT_CODE
+ nvm_resolve_alias v16.20.2
+ [ -z v16.20.2 ]
+ local PATTERN
+ PATTERN=v16.20.2
+ local ALIAS
+ ALIAS=v16.20.2
+ local ALIAS_TEMP
+ local SEEN_ALIASES
+ SEEN_ALIASES=v16.20.2
+ true
+ nvm_alias v16.20.2
+ nvm_echo
+ command printf %s\n 
+ ALIAS_TEMP=
+ [ -z  ]
+ break
+ [ -n v16.20.2 ]
+ [ _v16.20.2 != _v16.20.2 ]
+ nvm_validate_implicit_alias v16.20.2
+ return 2
+ VERSION=
+ EXIT_CODE=2
+ [ -z  ]
+ return 2
+ nvm_ensure_version_prefix v16.20.2
+ local NVM_VERSION
+ nvm_strip_iojs_prefix v16.20.2
+ local NVM_IOJS_PREFIX
+ command sed -e s/^\([0-9]\)/v\1/g
+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ [ v16.20.2 = iojs ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ NVM_VERSION=v16.20.2
+ nvm_is_iojs_version v16.20.2
+ return 1
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ PATTERN=v16.20.2
+ [ v16.20.2 = N/A ]
+ local NVM_PATTERN_STARTS_WITH_V
+ NVM_PATTERN_STARTS_WITH_V=true
+ [ true = true ]
+ nvm_num_version_groups v16.20.2
+ local VERSION
+ VERSION=v16.20.2
+ VERSION=16.20.2
+ VERSION=16.20.2
+ [ -z 16.20.2 ]
+ local NVM_NUM_DOTS
+ nvm_echo 16.20.2
+ command printf %s\n 16.20.2
+ command sed -e s/[^\.]//g
+ NVM_NUM_DOTS=..
+ local NVM_NUM_GROUPS
+ NVM_NUM_GROUPS=...
+ nvm_echo 3
+ command printf %s\n 3
+ [ _3 = _3 ]
+ nvm_is_version_installed v16.20.2
+ [ -z v16.20.2 ]
+ local NVM_NODE_BINARY
+ NVM_NODE_BINARY=node
+ nvm_get_os
+ local NVM_UNAME
+ command uname -a
+ NVM_UNAME=Linux Stage 5.15.0-1074-azure #83~20.04.1-Ubuntu SMP Fri Oct 4 21:49:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
+ local NVM_OS
+ NVM_OS=linux
+ nvm_echo linux
+ command printf %s\n linux
+ [ _linux = _win ]
+ nvm_version_path v16.20.2
+ [ -x /home/admin_1/.nvm/versions/node/v16.20.2/bin/node ]
+ return 0
+ VERSIONS=v16.20.2
+ [  = true ]
+ [ -z v16.20.2 ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ [ _v16.20.2 = _N/A ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ [ _v16.20.2 = _system ]
+ [ _v16.20.2 = _∞ ]
+ [ v16.20.2 = N/A ]
+ nvm_ensure_version_installed v16.20.2 0
+ local PROVIDED_VERSION
+ PROVIDED_VERSION=v16.20.2
+ local IS_VERSION_FROM_NVMRC
+ IS_VERSION_FROM_NVMRC=0
+ [ v16.20.2 = system ]
+ local LOCAL_VERSION
+ local EXIT_CODE
+ nvm_version v16.20.2
+ local PATTERN
+ PATTERN=v16.20.2
+ local VERSION
+ [ -z v16.20.2 ]
+ [ v16.20.2 = current ]
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ nvm_ls v16.20.2
+ local PATTERN
+ PATTERN=v16.20.2
+ local VERSIONS
+ VERSIONS=
+ [ v16.20.2+  = current ]
command+  taillocal -1 NVM_IOJS_PREFIX

+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ local NVM_VERSION_DIR_IOJS
+ nvm_version_dir iojs
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=iojs
+ [ -z iojs ]
+ [ iojs = new ]
+ [ _iojs = _iojs ]
+ nvm_echo /home/admin_1/.nvm/versions/io.js
+ command printf %s\n /home/admin_1/.nvm/versions/io.js
+ NVM_VERSION_DIR_IOJS=/home/admin_1/.nvm/versions/io.js
+ local NVM_VERSION_DIR_NEW
+ nvm_version_dir new
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=new
+ [ -z new ]
+ [ new = new ]
+ nvm_echo /home/admin_1/.nvm/versions/node
+ command printf %s\n /home/admin_1/.nvm/versions/node
+ NVM_VERSION_DIR_NEW=/home/admin_1/.nvm/versions/node
+ local NVM_VERSION_DIR_OLD
+ nvm_version_dir old
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=old
+ [ -z old ]
+ [ old = new ]
+ [ _old = _iojs ]
+ [ _old = _old ]
+ nvm_echo /home/admin_1/.nvm
+ command printf %s\n /home/admin_1/.nvm
+ NVM_VERSION_DIR_OLD=/home/admin_1/.nvm
+ nvm_resolve_local_alias v16.20.2
+ [ -z v16.20.2 ]
+ local VERSION
+ local EXIT_CODE
+ nvm_resolve_alias v16.20.2
+ [ -z v16.20.2 ]
+ local PATTERN
+ PATTERN=v16.20.2
+ local ALIAS
+ ALIAS=v16.20.2
+ local ALIAS_TEMP
+ local SEEN_ALIASES
+ SEEN_ALIASES=v16.20.2
+ true
+ nvm_alias v16.20.2
+ nvm_echo
+ command printf %s\n 
+ ALIAS_TEMP=
+ [ -z  ]
+ break
+ [ -n v16.20.2 ]
+ [ _v16.20.2 != _v16.20.2 ]
+ nvm_validate_implicit_alias v16.20.2
+ return 2
+ VERSION=
+ EXIT_CODE=2
+ [ -z  ]
+ return 2
+ nvm_ensure_version_prefix v16.20.2
+ local NVM_VERSION
+ nvm_strip_iojs_prefix v16.20.2
+ local NVM_IOJS_PREFIX
+ command sed -e s/^\([0-9]\)/v\1/g
+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ [ v16.20.2 = iojs ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ NVM_VERSION=v16.20.2
+ nvm_is_iojs_version v16.20.2
+ return 1
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ PATTERN=v16.20.2
+ [ v16.20.2 = N/A ]
+ local NVM_PATTERN_STARTS_WITH_V
+ NVM_PATTERN_STARTS_WITH_V=true
+ [ true = true ]
+ nvm_num_version_groups v16.20.2
+ local VERSION
+ VERSION=v16.20.2
+ VERSION=16.20.2
+ VERSION=16.20.2
+ [ -z 16.20.2 ]
+ local NVM_NUM_DOTS
+ nvm_echo 16.20.2
+ command printf %s\n 16.20.2
+ command sed -e s/[^\.]//g
+ NVM_NUM_DOTS=..
+ local NVM_NUM_GROUPS
+ NVM_NUM_GROUPS=...
+ nvm_echo 3
+ command printf %s\n 3
+ [ _3 = _3 ]
+ nvm_is_version_installed v16.20.2
+ [ -z v16.20.2 ]
+ local NVM_NODE_BINARY
+ NVM_NODE_BINARY=node
+ nvm_get_os
+ local NVM_UNAME
+ command uname -a
+ NVM_UNAME=Linux Stage 5.15.0-1074-azure #83~20.04.1-Ubuntu SMP Fri Oct 4 21:49:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
+ local NVM_OS
+ NVM_OS=linux
+ nvm_echo linux
+ command printf %s\n linux
+ [ _linux = _win ]
+ nvm_version_path v16.20.2
+ [ -x /home/admin_1/.nvm/versions/node/v16.20.2/bin/node ]
+ return 0
+ VERSIONS=v16.20.2
+ [  = true ]
+ [ -z v16.20.2 ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ [ _v16.20.2 = _N/A ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ LOCAL_VERSION=v16.20.2
+ EXIT_CODE=0
+ local NVM_VERSION_DIR
+ [ 0 != 0 ]
+ nvm_is_version_installed v16.20.2
+ [ -z v16.20.2 ]
+ local NVM_NODE_BINARY
+ NVM_NODE_BINARY=node
+ nvm_get_os
+ local NVM_UNAME
+ command uname -a
+ NVM_UNAME=Linux Stage 5.15.0-1074-azure #83~20.04.1-Ubuntu SMP Fri Oct 4 21:49:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
+ local NVM_OS
+ NVM_OS=linux
+ nvm_echo linux
+ command printf %s\n linux
+ [ _linux = _win ]
+ nvm_version_path v16.20.2
+ [ -x /home/admin_1/.nvm/versions/node/v16.20.2/bin/node ]
+ return 0
+ local NVM_VERSION_DIR
+ nvm_version_path v16.20.2
+ local VERSION
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ nvm_is_iojs_version v16.20.2
+ return 1
+ nvm_version_greater 0.12.0 v16.20.2
+ command awk BEGIN {
    if (ARGV[1] == "" || ARGV[2] == "") exit(1)
    split(ARGV[1], a, /\./);
    split(ARGV[2], b, /\./);
    for (i=1; i<=3; i++) {
      if (a[i] && a[i] !~ /^[0-9]+$/) exit(2);
      if (b[i] && b[i] !~ /^[0-9]+$/) { exit(0); }
      if (a[i] < b[i]) exit(3);
      else if (a[i] > b[i]) exit(0);
    }
    exit(4)
  } 0.12.0 16.20.2
+ nvm_version_dir new
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=new
+ [ -z new ]
+ [ new = new ]
+ nvm_echo /home/admin_1/.nvm/versions/node
+ command printf %s\n /home/admin_1/.nvm/versions/node
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2
+ NVM_VERSION_DIR=/home/admin_1/.nvm/versions/node/v16.20.2
+ nvm_change_path /home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin /bin /home/admin_1/.nvm/versions/node/v16.20.2
+ [ -z /home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ]
+ nvm_echo /home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_grep -q /home/admin_1/.nvm/[^/]*/bin
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/[^/]*/bin
+ nvm_echo /home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/bin
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/bin
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ PATH=/home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_has manpath
+ type manpath
+ [ -z  ]
+ local MANPATH
+ manpath
+ MANPATH=/home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_change_path /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man /share/man /home/admin_1/.nvm/versions/node/v16.20.2
+ [ -z /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man ]
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -q /home/admin_1/.nvm/[^/]*/share/man
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/[^/]*/share/man
+ GREP_OPTIONS= command grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ GREP_OPTIONS= command grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command sed -e s#/home/admin_1/.nvm/[^/]*/share/man[^:]*#/home/admin_1/.nvm/versions/node/v16.20.2/share/man# -e s#/home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man[^:]*#/home/admin_1/.nvm/versions/node/v16.20.2/share/man#
+ MANPATH=/home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ export MANPATH
+ export PATH
+ hash -r
+ export NVM_BIN=/home/admin_1/.nvm/versions/node/v16.20.2/bin
+ export NVM_INC=/home/admin_1/.nvm/versions/node/v16.20.2/include/node
+ [  = true ]
+ local NVM_USE_OUTPUT
+ NVM_USE_OUTPUT=
+ [ 1 -ne 1 ]
+ [ _v16.20.2 != _system ]
+ local NVM_USE_CMD
+ NVM_USE_CMD=nvm use --delete-prefix
+ [ -n v16.20.2 ]
+ NVM_USE_CMD=nvm use --delete-prefix v16.20.2
+ [ 1 -eq 1 ]
+ NVM_USE_CMD=nvm use --delete-prefix v16.20.2 --silent
+ nvm_die_on_prefix 0 nvm use --delete-prefix v16.20.2 --silent /home/admin_1/.nvm/versions/node/v16.20.2
+ local NVM_DELETE_PREFIX
+ NVM_DELETE_PREFIX=0
+ local NVM_COMMAND
+ NVM_COMMAND=nvm use --delete-prefix v16.20.2 --silent
+ local NVM_VERSION_DIR
+ NVM_VERSION_DIR=/home/admin_1/.nvm/versions/node/v16.20.2
+ [ -z nvm use --delete-prefix v16.20.2 --silent ]
+ [ -z /home/admin_1/.nvm/versions/node/v16.20.2 ]
+ [ -n  ]
+ local NVM_OS
+ nvm_get_os
+ local NVM_UNAME
+ command uname -a
+ NVM_UNAME=Linux Stage 5.15.0-1074-azure #83~20.04.1-Ubuntu SMP Fri Oct 4 21:49:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
+ local NVM_OS
+ NVM_OS=linux
+ nvm_echo linux
+ command printf %s\n linux
+ NVM_OS=linux
+ local NVM_NPM_CONFIG_x_PREFIX_ENV
+ command awk BEGIN { for (name in ENVIRON) if (toupper(name) == "NPM_CONFIG_PREFIX") { print name; break } }
+ NVM_NPM_CONFIG_x_PREFIX_ENV=
+ [ -n  ]
+ local NVM_NPM_BUILTIN_NPMRC
+ NVM_NPM_BUILTIN_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc
+ nvm_npmrc_bad_news_bears /home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc
+ [ -n /home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc ]
+ [ -f /home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc ]
+ return 1
+ local NVM_NPM_GLOBAL_NPMRC
+ NVM_NPM_GLOBAL_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc
+ nvm_npmrc_bad_news_bears /home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc
+ [ -n /home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc ]
+ [ -f /home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc ]
+ return 1
+ local NVM_NPM_USER_NPMRC
+ NVM_NPM_USER_NPMRC=/home/admin_1/.npmrc
+ nvm_npmrc_bad_news_bears /home/admin_1/.npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/admin_1/.npmrc
+ [ -n /home/admin_1/.npmrc ]
+ [ -f /home/admin_1/.npmrc ]
+ return 1
+ local NVM_NPM_PROJECT_NPMRC
+ nvm_find_project_dir
+ local path_
+ path_=/home/jenkins/workspace/New_Frontend_PIpline_PR-1469
+ [ /home/jenkins/workspace/New_Frontend_PIpline_PR-1469 !=  ]
+ [ ! -f /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/package.json ]
+ nvm_echo /home/jenkins/workspace/New_Frontend_PIpline_PR-1469
+ command printf %s\n /home/jenkins/workspace/New_Frontend_PIpline_PR-1469
+ NVM_NPM_PROJECT_NPMRC=/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc
+ nvm_npmrc_bad_news_bears /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc
+ [ -n /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc ]
+ [ -f /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc ]
+ return 1
+ [ -n  ]
+ EXIT_CODE=0
+ set -e
+ return 0
+ nvm use 16
+ [ 2 -lt 1 ]
+ local DEFAULT_IFS
+ nvm_echo t
+ command printf %s\n t
+ command tr t \t
+ DEFAULT_IFS= 	

+ [  != xe ]
+ set +e
+ local EXIT_CODE
+ IFS= 	
 nvm use 16
+ [ 2 -lt 1 ]
+ local DEFAULT_IFS
+ nvm_echo t
+ command printf %s\n t
+ command tr t \t
+ DEFAULT_IFS= 	

+ [ x != x ]
+ [ x != x ]
+ [ -n  ]
+ [  	
 !=  	
 ]
+ local i
+ local COMMAND
+ COMMAND=use
+ shift
+ local VERSION
+ local ADDITIONAL_PARAMETERS
+ local PROVIDED_VERSION
+ local NVM_SILENT
+ local NVM_SILENT_ARG
+ local NVM_DELETE_PREFIX
+ NVM_DELETE_PREFIX=0
+ local NVM_LTS
+ local IS_VERSION_FROM_NVMRC
+ IS_VERSION_FROM_NVMRC=0
+ [ 1 -ne 0 ]
+ [ -n 16 ]
+ PROVIDED_VERSION=16
+ shift
+ [ 0 -ne 0 ]
+ [ -n  ]
+ [ -z 16 ]
+ nvm_match_version 16
+ local NVM_IOJS_PREFIX
+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ local PROVIDED_VERSION
+ PROVIDED_VERSION=16
+ nvm_version 16
+ local PATTERN
+ PATTERN=16
+ local VERSION
+ [ -z 16 ]
+ [ 16 = current ]
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ nvm_ls 16
+ local PATTERN
+ PATTERN=16
+ local VERSIONS
+ VERSIONS=
+ [ 16 = current ]
+ local NVM_IOJS_PREFIX
+ command tail -1
+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ local NVM_VERSION_DIR_IOJS
+ nvm_version_dir iojs
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=iojs
+ [ -z iojs ]
+ [ iojs = new ]
+ [ _iojs = _iojs ]
+ nvm_echo /home/admin_1/.nvm/versions/io.js
+ command printf %s\n /home/admin_1/.nvm/versions/io.js
+ NVM_VERSION_DIR_IOJS=/home/admin_1/.nvm/versions/io.js
+ local NVM_VERSION_DIR_NEW
+ nvm_version_dir new
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=new
+ [ -z new ]
+ [ new = new ]
+ nvm_echo /home/admin_1/.nvm/versions/node
+ command printf %s\n /home/admin_1/.nvm/versions/node
+ NVM_VERSION_DIR_NEW=/home/admin_1/.nvm/versions/node
+ local NVM_VERSION_DIR_OLD
+ nvm_version_dir old
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=old
+ [ -z old ]
+ [ old = new ]
+ [ _old = _iojs ]
+ [ _old = _old ]
+ nvm_echo /home/admin_1/.nvm
+ command printf %s\n /home/admin_1/.nvm
+ NVM_VERSION_DIR_OLD=/home/admin_1/.nvm
+ nvm_resolve_local_alias 16
+ [ -z 16 ]
+ local VERSION
+ local EXIT_CODE
+ nvm_resolve_alias 16
+ [ -z 16 ]
+ local PATTERN
+ PATTERN=16
+ local ALIAS
+ ALIAS=16
+ local ALIAS_TEMP
+ local SEEN_ALIASES
+ SEEN_ALIASES=16
+ true
+ nvm_alias 16
+ nvm_echo
+ command printf %s\n 
+ ALIAS_TEMP=
+ [ -z  ]
+ break
+ [ -n 16 ]
+ [ _16 != _16 ]
+ nvm_validate_implicit_alias 16
+ return 2
+ VERSION=
+ EXIT_CODE=2
+ [ -z  ]
+ return 2
+ nvm_ensure_version_prefix 16
+ local NVM_VERSION
+ nvm_strip_iojs_prefix 16
+ local NVM_IOJS_PREFIX
+ + nvm_iojs_prefix
command+  sednvm_echo -e iojs s/^\([0-9]\)/v\1/g

+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ [ 16 = iojs ]
+ nvm_echo 16
+ command printf %s\n 16
+ NVM_VERSION=v16
+ nvm_is_iojs_version 16
+ return 1
+ nvm_echo v16
+ command printf %s\n v16
+ PATTERN=v16
+ [ v16 = N/A ]
+ local NVM_PATTERN_STARTS_WITH_V
+ NVM_PATTERN_STARTS_WITH_V=true
+ [ true = true ]
+ nvm_num_version_groups v16
+ local VERSION
+ VERSION=v16
+ VERSION=16
+ VERSION=16
+ [ -z 16 ]
+ local NVM_NUM_DOTS
+ nvm_echo 16
+ command printf %s\n 16
+ command sed -e s/[^\.]//g
+ NVM_NUM_DOTS=
+ local NVM_NUM_GROUPS
+ NVM_NUM_GROUPS=.
+ nvm_echo 1
+ command printf %s\n 1
+ [ _1 = _3 ]
+ local NUM_VERSION_GROUPS
+ nvm_num_version_groups v16
+ local VERSION
+ VERSION=v16
+ VERSION=16
+ VERSION=16
+ [ -z 16 ]
+ local NVM_NUM_DOTS
+ nvm_echo 16
+ command printf %s\n 16
+ command sed -e s/[^\.]//g
+ NVM_NUM_DOTS=
+ local NVM_NUM_GROUPS
+ NVM_NUM_GROUPS=.
+ nvm_echo 1
+ command printf %s\n 1
+ NUM_VERSION_GROUPS=1
+ [ 1 = 2 ]
+ [ 1 = 1 ]
+ PATTERN=v16.
+ nvm_is_zsh
+ [ -n  ]
+ nvm_is_zsh
+ [ -n  ]
+ local NVM_DIRS_TO_SEARCH1
+ NVM_DIRS_TO_SEARCH1=
+ local NVM_DIRS_TO_SEARCH2
+ NVM_DIRS_TO_SEARCH2=
+ local NVM_DIRS_TO_SEARCH3
+ NVM_DIRS_TO_SEARCH3=
+ local NVM_ADD_SYSTEM
+ NVM_ADD_SYSTEM=false
+ nvm_is_iojs_version v16.
+ return 1
+ [ v16. = node- ]
+ NVM_DIRS_TO_SEARCH1=/home/admin_1/.nvm
+ NVM_DIRS_TO_SEARCH2=/home/admin_1/.nvm/versions/node
+ NVM_DIRS_TO_SEARCH3=/home/admin_1/.nvm/versions/io.js
+ nvm_has_system_iojs
+ nvm deactivate
+ command -v iojs
+ [  !=  ]
+ nvm_has_system_node
+ nvm deactivate
+ command -v node
+ [ /usr/bin/node !=  ]
+ NVM_ADD_SYSTEM=true
+ [ -d /home/admin_1/.nvm ]
+ command ls -1qA /home/admin_1/.nvm
+ nvm_grep -q .
+ GREP_OPTIONS= command grep -q .
+ [ -d /home/admin_1/.nvm/versions/node ]
+ command ls -1qA /home/admin_1/.nvm/versions/node
+ nvm_grep -q .
+ GREP_OPTIONS= command grep -q .
+ [ -d /home/admin_1/.nvm/versions/io.js ]
+ NVM_DIRS_TO_SEARCH3=/home/admin_1/.nvm/versions/node
+ local SEARCH_PATTERN
+ [ -z v16. ]
+ nvm_echo v16.
+ command printf %s\n v16.
+ command sed s#\.#\\\.#g;
+ SEARCH_PATTERN=v16\.
+ [ -n /home/admin_1/.nvm/home/admin_1/.nvm/versions/node/home/admin_1/.nvm/versions/node ]
+ command find /home/admin_1/.nvm/CODE_OF_CONDUCT.md /home/admin_1/.nvm/CONTRIBUTING.md /home/admin_1/.nvm/Dockerfile /home/admin_1/.nvm/GOVERNANCE.md /home/admin_1/.nvm/LICENSE.md /home/admin_1/.nvm/Makefile /home/admin_1/.nvm/PROJECT_CHARTER.md /home/admin_1/.nvm/README.md /home/admin_1/.nvm/ROADMAP.md /home/admin_1/.nvm/alias /home/admin_1/.nvm/bash_completion /home/admin_1/.nvm/install.sh /home/admin_1/.nvm/nvm-exec /home/admin_1/.nvm/nvm.sh /home/admin_1/.nvm/package.json /home/admin_1/.nvm/rename_test.sh /home/admin_1/.nvm/test /home/admin_1/.nvm/update_test_mocks.sh /home/admin_1/.nvm/versions /home/admin_1/.nvm/versions/node/v16.20.2 /home/admin_1/.nvm/versions/node/v18.20.0 /home/admin_1/.nvm/versions/node/v16.20.2 /home/admin_1/.nvm/versions/node/v18.20.0 -name . -o -type d -prune -o -path v16.*
+ command sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n
+ command sed -e 
            s#/home/admin_1/.nvm/versions/io.js/#versions/iojs/#;
            s#^/home/admin_1/.nvm/##;
            \#^[^v]# d;
            \#^versions$# d;
            s#^versions/##;
            s#^v#node/v#;
            \#v16\.# !d;
           -e s#^\([^/]\{1,\}\)/\(.*\)$#\2.\1#;
+ command sed -e s#\(.*\)\.\([^\.]\{1,\}\)$#\2-\1#; -e s#^node-##;
+ VERSIONS=v16.20.2
+ [ true = true ]
+ [ -z v16. ]
+ [ v16. = v ]
+ [ v16. = system ]
+ [ -z v16.20.2 ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ [ _v16.20.2 = _N/A ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ [ _v16.20.2 = _system ]
+ [ _v16.20.2 = _∞ ]
+ [ v16.20.2 = N/A ]
+ nvm_ensure_version_installed v16.20.2 0
+ local PROVIDED_VERSION
+ PROVIDED_VERSION=v16.20.2
+ local IS_VERSION_FROM_NVMRC
+ IS_VERSION_FROM_NVMRC=0
+ [ v16.20.2 = system ]
+ local LOCAL_VERSION
+ local EXIT_CODE
+ nvm_version v16.20.2
+ local PATTERN
+ PATTERN=v16.20.2
+ local VERSION
+ [ -z v16.20.2 ]
+ [ v16.20.2 = current ]
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ nvm_ls v16.20.2
+ local PATTERN
+ PATTERN=v16.20.2
+ local VERSIONS
+ VERSIONS=
+ + [ v16.20.2 =command current tail ] -1

+ local NVM_IOJS_PREFIX
+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ local NVM_NODE_PREFIX
+ nvm_node_prefix
+ nvm_echo node
+ command printf %s\n node
+ NVM_NODE_PREFIX=node
+ local NVM_VERSION_DIR_IOJS
+ nvm_version_dir iojs
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=iojs
+ [ -z iojs ]
+ [ iojs = new ]
+ [ _iojs = _iojs ]
+ nvm_echo /home/admin_1/.nvm/versions/io.js
+ command printf %s\n /home/admin_1/.nvm/versions/io.js
+ NVM_VERSION_DIR_IOJS=/home/admin_1/.nvm/versions/io.js
+ local NVM_VERSION_DIR_NEW
+ nvm_version_dir new
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=new
+ [ -z new ]
+ [ new = new ]
+ nvm_echo /home/admin_1/.nvm/versions/node
+ command printf %s\n /home/admin_1/.nvm/versions/node
+ NVM_VERSION_DIR_NEW=/home/admin_1/.nvm/versions/node
+ local NVM_VERSION_DIR_OLD
+ nvm_version_dir old
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=old
+ [ -z old ]
+ [ old = new ]
+ [ _old = _iojs ]
+ [ _old = _old ]
+ nvm_echo /home/admin_1/.nvm
+ command printf %s\n /home/admin_1/.nvm
+ NVM_VERSION_DIR_OLD=/home/admin_1/.nvm
+ nvm_resolve_local_alias v16.20.2
+ [ -z v16.20.2 ]
+ local VERSION
+ local EXIT_CODE
+ nvm_resolve_alias v16.20.2
+ [ -z v16.20.2 ]
+ local PATTERN
+ PATTERN=v16.20.2
+ local ALIAS
+ ALIAS=v16.20.2
+ local ALIAS_TEMP
+ local SEEN_ALIASES
+ SEEN_ALIASES=v16.20.2
+ true
+ nvm_alias v16.20.2
+ nvm_echo
+ command printf %s\n 
+ ALIAS_TEMP=
+ [ -z  ]
+ break
+ [ -n v16.20.2 ]
+ [ _v16.20.2 != _v16.20.2 ]
+ nvm_validate_implicit_alias v16.20.2
+ return 2
+ VERSION=
+ EXIT_CODE=2
+ [ -z  ]
+ return 2
+ nvm_ensure_version_prefix v16.20.2
+ local NVM_VERSION
+ nvm_strip_iojs_prefix v16.20.2
+ local NVM_IOJS_PREFIX
+ command sed -e s/^\([0-9]\)/v\1/g
+ nvm_iojs_prefix
+ nvm_echo iojs
+ command printf %s\n iojs
+ NVM_IOJS_PREFIX=iojs
+ [ v16.20.2 = iojs ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ NVM_VERSION=v16.20.2
+ nvm_is_iojs_version v16.20.2
+ return 1
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ PATTERN=v16.20.2
+ [ v16.20.2 = N/A ]
+ local NVM_PATTERN_STARTS_WITH_V
+ NVM_PATTERN_STARTS_WITH_V=true
+ [ true = true ]
+ nvm_num_version_groups v16.20.2
+ local VERSION
+ VERSION=v16.20.2
+ VERSION=16.20.2
+ VERSION=16.20.2
+ [ -z 16.20.2 ]
+ local NVM_NUM_DOTS
+ nvm_echo 16.20.2
+ command printf %s\n 16.20.2
+ command sed -e s/[^\.]//g
+ NVM_NUM_DOTS=..
+ local NVM_NUM_GROUPS
+ NVM_NUM_GROUPS=...
+ nvm_echo 3
+ command printf %s\n 3
+ [ _3 = _3 ]
+ nvm_is_version_installed v16.20.2
+ [ -z v16.20.2 ]
+ local NVM_NODE_BINARY
+ NVM_NODE_BINARY=node
+ nvm_get_os
+ local NVM_UNAME
+ command uname -a
+ NVM_UNAME=Linux Stage 5.15.0-1074-azure #83~20.04.1-Ubuntu SMP Fri Oct 4 21:49:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
+ local NVM_OS
+ NVM_OS=linux
+ nvm_echo linux
+ command printf %s\n linux
+ [ _linux = _win ]
+ nvm_version_path v16.20.2
+ [ -x /home/admin_1/.nvm/versions/node/v16.20.2/bin/node ]
+ return 0
+ VERSIONS=v16.20.2
+ [  = true ]
+ [ -z v16.20.2 ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ [ _v16.20.2 = _N/A ]
+ nvm_echo v16.20.2
+ command printf %s\n v16.20.2
+ LOCAL_VERSION=v16.20.2
+ EXIT_CODE=0
+ local NVM_VERSION_DIR
+ [ 0 != 0 ]
+ nvm_is_version_installed v16.20.2
+ [ -z v16.20.2 ]
+ local NVM_NODE_BINARY
+ NVM_NODE_BINARY=node
+ nvm_get_os
+ local NVM_UNAME
+ command uname -a
+ NVM_UNAME=Linux Stage 5.15.0-1074-azure #83~20.04.1-Ubuntu SMP Fri Oct 4 21:49:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
+ local NVM_OS
+ NVM_OS=linux
+ nvm_echo linux
+ command printf %s\n linux
+ [ _linux = _win ]
+ nvm_version_path v16.20.2
+ [ -x /home/admin_1/.nvm/versions/node/v16.20.2/bin/node ]
+ return 0
+ local NVM_VERSION_DIR
+ nvm_version_path v16.20.2
+ local VERSION
+ VERSION=v16.20.2
+ [ -z v16.20.2 ]
+ nvm_is_iojs_version v16.20.2
+ return 1
+ nvm_version_greater 0.12.0 v16.20.2
+ command awk BEGIN {
    if (ARGV[1] == "" || ARGV[2] == "") exit(1)
    split(ARGV[1], a, /\./);
    split(ARGV[2], b, /\./);
    for (i=1; i<=3; i++) {
      if (a[i] && a[i] !~ /^[0-9]+$/) exit(2);
      if (b[i] && b[i] !~ /^[0-9]+$/) { exit(0); }
      if (a[i] < b[i]) exit(3);
      else if (a[i] > b[i]) exit(0);
    }
    exit(4)
  } 0.12.0 16.20.2
+ nvm_version_dir new
+ local NVM_WHICH_DIR
+ NVM_WHICH_DIR=new
+ [ -z new ]
+ [ new = new ]
+ nvm_echo /home/admin_1/.nvm/versions/node
+ command printf %s\n /home/admin_1/.nvm/versions/node
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2
+ NVM_VERSION_DIR=/home/admin_1/.nvm/versions/node/v16.20.2
+ nvm_change_path /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin /bin /home/admin_1/.nvm/versions/node/v16.20.2
+ [ -z /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ]
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_grep -q /home/admin_1/.nvm/[^/]*/bin
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/[^/]*/bin
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/bin
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/bin
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_grep -Eq (^|:)(/usr(/local)?)?/bin:.*/home/admin_1/.nvm/[^/]*/bin
+ GREP_OPTIONS= command grep -Eq (^|:)(/usr(/local)?)?/bin:.*/home/admin_1/.nvm/[^/]*/bin
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_grep -Eq (^|:)(/usr(/local)?)?/bin:.*/home/admin_1/.nvm/versions/[^/]*/[^/]*/bin
+ GREP_OPTIONS= command grep -Eq (^|:)(/usr(/local)?)?/bin:.*/home/admin_1/.nvm/versions/[^/]*/[^/]*/bin
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ command sed -e s#/home/admin_1/.nvm/[^/]*/bin[^:]*#/home/admin_1/.nvm/versions/node/v16.20.2/bin# -e s#/home/admin_1/.nvm/versions/[^/]*/[^/]*/bin[^:]*#/home/admin_1/.nvm/versions/node/v16.20.2/bin#
+ PATH=/home/admin_1/.nvm/versions/node/v16.20.2/bin:/home/admin_1/.dotnet/tools:/opt/mssql-tools18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ nvm_has manpath
+ type manpath
+ [ -z  ]
+ local MANPATH
+ manpath
+ MANPATH=/home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_change_path /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man /share/man /home/admin_1/.nvm/versions/node/v16.20.2
+ [ -z /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man ]
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -q /home/admin_1/.nvm/[^/]*/share/man
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ GREP_OPTIONS= command grep -q /home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/[^/]*/share/man
+ GREP_OPTIONS= command grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ nvm_grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ GREP_OPTIONS= command grep -Eq (^|:)(/usr(/local)?)?/share/man:.*/home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man
+ nvm_echo /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command printf %s\n /home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ command sed -e s#/home/admin_1/.nvm/[^/]*/share/man[^:]*#/home/admin_1/.nvm/versions/node/v16.20.2/share/man# -e s#/home/admin_1/.nvm/versions/[^/]*/[^/]*/share/man[^:]*#/home/admin_1/.nvm/versions/node/v16.20.2/share/man#
+ MANPATH=/home/admin_1/.nvm/versions/node/v16.20.2/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man
+ export MANPATH
+ export PATH
+ hash -r
+ export NVM_BIN=/home/admin_1/.nvm/versions/node/v16.20.2/bin
+ export NVM_INC=/home/admin_1/.nvm/versions/node/v16.20.2/include/node
+ [  = true ]
+ local NVM_USE_OUTPUT
+ NVM_USE_OUTPUT=
+ [ 0 -ne 1 ]
+ nvm_is_iojs_version v16.20.2
+ return 1
+ nvm_print_npm_version
+ nvm_has npm
+ type npm
+ npm --version
+ command printf  (npm v7.24.2)
+ NVM_USE_OUTPUT=Now using node v16.20.2 (npm v7.24.2)
+ [ _v16.20.2 != _system ]
+ local NVM_USE_CMD
+ NVM_USE_CMD=nvm use --delete-prefix
+ [ -n 16 ]
+ NVM_USE_CMD=nvm use --delete-prefix v16.20.2
+ [ 0 -eq 1 ]
+ nvm_die_on_prefix 0 nvm use --delete-prefix v16.20.2 /home/admin_1/.nvm/versions/node/v16.20.2
+ local NVM_DELETE_PREFIX
+ NVM_DELETE_PREFIX=0
+ local NVM_COMMAND
+ NVM_COMMAND=nvm use --delete-prefix v16.20.2
+ local NVM_VERSION_DIR
+ NVM_VERSION_DIR=/home/admin_1/.nvm/versions/node/v16.20.2
+ [ -z nvm use --delete-prefix v16.20.2 ]
+ [ -z /home/admin_1/.nvm/versions/node/v16.20.2 ]
+ [ -n  ]
+ local NVM_OS
+ nvm_get_os
+ local NVM_UNAME
+ command uname -a
+ NVM_UNAME=Linux Stage 5.15.0-1074-azure #83~20.04.1-Ubuntu SMP Fri Oct 4 21:49:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
+ local NVM_OS
+ NVM_OS=linux
+ nvm_echo linux
+ command printf %s\n linux
+ NVM_OS=linux
+ local NVM_NPM_CONFIG_x_PREFIX_ENV
+ command awk BEGIN { for (name in ENVIRON) if (toupper(name) == "NPM_CONFIG_PREFIX") { print name; break } }
+ NVM_NPM_CONFIG_x_PREFIX_ENV=
+ [ -n  ]
+ local NVM_NPM_BUILTIN_NPMRC
+ NVM_NPM_BUILTIN_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc
+ nvm_npmrc_bad_news_bears /home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc
+ [ -n /home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc ]
+ [ -f /home/admin_1/.nvm/versions/node/v16.20.2/lib/node_modules/npm/npmrc ]
+ return 1
+ local NVM_NPM_GLOBAL_NPMRC
+ NVM_NPM_GLOBAL_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc
+ nvm_npmrc_bad_news_bears /home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc
+ [ -n /home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc ]
+ [ -f /home/admin_1/.nvm/versions/node/v16.20.2/etc/npmrc ]
+ return 1
+ local NVM_NPM_USER_NPMRC
+ NVM_NPM_USER_NPMRC=/home/admin_1/.npmrc
+ nvm_npmrc_bad_news_bears /home/admin_1/.npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/admin_1/.npmrc
+ [ -n /home/admin_1/.npmrc ]
+ [ -f /home/admin_1/.npmrc ]
+ return 1
+ local NVM_NPM_PROJECT_NPMRC
+ nvm_find_project_dir
+ local path_
+ path_=/home/jenkins/workspace/New_Frontend_PIpline_PR-1469
+ [ /home/jenkins/workspace/New_Frontend_PIpline_PR-1469 !=  ]
+ [ ! -f /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/package.json ]
+ nvm_echo /home/jenkins/workspace/New_Frontend_PIpline_PR-1469
+ command printf %s\n /home/jenkins/workspace/New_Frontend_PIpline_PR-1469
+ NVM_NPM_PROJECT_NPMRC=/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc
+ nvm_npmrc_bad_news_bears /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc
+ local NVM_NPMRC
+ NVM_NPMRC=/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc
+ [ -n /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc ]
+ [ -f /home/jenkins/workspace/New_Frontend_PIpline_PR-1469/.npmrc ]
+ return 1
+ [ -n Now using node v16.20.2 (npm v7.24.2) ]
+ [ 0 -ne 1 ]
+ nvm_echo Now using node v16.20.2 (npm v7.24.2)
+ command printf %s\n Now using node v16.20.2 (npm v7.24.2)
Now using node v16.20.2 (npm v7.24.2)
+ EXIT_CODE=0
+ set -e
+ return 0
+ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@sindresorhus/[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>= 18.12.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '7.24.2' }
npm WARN EBADENGINE }

up to date, audited 2376 packages in 5s

318 packages are looking for funding
  run `npm fund` for details

39 vulnerabilities (4 low, 13 moderate, 21 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
+ npm run test:cover

> [email protected] test:cover
> npm test -- --coverage --watchAll=false


> [email protected] test
> jest "--coverage" "--watchAll=false"

  console.error
    Warning: An update to SourceModal inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at SourceModal (/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/src/features/AdminPage/CategoriesPage/CategoriesPage/CategoryAdminModal.component.tsx:40:5)

      23 |             return await Promise.reject(err);
      24 |         } finally {
    > 25 |             setLoading(false);
         |             ^
      26 |         }
      27 |
      28 |         // eslint-disable-next-line react-hooks/exhaustive-deps

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27589:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25508:5)
      at setLoading (node_modules/react-dom/cjs/react-dom.development.js:17527:7)
      at src/app/common/hooks/stateful/useAsync.hook.ts:25:13

FAIL src/features/AdminPage/CategoriesPage/CategoriesPage/CategoryAdminModal.component.spec.tsx (15.381 s)
  CategoryAdminModal
    ✓ renders without errors (489 ms)
    ✓ calls setIsModalOpen with false when the cancel button is clicked (696 ms)
    ✓ should disable the save button on start (450 ms)
    ✕ should create new category (2412 ms)
    ✓ should update existing category (1677 ms)
    ✓ should show error message when title is empty (1464 ms)

  ● CategoryAdminModal › should create new category

    expect(element).toBeDisabled()

    Received element is not disabled:
      <button class="ant-btn css-dev-only-do-not-override-k7429z ant-btn-default streetcode-custom-button" type="button" />

    Ignored nodes: comments, script, style
    <html>
      <head />
      <body>
        <div />
        <div>
          <div
            class="ant-modal-root css-dev-only-do-not-override-k7429z"
          >
            <div
              class="ant-modal-mask"
            />
            <div
              class="ant-modal-wrap"
              tabindex="-1"
            >
              <div
                aria-labelledby="test-id"
                aria-modal="true"
                class="ant-modal css-dev-only-do-not-override-k7429z modalContainer categoryModal"
                role="dialog"
                style="width: 520px; transform-origin: NaNpx NaNpx;"
              >
                <div
                  aria-hidden="true"
                  style="width: 0px; height: 0px; overflow: hidden; outline: none;"
                  tabindex="0"
                />
                <div
                  class="ant-modal-content"
                >
                  <button
                    aria-label="Close"
                    class="ant-modal-close"
                    type="button"
                  >
                    <span
                      class="ant-modal-close-x"
                    >
                      <svg
                        class="iconSize"
                        data-file-name="SvgCancel_btn"
                      />
                    </span>
                  </button>
                  <div
                    class="ant-modal-header"
                  >
                    <div
                      class="ant-modal-title"
                      id="test-id"
                    >
                      Додати нову категорію
                    </div>
                  </div>
                  <div
                    class="ant-modal-body"
                  >
                    <form
                      class="ant-form ant-form-vertical css-dev-only-do-not-override-k7429z"
                    >
                      <div
                        class="ant-form-item css-dev-only-do-not-override-k7429z ant-form-item-has-success"
                      >
                        <div
                          class="ant-row ant-form-item-row css-dev-only-do-not-override-k7429z"
                        >
                          <div
                            class="ant-col ant-form-item-label css-dev-only-do-not-override-k7429z"
                          >
                            <label
                              class="ant-form-item-required"
                              for="title"
                              title="Назва: "
                            >
                              Назва: 
                            </label>
                          </div>
                          <div
                            class="ant-col ant-form-item-control css-dev-only-do-not-override-k7429z"
                          >
                            <div
                              class="ant-form-item-control-input"
                            >
                              <div
                                class="ant-form-item-control-input-content"
                              >
                                <span
                                  class="ant-input-affix-wrapper ant-input-affix-wrapper-status-success css-dev-only-do-not-override-k7429z"
                                >
                                  <input
                                    aria-required="true"
                                    class="ant-input ant-input-status-success css-dev-only-do-not-override-k7429z"
                                    id="title"
                                    maxlength="23"
                                    placeholder="Title"
                                    type="text"
                                    value="New category"
                                  />
                                  <span
                                    class="ant-input-suffix"
                                  >
                                    <span
                                      class="ant-input-show-count-suffix"
                                    >
                                      12 / 23
                                    </span>
                                  </span>
                                </span>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div
                        class="ant-form-item css-dev-only-do-not-override-k7429z ant-form-item-has-success"
                      >
                        <div
                          class="ant-row ant-form-item-row css-dev-only-do-not-override-k7429z"
                        >
                          <div
                            class="ant-col ant-form-item-label css-dev-only-do-not-override-k7429z"
                          >
                            <label
                              class="ant-form-item-required"
                              for="image"
                              title="Картинка: "
                            >
                              Картинка: 
                            </label>
                          </div>
                          <div
                            class="ant-col ant-form-item-control css-dev-only-do-not-override-k7429z"
                          >
                            <div
                              class="ant-form-item-control-input"
                            >
                              <div
                                class="ant-form-ite...

      143 |
      144 |         await waitFor(() => {
    > 145 |             expect(saveButton).toBeDisabled();
          |                                ^
      146 |             expect(message.success).toHaveBeenCalled();
      147 |             expect(SourcesApi.create).toHaveBeenCalled();
      148 |             expect(isNewCategory).toHaveBeenCalledWith(true);

      at src/features/AdminPage/CategoriesPage/CategoriesPage/CategoryAdminModal.component.spec.tsx:145:32
      at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/dom/dist/config.js:47:12)
      at checkCallback (node_modules/@testing-library/dom/dist/wait-for.js:121:77)
      at checkRealTimersCallback (node_modules/@testing-library/dom/dist/wait-for.js:115:16)

  console.error
    Warning: An update to observerComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at observerComponent (/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/node_modules/mobx-react-lite/src/observer.ts:104:16)

      237 |
      238 |         const handleHideSecondForm = () => {
    > 239 |             setShowSecondForm(false);
          |             ^
      240 |             setShowSecondFormButton(true);
      241 |         };
      242 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27589:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25508:5)
      at setShowSecondForm (node_modules/react-dom/cjs/react-dom.development.js:17527:7)
      at handleHideSecondForm (src/features/AdminPage/PartnersPage/PartnerModal/PartnerModal.component.tsx:239:13)
      at handleClick (node_modules/antd/lib/button/button.js:137:55)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
      at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
      at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
      at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
      at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
      at node_modules/react-dom/cjs/react-dom.development.js:9288:12
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
      at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
      at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
      at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
      at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
      at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
      at Object.<anonymous> (src/features/AdminPage/PartnersPage/PartnerModal/PartnerModal.component.spec.tsx:379:60)

  console.error
    Warning: An update to observerComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at observerComponent (/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/node_modules/mobx-react-lite/src/observer.ts:104:16)

      238 |         const handleHideSecondForm = () => {
      239 |             setShowSecondForm(false);
    > 240 |             setShowSecondFormButton(true);
          |             ^
      241 |         };
      242 |
      243 |         const onSuccesfulSubmitPartner = async (formValues: any) => {

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27589:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25508:5)
      at setShowSecondFormButton (node_modules/react-dom/cjs/react-dom.development.js:17527:7)
      at handleHideSecondForm (src/features/AdminPage/PartnersPage/PartnerModal/PartnerModal.component.tsx:240:13)
      at handleClick (node_modules/antd/lib/button/button.js:137:55)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
      at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
      at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
      at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
      at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
      at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
      at node_modules/react-dom/cjs/react-dom.development.js:9288:12
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
      at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
      at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
      at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
      at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
      at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
      at Object.<anonymous> (src/features/AdminPage/PartnersPage/PartnerModal/PartnerModal.component.spec.tsx:379:60)

PASS src/features/AdminPage/PartnersPage/PartnerModal/PartnerModal.component.spec.tsx (30.783 s)
  PartnerModal
    ✓ rendering component (952 ms)
    ✓ closing modal (580 ms)
    ✓ creating partner only with required fields (3845 ms)
    ✓ creating partner with all possible fields (6594 ms)
    ✓ check text amount restrictions in inputs (7360 ms)
    ✓ check when required fields are the same then existing partner should be updated instead of created (4619 ms)
    ✓ submiting social link (2746 ms)
    ✓ hiding social link form (2021 ms)

  console.error
    Warning: An update to observerComponent inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at observerComponent (/home/jenkins/workspace/New_Frontend_PIpline_PR-1469/node_modules/mobx-react-lite/src/observer.ts:104:16)

      72 |     useEffect(() => {
      73 |         if (open) {
    > 74 |             PositionsApi.getAll().then((resp) => setPositions(resp.positions));
         |                                                  ^
      75 |         }
      76 |     }, [open]);
      77 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom.development.js:27589:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:25508:5)
      at setPositions (node_modules/react-dom/cjs/react-dom.development.js:17527:7)
      at src/features/AdminPage/TeamPage/TeamModal/TeamModal.component.tsx:74:50

  console.log
    {"id":0,"isMain":true,"imageId":1,"teamMemberLinks":[],"name":"Test Name","positions":[{"id":1,"position":"pos1"}],"description":"Test Description"}

      at src/features/AdminPage/TeamPage/TeamModal/TeamModal.component.spec.tsx:264:58

PASS src/features/AdminPage/TeamPage/TeamModal/TeamModal.component.spec.tsx (24.423 s)
  TeamModal
    ✓ renders component (353 ms)
    ✓ closes modal (810 ms)
    ✓ restricts text amount in inputs (2711 ms)
    ✓ creates new team member with required fields (2162 ms)
    ✓ edits team member (3343 ms)
    ✓ save button is diabled when all fields aren`t filled (3828 ms)
    ✓ creates new team member with all fields (9441 ms)

PASS src/features/AdminPage/JobsPage/JobsModal/JobsModal.component.spec.tsx (22.505 s)
  JobsModal test
    ✓ should be rendered (2123 ms)
    ✓ should create job with required fields only (2186 ms)
    ✓ should create job with all fields (4652 ms)
    ✓ should edit vacancy data (5755 ms)
    ✓ should check functionality when required fields are the same (2438 ms)
    ✓ should check text amount restrictions (4053 ms)

  console.log
    <body>
      <div />
      <div>
        <div
          class="ant-modal-root css-dev-only-do-not-override-k7429z"
        >
          <div
            class="ant-modal-mask"
          />
          <div
            class="ant-modal-wrap"
            tabindex="-1"
          >
            <div
              aria-modal="true"
              class="ant-modal css-dev-only-do-not-override-k7429z modalContainer"
              role="dialog"
              style="width: 520px; transform-origin: NaNpx NaNpx;"
            >
              <div
                aria-hidden="true"
                style="width: 0px; height: 0px; overflow: hidden; outline: none;"
                tabindex="0"
              />
              <div
                class="ant-modal-content"
              >
                <button
                  aria-label="Close"
                  class="ant-modal-close"
                  type="button"
                >
                  <span
                    class="ant-modal-close-x"
                  >
                    <svg
                      class="iconSize"
                      data-file-name="SvgCancel_btn"
                    />
                  </span>
Output truncated.

Details

  • Checkout (1 sec)
  • Print details (0.93 sec)
  • Setup dependencies (0.86 sec)
  • Build (0.91 sec)
  • Run tests (3 min 43 sec)
    Error: script returned exit code 1
  • Sonar scan (1 sec)
  • Build image (0.98 sec)
  • Push image (0.98 sec)
  • Deploy Stage (0.99 sec)
  • WHAT IS THE NEXT STEP (1 sec)
  • Sync after release (1 sec)