05:05:03 Started by timer 05:05:03 Running as SYSTEM 05:05:03 [EnvInject] - Loading node environment variables. 05:05:03 Building remotely on prd-ubuntu1804-builder-2c-2g-4027 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-app-qp-tox-sonarqube 05:05:03 [ssh-agent] Looking for ssh-agent implementation... 05:05:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:04 $ ssh-agent 05:05:04 SSH_AUTH_SOCK=/tmp/ssh-6IhCJBuyyVbY/agent.5921 05:05:04 SSH_AGENT_PID=5924 05:05:04 [ssh-agent] Started. 05:05:04 Running ssh-add (command line suppressed) 05:05:04 Identity added: /w/workspace/ric-app-qp-tox-sonarqube@tmp/private_key_9763725987231178645.key (jenkins-ssh) 05:05:04 [ssh-agent] Using credentials jenkins (jenkins) 05:05:04 The recommended git tool is: NONE 05:05:06 using credential jenkins 05:05:06 Wiping out workspace first. 05:05:06 Cloning the remote Git repository 05:05:06 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:05:06 > git init /w/workspace/ric-app-qp-tox-sonarqube # timeout=10 05:05:06 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:05:06 > git --version # timeout=10 05:05:06 > git --version # 'git version 2.25.1' 05:05:06 using GIT_SSH to set credentials jenkins 05:05:06 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:07 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp # timeout=10 05:05:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:07 Avoid second fetch 05:05:07 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 05:05:07 Checking out Revision 6b85eed29d60f343b0712d757c114bc6207ccdbe (refs/remotes/origin/master) 05:05:07 > git config core.sparsecheckout # timeout=10 05:05:07 > git checkout -f 6b85eed29d60f343b0712d757c114bc6207ccdbe # timeout=10 05:05:08 Commit message: "Release 0.0.6" 05:05:08 > git rev-list --no-walk 6b85eed29d60f343b0712d757c114bc6207ccdbe # timeout=10 05:05:08 provisioning config files... 05:05:08 copy managed file [npmrc] to file:/home/jenkins/.npmrc 05:05:08 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 05:05:08 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins18133521855508743398.sh 05:05:08 ---> python-tools-install.sh 05:05:08 Setup pyenv: 05:05:08 * system (set by /opt/pyenv/version) 05:05:08 * 3.8.13 (set by /opt/pyenv/version) 05:05:08 * 3.9.13 (set by /opt/pyenv/version) 05:05:08 * 3.10.6 (set by /opt/pyenv/version) 05:05:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9zzz 05:05:13 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 05:05:17 lf-activate-venv(): INFO: Installing: lftools 05:05:54 lf-activate-venv(): INFO: Adding /tmp/venv-9zzz/bin to PATH 05:05:54 Generating Requirements File 05:06:28 Python 3.10.6 05:06:29 pip 23.3.2 from /tmp/venv-9zzz/lib/python3.10/site-packages/pip (python 3.10) 05:06:29 appdirs==1.4.4 05:06:29 argcomplete==3.2.1 05:06:29 aspy.yaml==1.3.0 05:06:29 attrs==23.2.0 05:06:29 autopage==0.5.2 05:06:29 beautifulsoup4==4.12.3 05:06:29 boto3==1.34.20 05:06:29 botocore==1.34.20 05:06:29 bs4==0.0.2 05:06:29 cachetools==5.3.2 05:06:29 certifi==2023.11.17 05:06:29 cffi==1.16.0 05:06:29 cfgv==3.4.0 05:06:29 chardet==5.2.0 05:06:29 charset-normalizer==3.3.2 05:06:29 click==8.1.7 05:06:29 cliff==4.5.0 05:06:29 cmd2==2.4.3 05:06:29 cryptography==3.3.2 05:06:29 debtcollector==2.5.0 05:06:29 decorator==5.1.1 05:06:29 defusedxml==0.7.1 05:06:29 Deprecated==1.2.14 05:06:29 distlib==0.3.8 05:06:29 dnspython==2.4.2 05:06:29 docker==4.2.2 05:06:29 dogpile.cache==1.3.0 05:06:29 email-validator==2.1.0.post1 05:06:29 filelock==3.13.1 05:06:29 future==0.18.3 05:06:29 gitdb==4.0.11 05:06:29 GitPython==3.1.41 05:06:29 google-auth==2.26.2 05:06:29 httplib2==0.22.0 05:06:29 identify==2.5.33 05:06:29 idna==3.6 05:06:29 importlib-resources==1.5.0 05:06:29 iso8601==2.1.0 05:06:29 Jinja2==3.1.3 05:06:29 jmespath==1.0.1 05:06:29 jsonpatch==1.33 05:06:29 jsonpointer==2.4 05:06:29 jsonschema==4.21.0 05:06:29 jsonschema-specifications==2023.12.1 05:06:29 keystoneauth1==5.5.0 05:06:29 kubernetes==29.0.0 05:06:29 lftools==0.37.8 05:06:29 lxml==5.1.0 05:06:29 MarkupSafe==2.1.3 05:06:29 msgpack==1.0.7 05:06:29 multi_key_dict==2.0.3 05:06:29 munch==4.0.0 05:06:29 netaddr==0.10.1 05:06:29 netifaces==0.11.0 05:06:29 niet==1.4.2 05:06:29 nodeenv==1.8.0 05:06:29 oauth2client==4.1.3 05:06:29 oauthlib==3.2.2 05:06:29 openstacksdk==0.62.0 05:06:29 os-client-config==2.1.0 05:06:29 os-service-types==1.7.0 05:06:29 osc-lib==3.0.0 05:06:29 oslo.config==9.3.0 05:06:29 oslo.context==5.3.0 05:06:29 oslo.i18n==6.2.0 05:06:29 oslo.log==5.4.0 05:06:29 oslo.serialization==5.3.0 05:06:29 oslo.utils==7.0.0 05:06:29 packaging==23.2 05:06:29 pbr==6.0.0 05:06:29 platformdirs==4.1.0 05:06:29 prettytable==3.9.0 05:06:29 pyasn1==0.5.1 05:06:29 pyasn1-modules==0.3.0 05:06:29 pycparser==2.21 05:06:29 pygerrit2==2.0.15 05:06:29 PyGithub==2.1.1 05:06:29 pyinotify==0.9.6 05:06:29 PyJWT==2.8.0 05:06:29 PyNaCl==1.5.0 05:06:29 pyparsing==2.4.7 05:06:29 pyperclip==1.8.2 05:06:29 pyrsistent==0.20.0 05:06:29 python-cinderclient==9.4.0 05:06:29 python-dateutil==2.8.2 05:06:29 python-heatclient==3.4.0 05:06:29 python-jenkins==1.8.2 05:06:29 python-keystoneclient==5.3.0 05:06:29 python-magnumclient==4.3.0 05:06:29 python-novaclient==18.4.0 05:06:29 python-openstackclient==6.0.0 05:06:29 python-swiftclient==4.4.0 05:06:29 pytz==2023.3.post1 05:06:29 PyYAML==6.0.1 05:06:29 referencing==0.32.1 05:06:29 requests==2.31.0 05:06:29 requests-oauthlib==1.3.1 05:06:29 requestsexceptions==1.4.0 05:06:29 rfc3986==2.0.0 05:06:29 rpds-py==0.17.1 05:06:29 rsa==4.9 05:06:29 ruamel.yaml==0.18.5 05:06:29 ruamel.yaml.clib==0.2.8 05:06:29 s3transfer==0.10.0 05:06:29 simplejson==3.19.2 05:06:29 six==1.16.0 05:06:29 smmap==5.0.1 05:06:29 soupsieve==2.5 05:06:29 stevedore==5.1.0 05:06:29 tabulate==0.9.0 05:06:29 toml==0.10.2 05:06:29 tomlkit==0.12.3 05:06:29 tqdm==4.66.1 05:06:29 typing_extensions==4.9.0 05:06:29 tzdata==2023.4 05:06:29 urllib3==1.26.18 05:06:29 virtualenv==20.25.0 05:06:29 wcwidth==0.2.13 05:06:29 websocket-client==1.7.0 05:06:29 wrapt==1.16.0 05:06:29 xdg==6.0.0 05:06:29 xmltodict==0.13.0 05:06:29 yq==3.2.3 05:06:29 [EnvInject] - Injecting environment variables from a build step. 05:06:29 [EnvInject] - Injecting as environment variables the properties content 05:06:29 PYTHON=python3 05:06:29 05:06:29 [EnvInject] - Variables injected successfully. 05:06:29 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9515034262534801237.sh 05:06:29 ---> tox-install.sh 05:06:29 + source /home/jenkins/lf-env.sh 05:06:29 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:29 ++ mktemp -d /tmp/venv-XXXX 05:06:29 + lf_venv=/tmp/venv-bYVu 05:06:29 + local venv_file=/tmp/.os_lf_venv 05:06:29 + local python=python3 05:06:29 + local options 05:06:29 + local set_path=true 05:06:29 + local install_args= 05:06:29 ++ 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 05:06:29 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:29 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:29 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:29 + true 05:06:29 + case $1 in 05:06:29 + venv_file=/tmp/.toxenv 05:06:29 + shift 2 05:06:29 + true 05:06:29 + case $1 in 05:06:29 + shift 05:06:29 + break 05:06:29 + case $python in 05:06:29 + local pkg_list= 05:06:29 + [[ -d /opt/pyenv ]] 05:06:29 + echo 'Setup pyenv:' 05:06:29 Setup pyenv: 05:06:29 + export PYENV_ROOT=/opt/pyenv 05:06:29 + PYENV_ROOT=/opt/pyenv 05:06:29 + 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 05:06:29 + 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 05:06:29 + pyenv versions 05:06:29 system 05:06:29 3.8.13 05:06:29 3.9.13 05:06:29 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:29 + command -v pyenv 05:06:29 ++ pyenv init - --no-rehash 05:06:29 + 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[*]}"'\'')" 05:06:29 export PATH="/opt/pyenv/shims:${PATH}" 05:06:29 export PYENV_SHELL=bash 05:06:29 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:29 pyenv() { 05:06:29 local command 05:06:29 command="${1:-}" 05:06:29 if [ "$#" -gt 0 ]; then 05:06:29 shift 05:06:29 fi 05:06:29 05:06:29 case "$command" in 05:06:29 rehash|shell) 05:06:29 eval "$(pyenv "sh-$command" "$@")" 05:06:29 ;; 05:06:29 *) 05:06:29 command pyenv "$command" "$@" 05:06:29 ;; 05:06:29 esac 05:06:29 }' 05:06:29 +++ 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[*]}"' 05:06:29 ++ 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 05:06:29 ++ 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 05:06:29 ++ 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 05:06:29 ++ export PYENV_SHELL=bash 05:06:29 ++ PYENV_SHELL=bash 05:06:29 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:29 +++ complete -F _pyenv pyenv 05:06:29 ++ lf-pyver python3 05:06:29 ++ local py_version_xy=python3 05:06:29 ++ local py_version_xyz= 05:06:29 ++ pyenv versions 05:06:29 ++ local command 05:06:29 ++ command=versions 05:06:29 ++ '[' 1 -gt 0 ']' 05:06:29 ++ grep -E '^[0-9.]*[0-9]$' 05:06:29 ++ shift 05:06:29 ++ case "$command" in 05:06:29 ++ command pyenv versions 05:06:29 ++ pyenv versions 05:06:29 ++ sed 's/^[ *]* //' 05:06:29 ++ awk '{ print $1 }' 05:06:29 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:29 +++ grep '^3' /tmp/.pyenv_versions 05:06:29 +++ sort -V 05:06:29 +++ tail -n 1 05:06:29 ++ py_version_xyz=3.10.6 05:06:29 ++ [[ -z 3.10.6 ]] 05:06:29 ++ echo 3.10.6 05:06:29 ++ return 0 05:06:29 + pyenv local 3.10.6 05:06:29 + local command 05:06:29 + command=local 05:06:29 + '[' 2 -gt 0 ']' 05:06:29 + shift 05:06:29 + case "$command" in 05:06:29 + command pyenv local 3.10.6 05:06:29 + pyenv local 3.10.6 05:06:29 + for arg in "$@" 05:06:29 + case $arg in 05:06:29 + pkg_list+='tox ' 05:06:29 + for arg in "$@" 05:06:29 + case $arg in 05:06:29 + pkg_list+='virtualenv ' 05:06:29 + for arg in "$@" 05:06:29 + case $arg in 05:06:29 + pkg_list+='urllib3~=1.26.15 ' 05:06:29 + [[ -f /tmp/.toxenv ]] 05:06:29 + [[ ! -f /tmp/.toxenv ]] 05:06:29 + [[ -n '' ]] 05:06:29 + python3 -m venv /tmp/venv-bYVu 05:06:33 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bYVu' 05:06:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bYVu 05:06:33 + echo /tmp/venv-bYVu 05:06:33 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 05:06:33 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 05:06:33 + /tmp/venv-bYVu/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:36 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:36 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:36 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:36 + /tmp/venv-bYVu/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:39 + type python3 05:06:39 + true 05:06:39 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-bYVu/bin to PATH' 05:06:39 lf-activate-venv(): INFO: Adding /tmp/venv-bYVu/bin to PATH 05:06:39 + PATH=/tmp/venv-bYVu/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 05:06:39 + return 0 05:06:39 + python3 --version 05:06:39 Python 3.10.6 05:06:39 + python3 -m pip --version 05:06:39 pip 23.3.2 from /tmp/venv-bYVu/lib/python3.10/site-packages/pip (python 3.10) 05:06:39 + python3 -m pip freeze 05:06:39 cachetools==5.3.2 05:06:39 chardet==5.2.0 05:06:39 colorama==0.4.6 05:06:39 distlib==0.3.8 05:06:39 filelock==3.13.1 05:06:39 packaging==23.2 05:06:39 platformdirs==4.1.0 05:06:39 pluggy==1.3.0 05:06:39 pyproject-api==1.6.1 05:06:39 tomli==2.0.1 05:06:39 tox==4.12.1 05:06:39 urllib3==1.26.18 05:06:39 virtualenv==20.25.0 05:06:39 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins15741914524520317954.sh 05:06:39 ---> install-deb-rmr.sh 05:06:39 + version_file=rmr-version.yaml 05:06:39 + [[ -f rmr-version.yaml ]] 05:06:39 ++ grep '^repo:' rmr-version.yaml 05:06:39 ++ cut -d: -f2 05:06:39 ++ xargs 05:06:39 + repo= 05:06:39 ++ grep '^version:' rmr-version.yaml 05:06:39 ++ cut -d: -f2 05:06:39 ++ xargs 05:06:39 + ver=4.9.0 05:06:39 + [[ -z 4.9.0 ]] 05:06:39 + repo=release 05:06:39 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:39 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 05:06:40 2024-01-18 05:06:40 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1705554700&Signature=sRkr3aOCYZBovJ8V03BEGbHyjiqwguKD30CUeuPLialMwnpUXyp5u4JG-LGbv5WShdUQR5ukrgZS8UW8EZRbIw5Debw9DXe08P1oFeNDOVW5ZzTxHoMMU9lQrTZOpe3jNvIN2EAGvUcDziQ2et-VIxEr3BVaBcjqFxhf1SZZZ4fC4RwIVDXsubhdTWDSgdLYsdoDJRZ06MTcjnRoyBjR3tG2cQTgRxRf22a4uu4IBi87fPLCmWK9C1x40f9ZSxrfm4GfszNM4nM1r~9B1oZni1mNjL6jQbtJ8bomHZJ0nQkGbyD9CW03TR5bZyqfpgyMYAxwIQN7hv40ZTbD1zqn-w__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 05:06:40 + sudo dpkg -i rmr_4.9.0_amd64.deb 05:06:40 Selecting previously unselected package rmr. 05:06:42 (Reading database ... 198606 files and directories currently installed.) 05:06:42 Preparing to unpack rmr_4.9.0_amd64.deb ... 05:06:42 Unpacking rmr (4.9.0) ... 05:06:42 Setting up rmr (4.9.0) ... 05:06:42 + rm -f rmr_4.9.0_amd64.deb 05:06:42 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:42 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.0_amd64.deb/download.deb 05:06:43 2024-01-18 05:06:43 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1705554702&Signature=OTRM7C6Q3E7LhDAYdFHUXpe8FiStUyZ2d8vziJkqkczI7DIOBHsLf4FAoeYNJdxsdfsz-xkc4EiAd7HHDZ1mJjomLLPbG1FV3Bbl0yIh5f~OhkyspYxL8rkbiYmKCKxG9wDWp4nuBIcy6igN9KDnNosl-bKFX2cQpM6mL2Oa37OkSEOBLmNAvUBDNesRJVlYSVfZMGJXnK63ZiBb1M~~OdbGk-Py8waoOjayQ3PnuWKhhKPrTP8DOKE5j~LBnrqIu58F0aRBVmpXyXoqkt9M9g~njbdaK8iilf-vY5nPxcB8l5S3TuEfZaz0EuRRz7c7Y6ZcYhWhGcAXxrrwF9rFAA__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 05:06:43 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 05:06:43 Selecting previously unselected package rmr-dev. 05:06:43 (Reading database ... 198614 files and directories currently installed.) 05:06:43 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 05:06:43 Unpacking rmr-dev (4.9.0) ... 05:06:43 Setting up rmr-dev (4.9.0) ... 05:06:43 + rm -f rmr-dev_4.9.0_amd64.deb 05:06:43 + echo '---> install-deb-rmr.sh ends' 05:06:43 ---> install-deb-rmr.sh ends 05:06:43 [EnvInject] - Injecting environment variables from a build step. 05:06:43 [EnvInject] - Injecting as environment variables the properties content 05:06:43 PARALLEL=False 05:06:43 05:06:43 [EnvInject] - Variables injected successfully. 05:06:43 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9469192135900700184.sh 05:06:43 ---> tox-run.sh 05:06:43 + 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 05:06:43 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:43 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/docs 05:06:43 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:43 + cd /w/workspace/ric-app-qp-tox-sonarqube/. 05:06:43 + source /home/jenkins/lf-env.sh 05:06:43 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:43 ++ mktemp -d /tmp/venv-XXXX 05:06:43 + lf_venv=/tmp/venv-0N2c 05:06:43 + local venv_file=/tmp/.os_lf_venv 05:06:43 + local python=python3 05:06:43 + local options 05:06:43 + local set_path=true 05:06:43 + local install_args= 05:06:43 ++ 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 05:06:43 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:43 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:43 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:43 + true 05:06:43 + case $1 in 05:06:43 + venv_file=/tmp/.toxenv 05:06:43 + shift 2 05:06:43 + true 05:06:43 + case $1 in 05:06:43 + shift 05:06:43 + break 05:06:43 + case $python in 05:06:43 + local pkg_list= 05:06:43 + [[ -d /opt/pyenv ]] 05:06:43 + echo 'Setup pyenv:' 05:06:43 Setup pyenv: 05:06:43 + export PYENV_ROOT=/opt/pyenv 05:06:43 + PYENV_ROOT=/opt/pyenv 05:06:43 + 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 05:06:43 + 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 05:06:43 + pyenv versions 05:06:43 system 05:06:43 3.8.13 05:06:43 3.9.13 05:06:43 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:43 + command -v pyenv 05:06:43 ++ pyenv init - --no-rehash 05:06:43 + 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[*]}"'\'')" 05:06:43 export PATH="/opt/pyenv/shims:${PATH}" 05:06:43 export PYENV_SHELL=bash 05:06:43 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:43 pyenv() { 05:06:43 local command 05:06:43 command="${1:-}" 05:06:43 if [ "$#" -gt 0 ]; then 05:06:43 shift 05:06:43 fi 05:06:43 05:06:43 case "$command" in 05:06:43 rehash|shell) 05:06:43 eval "$(pyenv "sh-$command" "$@")" 05:06:43 ;; 05:06:43 *) 05:06:43 command pyenv "$command" "$@" 05:06:43 ;; 05:06:43 esac 05:06:43 }' 05:06:43 +++ 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[*]}"' 05:06:43 ++ 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 05:06:43 ++ 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 05:06:43 ++ 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 05:06:43 ++ export PYENV_SHELL=bash 05:06:43 ++ PYENV_SHELL=bash 05:06:43 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:43 +++ complete -F _pyenv pyenv 05:06:43 ++ lf-pyver python3 05:06:43 ++ local py_version_xy=python3 05:06:43 ++ local py_version_xyz= 05:06:43 ++ pyenv versions 05:06:43 ++ local command 05:06:43 ++ command=versions 05:06:43 ++ '[' 1 -gt 0 ']' 05:06:43 ++ shift 05:06:43 ++ case "$command" in 05:06:43 ++ command pyenv versions 05:06:43 ++ pyenv versions 05:06:43 ++ grep -E '^[0-9.]*[0-9]$' 05:06:43 ++ sed 's/^[ *]* //' 05:06:43 ++ awk '{ print $1 }' 05:06:43 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:43 +++ grep '^3' /tmp/.pyenv_versions 05:06:43 +++ sort -V 05:06:43 +++ tail -n 1 05:06:43 ++ py_version_xyz=3.10.6 05:06:43 ++ [[ -z 3.10.6 ]] 05:06:43 ++ echo 3.10.6 05:06:43 ++ return 0 05:06:43 + pyenv local 3.10.6 05:06:43 + local command 05:06:43 + command=local 05:06:43 + '[' 2 -gt 0 ']' 05:06:43 + shift 05:06:43 + case "$command" in 05:06:43 + command pyenv local 3.10.6 05:06:43 + pyenv local 3.10.6 05:06:43 + for arg in "$@" 05:06:43 + case $arg in 05:06:43 + pkg_list+='tox ' 05:06:43 + for arg in "$@" 05:06:43 + case $arg in 05:06:43 + pkg_list+='virtualenv ' 05:06:43 + for arg in "$@" 05:06:43 + case $arg in 05:06:43 + pkg_list+='urllib3~=1.26.15 ' 05:06:43 + [[ -f /tmp/.toxenv ]] 05:06:43 ++ cat /tmp/.toxenv 05:06:43 + lf_venv=/tmp/venv-bYVu 05:06:43 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bYVu from' file:/tmp/.toxenv 05:06:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bYVu from file:/tmp/.toxenv 05:06:43 + /tmp/venv-bYVu/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:44 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:44 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:44 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:44 + /tmp/venv-bYVu/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:46 + type python3 05:06:46 + true 05:06:46 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-bYVu/bin to PATH' 05:06:46 lf-activate-venv(): INFO: Adding /tmp/venv-bYVu/bin to PATH 05:06:46 + PATH=/tmp/venv-bYVu/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 05:06:46 + return 0 05:06:46 + [[ -d /opt/pyenv ]] 05:06:46 + echo '---> Setting up pyenv' 05:06:46 ---> Setting up pyenv 05:06:46 + export PYENV_ROOT=/opt/pyenv 05:06:46 + PYENV_ROOT=/opt/pyenv 05:06:46 + export PATH=/opt/pyenv/bin:/tmp/venv-bYVu/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 05:06:46 + PATH=/opt/pyenv/bin:/tmp/venv-bYVu/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 05:06:46 ++ pwd 05:06:46 + PYTHONPATH=/w/workspace/ric-app-qp-tox-sonarqube 05:06:46 + export PYTHONPATH 05:06:46 + export TOX_TESTENV_PASSENV=PYTHONPATH 05:06:46 + TOX_TESTENV_PASSENV=PYTHONPATH 05:06:46 + tox --version 05:06:46 4.12.1 from /tmp/venv-bYVu/lib/python3.10/site-packages/tox/__init__.py 05:06:46 + PARALLEL=False 05:06:46 + TOX_OPTIONS_LIST= 05:06:46 + [[ -n code,flake8 ]] 05:06:46 + TOX_OPTIONS_LIST=' -e code,flake8' 05:06:46 + case ${PARALLEL,,} in 05:06:46 + tox -e code,flake8 05:06:46 + tee -a /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/tox.log 05:06:47 code: install_deps> python -I -m pip install coverage pytest pytest-cov 05:06:50 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 05:06:52 .pkg: _optional_hooks> python /tmp/venv-bYVu/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:52 .pkg: get_requires_for_build_sdist> python /tmp/venv-bYVu/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:52 .pkg: get_requires_for_build_wheel> python /tmp/venv-bYVu/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:52 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 05:06:52 .pkg: freeze> python -m pip freeze --all 05:06:53 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 05:06:53 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-bYVu/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:53 .pkg: build_sdist> python /tmp/venv-bYVu/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:53 code: install_package_deps> python -I -m pip install influxdb joblib 'joblib>=0.3.2' 'mdclogpy<=1.1.1' pandas==1.5.3 ricxappframe==3.2.2 schedule scikit-learn 'statsmodels>=0.11.1' 05:07:22 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-qp-tox-sonarqube/.tox/.tmp/package/1/qp-0.0.5.tar.gz 05:07:23 code: freeze> python -m pip freeze --all 05:07:24 code: 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==1.5.3,patsy==0.5.6,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,qp==0.0.5,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.1,scikit-learn==1.3.2,scipy==1.11.4,setuptools==69.0.2,six==1.16.0,statsmodels==0.14.1,threadpoolctl==3.2.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.0 05:07:24 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 05:07:24 ============================= test session starts ============================== 05:07:24 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 -- /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/bin/python 05:07:24 cachedir: .tox/code/.pytest_cache 05:07:24 rootdir: /w/workspace/ric-app-qp-tox-sonarqube 05:07:24 plugins: cov-4.1.0 05:07:24 collecting ... collected 5 items 05:07:25 05:07:25 tests/test_qp.py::test_init_xapp PASSED [ 20%] 05:07:25 tests/test_qp.py::test_database_connection PASSED [ 40%] 05:07:25 tests/test_qp.py::test_training PASSED [ 60%] 05:07:27 tests/test_qp.py::test_predict PASSED [ 80%] 05:07:27 tests/test_qp.py::test_rmr_flow PASSED [100%] 05:08:08 05:08:08 =============================== warnings summary =============================== 05:08:08 tests/test_qp.py::test_training 05:08:08 /w/workspace/ric-app-qp-tox-sonarqube/src/qptrain.py:60: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead. 05:08:08 for name, column in df.iteritems(): 05:08:08 05:08:08 tests/test_qp.py: 20 warnings 05:08:08 /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pandas/core/indexes/multi.py:643: DeprecationWarning: `cumproduct` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `cumprod` instead. 05:08:08 codes = cartesian_product(codes) 05:08:08 05:08:08 tests/test_qp.py: 40 warnings 05:08:08 /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pandas/core/reshape/util.py:60: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead. 05:08:08 return [ 05:08:08 05:08:08 tests/test_qp.py::test_rmr_flow 05:08:08 /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-4 (loop) 05:08:08 05:08:08 Traceback (most recent call last): 05:08:08 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 05:08:08 self.run() 05:08:08 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 05:08:08 self._target(*self._args, **self._kwargs) 05:08:08 File "/w/workspace/ric-app-qp-tox-sonarqube/.tox/code/lib/python3.10/site-packages/ricxappframe/xapp_frame.py", line 961, in loop 05:08:08 func(self, summary, sbuf) 05:08:08 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 67, in qp_predict_handler 05:08:08 pred_msg = predict(summary[rmr.RMR_MS_PAYLOAD]) 05:08:08 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 99, in predict 05:08:08 ue_list = payload['UEPredictionSet'] 05:08:08 TypeError: string indices must be integers 05:08:08 05:08:08 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 05:08:08 05:08:08 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 05:08:08 05:08:08 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 05:08:08 Name Stmts Miss Cover Missing 05:08:08 ------------------------------------------------- 05:08:08 src/__init__.py 0 0 100% 05:08:08 src/database.py 107 48 55% 44-55, 59-73, 76-91, 94-99, 102-105, 145, 148, 151 05:08:08 src/exceptions.py 6 0 100% 05:08:08 src/main.py 84 28 67% 49-50, 57-59, 68-76, 104-118, 149, 152, 169 05:08:08 src/prediction.py 18 13 28% 27-40 05:08:08 src/qptrain.py 98 18 82% 41-43, 53, 63-64, 68-75, 115-116, 139-140 05:08:08 ------------------------------------------------- 05:08:08 TOTAL 313 107 66% 05:08:08 Coverage HTML written to dir htmlcov 05:08:08 Coverage XML written to file coverage.xml 05:08:08 05:08:08 Required test coverage of 60% reached. Total coverage: 65.81% 05:08:08 ======================= 5 passed, 62 warnings in 44.20s ======================== 05:08:08 code: commands[1]> coverage xml -i 05:08:09 Wrote XML report to coverage.xml 05:08:09 .pkg: _exit> python /tmp/venv-bYVu/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:08:09 code: OK ✔ in 1 minute 22.35 seconds 05:08:09 flake8: install_deps> python -I -m pip install flake8 05:08:13 flake8: freeze> python -m pip freeze --all 05:08:14 flake8: flake8==7.0.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.2.0,qp==0.0.5,setuptools==69.0.2,wheel==0.42.0 05:08:14 flake8: commands[0]> flake8 setup.py src tests 05:08:14 code: OK (82.35=setup[37.49]+cmd[44.73,0.14] seconds) 05:08:14 flake8: OK (5.51=setup[5.26]+cmd[0.25] seconds) 05:08:14 congratulations :) (88.02 seconds) 05:08:14 + tox_status=0 05:08:14 + echo '---> Completed tox runs' 05:08:14 ---> Completed tox runs 05:08:14 + for i in .tox/*/log 05:08:14 ++ awk -F/ '{print $2}' 05:08:14 ++ echo .tox/code/log 05:08:14 + tox_env=code 05:08:14 + cp -r .tox/code/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/code 05:08:14 + for i in .tox/*/log 05:08:14 ++ echo .tox/flake8/log 05:08:14 ++ awk -F/ '{print $2}' 05:08:14 + tox_env=flake8 05:08:14 + cp -r .tox/flake8/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/flake8 05:08:14 + DOC_DIR=docs/_build/html 05:08:14 + [[ -d docs/_build/html ]] 05:08:14 + echo '---> tox-run.sh ends' 05:08:14 ---> tox-run.sh ends 05:08:14 + test 0 -eq 0 05:08:14 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-4027 05:08:15 [ric-app-qp-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-qp -Dsonar.projectName=ric-app-qp -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=qp -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/ric-app-qp-tox-sonarqube 05:08:16 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 05:08:16 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:16 INFO: Project root configuration file: NONE 05:08:16 INFO: SonarScanner 4.6.2.2472 05:08:16 INFO: Java 11.0.18 Ubuntu (64-bit) 05:08:16 INFO: Linux 5.4.0-146-generic amd64 05:08:16 INFO: User cache: /home/jenkins/.sonar/cache 05:08:18 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:18 INFO: Project root configuration file: NONE 05:08:18 INFO: Analyzing on SonarCloud 05:08:18 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 05:08:19 INFO: Load global settings 05:08:19 INFO: Load global settings (done) | time=628ms 05:08:19 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 05:08:19 INFO: User cache: /home/jenkins/.sonar/cache 05:08:19 INFO: Loading required plugins 05:08:19 INFO: Load plugins index 05:08:20 INFO: Load plugins index (done) | time=625ms 05:08:20 INFO: Load/download plugins 05:08:23 INFO: Load/download plugins (done) | time=3175ms 05:08:24 INFO: Found an active CI vendor: 'Jenkins' 05:08:24 INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp' 05:08:24 INFO: Process project properties 05:08:24 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-qp 05:08:24 INFO: ------------------------------------------------------------------------ 05:08:24 INFO: EXECUTION FAILURE 05:08:24 INFO: ------------------------------------------------------------------------ 05:08:24 INFO: Total time: 8.581s 05:08:24 INFO: Final Memory: 7M/27M 05:08:24 INFO: ------------------------------------------------------------------------ 05:08:24 ERROR: Error during SonarScanner execution 05:08:24 ERROR: The folder 'qp' does not exist for 'o-ran-sc_ric-app-qp' (base directory = /w/workspace/ric-app-qp-tox-sonarqube) 05:08:24 ERROR: 05:08:24 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 05:08:25 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 05:08:25 $ ssh-agent -k 05:08:25 unset SSH_AUTH_SOCK; 05:08:25 unset SSH_AGENT_PID; 05:08:25 echo Agent pid 5924 killed; 05:08:25 [ssh-agent] Stopped. 05:08:25 ERROR: SonarQube scanner exited with non-zero code: 2 05:08:25 [PostBuildScript] - [INFO] Executing post build scripts. 05:08:25 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6564846143007776329.sh 05:08:25 ---> sysstat.sh 05:08:26 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins17843141347028422597.sh 05:08:26 ---> package-listing.sh 05:08:26 ++ facter osfamily 05:08:26 ++ tr '[:upper:]' '[:lower:]' 05:08:26 + OS_FAMILY=debian 05:08:26 + workspace=/w/workspace/ric-app-qp-tox-sonarqube 05:08:26 + START_PACKAGES=/tmp/packages_start.txt 05:08:26 + END_PACKAGES=/tmp/packages_end.txt 05:08:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:08:26 + PACKAGES=/tmp/packages_start.txt 05:08:26 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:26 + PACKAGES=/tmp/packages_end.txt 05:08:26 + case "${OS_FAMILY}" in 05:08:26 + dpkg -l 05:08:26 + grep '^ii' 05:08:26 + '[' -f /tmp/packages_start.txt ']' 05:08:26 + '[' -f /tmp/packages_end.txt ']' 05:08:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:08:26 + true 05:08:26 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:26 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:26 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins5860565205032874335.sh 05:08:26 ---> capture-instance-metadata.sh 05:08:26 Setup pyenv: 05:08:26 system 05:08:26 3.8.13 05:08:26 3.9.13 05:08:26 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9zzz from file:/tmp/.os_lf_venv 05:08:28 lf-activate-venv(): INFO: Installing: lftools 05:08:42 lf-activate-venv(): INFO: Adding /tmp/venv-9zzz/bin to PATH 05:08:42 INFO: Running in OpenStack, capturing instance metadata 05:08:43 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins15012574626761071770.sh 05:08:43 provisioning config files... 05:08:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-tox-sonarqube@tmp/config1735505846280975386tmp 05:08:43 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 05:08:43 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 05:08:43 [EnvInject] - Injecting environment variables from a build step. 05:08:43 [EnvInject] - Injecting as environment variables the properties content 05:08:43 SERVER_ID=logs 05:08:43 05:08:43 [EnvInject] - Variables injected successfully. 05:08:43 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins8275796803679494810.sh 05:08:43 ---> create-netrc.sh 05:08:43 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins14971008609832312247.sh 05:08:43 ---> python-tools-install.sh 05:08:43 Setup pyenv: 05:08:43 system 05:08:43 3.8.13 05:08:43 3.9.13 05:08:43 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9zzz from file:/tmp/.os_lf_venv 05:08:45 lf-activate-venv(): INFO: Installing: lftools 05:08:56 lf-activate-venv(): INFO: Adding /tmp/venv-9zzz/bin to PATH 05:08:56 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins10378381228427566557.sh 05:08:56 ---> sudo-logs.sh 05:08:56 Archiving 'sudo' log.. 05:08:56 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins10127641096224648767.sh 05:08:56 ---> job-cost.sh 05:08:56 Setup pyenv: 05:08:56 system 05:08:56 3.8.13 05:08:56 3.9.13 05:08:56 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9zzz from file:/tmp/.os_lf_venv 05:08:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:09:07 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. 05:09:07 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 05:09:07 lf-activate-venv(): INFO: Adding /tmp/venv-9zzz/bin to PATH 05:09:07 INFO: No Stack... 05:09:08 INFO: Retrieving Pricing Info for: v2-highcpu-2 05:09:08 INFO: Archiving Costs 05:09:08 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3642588536976073869.sh 05:09:08 ---> logs-deploy.sh 05:09:08 Setup pyenv: 05:09:08 system 05:09:08 3.8.13 05:09:08 3.9.13 05:09:08 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:09:08 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9zzz from file:/tmp/.os_lf_venv 05:09:09 lf-activate-venv(): INFO: Installing: lftools 05:09:22 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. 05:09:22 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 05:09:23 lf-activate-venv(): INFO: Adding /tmp/venv-9zzz/bin to PATH 05:09:23 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-tox-sonarqube/190 05:09:23 INFO: archiving workspace using pattern(s): -p **/*.log 05:09:29 Archives upload complete. 05:09:29 INFO: archiving logs to Nexus 05:09:30 ---> uname -a: 05:09:30 Linux prd-ubuntu1804-builder-2c-2g-4027 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 05:09:30 05:09:30 05:09:30 ---> lscpu: 05:09:30 Architecture: x86_64 05:09:30 CPU op-mode(s): 32-bit, 64-bit 05:09:30 Byte Order: Little Endian 05:09:30 Address sizes: 40 bits physical, 48 bits virtual 05:09:30 CPU(s): 2 05:09:30 On-line CPU(s) list: 0,1 05:09:30 Thread(s) per core: 1 05:09:30 Core(s) per socket: 1 05:09:30 Socket(s): 2 05:09:30 NUMA node(s): 1 05:09:30 Vendor ID: AuthenticAMD 05:09:30 CPU family: 23 05:09:30 Model: 49 05:09:30 Model name: AMD EPYC-Rome Processor 05:09:30 Stepping: 0 05:09:30 CPU MHz: 2800.022 05:09:30 BogoMIPS: 5600.04 05:09:30 Virtualization: AMD-V 05:09:30 Hypervisor vendor: KVM 05:09:30 Virtualization type: full 05:09:30 L1d cache: 64 KiB 05:09:30 L1i cache: 64 KiB 05:09:30 L2 cache: 1 MiB 05:09:30 L3 cache: 32 MiB 05:09:30 NUMA node0 CPU(s): 0,1 05:09:30 Vulnerability Itlb multihit: Not affected 05:09:30 Vulnerability L1tf: Not affected 05:09:30 Vulnerability Mds: Not affected 05:09:30 Vulnerability Meltdown: Not affected 05:09:30 Vulnerability Mmio stale data: Not affected 05:09:30 Vulnerability Retbleed: Vulnerable 05:09:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:09:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:09:30 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 05:09:30 Vulnerability Srbds: Not affected 05:09:30 Vulnerability Tsx async abort: Not affected 05:09:30 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 05:09:30 05:09:30 05:09:30 ---> nproc: 05:09:30 2 05:09:30 05:09:30 05:09:30 ---> df -h: 05:09:30 Filesystem Size Used Avail Use% Mounted on 05:09:30 udev 975M 0 975M 0% /dev 05:09:30 tmpfs 199M 1012K 198M 1% /run 05:09:30 /dev/vda1 20G 8.9G 11G 47% / 05:09:30 tmpfs 992M 0 992M 0% /dev/shm 05:09:30 tmpfs 5.0M 0 5.0M 0% /run/lock 05:09:30 tmpfs 992M 0 992M 0% /sys/fs/cgroup 05:09:30 /dev/loop0 44M 44M 0 100% /snap/snapd/15177 05:09:30 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 05:09:30 /dev/loop2 62M 62M 0 100% /snap/core20/1405 05:09:30 /dev/vda15 105M 6.1M 99M 6% /boot/efi 05:09:30 tmpfs 199M 0 199M 0% /run/user/1001 05:09:30 05:09:30 05:09:30 ---> free -m: 05:09:30 total used free shared buff/cache available 05:09:30 Mem: 1983 414 130 2 1438 1383 05:09:30 Swap: 1023 1 1022 05:09:30 05:09:30 05:09:30 ---> ip addr: 05:09:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:09:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:09:30 inet 127.0.0.1/8 scope host lo 05:09:30 valid_lft forever preferred_lft forever 05:09:30 inet6 ::1/128 scope host 05:09:30 valid_lft forever preferred_lft forever 05:09:30 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 05:09:30 link/ether fa:16:3e:b7:59:32 brd ff:ff:ff:ff:ff:ff 05:09:30 inet 10.32.6.132/23 brd 10.32.7.255 scope global dynamic ens3 05:09:30 valid_lft 86113sec preferred_lft 86113sec 05:09:30 inet6 fe80::f816:3eff:feb7:5932/64 scope link 05:09:30 valid_lft forever preferred_lft forever 05:09:30 05:09:30 05:09:30 ---> sar -b -r -n DEV: 05:09:30 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4027) 01/18/24 _x86_64_ (2 CPU) 05:09:30 05:09:30 05:04:45 LINUX RESTART (2 CPU) 05:09:30 05:09:30 05:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:09:30 05:06:02 223.35 122.47 100.88 0.00 3167.62 12479.23 0.00 05:09:30 05:07:01 109.15 27.50 81.65 0.00 942.19 15159.74 0.00 05:09:30 05:08:01 42.84 6.12 36.73 0.00 292.08 17876.09 0.00 05:09:30 05:09:01 60.37 33.83 26.55 0.00 1519.35 6206.03 0.00 05:09:30 Average: 108.94 47.57 61.37 0.00 1482.68 12921.00 0.00 05:09:30 05:09:30 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:09:30 05:06:02 135512 1395624 408680 20.13 53896 1286416 878112 28.52 487968 1217296 62692 05:09:30 05:07:01 89388 1378420 417100 20.54 68196 1284200 953696 30.97 513704 1212324 46356 05:09:30 05:08:01 128528 1326244 466680 22.98 75668 1175408 1241824 40.33 510164 1162340 1720 05:09:30 05:09:01 124352 1423780 367104 18.08 78324 1277696 840152 27.28 432776 1247240 40712 05:09:30 Average: 119445 1381017 414891 20.43 69021 1255930 978446 31.78 486153 1209800 37870 05:09:30 05:09:30 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:09:30 05:06:02 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 05:09:30 05:06:02 ens3 226.74 143.91 1204.30 58.73 0.00 0.00 0.00 0.00 05:09:30 05:07:01 lo 1.42 1.42 0.13 0.13 0.00 0.00 0.00 0.00 05:09:30 05:07:01 ens3 84.63 75.35 1187.42 9.73 0.00 0.00 0.00 0.00 05:09:30 05:08:01 lo 0.50 0.50 0.06 0.06 0.00 0.00 0.00 0.00 05:09:30 05:08:01 ens3 30.76 25.93 612.38 2.01 0.00 0.00 0.00 0.00 05:09:30 05:09:01 lo 1.18 1.18 0.11 0.11 0.00 0.00 0.00 0.00 05:09:30 05:09:01 ens3 368.81 242.53 2197.45 29.86 0.00 0.00 0.00 0.00 05:09:30 Average: lo 1.02 1.02 0.10 0.10 0.00 0.00 0.00 0.00 05:09:30 Average: ens3 178.12 122.12 1300.85 25.15 0.00 0.00 0.00 0.00 05:09:30 05:09:30 05:09:30 ---> sar -P ALL: 05:09:30 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4027) 01/18/24 _x86_64_ (2 CPU) 05:09:30 05:09:30 05:04:45 LINUX RESTART (2 CPU) 05:09:30 05:09:30 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:09:30 05:06:02 all 38.26 25.53 17.28 7.38 0.11 11.44 05:09:30 05:06:02 0 35.82 27.81 17.96 7.60 0.10 10.71 05:09:30 05:06:02 1 40.72 23.23 16.59 7.16 0.12 12.17 05:09:30 05:07:01 all 34.59 0.00 3.46 7.81 0.08 54.07 05:09:30 05:07:01 0 43.41 0.00 3.64 3.42 0.07 49.46 05:09:30 05:07:01 1 25.73 0.00 3.27 12.22 0.09 58.70 05:09:30 05:08:01 all 19.05 0.00 2.73 1.54 0.09 76.58 05:09:30 05:08:01 0 12.81 0.00 1.55 1.24 0.08 84.31 05:09:30 05:08:01 1 25.26 0.00 3.92 1.84 0.10 68.88 05:09:30 05:09:01 all 31.66 0.00 2.53 2.07 0.07 63.68 05:09:30 05:09:01 0 23.77 0.00 2.24 2.82 0.07 71.11 05:09:30 05:09:01 1 39.62 0.00 2.83 1.31 0.07 56.18 05:09:30 Average: all 30.87 6.36 6.49 4.68 0.09 51.52 05:09:30 Average: 0 28.90 6.94 6.34 3.77 0.08 53.97 05:09:30 Average: 1 32.84 5.78 6.64 5.60 0.09 49.05 05:09:30 05:09:30 05:09:30