00:34:02 Started by timer 00:34:02 Running as SYSTEM 00:34:02 [EnvInject] - Loading node environment variables. 00:34:02 Building remotely on prd-ubuntu1804-builder-2c-2g-4309 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:34:02 [ssh-agent] Looking for ssh-agent implementation... 00:34:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:02 $ ssh-agent 00:34:02 SSH_AUTH_SOCK=/tmp/ssh-TPZh2sp53hKb/agent.1671 00:34:02 SSH_AGENT_PID=1673 00:34:02 [ssh-agent] Started. 00:34:02 Running ssh-add (command line suppressed) 00:34:02 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_6586391406984805467.key (jenkins-ssh) 00:34:02 [ssh-agent] Using credentials jenkins (jenkins) 00:34:02 The recommended git tool is: NONE 00:34:03 using credential jenkins 00:34:03 Wiping out workspace first. 00:34:03 Cloning the remote Git repository 00:34:03 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:03 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:34:04 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:04 > git --version # timeout=10 00:34:04 > git --version # 'git version 2.17.1' 00:34:04 using GIT_SSH to set credentials jenkins 00:34:04 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:05 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:06 Avoid second fetch 00:34:06 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:06 Checking out Revision b49adee363dcd4deb41bad12323e6ec2683aec4f (refs/remotes/origin/master) 00:34:06 > git config core.sparsecheckout # timeout=10 00:34:06 > git checkout -f b49adee363dcd4deb41bad12323e6ec2683aec4f # timeout=10 00:34:06 Commit message: "Release 1.0.2" 00:34:06 > git rev-list --no-walk b49adee363dcd4deb41bad12323e6ec2683aec4f # timeout=10 00:34:06 provisioning config files... 00:34:06 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:06 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:06 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1776332235188997069.sh 00:34:06 ---> python-tools-install.sh 00:34:06 Setup pyenv: 00:34:06 * system (set by /opt/pyenv/version) 00:34:06 * 3.8.13 (set by /opt/pyenv/version) 00:34:06 * 3.9.13 (set by /opt/pyenv/version) 00:34:06 * 3.10.6 (set by /opt/pyenv/version) 00:34:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qIru 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:47 lf-activate-venv(): INFO: Adding /tmp/venv-qIru/bin to PATH 00:34:47 Generating Requirements File 00:35:21 Python 3.10.6 00:35:21 pip 23.3.2 from /tmp/venv-qIru/lib/python3.10/site-packages/pip (python 3.10) 00:35:22 appdirs==1.4.4 00:35:22 argcomplete==3.2.1 00:35:22 aspy.yaml==1.3.0 00:35:22 attrs==23.2.0 00:35:22 autopage==0.5.2 00:35:22 beautifulsoup4==4.12.3 00:35:22 boto3==1.34.23 00:35:22 botocore==1.34.23 00:35:22 bs4==0.0.2 00:35:22 cachetools==5.3.2 00:35:22 certifi==2023.11.17 00:35:22 cffi==1.16.0 00:35:22 cfgv==3.4.0 00:35:22 chardet==5.2.0 00:35:22 charset-normalizer==3.3.2 00:35:22 click==8.1.7 00:35:22 cliff==4.5.0 00:35:22 cmd2==2.4.3 00:35:22 cryptography==3.3.2 00:35:22 debtcollector==2.5.0 00:35:22 decorator==5.1.1 00:35:22 defusedxml==0.7.1 00:35:22 Deprecated==1.2.14 00:35:22 distlib==0.3.8 00:35:22 dnspython==2.5.0 00:35:22 docker==4.2.2 00:35:22 dogpile.cache==1.3.0 00:35:22 email-validator==2.1.0.post1 00:35:22 filelock==3.13.1 00:35:22 future==0.18.3 00:35:22 gitdb==4.0.11 00:35:22 GitPython==3.1.41 00:35:22 google-auth==2.26.2 00:35:22 httplib2==0.22.0 00:35:22 identify==2.5.33 00:35:22 idna==3.6 00:35:22 importlib-resources==1.5.0 00:35:22 iso8601==2.1.0 00:35:22 Jinja2==3.1.3 00:35:22 jmespath==1.0.1 00:35:22 jsonpatch==1.33 00:35:22 jsonpointer==2.4 00:35:22 jsonschema==4.21.1 00:35:22 jsonschema-specifications==2023.12.1 00:35:22 keystoneauth1==5.5.0 00:35:22 kubernetes==29.0.0 00:35:22 lftools==0.37.8 00:35:22 lxml==5.1.0 00:35:22 MarkupSafe==2.1.4 00:35:22 msgpack==1.0.7 00:35:22 multi_key_dict==2.0.3 00:35:22 munch==4.0.0 00:35:22 netaddr==0.10.1 00:35:22 netifaces==0.11.0 00:35:22 niet==1.4.2 00:35:22 nodeenv==1.8.0 00:35:22 oauth2client==4.1.3 00:35:22 oauthlib==3.2.2 00:35:22 openstacksdk==0.62.0 00:35:22 os-client-config==2.1.0 00:35:22 os-service-types==1.7.0 00:35:22 osc-lib==3.0.0 00:35:22 oslo.config==9.3.0 00:35:22 oslo.context==5.3.0 00:35:22 oslo.i18n==6.2.0 00:35:22 oslo.log==5.4.0 00:35:22 oslo.serialization==5.3.0 00:35:22 oslo.utils==7.0.0 00:35:22 packaging==23.2 00:35:22 pbr==6.0.0 00:35:22 platformdirs==4.1.0 00:35:22 prettytable==3.9.0 00:35:22 pyasn1==0.5.1 00:35:22 pyasn1-modules==0.3.0 00:35:22 pycparser==2.21 00:35:22 pygerrit2==2.0.15 00:35:22 PyGithub==2.1.1 00:35:22 pyinotify==0.9.6 00:35:22 PyJWT==2.8.0 00:35:22 PyNaCl==1.5.0 00:35:22 pyparsing==2.4.7 00:35:22 pyperclip==1.8.2 00:35:22 pyrsistent==0.20.0 00:35:22 python-cinderclient==9.4.0 00:35:22 python-dateutil==2.8.2 00:35:22 python-heatclient==3.4.0 00:35:22 python-jenkins==1.8.2 00:35:22 python-keystoneclient==5.3.0 00:35:22 python-magnumclient==4.3.0 00:35:22 python-novaclient==18.4.0 00:35:22 python-openstackclient==6.0.0 00:35:22 python-swiftclient==4.4.0 00:35:22 pytz==2023.3.post1 00:35:22 PyYAML==6.0.1 00:35:22 referencing==0.32.1 00:35:22 requests==2.31.0 00:35:22 requests-oauthlib==1.3.1 00:35:22 requestsexceptions==1.4.0 00:35:22 rfc3986==2.0.0 00:35:22 rpds-py==0.17.1 00:35:22 rsa==4.9 00:35:22 ruamel.yaml==0.18.5 00:35:22 ruamel.yaml.clib==0.2.8 00:35:22 s3transfer==0.10.0 00:35:22 simplejson==3.19.2 00:35:22 six==1.16.0 00:35:22 smmap==5.0.1 00:35:22 soupsieve==2.5 00:35:22 stevedore==5.1.0 00:35:22 tabulate==0.9.0 00:35:22 toml==0.10.2 00:35:22 tomlkit==0.12.3 00:35:22 tqdm==4.66.1 00:35:22 typing_extensions==4.9.0 00:35:22 tzdata==2023.4 00:35:22 urllib3==1.26.18 00:35:22 virtualenv==20.25.0 00:35:22 wcwidth==0.2.13 00:35:22 websocket-client==1.7.0 00:35:22 wrapt==1.16.0 00:35:22 xdg==6.0.0 00:35:22 xmltodict==0.13.0 00:35:22 yq==3.2.3 00:35:22 [EnvInject] - Injecting environment variables from a build step. 00:35:22 [EnvInject] - Injecting as environment variables the properties content 00:35:22 PYTHON=python3 00:35:22 00:35:22 [EnvInject] - Variables injected successfully. 00:35:22 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10196090163562838596.sh 00:35:22 ---> tox-install.sh 00:35:22 + source /home/jenkins/lf-env.sh 00:35:22 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:22 ++ mktemp -d /tmp/venv-XXXX 00:35:22 + lf_venv=/tmp/venv-Osi3 00:35:22 + local venv_file=/tmp/.os_lf_venv 00:35:22 + local python=python3 00:35:22 + local options 00:35:22 + local set_path=true 00:35:22 + local install_args= 00:35:22 ++ 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:22 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:22 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:22 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:22 + true 00:35:22 + case $1 in 00:35:22 + venv_file=/tmp/.toxenv 00:35:22 + shift 2 00:35:22 + true 00:35:22 + case $1 in 00:35:22 + shift 00:35:22 + break 00:35:22 + case $python in 00:35:22 + local pkg_list= 00:35:22 + [[ -d /opt/pyenv ]] 00:35:22 + echo 'Setup pyenv:' 00:35:22 Setup pyenv: 00:35:22 + export PYENV_ROOT=/opt/pyenv 00:35:22 + PYENV_ROOT=/opt/pyenv 00:35:22 + 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:22 + 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:22 + pyenv versions 00:35:22 system 00:35:22 3.8.13 00:35:22 3.9.13 00:35:22 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:22 + command -v pyenv 00:35:22 ++ pyenv init - --no-rehash 00:35:22 + 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:22 export PATH="/opt/pyenv/shims:${PATH}" 00:35:22 export PYENV_SHELL=bash 00:35:22 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:22 pyenv() { 00:35:22 local command 00:35:22 command="${1:-}" 00:35:22 if [ "$#" -gt 0 ]; then 00:35:22 shift 00:35:22 fi 00:35:22 00:35:22 case "$command" in 00:35:22 rehash|shell) 00:35:22 eval "$(pyenv "sh-$command" "$@")" 00:35:22 ;; 00:35:22 *) 00:35:22 command pyenv "$command" "$@" 00:35:22 ;; 00:35:22 esac 00:35:22 }' 00:35:22 +++ 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:22 ++ 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:22 ++ 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:22 ++ 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:22 ++ export PYENV_SHELL=bash 00:35:22 ++ PYENV_SHELL=bash 00:35:22 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:22 +++ complete -F _pyenv pyenv 00:35:22 ++ lf-pyver python3 00:35:22 ++ local py_version_xy=python3 00:35:22 ++ local py_version_xyz= 00:35:22 ++ grep -E '^[0-9.]*[0-9]$' 00:35:22 ++ awk '{ print $1 }' 00:35:22 ++ sed 's/^[ *]* //' 00:35:22 ++ pyenv versions 00:35:22 ++ local command 00:35:22 ++ command=versions 00:35:22 ++ '[' 1 -gt 0 ']' 00:35:22 ++ shift 00:35:22 ++ case "$command" in 00:35:22 ++ command pyenv versions 00:35:22 ++ pyenv versions 00:35:22 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:22 +++ grep '^3' /tmp/.pyenv_versions 00:35:22 +++ tail -n 1 00:35:22 +++ sort -V 00:35:22 ++ py_version_xyz=3.10.6 00:35:22 ++ [[ -z 3.10.6 ]] 00:35:22 ++ echo 3.10.6 00:35:22 ++ return 0 00:35:22 + pyenv local 3.10.6 00:35:22 + local command 00:35:22 + command=local 00:35:22 + '[' 2 -gt 0 ']' 00:35:22 + shift 00:35:22 + case "$command" in 00:35:22 + command pyenv local 3.10.6 00:35:22 + pyenv local 3.10.6 00:35:22 + for arg in "$@" 00:35:22 + case $arg in 00:35:22 + pkg_list+='tox ' 00:35:22 + for arg in "$@" 00:35:22 + case $arg in 00:35:22 + pkg_list+='virtualenv ' 00:35:22 + for arg in "$@" 00:35:22 + case $arg in 00:35:22 + pkg_list+='urllib3~=1.26.15 ' 00:35:22 + [[ -f /tmp/.toxenv ]] 00:35:22 + [[ ! -f /tmp/.toxenv ]] 00:35:22 + [[ -n '' ]] 00:35:22 + python3 -m venv /tmp/venv-Osi3 00:35:26 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Osi3' 00:35:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Osi3 00:35:26 + echo /tmp/venv-Osi3 00:35:26 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:26 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:26 + /tmp/venv-Osi3/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:29 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:29 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:29 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:29 + /tmp/venv-Osi3/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:32 + type python3 00:35:32 + true 00:35:32 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Osi3/bin to PATH' 00:35:32 lf-activate-venv(): INFO: Adding /tmp/venv-Osi3/bin to PATH 00:35:32 + PATH=/tmp/venv-Osi3/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:32 + return 0 00:35:32 + python3 --version 00:35:32 Python 3.10.6 00:35:32 + python3 -m pip --version 00:35:32 pip 23.3.2 from /tmp/venv-Osi3/lib/python3.10/site-packages/pip (python 3.10) 00:35:32 + python3 -m pip freeze 00:35:32 cachetools==5.3.2 00:35:32 chardet==5.2.0 00:35:32 colorama==0.4.6 00:35:32 distlib==0.3.8 00:35:32 filelock==3.13.1 00:35:32 packaging==23.2 00:35:32 platformdirs==4.1.0 00:35:32 pluggy==1.3.0 00:35:32 pyproject-api==1.6.1 00:35:32 tomli==2.0.1 00:35:32 tox==4.12.1 00:35:32 urllib3==1.26.18 00:35:32 virtualenv==20.25.0 00:35:32 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins10342478782140681130.sh 00:35:32 ---> install-deb-rmr.sh 00:35:32 + version_file=rmr-version.yaml 00:35:32 + [[ -f rmr-version.yaml ]] 00:35:32 ++ grep '^repo:' rmr-version.yaml 00:35:32 ++ cut -d: -f2 00:35:32 ++ xargs 00:35:32 + repo= 00:35:32 ++ grep '^version:' rmr-version.yaml 00:35:32 ++ xargs 00:35:32 ++ cut -d: -f2 00:35:32 + ver=4.9.0 00:35:32 + [[ -z 4.9.0 ]] 00:35:32 + repo=release 00:35:32 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:32 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:32 2024-01-21 00:35:32 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1705797632&Signature=v9qrZfXHisTX7PdoJ-cEUm9~heORn41eZaBNE5IqvyIuVBAS5zoVs0vGk-ZfEgK0K-FxqlHHx~Hk80g1-pr0socHJnozYNPorL1laS06oI4kI7SAq~8AyX2velBvegHiBeOl~lyJoNEs20-56o9rC22Yh~KBGsqow7qmnjW39P8SMOzqmf-HJY~MWXG2OV-OfmPgCfDp9uzcNA6Zp~PO1Q89f1zM9Adlyfimm07hfJG966lzogmH0WSTe0e~ed4KQD8EkvZgHgIvcD4Z3IOoFJDd1xfXVNqdJ9xX9qMZMSzdPlmvKV7Qo97apURptGgSGtt2403VnlvQvOsLc8qwGw__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:32 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:32 Selecting previously unselected package rmr. 00:35:34 (Reading database ... 188029 files and directories currently installed.) 00:35:34 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:34 Unpacking rmr (4.9.0) ... 00:35:34 Setting up rmr (4.9.0) ... 00:35:34 + rm -f rmr_4.9.0_amd64.deb 00:35:34 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:34 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.0_amd64.deb/download.deb 00:35:35 2024-01-21 00:35:35 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1705797635&Signature=g0jO2DCFNjr1pH9G1HLAxhTiUbF3oLqpFI-NTdQvlmzKKwZYNpHimKzRFXNhRtyFjooagsdDECYUzhovJ9t~ucikZSndZ9QIMJJWDwvNUMK5F8yay4ejUw60Z50Z5qPmQ5knLP3ymxmlfxezVb20TURzNMq2aHmhICIO9qkeSve1v1tA~XdguFM-IfKNbGCBCyhEngBylUOHOUDAqa8MhffVhltUQU08ixmGCMroR2pDEyPSwajueBQGb217rNam9aK0VVLjpT2-1MCW~eNUq~XTrtdSAVk-TMzndRrEeCCgMTMHA4OuyykE-aw-Wgemw~d8OXUFhrmhX~ODREJeaQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:35 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:35 Selecting previously unselected package rmr-dev. 00:35:35 (Reading database ... 188037 files and directories currently installed.) 00:35:35 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:35 Unpacking rmr-dev (4.9.0) ... 00:35:35 Setting up rmr-dev (4.9.0) ... 00:35:35 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:35 + echo '---> install-deb-rmr.sh ends' 00:35:35 ---> install-deb-rmr.sh ends 00:35:35 [EnvInject] - Injecting environment variables from a build step. 00:35:35 [EnvInject] - Injecting as environment variables the properties content 00:35:35 PARALLEL=False 00:35:35 00:35:35 [EnvInject] - Variables injected successfully. 00:35:35 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16119161526673558588.sh 00:35:35 ---> tox-run.sh 00:35:35 + PATH=/home/jenkins/.local/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:35 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:35 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:35 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:35 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:35 + source /home/jenkins/lf-env.sh 00:35:35 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:35 ++ mktemp -d /tmp/venv-XXXX 00:35:35 + lf_venv=/tmp/venv-iPpE 00:35:35 + local venv_file=/tmp/.os_lf_venv 00:35:35 + local python=python3 00:35:35 + local options 00:35:35 + local set_path=true 00:35:35 + local install_args= 00:35:35 ++ 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:35 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:35 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:35 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:35 + true 00:35:35 + case $1 in 00:35:35 + venv_file=/tmp/.toxenv 00:35:35 + shift 2 00:35:35 + true 00:35:35 + case $1 in 00:35:35 + shift 00:35:35 + break 00:35:35 + case $python in 00:35:35 + local pkg_list= 00:35:35 + [[ -d /opt/pyenv ]] 00:35:35 + echo 'Setup pyenv:' 00:35:35 Setup pyenv: 00:35:35 + export PYENV_ROOT=/opt/pyenv 00:35:35 + PYENV_ROOT=/opt/pyenv 00:35:35 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/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:35 + PATH=/opt/pyenv/bin:/home/jenkins/.local/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:35 + pyenv versions 00:35:35 system 00:35:35 3.8.13 00:35:35 3.9.13 00:35:35 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:35 + command -v pyenv 00:35:35 ++ pyenv init - --no-rehash 00:35:35 + 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:35 export PATH="/opt/pyenv/shims:${PATH}" 00:35:35 export PYENV_SHELL=bash 00:35:35 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:35 pyenv() { 00:35:35 local command 00:35:35 command="${1:-}" 00:35:35 if [ "$#" -gt 0 ]; then 00:35:35 shift 00:35:35 fi 00:35:35 00:35:35 case "$command" in 00:35:35 rehash|shell) 00:35:35 eval "$(pyenv "sh-$command" "$@")" 00:35:35 ;; 00:35:35 *) 00:35:35 command pyenv "$command" "$@" 00:35:35 ;; 00:35:35 esac 00:35:35 }' 00:35:35 +++ 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:35 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/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:35 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:35 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:35 ++ export PYENV_SHELL=bash 00:35:35 ++ PYENV_SHELL=bash 00:35:35 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:35 +++ complete -F _pyenv pyenv 00:35:35 ++ lf-pyver python3 00:35:35 ++ local py_version_xy=python3 00:35:35 ++ local py_version_xyz= 00:35:35 ++ pyenv versions 00:35:35 ++ local command 00:35:35 ++ command=versions 00:35:35 ++ '[' 1 -gt 0 ']' 00:35:35 ++ shift 00:35:35 ++ case "$command" in 00:35:35 ++ command pyenv versions 00:35:35 ++ pyenv versions 00:35:35 ++ awk '{ print $1 }' 00:35:35 ++ grep -E '^[0-9.]*[0-9]$' 00:35:35 ++ sed 's/^[ *]* //' 00:35:35 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:35 +++ grep '^3' /tmp/.pyenv_versions 00:35:35 +++ tail -n 1 00:35:35 +++ sort -V 00:35:35 ++ py_version_xyz=3.10.6 00:35:35 ++ [[ -z 3.10.6 ]] 00:35:35 ++ echo 3.10.6 00:35:35 ++ return 0 00:35:35 + pyenv local 3.10.6 00:35:35 + local command 00:35:35 + command=local 00:35:35 + '[' 2 -gt 0 ']' 00:35:35 + shift 00:35:35 + case "$command" in 00:35:35 + command pyenv local 3.10.6 00:35:35 + pyenv local 3.10.6 00:35:35 + for arg in "$@" 00:35:35 + case $arg in 00:35:35 + pkg_list+='tox ' 00:35:35 + for arg in "$@" 00:35:35 + case $arg in 00:35:35 + pkg_list+='virtualenv ' 00:35:35 + for arg in "$@" 00:35:35 + case $arg in 00:35:35 + pkg_list+='urllib3~=1.26.15 ' 00:35:35 + [[ -f /tmp/.toxenv ]] 00:35:35 ++ cat /tmp/.toxenv 00:35:35 + lf_venv=/tmp/venv-Osi3 00:35:35 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Osi3 from' file:/tmp/.toxenv 00:35:35 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Osi3 from file:/tmp/.toxenv 00:35:35 + /tmp/venv-Osi3/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:36 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:36 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:36 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:36 + /tmp/venv-Osi3/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:38 + type python3 00:35:38 + true 00:35:38 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Osi3/bin to PATH' 00:35:38 lf-activate-venv(): INFO: Adding /tmp/venv-Osi3/bin to PATH 00:35:38 + PATH=/tmp/venv-Osi3/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:38 + return 0 00:35:38 + [[ -d /opt/pyenv ]] 00:35:38 + echo '---> Setting up pyenv' 00:35:38 ---> Setting up pyenv 00:35:38 + export PYENV_ROOT=/opt/pyenv 00:35:38 + PYENV_ROOT=/opt/pyenv 00:35:38 + export PATH=/opt/pyenv/bin:/tmp/venv-Osi3/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:38 + PATH=/opt/pyenv/bin:/tmp/venv-Osi3/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:38 ++ pwd 00:35:38 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:38 + export PYTHONPATH 00:35:38 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:38 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:38 + tox --version 00:35:38 4.12.1 from /tmp/venv-Osi3/lib/python3.10/site-packages/tox/__init__.py 00:35:38 + PARALLEL=False 00:35:38 + TOX_OPTIONS_LIST= 00:35:38 + [[ -n code,flake8 ]] 00:35:38 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:38 + case ${PARALLEL,,} in 00:35:38 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:38 + tox -e code,flake8 00:35:39 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:43 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:44 .pkg: _optional_hooks> python /tmp/venv-Osi3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:45 .pkg: get_requires_for_build_sdist> python /tmp/venv-Osi3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:45 .pkg: get_requires_for_build_wheel> python /tmp/venv-Osi3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:45 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 00:35:45 .pkg: freeze> python -m pip freeze --all 00:35:46 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 00:35:46 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Osi3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:46 .pkg: build_sdist> python /tmp/venv-Osi3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:46 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==3.2.2 'schedule>=0.0.0' 00:36:13 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.4.0,exceptiongroup==1.2.0,hiredis==2.0.0,idna==3.6,influxdb==5.3.1,iniconfig==2.0.0,inotify==0.2.10,inotify-simple==1.3.5,joblib==1.3.2,mdclogpy==1.1.1,msgpack==1.0.7,nose==1.3.7,numpy==1.26.3,packaging==23.2,pandas==2.2.0,pip==23.3.1,pluggy==1.3.0,protobuf==3.20.3,pytest==7.4.4,pytest-cov==4.1.0,python-dateutil==2.8.2,pytz==2023.3.post1,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.1,scikit-learn==1.4.0,scipy==1.12.0,setuptools==69.0.2,six==1.16.0,threadpoolctl==3.2.0,tomli==2.0.1,tzdata==2023.4,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.4, 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:37:46 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:47 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:02 00:38:02 =============================== warnings summary =============================== 00:38:02 tests/conftest.py:17 00:38:02 /w/workspace/ric-app-ad-tox-sonarqube/tests/conftest.py:17: DeprecationWarning: 00:38:02 Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0), 00:38:02 (to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries) 00:38:02 but was not found to be installed on your system. 00:38:02 If this would cause problems for you, 00:38:02 please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466 00:38:02 00:38:02 import pandas as pd 00:38:02 00:38:02 tests/test_ad.py::test_trainModel 00:38:02 tests/test_ad.py::test_trainModel 00:38:02 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:38:02 You are setting values through chained assignment. Currently this works in certain cases, but when using Copy-on-Write (which will become the default behaviour in pandas 3.0) this will never work to update the original DataFrame or Series, because the intermediate object on which we are setting values will behave as a copy. 00:38:02 A typical example is when you are setting values in a column of a DataFrame, like: 00:38:02 00:38:02 df["col"][row_indexer] = value 00:38:02 00:38:02 Use `df.loc[row_indexer, "col"] = values` instead, to perform the assignment in a single step and ensure this keeps updating the original `df`. 00:38:02 00:38:02 See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy 00:38:02 00:38:02 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:38:02 00:38:02 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:38:02 00:38:02 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:38:02 Name Stmts Miss Cover Missing 00:38:02 ------------------------------------------------- 00:38:02 src/__init__.py 0 0 100% 00:38:02 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:02 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:02 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:02 src/exceptions.py 4 4 0% 18-25 00:38:02 src/insert.py 51 51 0% 17-84 00:38:02 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:02 src/processing.py 44 0 100% 00:38:02 ------------------------------------------------- 00:38:02 TOTAL 445 174 61% 00:38:02 Coverage HTML written to dir htmlcov 00:38:02 Coverage XML written to file coverage.xml 00:38:02 00:38:02 Required test coverage of 50% reached. Total coverage: 60.90% 00:38:02 ================== 4 passed, 3 warnings in 105.78s (0:01:45) =================== 00:38:02 code: commands[1]> coverage xml -i 00:38:02 Wrote XML report to coverage.xml 00:38:02 .pkg: _exit> python /tmp/venv-Osi3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:38:03 code: OK ✔ in 2 minutes 23.58 seconds 00:38:03 flake8: install_deps> python -I -m pip install flake8 00:38:05 flake8: freeze> python -m pip freeze --all 00:38:06 flake8: ad==1.0.1,flake8==7.0.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.0.2,wheel==0.42.0 00:38:06 flake8: commands[0]> flake8 setup.py src tests 00:38:06 code: OK (143.58=setup[36.57]+cmd[106.86,0.16] seconds) 00:38:06 flake8: OK (3.70=setup[3.44]+cmd[0.25] seconds) 00:38:06 congratulations :) (147.44 seconds) 00:38:06 + tox_status=0 00:38:06 + echo '---> Completed tox runs' 00:38:06 ---> Completed tox runs 00:38:06 + for i in .tox/*/log 00:38:06 ++ echo .tox/code/log 00:38:06 ++ awk -F/ '{print $2}' 00:38:06 + tox_env=code 00:38:06 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:06 + for i in .tox/*/log 00:38:06 ++ echo .tox/flake8/log 00:38:06 ++ awk -F/ '{print $2}' 00:38:06 + tox_env=flake8 00:38:06 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:06 + DOC_DIR=docs/_build/html 00:38:06 + [[ -d docs/_build/html ]] 00:38:06 + echo '---> tox-run.sh ends' 00:38:06 ---> tox-run.sh ends 00:38:06 + test 0 -eq 0 00:38:06 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-4309 00:38:07 [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:07 Could not find 'java' executable in JAVA_HOME or PATH. 00:38:08 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:08 $ ssh-agent -k 00:38:08 unset SSH_AUTH_SOCK; 00:38:08 unset SSH_AGENT_PID; 00:38:08 echo Agent pid 1673 killed; 00:38:08 [ssh-agent] Stopped. 00:38:08 ERROR: SonarQube scanner exited with non-zero code: 1 00:38:08 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:08 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1786496250080814117.sh 00:38:08 ---> sysstat.sh 00:38:08 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4981522234121183570.sh 00:38:08 ---> package-listing.sh 00:38:08 ++ facter osfamily 00:38:08 ++ tr '[:upper:]' '[:lower:]' 00:38:09 + OS_FAMILY=debian 00:38:09 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:09 + START_PACKAGES=/tmp/packages_start.txt 00:38:09 + END_PACKAGES=/tmp/packages_end.txt 00:38:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:09 + PACKAGES=/tmp/packages_start.txt 00:38:09 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:09 + PACKAGES=/tmp/packages_end.txt 00:38:09 + case "${OS_FAMILY}" in 00:38:09 + dpkg -l 00:38:09 + grep '^ii' 00:38:09 + '[' -f /tmp/packages_start.txt ']' 00:38:09 + '[' -f /tmp/packages_end.txt ']' 00:38:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:09 + true 00:38:09 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:09 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9398246462654464467.sh 00:38:09 ---> capture-instance-metadata.sh 00:38:09 Setup pyenv: 00:38:09 system 00:38:09 3.8.13 00:38:09 3.9.13 00:38:09 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:09 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIru from file:/tmp/.os_lf_venv 00:38:11 lf-activate-venv(): INFO: Installing: lftools 00:38:25 lf-activate-venv(): INFO: Adding /tmp/venv-qIru/bin to PATH 00:38:25 INFO: Running in OpenStack, capturing instance metadata 00:38:26 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16022281896789521077.sh 00:38:26 provisioning config files... 00:38:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config13812924592270029563tmp 00:38:26 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:26 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:26 [EnvInject] - Injecting environment variables from a build step. 00:38:26 [EnvInject] - Injecting as environment variables the properties content 00:38:26 SERVER_ID=logs 00:38:26 00:38:26 [EnvInject] - Variables injected successfully. 00:38:26 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1107309666470813414.sh 00:38:26 ---> create-netrc.sh 00:38:26 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13489804270835546278.sh 00:38:26 ---> python-tools-install.sh 00:38:26 Setup pyenv: 00:38:26 system 00:38:26 3.8.13 00:38:26 3.9.13 00:38:26 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIru from file:/tmp/.os_lf_venv 00:38:27 lf-activate-venv(): INFO: Installing: lftools 00:38:39 lf-activate-venv(): INFO: Adding /tmp/venv-qIru/bin to PATH 00:38:39 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15855566453354853784.sh 00:38:39 ---> sudo-logs.sh 00:38:39 Archiving 'sudo' log.. 00:38:39 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7096606932635454018.sh 00:38:39 ---> job-cost.sh 00:38:39 Setup pyenv: 00:38:39 system 00:38:39 3.8.13 00:38:39 3.9.13 00:38:39 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:39 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIru from file:/tmp/.os_lf_venv 00:38:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:50 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:38:50 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 00:38:50 lf-activate-venv(): INFO: Adding /tmp/venv-qIru/bin to PATH 00:38:50 INFO: No Stack... 00:38:50 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:38:50 INFO: Archiving Costs 00:38:50 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3598429876426630770.sh 00:38:50 ---> logs-deploy.sh 00:38:50 Setup pyenv: 00:38:50 system 00:38:50 3.8.13 00:38:50 3.9.13 00:38:50 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:50 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIru from file:/tmp/.os_lf_venv 00:38:52 lf-activate-venv(): INFO: Installing: lftools 00:39:04 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:04 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 00:39:05 lf-activate-venv(): INFO: Adding /tmp/venv-qIru/bin to PATH 00:39:05 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/162 00:39:05 INFO: archiving workspace using pattern(s): -p **/*.log 00:39:07 Archives upload complete. 00:39:07 INFO: archiving logs to Nexus 00:39:08 ---> uname -a: 00:39:08 Linux prd-ubuntu1804-builder-2c-2g-4309 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:39:08 00:39:08 00:39:08 ---> lscpu: 00:39:08 Architecture: x86_64 00:39:08 CPU op-mode(s): 32-bit, 64-bit 00:39:08 Byte Order: Little Endian 00:39:08 CPU(s): 2 00:39:08 On-line CPU(s) list: 0,1 00:39:08 Thread(s) per core: 1 00:39:08 Core(s) per socket: 1 00:39:08 Socket(s): 2 00:39:08 NUMA node(s): 1 00:39:08 Vendor ID: AuthenticAMD 00:39:08 CPU family: 23 00:39:08 Model: 49 00:39:08 Model name: AMD EPYC-Rome Processor 00:39:08 Stepping: 0 00:39:08 CPU MHz: 2799.870 00:39:08 BogoMIPS: 5599.74 00:39:08 Virtualization: AMD-V 00:39:08 Hypervisor vendor: KVM 00:39:08 Virtualization type: full 00:39:08 L1d cache: 32K 00:39:08 L1i cache: 32K 00:39:08 L2 cache: 512K 00:39:08 L3 cache: 16384K 00:39:08 NUMA node0 CPU(s): 0,1 00:39:08 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 xtopology 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 arat npt nrip_save umip rdpid arch_capabilities 00:39:08 00:39:08 00:39:08 ---> nproc: 00:39:08 2 00:39:08 00:39:08 00:39:08 ---> df -h: 00:39:08 Filesystem Size Used Avail Use% Mounted on 00:39:08 udev 984M 0 984M 0% /dev 00:39:08 tmpfs 200M 668K 199M 1% /run 00:39:08 /dev/vda1 20G 7.8G 12G 41% / 00:39:08 tmpfs 997M 0 997M 0% /dev/shm 00:39:08 tmpfs 5.0M 0 5.0M 0% /run/lock 00:39:08 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:39:08 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:39:08 tmpfs 200M 0 200M 0% /run/user/1001 00:39:08 00:39:08 00:39:08 ---> free -m: 00:39:08 total used free shared buff/cache available 00:39:08 Mem: 1992 332 119 0 1540 1476 00:39:08 Swap: 1023 0 1023 00:39:08 00:39:08 00:39:08 ---> ip addr: 00:39:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:39:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:08 inet 127.0.0.1/8 scope host lo 00:39:08 valid_lft forever preferred_lft forever 00:39:08 inet6 ::1/128 scope host 00:39:08 valid_lft forever preferred_lft forever 00:39:08 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:39:08 link/ether fa:16:3e:58:12:a7 brd ff:ff:ff:ff:ff:ff 00:39:08 inet 10.32.7.159/23 brd 10.32.7.255 scope global dynamic ens3 00:39:08 valid_lft 86075sec preferred_lft 86075sec 00:39:08 inet6 fe80::f816:3eff:fe58:12a7/64 scope link 00:39:08 valid_lft forever preferred_lft forever 00:39:08 00:39:08 00:39:08 ---> sar -b -r -n DEV: 00:39:08 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4309) 01/21/24 _x86_64_ (2 CPU) 00:39:08 00:39:08 00:33:44 LINUX RESTART (2 CPU) 00:39:08 00:39:08 00:34:01 tps rtps wtps bread/s bwrtn/s 00:39:08 00:35:02 115.27 50.68 64.59 2287.14 11805.06 00:39:08 00:36:01 131.72 48.64 83.07 2366.52 18649.54 00:39:08 00:37:01 48.38 16.36 32.02 1034.28 12496.82 00:39:08 00:38:01 1.27 0.33 0.93 9.86 25.99 00:39:08 00:39:01 74.44 41.55 32.89 1696.63 3722.36 00:39:08 Average: 74.02 31.46 42.57 1475.96 9309.10 00:39:08 00:39:08 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:08 00:35:02 96044 1548680 1944588 95.29 49888 1490608 521828 16.89 411372 1384732 78772 00:39:08 00:36:01 84668 1470312 1955964 95.85 67136 1407512 663900 21.49 522252 1287828 87516 00:39:08 00:37:01 87352 1389596 1953280 95.72 73092 1312172 834720 27.02 516540 1277448 480 00:39:08 00:38:01 79300 1387648 1961332 96.11 73108 1318324 877144 28.39 517272 1285616 23180 00:39:08 00:39:01 69156 1478508 1971476 96.61 79016 1405708 582560 18.86 447212 1352200 33476 00:39:08 Average: 83304 1454949 1957328 95.92 68448 1386865 696030 22.53 482930 1317565 44685 00:39:08 00:39:08 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:08 00:35:02 ens3 155.26 127.23 1277.28 30.72 0.00 0.00 0.00 0.00 00:39:08 00:35:02 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 00:39:08 00:36:01 ens3 71.94 62.57 1498.48 12.30 0.00 0.00 0.00 0.00 00:39:08 00:36:01 lo 1.36 1.36 0.13 0.13 0.00 0.00 0.00 0.00 00:39:08 00:37:01 ens3 0.32 0.33 0.06 0.08 0.00 0.00 0.00 0.00 00:39:08 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:08 00:38:01 ens3 0.40 0.42 0.06 0.06 0.00 0.00 0.00 0.00 00:39:08 00:38:01 lo 3.67 3.67 0.19 0.19 0.00 0.00 0.00 0.00 00:39:08 00:39:01 ens3 29.22 25.44 60.90 13.65 0.00 0.00 0.00 0.00 00:39:08 00:39:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 00:39:08 Average: ens3 51.37 43.14 564.27 11.36 0.00 0.00 0.00 0.00 00:39:08 Average: lo 1.39 1.39 0.10 0.10 0.00 0.00 0.00 0.00 00:39:08 00:39:08 00:39:08 ---> sar -P ALL: 00:39:08 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4309) 01/21/24 _x86_64_ (2 CPU) 00:39:08 00:39:08 00:33:44 LINUX RESTART (2 CPU) 00:39:08 00:39:08 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:39:08 00:35:02 all 38.37 0.00 3.10 5.50 0.09 52.94 00:39:08 00:35:02 0 50.01 0.00 3.26 6.49 0.10 40.14 00:39:08 00:35:02 1 26.73 0.00 2.95 4.50 0.08 65.73 00:39:08 00:36:01 all 35.37 0.00 3.16 6.90 0.08 54.48 00:39:08 00:36:01 0 44.15 0.00 3.42 6.68 0.09 45.66 00:39:08 00:36:01 1 26.60 0.00 2.89 7.11 0.08 63.32 00:39:08 00:37:01 all 48.64 0.00 1.15 1.50 0.10 48.60 00:39:08 00:37:01 0 94.83 0.00 1.47 1.32 0.10 2.28 00:39:08 00:37:01 1 2.08 0.00 0.86 1.68 0.10 95.28 00:39:08 00:38:01 all 37.64 0.00 0.23 0.03 0.08 62.02 00:39:08 00:38:01 0 74.75 0.00 0.20 0.03 0.07 24.95 00:39:08 00:38:01 1 0.27 0.00 0.27 0.05 0.07 99.35 00:39:08 00:39:01 all 36.75 0.00 1.78 4.17 0.08 57.21 00:39:08 00:39:01 0 67.60 0.00 2.45 3.24 0.12 26.59 00:39:08 00:39:01 1 6.25 0.00 1.12 5.08 0.05 87.49 00:39:08 Average: all 39.36 0.00 1.88 3.61 0.09 55.06 00:39:08 Average: 0 66.37 0.00 2.15 3.54 0.09 27.85 00:39:08 Average: 1 12.34 0.00 1.61 3.68 0.08 82.28 00:39:08 00:39:08 00:39:08