00:33:59 Started by timer 00:33:59 Running as SYSTEM 00:33:59 [EnvInject] - Loading node environment variables. 00:33:59 Building remotely on prd-ubuntu1804-builder-2c-2g-1487 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:59 [ssh-agent] Looking for ssh-agent implementation... 00:34:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:00 $ ssh-agent 00:34:00 SSH_AUTH_SOCK=/tmp/ssh-CY2cxu0f7ZVn/agent.6016 00:34:00 SSH_AGENT_PID=6021 00:34:00 [ssh-agent] Started. 00:34:00 Running ssh-add (command line suppressed) 00:34:00 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_16217096123757154055.key (jenkins-ssh) 00:34:00 [ssh-agent] Using credentials jenkins (jenkins) 00:34:00 The recommended git tool is: NONE 00:34:02 using credential jenkins 00:34:02 Wiping out workspace first. 00:34:02 Cloning the remote Git repository 00:34:02 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:02 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:34:02 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:02 > git --version # timeout=10 00:34:02 > git --version # 'git version 2.25.1' 00:34:02 using GIT_SSH to set credentials jenkins 00:34:02 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:04 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:04 Avoid second fetch 00:34:04 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:04 Checking out Revision 4cfece2770950e9d9b5a728b7f41f44851e2f1c1 (refs/remotes/origin/master) 00:34:04 > git config core.sparsecheckout # timeout=10 00:34:04 > git checkout -f 4cfece2770950e9d9b5a728b7f41f44851e2f1c1 # timeout=10 00:34:04 Commit message: "Release 1.0.1" 00:34:04 > git rev-list --no-walk 4cfece2770950e9d9b5a728b7f41f44851e2f1c1 # timeout=10 00:34:05 provisioning config files... 00:34:05 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:05 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15635961193921833166.sh 00:34:05 ---> python-tools-install.sh 00:34:05 Setup pyenv: 00:34:05 * system (set by /opt/pyenv/version) 00:34:05 * 3.8.13 (set by /opt/pyenv/version) 00:34:05 * 3.9.13 (set by /opt/pyenv/version) 00:34:05 * 3.10.6 (set by /opt/pyenv/version) 00:34:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HWu4 00:34:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:14 lf-activate-venv(): INFO: Installing: lftools 00:34:52 lf-activate-venv(): INFO: Adding /tmp/venv-HWu4/bin to PATH 00:34:52 Generating Requirements File 00:35:27 Python 3.10.6 00:35:27 pip 23.3.1 from /tmp/venv-HWu4/lib/python3.10/site-packages/pip (python 3.10) 00:35:27 appdirs==1.4.4 00:35:27 argcomplete==3.1.6 00:35:27 aspy.yaml==1.3.0 00:35:27 attrs==23.1.0 00:35:27 autopage==0.5.2 00:35:27 Babel==2.13.1 00:35:27 beautifulsoup4==4.12.2 00:35:27 boto3==1.33.6 00:35:27 botocore==1.33.6 00:35:27 bs4==0.0.1 00:35:27 cachetools==5.3.2 00:35:27 certifi==2023.11.17 00:35:27 cffi==1.16.0 00:35:27 cfgv==3.4.0 00:35:27 chardet==5.2.0 00:35:27 charset-normalizer==3.3.2 00:35:27 click==8.1.7 00:35:27 cliff==4.4.0 00:35:27 cmd2==2.4.3 00:35:27 cryptography==3.3.2 00:35:27 debtcollector==2.5.0 00:35:27 decorator==5.1.1 00:35:27 defusedxml==0.7.1 00:35:27 Deprecated==1.2.14 00:35:27 distlib==0.3.7 00:35:27 dnspython==2.4.2 00:35:27 docker==4.2.2 00:35:27 dogpile.cache==1.2.2 00:35:27 email-validator==2.1.0.post1 00:35:27 filelock==3.13.1 00:35:27 future==0.18.3 00:35:27 gitdb==4.0.11 00:35:27 GitPython==3.1.40 00:35:27 google-auth==2.24.0 00:35:27 httplib2==0.22.0 00:35:27 identify==2.5.32 00:35:27 idna==3.6 00:35:27 importlib-metadata==6.9.0 00:35:27 importlib-resources==1.5.0 00:35:27 iso8601==2.1.0 00:35:27 Jinja2==3.1.2 00:35:27 jmespath==1.0.1 00:35:27 jsonpatch==1.33 00:35:27 jsonpointer==2.4 00:35:27 jsonschema==4.20.0 00:35:27 jsonschema-specifications==2023.11.2 00:35:27 keystoneauth1==5.4.0 00:35:27 kubernetes==28.1.0 00:35:27 lftools==0.37.8 00:35:27 lxml==4.9.3 00:35:27 MarkupSafe==2.1.3 00:35:27 msgpack==1.0.7 00:35:27 multi-key-dict==2.0.3 00:35:27 munch==4.0.0 00:35:27 netaddr==0.9.0 00:35:27 netifaces==0.11.0 00:35:27 niet==1.4.2 00:35:27 nodeenv==1.8.0 00:35:27 oauth2client==4.1.3 00:35:27 oauthlib==3.2.2 00:35:27 openstacksdk==0.62.0 00:35:27 os-client-config==2.1.0 00:35:27 os-service-types==1.7.0 00:35:27 osc-lib==2.9.0 00:35:27 oslo.config==9.2.0 00:35:27 oslo.context==5.3.0 00:35:27 oslo.i18n==6.2.0 00:35:27 oslo.log==5.4.0 00:35:27 oslo.serialization==5.2.0 00:35:27 oslo.utils==6.3.0 00:35:27 packaging==23.2 00:35:27 pbr==6.0.0 00:35:27 platformdirs==4.0.0 00:35:27 prettytable==3.9.0 00:35:27 pyasn1==0.5.1 00:35:27 pyasn1-modules==0.3.0 00:35:27 pycparser==2.21 00:35:27 pygerrit2==2.0.15 00:35:27 PyGithub==2.1.1 00:35:27 pyinotify==0.9.6 00:35:27 PyJWT==2.8.0 00:35:27 PyNaCl==1.5.0 00:35:27 pyparsing==2.4.7 00:35:27 pyperclip==1.8.2 00:35:27 pyrsistent==0.20.0 00:35:27 python-cinderclient==9.4.0 00:35:27 python-dateutil==2.8.2 00:35:27 python-heatclient==3.3.0 00:35:27 python-jenkins==1.8.2 00:35:27 python-keystoneclient==5.2.0 00:35:27 python-magnumclient==4.3.0 00:35:27 python-novaclient==18.4.0 00:35:27 python-openstackclient==6.0.0 00:35:27 python-swiftclient==4.4.0 00:35:27 pytz==2023.3.post1 00:35:27 PyYAML==6.0.1 00:35:27 referencing==0.31.1 00:35:27 requests==2.31.0 00:35:27 requests-oauthlib==1.3.1 00:35:27 requestsexceptions==1.4.0 00:35:27 rfc3986==2.0.0 00:35:27 rpds-py==0.13.2 00:35:27 rsa==4.9 00:35:27 ruamel.yaml==0.18.5 00:35:27 ruamel.yaml.clib==0.2.8 00:35:27 s3transfer==0.8.2 00:35:27 simplejson==3.19.2 00:35:27 six==1.16.0 00:35:27 smmap==5.0.1 00:35:27 soupsieve==2.5 00:35:27 stevedore==5.1.0 00:35:27 tabulate==0.9.0 00:35:27 toml==0.10.2 00:35:27 tomlkit==0.12.3 00:35:27 tqdm==4.66.1 00:35:27 typing_extensions==4.8.0 00:35:27 tzdata==2023.3 00:35:27 urllib3==1.26.18 00:35:27 virtualenv==20.25.0 00:35:27 wcwidth==0.2.12 00:35:27 websocket-client==1.6.4 00:35:27 wrapt==1.16.0 00:35:27 xdg==6.0.0 00:35:27 xmltodict==0.13.0 00:35:27 yq==3.2.3 00:35:27 zipp==3.17.0 00:35:27 [EnvInject] - Injecting environment variables from a build step. 00:35:28 [EnvInject] - Injecting as environment variables the properties content 00:35:28 PYTHON=python3 00:35:28 00:35:28 [EnvInject] - Variables injected successfully. 00:35:28 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins4788813891995322755.sh 00:35:28 ---> tox-install.sh 00:35:28 + source /home/jenkins/lf-env.sh 00:35:28 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:28 ++ mktemp -d /tmp/venv-XXXX 00:35:28 + lf_venv=/tmp/venv-4z3E 00:35:28 + local venv_file=/tmp/.os_lf_venv 00:35:28 + local python=python3 00:35:28 + local options 00:35:28 + local set_path=true 00:35:28 + local install_args= 00:35:28 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:28 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:28 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:28 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:28 + true 00:35:28 + case $1 in 00:35:28 + venv_file=/tmp/.toxenv 00:35:28 + shift 2 00:35:28 + true 00:35:28 + case $1 in 00:35:28 + shift 00:35:28 + break 00:35:28 + case $python in 00:35:28 + local pkg_list= 00:35:28 + [[ -d /opt/pyenv ]] 00:35:28 + echo 'Setup pyenv:' 00:35:28 Setup pyenv: 00:35:28 + export PYENV_ROOT=/opt/pyenv 00:35:28 + PYENV_ROOT=/opt/pyenv 00:35:28 + export PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:28 + PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:28 + pyenv versions 00:35:28 system 00:35:28 3.8.13 00:35:28 3.9.13 00:35:28 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:28 + command -v pyenv 00:35:28 ++ pyenv init - --no-rehash 00:35:28 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 00:35:28 export PATH="/opt/pyenv/shims:${PATH}" 00:35:28 export PYENV_SHELL=bash 00:35:28 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:28 pyenv() { 00:35:28 local command 00:35:28 command="${1:-}" 00:35:28 if [ "$#" -gt 0 ]; then 00:35:28 shift 00:35:28 fi 00:35:28 00:35:28 case "$command" in 00:35:28 rehash|shell) 00:35:28 eval "$(pyenv "sh-$command" "$@")" 00:35:28 ;; 00:35:28 *) 00:35:28 command pyenv "$command" "$@" 00:35:28 ;; 00:35:28 esac 00:35:28 }' 00:35:28 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 00:35:28 ++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:28 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:28 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:28 ++ export PYENV_SHELL=bash 00:35:28 ++ PYENV_SHELL=bash 00:35:28 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:28 +++ complete -F _pyenv pyenv 00:35:28 ++ lf-pyver python3 00:35:28 ++ local py_version_xy=python3 00:35:28 ++ local py_version_xyz= 00:35:28 ++ pyenv versions 00:35:28 ++ local command 00:35:28 ++ command=versions 00:35:28 ++ '[' 1 -gt 0 ']' 00:35:28 ++ shift 00:35:28 ++ case "$command" in 00:35:28 ++ command pyenv versions 00:35:28 ++ pyenv versions 00:35:28 ++ sed 's/^[ *]* //' 00:35:28 ++ awk '{ print $1 }' 00:35:28 ++ grep -E '^[0-9.]*[0-9]$' 00:35:28 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:28 +++ sort -V 00:35:28 +++ grep '^3' /tmp/.pyenv_versions 00:35:28 +++ tail -n 1 00:35:28 ++ py_version_xyz=3.10.6 00:35:28 ++ [[ -z 3.10.6 ]] 00:35:28 ++ echo 3.10.6 00:35:28 ++ return 0 00:35:28 + pyenv local 3.10.6 00:35:28 + local command 00:35:28 + command=local 00:35:28 + '[' 2 -gt 0 ']' 00:35:28 + shift 00:35:28 + case "$command" in 00:35:28 + command pyenv local 3.10.6 00:35:28 + pyenv local 3.10.6 00:35:28 + for arg in "$@" 00:35:28 + case $arg in 00:35:28 + pkg_list+='tox ' 00:35:28 + for arg in "$@" 00:35:28 + case $arg in 00:35:28 + pkg_list+='virtualenv ' 00:35:28 + for arg in "$@" 00:35:28 + case $arg in 00:35:28 + pkg_list+='urllib3~=1.26.15 ' 00:35:28 + [[ -f /tmp/.toxenv ]] 00:35:28 + [[ ! -f /tmp/.toxenv ]] 00:35:28 + [[ -n '' ]] 00:35:28 + python3 -m venv /tmp/venv-4z3E 00:35:31 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4z3E' 00:35:31 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4z3E 00:35:31 + echo /tmp/venv-4z3E 00:35:31 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:31 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:31 + /tmp/venv-4z3E/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:34 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:34 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:34 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:34 + /tmp/venv-4z3E/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:37 + type python3 00:35:37 + true 00:35:37 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4z3E/bin to PATH' 00:35:37 lf-activate-venv(): INFO: Adding /tmp/venv-4z3E/bin to PATH 00:35:37 + PATH=/tmp/venv-4z3E/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:37 + return 0 00:35:37 + python3 --version 00:35:37 Python 3.10.6 00:35:37 + python3 -m pip --version 00:35:37 pip 23.3.1 from /tmp/venv-4z3E/lib/python3.10/site-packages/pip (python 3.10) 00:35:37 + python3 -m pip freeze 00:35:38 cachetools==5.3.2 00:35:38 chardet==5.2.0 00:35:38 colorama==0.4.6 00:35:38 distlib==0.3.7 00:35:38 filelock==3.13.1 00:35:38 packaging==23.2 00:35:38 platformdirs==4.0.0 00:35:38 pluggy==1.3.0 00:35:38 pyproject-api==1.6.1 00:35:38 tomli==2.0.1 00:35:38 tox==4.11.4 00:35:38 urllib3==1.26.18 00:35:38 virtualenv==20.25.0 00:35:38 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6313251305261121269.sh 00:35:38 ---> install-deb-rmr.sh 00:35:38 + version_file=rmr-version.yaml 00:35:38 + [[ -f rmr-version.yaml ]] 00:35:38 ++ grep '^repo:' rmr-version.yaml 00:35:38 ++ cut -d: -f2 00:35:38 ++ xargs 00:35:38 + repo= 00:35:38 ++ grep '^version:' rmr-version.yaml 00:35:38 ++ cut -d: -f2 00:35:38 ++ xargs 00:35:38 + ver=4.0.5 00:35:38 + [[ -z 4.0.5 ]] 00:35:38 + repo=release 00:35:38 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:38 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.0.5_amd64.deb/download.deb 00:35:38 2023-12-03 00:35:38 URL:https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/1499825.deb?t=1701564038_58396506dc6df6d213dfee95f29b43db7dfc538c [213884/213884] -> "rmr_4.0.5_amd64.deb" [1] 00:35:38 + sudo dpkg -i rmr_4.0.5_amd64.deb 00:35:38 Selecting previously unselected package rmr. 00:35:40 (Reading database ... 198606 files and directories currently installed.) 00:35:40 Preparing to unpack rmr_4.0.5_amd64.deb ... 00:35:40 Unpacking rmr (4.0.5) ... 00:35:40 Setting up rmr (4.0.5) ... 00:35:40 + rm -f rmr_4.0.5_amd64.deb 00:35:40 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:40 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.0.5_amd64.deb/download.deb 00:35:41 2023-12-03 00:35:41 URL:https://d28dx6y1hfq314.cloudfront.net/20756/10598/debian/package_files/1499826.deb?t=1701564040_83ab59b77681c51605ac2043bb59aeca9bb306bb [112642/112642] -> "rmr-dev_4.0.5_amd64.deb" [1] 00:35:41 + sudo dpkg -i rmr-dev_4.0.5_amd64.deb 00:35:41 Selecting previously unselected package rmr-dev. 00:35:41 (Reading database ... 198614 files and directories currently installed.) 00:35:41 Preparing to unpack rmr-dev_4.0.5_amd64.deb ... 00:35:41 Unpacking rmr-dev (4.0.5) ... 00:35:41 Setting up rmr-dev (4.0.5) ... 00:35:41 + rm -f rmr-dev_4.0.5_amd64.deb 00:35:41 + echo '---> install-deb-rmr.sh ends' 00:35:41 ---> install-deb-rmr.sh ends 00:35:41 [EnvInject] - Injecting environment variables from a build step. 00:35:41 [EnvInject] - Injecting as environment variables the properties content 00:35:41 PARALLEL=False 00:35:41 00:35:41 [EnvInject] - Variables injected successfully. 00:35:41 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11070765418362715503.sh 00:35:41 ---> tox-run.sh 00:35:41 + PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:41 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:41 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:41 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:41 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:41 + source /home/jenkins/lf-env.sh 00:35:41 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:41 ++ mktemp -d /tmp/venv-XXXX 00:35:41 + lf_venv=/tmp/venv-yhcR 00:35:41 + local venv_file=/tmp/.os_lf_venv 00:35:41 + local python=python3 00:35:41 + local options 00:35:41 + local set_path=true 00:35:41 + local install_args= 00:35:41 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:41 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:41 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:41 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:41 + true 00:35:41 + case $1 in 00:35:41 + venv_file=/tmp/.toxenv 00:35:41 + shift 2 00:35:41 + true 00:35:41 + case $1 in 00:35:41 + shift 00:35:41 + break 00:35:41 + case $python in 00:35:41 + local pkg_list= 00:35:41 + [[ -d /opt/pyenv ]] 00:35:41 + echo 'Setup pyenv:' 00:35:41 Setup pyenv: 00:35:41 + export PYENV_ROOT=/opt/pyenv 00:35:41 + PYENV_ROOT=/opt/pyenv 00:35:41 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:41 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:41 + pyenv versions 00:35:41 system 00:35:41 3.8.13 00:35:41 3.9.13 00:35:41 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:41 + command -v pyenv 00:35:41 ++ pyenv init - --no-rehash 00:35:41 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 00:35:41 export PATH="/opt/pyenv/shims:${PATH}" 00:35:41 export PYENV_SHELL=bash 00:35:41 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:41 pyenv() { 00:35:41 local command 00:35:41 command="${1:-}" 00:35:41 if [ "$#" -gt 0 ]; then 00:35:41 shift 00:35:41 fi 00:35:41 00:35:41 case "$command" in 00:35:41 rehash|shell) 00:35:41 eval "$(pyenv "sh-$command" "$@")" 00:35:41 ;; 00:35:41 *) 00:35:41 command pyenv "$command" "$@" 00:35:41 ;; 00:35:41 esac 00:35:41 }' 00:35:41 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 00:35:41 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:41 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:41 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:41 ++ export PYENV_SHELL=bash 00:35:41 ++ PYENV_SHELL=bash 00:35:41 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:41 +++ complete -F _pyenv pyenv 00:35:41 ++ lf-pyver python3 00:35:41 ++ local py_version_xy=python3 00:35:41 ++ local py_version_xyz= 00:35:41 ++ grep -E '^[0-9.]*[0-9]$' 00:35:41 ++ sed 's/^[ *]* //' 00:35:41 ++ awk '{ print $1 }' 00:35:41 ++ pyenv versions 00:35:41 ++ local command 00:35:41 ++ command=versions 00:35:41 ++ '[' 1 -gt 0 ']' 00:35:41 ++ shift 00:35:41 ++ case "$command" in 00:35:41 ++ command pyenv versions 00:35:41 ++ pyenv versions 00:35:41 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:41 +++ sort -V 00:35:41 +++ tail -n 1 00:35:41 +++ grep '^3' /tmp/.pyenv_versions 00:35:41 ++ py_version_xyz=3.10.6 00:35:41 ++ [[ -z 3.10.6 ]] 00:35:41 ++ echo 3.10.6 00:35:41 ++ return 0 00:35:41 + pyenv local 3.10.6 00:35:41 + local command 00:35:41 + command=local 00:35:41 + '[' 2 -gt 0 ']' 00:35:41 + shift 00:35:41 + case "$command" in 00:35:41 + command pyenv local 3.10.6 00:35:41 + pyenv local 3.10.6 00:35:41 + for arg in "$@" 00:35:41 + case $arg in 00:35:41 + pkg_list+='tox ' 00:35:41 + for arg in "$@" 00:35:41 + case $arg in 00:35:41 + pkg_list+='virtualenv ' 00:35:41 + for arg in "$@" 00:35:41 + case $arg in 00:35:41 + pkg_list+='urllib3~=1.26.15 ' 00:35:41 + [[ -f /tmp/.toxenv ]] 00:35:41 ++ cat /tmp/.toxenv 00:35:41 + lf_venv=/tmp/venv-4z3E 00:35:41 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4z3E from' file:/tmp/.toxenv 00:35:41 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4z3E from file:/tmp/.toxenv 00:35:41 + /tmp/venv-4z3E/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:42 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:42 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:42 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:42 + /tmp/venv-4z3E/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:43 + type python3 00:35:43 + true 00:35:43 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4z3E/bin to PATH' 00:35:43 lf-activate-venv(): INFO: Adding /tmp/venv-4z3E/bin to PATH 00:35:43 + PATH=/tmp/venv-4z3E/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:43 + return 0 00:35:43 + [[ -d /opt/pyenv ]] 00:35:43 + echo '---> Setting up pyenv' 00:35:43 ---> Setting up pyenv 00:35:43 + export PYENV_ROOT=/opt/pyenv 00:35:43 + PYENV_ROOT=/opt/pyenv 00:35:43 + export PATH=/opt/pyenv/bin:/tmp/venv-4z3E/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:43 + PATH=/opt/pyenv/bin:/tmp/venv-4z3E/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:43 ++ pwd 00:35:43 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:43 + export PYTHONPATH 00:35:43 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:43 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:43 + tox --version 00:35:44 4.11.4 from /tmp/venv-4z3E/lib/python3.10/site-packages/tox/__init__.py 00:35:44 + PARALLEL=False 00:35:44 + TOX_OPTIONS_LIST= 00:35:44 + [[ -n code,flake8 ]] 00:35:44 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:44 + case ${PARALLEL,,} in 00:35:44 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:44 + tox -e code,flake8 00:35:45 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:49 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:50 .pkg: _optional_hooks> python /tmp/venv-4z3E/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:50 .pkg: get_requires_for_build_sdist> python /tmp/venv-4z3E/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:50 .pkg: get_requires_for_build_wheel> python /tmp/venv-4z3E/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:50 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 00:35:51 .pkg: freeze> python -m pip freeze --all 00:35:51 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 00:35:51 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-4z3E/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:51 .pkg: build_sdist> python /tmp/venv-4z3E/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:51 code: install_package_deps> python -I -m pip install 'Scikit-learn>=0.18' influxdb 'joblib>=0.3.2' 'mdclogpy<=1.1.1' 'pandas>=1.1.3' 'ricxappframe<2.0.0,>=1.1.1' 'schedule>=0.0.0' 00:36:14 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-ad-tox-sonarqube/.tox/.tmp/package/1/ad-1.0.1.tar.gz 00:36:15 code: freeze> python -m pip freeze --all 00:36:15 code: ad==1.0.1,async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.3.2,exceptiongroup==1.2.0,hiredis==2.2.3,idna==3.6,influxdb==5.3.1,iniconfig==2.0.0,inotify-simple==1.3.5,joblib==1.3.2,mdclogpy==1.1.1,msgpack==1.0.7,numpy==1.26.2,packaging==23.2,pandas==2.1.3,pip==23.3.1,pluggy==1.3.0,pytest==7.4.3,pytest-cov==4.1.0,python-dateutil==2.8.2,pytz==2023.3.post1,redis==5.0.1,requests==2.31.0,ricsdl==2.3.0,ricxappframe==1.6.0,schedule==1.2.1,scikit-learn==1.3.2,scipy==1.11.4,setuptools==69.0.2,six==1.16.0,threadpoolctl==3.2.0,tomli==2.0.1,tzdata==2023.3,urllib3==2.1.0,wheel==0.42.0 00:36:15 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:16 ============================= test session starts ============================== 00:36:16 platform linux -- Python 3.10.6, pytest-7.4.3, pluggy-1.3.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:36:16 cachedir: .tox/code/.pytest_cache 00:36:16 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:16 plugins: cov-4.1.0 00:36:16 collecting ... collected 4 items 00:36:17 00:36:17 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:17 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:38:04 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:38:05 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:10 00:38:10 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:38:10 Name Stmts Miss Cover Missing 00:38:10 ------------------------------------------------- 00:38:10 src/__init__.py 0 0 100% 00:38:10 src/ad_model.py 66 13 80% 42-43, 50-51, 57-58, 108-110, 119, 121, 123, 127 00:38:10 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:10 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:10 src/exceptions.py 4 4 0% 18-25 00:38:10 src/insert.py 48 48 0% 17-82 00:38:10 src/main.py 116 65 44% 41-46, 70-83, 106-110, 119-130, 139, 146-163, 167-170, 174-177, 181-185, 190-192 00:38:10 src/processing.py 44 0 100% 00:38:10 ------------------------------------------------- 00:38:10 TOTAL 441 170 61% 00:38:10 Coverage HTML written to dir htmlcov 00:38:10 Coverage XML written to file coverage.xml 00:38:10 00:38:10 Required test coverage of 50% reached. Total coverage: 61.45% 00:38:10 00:38:10 ======================== 4 passed in 114.14s (0:01:54) ========================= 00:38:10 code: commands[1]> coverage xml -i 00:38:10 Wrote XML report to coverage.xml 00:38:10 .pkg: _exit> python /tmp/venv-4z3E/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:38:11 code: OK ✔ in 2 minutes 26.32 seconds 00:38:11 flake8: install_deps> python -I -m pip install flake8 00:38:12 flake8: freeze> python -m pip freeze --all 00:38:13 flake8: ad==1.0.1,flake8==6.1.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.1.0,setuptools==69.0.2,wheel==0.42.0 00:38:13 flake8: commands[0]> flake8 setup.py src tests 00:38:13 code: OK (146.32=setup[31.15]+cmd[115.01,0.16] seconds) 00:38:13 flake8: OK (2.62=setup[2.37]+cmd[0.25] seconds) 00:38:13 congratulations :) (149.11 seconds) 00:38:13 + tox_status=0 00:38:13 + echo '---> Completed tox runs' 00:38:13 ---> Completed tox runs 00:38:13 + for i in .tox/*/log 00:38:13 ++ echo .tox/code/log 00:38:13 ++ awk -F/ '{print $2}' 00:38:13 + tox_env=code 00:38:13 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:13 + for i in .tox/*/log 00:38:13 ++ echo .tox/flake8/log 00:38:13 ++ awk -F/ '{print $2}' 00:38:13 + tox_env=flake8 00:38:13 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:13 + DOC_DIR=docs/_build/html 00:38:13 + [[ -d docs/_build/html ]] 00:38:13 + echo '---> tox-run.sh ends' 00:38:13 ---> tox-run.sh ends 00:38:13 + test 0 -eq 0 00:38:13 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-builder-2c-2g-1487 00:38:14 [ric-app-ad-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_ric-app-ad -Dsonar.projectName=ric-app-ad -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=ad -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/ric-app-ad-tox-sonarqube 00:38:14 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 00:38:14 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:14 INFO: Project root configuration file: NONE 00:38:14 INFO: SonarScanner 4.6.2.2472 00:38:14 INFO: Java 11.0.18 Ubuntu (64-bit) 00:38:14 INFO: Linux 5.4.0-146-generic amd64 00:38:15 INFO: User cache: /home/jenkins/.sonar/cache 00:38:17 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:17 INFO: Project root configuration file: NONE 00:38:17 INFO: Analyzing on SonarCloud 00:38:17 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:18 INFO: Load global settings 00:38:18 INFO: Load global settings (done) | time=581ms 00:38:18 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:38:18 INFO: User cache: /home/jenkins/.sonar/cache 00:38:18 INFO: Loading required plugins 00:38:18 INFO: Load plugins index 00:38:19 INFO: Load plugins index (done) | time=575ms 00:38:19 INFO: Load/download plugins 00:38:21 INFO: Load/download plugins (done) | time=1862ms 00:38:21 INFO: Loaded core extensions: developer-scanner 00:38:22 INFO: Found an active CI vendor: 'Jenkins' 00:38:22 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:38:22 INFO: Process project properties 00:38:22 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:38:22 INFO: ------------------------------------------------------------------------ 00:38:22 INFO: EXECUTION FAILURE 00:38:22 INFO: ------------------------------------------------------------------------ 00:38:22 INFO: Total time: 7.890s 00:38:22 INFO: Final Memory: 7M/27M 00:38:22 INFO: ------------------------------------------------------------------------ 00:38:22 ERROR: Error during SonarScanner execution 00:38:22 ERROR: The folder 'ad' does not exist for 'o-ran-sc_ric-app-ad' (base directory = /w/workspace/ric-app-ad-tox-sonarqube) 00:38:22 ERROR: 00:38:22 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:23 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:23 $ ssh-agent -k 00:38:23 unset SSH_AUTH_SOCK; 00:38:23 unset SSH_AGENT_PID; 00:38:23 echo Agent pid 6021 killed; 00:38:23 [ssh-agent] Stopped. 00:38:23 ERROR: SonarQube scanner exited with non-zero code: 2 00:38:23 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9917089369827945930.sh 00:38:23 ---> sysstat.sh 00:38:24 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4407697068878201033.sh 00:38:24 ---> package-listing.sh 00:38:24 ++ facter osfamily 00:38:24 ++ tr '[:upper:]' '[:lower:]' 00:38:24 + OS_FAMILY=debian 00:38:24 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:24 + START_PACKAGES=/tmp/packages_start.txt 00:38:24 + END_PACKAGES=/tmp/packages_end.txt 00:38:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:24 + PACKAGES=/tmp/packages_start.txt 00:38:24 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:24 + PACKAGES=/tmp/packages_end.txt 00:38:24 + case "${OS_FAMILY}" in 00:38:24 + grep '^ii' 00:38:24 + dpkg -l 00:38:24 + '[' -f /tmp/packages_start.txt ']' 00:38:24 + '[' -f /tmp/packages_end.txt ']' 00:38:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:24 + true 00:38:24 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:24 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:24 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14290102577648191012.sh 00:38:24 ---> capture-instance-metadata.sh 00:38:24 Setup pyenv: 00:38:24 system 00:38:24 3.8.13 00:38:24 3.9.13 00:38:24 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HWu4 from file:/tmp/.os_lf_venv 00:38:26 lf-activate-venv(): INFO: Installing: lftools 00:38:40 lf-activate-venv(): INFO: Adding /tmp/venv-HWu4/bin to PATH 00:38:40 INFO: Running in OpenStack, capturing instance metadata 00:38:41 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13464215247534768296.sh 00:38:41 provisioning config files... 00:38:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config13807523748951524969tmp 00:38:41 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:41 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:41 [EnvInject] - Injecting environment variables from a build step. 00:38:41 [EnvInject] - Injecting as environment variables the properties content 00:38:41 SERVER_ID=logs 00:38:41 00:38:41 [EnvInject] - Variables injected successfully. 00:38:41 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13321399635476222851.sh 00:38:41 ---> create-netrc.sh 00:38:41 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6502828552375078575.sh 00:38:41 ---> python-tools-install.sh 00:38:41 Setup pyenv: 00:38:41 system 00:38:41 3.8.13 00:38:41 3.9.13 00:38:41 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:41 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HWu4 from file:/tmp/.os_lf_venv 00:38:42 lf-activate-venv(): INFO: Installing: lftools 00:38:53 lf-activate-venv(): INFO: Adding /tmp/venv-HWu4/bin to PATH 00:38:53 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3993329118447728490.sh 00:38:53 ---> sudo-logs.sh 00:38:53 Archiving 'sudo' log.. 00:38:54 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7989972261790379021.sh 00:38:54 ---> job-cost.sh 00:38:54 Setup pyenv: 00:38:54 system 00:38:54 3.8.13 00:38:54 3.9.13 00:38:54 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HWu4 from file:/tmp/.os_lf_venv 00:38:56 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:39:05 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 00:39:05 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 00:39:05 lf-activate-venv(): INFO: Adding /tmp/venv-HWu4/bin to PATH 00:39:05 INFO: No Stack... 00:39:06 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:39:06 INFO: Archiving Costs 00:39:06 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6821994540218142205.sh 00:39:06 ---> logs-deploy.sh 00:39:06 Setup pyenv: 00:39:06 system 00:39:06 3.8.13 00:39:06 3.9.13 00:39:06 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:39:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HWu4 from file:/tmp/.os_lf_venv 00:39:08 lf-activate-venv(): INFO: Installing: lftools 00:39:21 lf-activate-venv(): INFO: Adding /tmp/venv-HWu4/bin to PATH 00:39:21 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/155 00:39:21 INFO: archiving workspace using pattern(s): -p **/*.log 00:39:24 Archives upload complete. 00:39:24 INFO: archiving logs to Nexus 00:39:25 ---> uname -a: 00:39:25 Linux prd-ubuntu1804-builder-2c-2g-1487 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:39:25 00:39:25 00:39:25 ---> lscpu: 00:39:25 Architecture: x86_64 00:39:25 CPU op-mode(s): 32-bit, 64-bit 00:39:25 Byte Order: Little Endian 00:39:25 Address sizes: 40 bits physical, 48 bits virtual 00:39:25 CPU(s): 2 00:39:25 On-line CPU(s) list: 0,1 00:39:25 Thread(s) per core: 1 00:39:25 Core(s) per socket: 1 00:39:25 Socket(s): 2 00:39:25 NUMA node(s): 1 00:39:25 Vendor ID: AuthenticAMD 00:39:25 CPU family: 23 00:39:25 Model: 49 00:39:25 Model name: AMD EPYC-Rome Processor 00:39:25 Stepping: 0 00:39:25 CPU MHz: 2800.000 00:39:25 BogoMIPS: 5600.00 00:39:25 Virtualization: AMD-V 00:39:25 Hypervisor vendor: KVM 00:39:25 Virtualization type: full 00:39:25 L1d cache: 64 KiB 00:39:25 L1i cache: 64 KiB 00:39:25 L2 cache: 1 MiB 00:39:25 L3 cache: 32 MiB 00:39:25 NUMA node0 CPU(s): 0,1 00:39:25 Vulnerability Itlb multihit: Not affected 00:39:25 Vulnerability L1tf: Not affected 00:39:25 Vulnerability Mds: Not affected 00:39:25 Vulnerability Meltdown: Not affected 00:39:25 Vulnerability Mmio stale data: Not affected 00:39:25 Vulnerability Retbleed: Vulnerable 00:39:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:39:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:39:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 00:39:25 Vulnerability Srbds: Not affected 00:39:25 Vulnerability Tsx async abort: Not affected 00:39:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:39:25 00:39:25 00:39:25 ---> nproc: 00:39:25 2 00:39:25 00:39:25 00:39:25 ---> df -h: 00:39:25 Filesystem Size Used Avail Use% Mounted on 00:39:25 udev 975M 0 975M 0% /dev 00:39:25 tmpfs 199M 1016K 198M 1% /run 00:39:25 /dev/vda1 20G 9.1G 11G 48% / 00:39:25 tmpfs 992M 0 992M 0% /dev/shm 00:39:25 tmpfs 5.0M 0 5.0M 0% /run/lock 00:39:25 tmpfs 992M 0 992M 0% /sys/fs/cgroup 00:39:25 /dev/loop0 68M 68M 0 100% /snap/lxd/22753 00:39:25 /dev/loop1 62M 62M 0 100% /snap/core20/1405 00:39:25 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 00:39:25 /dev/vda15 105M 6.1M 99M 6% /boot/efi 00:39:25 tmpfs 199M 0 199M 0% /run/user/1001 00:39:25 /dev/loop3 41M 41M 0 100% /snap/snapd/20290 00:39:25 /dev/loop4 64M 64M 0 100% /snap/core20/2015 00:39:25 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 00:39:25 00:39:25 00:39:25 ---> free -m: 00:39:25 total used free shared buff/cache available 00:39:25 Mem: 1983 412 161 2 1409 1376 00:39:25 Swap: 1023 2 1021 00:39:25 00:39:25 00:39:25 ---> ip addr: 00:39:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:39:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:25 inet 127.0.0.1/8 scope host lo 00:39:25 valid_lft forever preferred_lft forever 00:39:25 inet6 ::1/128 scope host 00:39:25 valid_lft forever preferred_lft forever 00:39:25 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:39:25 link/ether fa:16:3e:63:62:c0 brd ff:ff:ff:ff:ff:ff 00:39:25 inet 10.32.6.186/23 brd 10.32.7.255 scope global dynamic ens3 00:39:25 valid_lft 86052sec preferred_lft 86052sec 00:39:25 inet6 fe80::f816:3eff:fe63:62c0/64 scope link 00:39:25 valid_lft forever preferred_lft forever 00:39:25 00:39:25 00:39:25 ---> sar -b -r -n DEV: 00:39:25 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1487) 12/03/23 _x86_64_ (2 CPU) 00:39:25 00:39:25 00:33:40 LINUX RESTART (2 CPU) 00:39:25 00:39:25 00:34:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:39:25 00:35:02 221.81 110.08 111.73 0.00 2826.19 13457.80 0.00 00:39:25 00:36:01 109.79 27.23 82.56 0.00 946.96 20747.13 0.00 00:39:25 00:37:01 25.13 1.87 23.26 0.00 240.63 11777.24 0.00 00:39:25 00:38:01 1.12 0.00 1.12 0.00 0.00 25.60 0.00 00:39:25 00:39:01 94.15 45.49 48.66 0.00 2994.97 11219.60 0.00 00:39:25 Average: 90.34 36.97 53.37 0.00 1403.36 11414.50 0.00 00:39:25 00:39:25 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:25 00:35:02 183712 1461696 338472 16.67 55728 1302948 806440 26.19 426192 1227804 47596 00:39:25 00:36:01 74820 1395100 396916 19.55 70396 1309116 933988 30.33 491424 1242008 46012 00:39:25 00:37:01 94228 1301828 488040 24.03 74024 1186552 1121032 36.41 511708 1193360 512 00:39:25 00:38:01 127880 1302168 487704 24.02 73468 1155440 1121032 36.41 506676 1165604 164 00:39:25 00:39:01 85592 1424116 347792 17.13 91392 1312028 769704 25.00 476072 1231012 6312 00:39:25 Average: 113246 1376982 411785 20.28 73002 1253217 950439 30.87 482414 1211958 20119 00:39:25 00:39:25 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:25 00:35:02 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 00:39:25 00:35:02 ens3 116.23 90.45 1056.26 14.13 0.00 0.00 0.00 0.00 00:39:25 00:36:01 lo 1.42 1.42 0.13 0.13 0.00 0.00 0.00 0.00 00:39:25 00:36:01 ens3 88.53 79.27 1751.56 10.17 0.00 0.00 0.00 0.00 00:39:25 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:25 00:37:01 ens3 0.33 0.32 0.06 0.08 0.00 0.00 0.00 0.00 00:39:25 00:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:39:25 00:38:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 00:39:25 00:39:01 lo 4.47 4.47 0.27 0.27 0.00 0.00 0.00 0.00 00:39:25 00:39:01 ens3 397.73 269.26 2826.59 31.45 0.00 0.00 0.00 0.00 00:39:25 Average: lo 1.40 1.40 0.10 0.10 0.00 0.00 0.00 0.00 00:39:25 Average: ens3 120.69 87.91 1124.80 11.17 0.00 0.00 0.00 0.00 00:39:25 00:39:25 00:39:25 ---> sar -P ALL: 00:39:25 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1487) 12/03/23 _x86_64_ (2 CPU) 00:39:25 00:39:25 00:33:40 LINUX RESTART (2 CPU) 00:39:25 00:39:25 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:39:25 00:35:02 all 36.50 23.53 17.43 8.98 0.09 13.47 00:39:25 00:35:02 0 46.15 18.83 15.86 9.10 0.10 9.96 00:39:25 00:35:02 1 26.79 28.25 19.00 8.87 0.08 17.00 00:39:25 00:36:01 all 35.10 0.00 3.64 7.26 0.08 53.92 00:39:25 00:36:01 0 22.66 0.00 3.43 10.44 0.07 63.40 00:39:25 00:36:01 1 47.62 0.00 3.85 4.06 0.10 44.37 00:39:25 00:37:01 all 49.17 0.00 1.28 0.72 0.10 48.73 00:39:25 00:37:01 0 53.26 0.00 1.28 1.00 0.10 44.35 00:39:25 00:37:01 1 45.07 0.00 1.27 0.43 0.10 53.13 00:39:25 00:38:01 all 50.13 0.00 0.28 0.04 0.10 49.44 00:39:25 00:38:01 0 89.10 0.00 0.22 0.00 0.10 10.59 00:39:25 00:38:01 1 10.96 0.00 0.35 0.08 0.10 88.51 00:39:25 00:39:01 all 37.62 0.00 4.67 4.63 0.08 53.00 00:39:25 00:39:01 0 40.53 0.00 4.50 6.31 0.08 48.59 00:39:25 00:39:01 1 34.71 0.00 4.84 2.95 0.08 57.43 00:39:25 Average: all 41.74 4.67 5.43 4.30 0.09 43.77 00:39:25 Average: 0 50.44 3.74 5.03 5.34 0.09 35.35 00:39:25 Average: 1 33.00 5.60 5.83 3.26 0.09 52.21 00:39:25 00:39:25 00:39:25