05:05:00 Started by timer 05:05:00 Running as SYSTEM 05:05:00 [EnvInject] - Loading node environment variables. 05:05:00 Building remotely on prd-ubuntu1804-builder-2c-2g-482 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-app-qp-tox-sonarqube 05:05:00 [ssh-agent] Looking for ssh-agent implementation... 05:05:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:00 $ ssh-agent 05:05:00 SSH_AUTH_SOCK=/tmp/ssh-VvBo2mQgdwhV/agent.5910 05:05:00 SSH_AGENT_PID=5915 05:05:00 [ssh-agent] Started. 05:05:00 Running ssh-add (command line suppressed) 05:05:00 Identity added: /w/workspace/ric-app-qp-tox-sonarqube@tmp/private_key_7728693400231699846.key (jenkins-ssh) 05:05:00 [ssh-agent] Using credentials jenkins (jenkins) 05:05:00 The recommended git tool is: NONE 05:05:02 using credential jenkins 05:05:02 Wiping out workspace first. 05:05:02 Cloning the remote Git repository 05:05:03 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:05:03 > git init /w/workspace/ric-app-qp-tox-sonarqube # timeout=10 05:05:03 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:05:03 > git --version # timeout=10 05:05:03 > git --version # 'git version 2.25.1' 05:05:03 using GIT_SSH to set credentials jenkins 05:05:03 > 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:03 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp # timeout=10 05:05:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:04 Avoid second fetch 05:05:04 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 05:05:04 Checking out Revision 6b85eed29d60f343b0712d757c114bc6207ccdbe (refs/remotes/origin/master) 05:05:04 > git config core.sparsecheckout # timeout=10 05:05:04 > git checkout -f 6b85eed29d60f343b0712d757c114bc6207ccdbe # timeout=10 05:05:04 Commit message: "Release 0.0.6" 05:05:04 > git rev-list --no-walk 2cabb3bf5345a223f13482df7d1b5ccba34b3eda # timeout=10 05:05:04 provisioning config files... 05:05:04 copy managed file [npmrc] to file:/home/jenkins/.npmrc 05:05:04 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 05:05:04 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6463897871876319623.sh 05:05:04 ---> python-tools-install.sh 05:05:04 Setup pyenv: 05:05:04 * system (set by /opt/pyenv/version) 05:05:04 * 3.8.13 (set by /opt/pyenv/version) 05:05:04 * 3.9.13 (set by /opt/pyenv/version) 05:05:04 * 3.10.6 (set by /opt/pyenv/version) 05:05:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ro6m 05:05:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 05:05:13 lf-activate-venv(): INFO: Installing: lftools 05:05:51 lf-activate-venv(): INFO: Adding /tmp/venv-Ro6m/bin to PATH 05:05:51 Generating Requirements File 05:06:26 Python 3.10.6 05:06:27 pip 23.3.1 from /tmp/venv-Ro6m/lib/python3.10/site-packages/pip (python 3.10) 05:06:27 appdirs==1.4.4 05:06:27 argcomplete==3.2.1 05:06:27 aspy.yaml==1.3.0 05:06:27 attrs==23.1.0 05:06:27 autopage==0.5.2 05:06:27 Babel==2.14.0 05:06:27 beautifulsoup4==4.12.2 05:06:27 boto3==1.33.13 05:06:27 botocore==1.33.13 05:06:27 bs4==0.0.1 05:06:27 cachetools==5.3.2 05:06:27 certifi==2023.11.17 05:06:27 cffi==1.16.0 05:06:27 cfgv==3.4.0 05:06:27 chardet==5.2.0 05:06:27 charset-normalizer==3.3.2 05:06:27 click==8.1.7 05:06:27 cliff==4.4.0 05:06:27 cmd2==2.4.3 05:06:27 cryptography==3.3.2 05:06:27 debtcollector==2.5.0 05:06:27 decorator==5.1.1 05:06:27 defusedxml==0.7.1 05:06:27 Deprecated==1.2.14 05:06:27 distlib==0.3.8 05:06:27 dnspython==2.4.2 05:06:27 docker==4.2.2 05:06:27 dogpile.cache==1.2.2 05:06:27 email-validator==2.1.0.post1 05:06:27 filelock==3.13.1 05:06:27 future==0.18.3 05:06:27 gitdb==4.0.11 05:06:27 GitPython==3.1.40 05:06:27 google-auth==2.25.2 05:06:27 httplib2==0.22.0 05:06:27 identify==2.5.33 05:06:27 idna==3.6 05:06:27 importlib-metadata==7.0.0 05:06:27 importlib-resources==1.5.0 05:06:27 iso8601==2.1.0 05:06:27 Jinja2==3.1.2 05:06:27 jmespath==1.0.1 05:06:27 jsonpatch==1.33 05:06:27 jsonpointer==2.4 05:06:27 jsonschema==4.20.0 05:06:27 jsonschema-specifications==2023.11.2 05:06:27 keystoneauth1==5.4.0 05:06:27 kubernetes==28.1.0 05:06:27 lftools==0.37.8 05:06:27 lxml==4.9.3 05:06:27 MarkupSafe==2.1.3 05:06:27 msgpack==1.0.7 05:06:27 multi-key-dict==2.0.3 05:06:27 munch==4.0.0 05:06:27 netaddr==0.9.0 05:06:27 netifaces==0.11.0 05:06:27 niet==1.4.2 05:06:27 nodeenv==1.8.0 05:06:27 oauth2client==4.1.3 05:06:27 oauthlib==3.2.2 05:06:27 openstacksdk==0.62.0 05:06:27 os-client-config==2.1.0 05:06:27 os-service-types==1.7.0 05:06:27 osc-lib==2.9.0 05:06:27 oslo.config==9.2.0 05:06:27 oslo.context==5.3.0 05:06:27 oslo.i18n==6.2.0 05:06:27 oslo.log==5.4.0 05:06:27 oslo.serialization==5.2.0 05:06:27 oslo.utils==6.3.0 05:06:27 packaging==23.2 05:06:27 pbr==6.0.0 05:06:27 platformdirs==4.1.0 05:06:27 prettytable==3.9.0 05:06:27 pyasn1==0.5.1 05:06:27 pyasn1-modules==0.3.0 05:06:27 pycparser==2.21 05:06:27 pygerrit2==2.0.15 05:06:27 PyGithub==2.1.1 05:06:27 pyinotify==0.9.6 05:06:27 PyJWT==2.8.0 05:06:27 PyNaCl==1.5.0 05:06:27 pyparsing==2.4.7 05:06:27 pyperclip==1.8.2 05:06:27 pyrsistent==0.20.0 05:06:27 python-cinderclient==9.4.0 05:06:27 python-dateutil==2.8.2 05:06:27 python-heatclient==3.3.0 05:06:27 python-jenkins==1.8.2 05:06:27 python-keystoneclient==5.2.0 05:06:27 python-magnumclient==4.3.0 05:06:27 python-novaclient==18.4.0 05:06:27 python-openstackclient==6.0.0 05:06:27 python-swiftclient==4.4.0 05:06:27 pytz==2023.3.post1 05:06:27 PyYAML==6.0.1 05:06:27 referencing==0.32.0 05:06:27 requests==2.31.0 05:06:27 requests-oauthlib==1.3.1 05:06:27 requestsexceptions==1.4.0 05:06:27 rfc3986==2.0.0 05:06:27 rpds-py==0.13.2 05:06:27 rsa==4.9 05:06:27 ruamel.yaml==0.18.5 05:06:27 ruamel.yaml.clib==0.2.8 05:06:27 s3transfer==0.8.2 05:06:27 simplejson==3.19.2 05:06:27 six==1.16.0 05:06:27 smmap==5.0.1 05:06:27 soupsieve==2.5 05:06:27 stevedore==5.1.0 05:06:27 tabulate==0.9.0 05:06:27 toml==0.10.2 05:06:27 tomlkit==0.12.3 05:06:27 tqdm==4.66.1 05:06:27 typing_extensions==4.9.0 05:06:27 tzdata==2023.3 05:06:27 urllib3==1.26.18 05:06:27 virtualenv==20.25.0 05:06:27 wcwidth==0.2.12 05:06:27 websocket-client==1.7.0 05:06:27 wrapt==1.16.0 05:06:27 xdg==6.0.0 05:06:27 xmltodict==0.13.0 05:06:27 yq==3.2.3 05:06:27 zipp==3.17.0 05:06:27 [EnvInject] - Injecting environment variables from a build step. 05:06:27 [EnvInject] - Injecting as environment variables the properties content 05:06:27 PYTHON=python3 05:06:27 05:06:27 [EnvInject] - Variables injected successfully. 05:06:27 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9884387025222166832.sh 05:06:27 ---> tox-install.sh 05:06:27 + source /home/jenkins/lf-env.sh 05:06:27 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:27 ++ mktemp -d /tmp/venv-XXXX 05:06:27 + lf_venv=/tmp/venv-EzYS 05:06:27 + local venv_file=/tmp/.os_lf_venv 05:06:27 + local python=python3 05:06:27 + local options 05:06:27 + local set_path=true 05:06:27 + local install_args= 05:06:27 ++ 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:27 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:27 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:27 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:27 + true 05:06:27 + case $1 in 05:06:27 + venv_file=/tmp/.toxenv 05:06:27 + shift 2 05:06:27 + true 05:06:27 + case $1 in 05:06:27 + shift 05:06:27 + break 05:06:27 + case $python in 05:06:27 + local pkg_list= 05:06:27 + [[ -d /opt/pyenv ]] 05:06:27 + echo 'Setup pyenv:' 05:06:27 Setup pyenv: 05:06:27 + export PYENV_ROOT=/opt/pyenv 05:06:27 + PYENV_ROOT=/opt/pyenv 05:06:27 + 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:27 + 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:27 + pyenv versions 05:06:27 system 05:06:27 3.8.13 05:06:27 3.9.13 05:06:27 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:27 + command -v pyenv 05:06:27 ++ pyenv init - --no-rehash 05:06:27 + 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:27 export PATH="/opt/pyenv/shims:${PATH}" 05:06:27 export PYENV_SHELL=bash 05:06:27 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:27 pyenv() { 05:06:27 local command 05:06:27 command="${1:-}" 05:06:27 if [ "$#" -gt 0 ]; then 05:06:27 shift 05:06:27 fi 05:06:27 05:06:27 case "$command" in 05:06:27 rehash|shell) 05:06:27 eval "$(pyenv "sh-$command" "$@")" 05:06:27 ;; 05:06:27 *) 05:06:27 command pyenv "$command" "$@" 05:06:27 ;; 05:06:27 esac 05:06:27 }' 05:06:27 +++ 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:27 ++ 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:27 ++ 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:27 ++ 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:27 ++ export PYENV_SHELL=bash 05:06:27 ++ PYENV_SHELL=bash 05:06:27 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:27 +++ complete -F _pyenv pyenv 05:06:27 ++ lf-pyver python3 05:06:27 ++ local py_version_xy=python3 05:06:27 ++ local py_version_xyz= 05:06:27 ++ grep -E '^[0-9.]*[0-9]$' 05:06:27 ++ awk '{ print $1 }' 05:06:27 ++ sed 's/^[ *]* //' 05:06:27 ++ pyenv versions 05:06:27 ++ local command 05:06:27 ++ command=versions 05:06:27 ++ '[' 1 -gt 0 ']' 05:06:27 ++ shift 05:06:27 ++ case "$command" in 05:06:27 ++ command pyenv versions 05:06:27 ++ pyenv versions 05:06:27 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:27 +++ tail -n 1 05:06:27 +++ sort -V 05:06:27 +++ grep '^3' /tmp/.pyenv_versions 05:06:27 ++ py_version_xyz=3.10.6 05:06:27 ++ [[ -z 3.10.6 ]] 05:06:27 ++ echo 3.10.6 05:06:27 ++ return 0 05:06:27 + pyenv local 3.10.6 05:06:27 + local command 05:06:27 + command=local 05:06:27 + '[' 2 -gt 0 ']' 05:06:27 + shift 05:06:27 + case "$command" in 05:06:27 + command pyenv local 3.10.6 05:06:27 + pyenv local 3.10.6 05:06:27 + for arg in "$@" 05:06:27 + case $arg in 05:06:27 + pkg_list+='tox ' 05:06:27 + for arg in "$@" 05:06:27 + case $arg in 05:06:27 + pkg_list+='virtualenv ' 05:06:27 + for arg in "$@" 05:06:27 + case $arg in 05:06:27 + pkg_list+='urllib3~=1.26.15 ' 05:06:27 + [[ -f /tmp/.toxenv ]] 05:06:27 + [[ ! -f /tmp/.toxenv ]] 05:06:27 + [[ -n '' ]] 05:06:27 + python3 -m venv /tmp/venv-EzYS 05:06:31 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EzYS' 05:06:31 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EzYS 05:06:31 + echo /tmp/venv-EzYS 05:06:31 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 05:06:31 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 05:06:31 + /tmp/venv-EzYS/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:34 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:34 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:34 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:34 + /tmp/venv-EzYS/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:37 + type python3 05:06:37 + true 05:06:37 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-EzYS/bin to PATH' 05:06:37 lf-activate-venv(): INFO: Adding /tmp/venv-EzYS/bin to PATH 05:06:37 + PATH=/tmp/venv-EzYS/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:37 + return 0 05:06:37 + python3 --version 05:06:37 Python 3.10.6 05:06:37 + python3 -m pip --version 05:06:37 pip 23.3.1 from /tmp/venv-EzYS/lib/python3.10/site-packages/pip (python 3.10) 05:06:37 + python3 -m pip freeze 05:06:38 cachetools==5.3.2 05:06:38 chardet==5.2.0 05:06:38 colorama==0.4.6 05:06:38 distlib==0.3.8 05:06:38 filelock==3.13.1 05:06:38 packaging==23.2 05:06:38 platformdirs==4.1.0 05:06:38 pluggy==1.3.0 05:06:38 pyproject-api==1.6.1 05:06:38 tomli==2.0.1 05:06:38 tox==4.11.4 05:06:38 urllib3==1.26.18 05:06:38 virtualenv==20.25.0 05:06:38 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins3131654203690747970.sh 05:06:38 ---> install-deb-rmr.sh 05:06:38 + version_file=rmr-version.yaml 05:06:38 + [[ -f rmr-version.yaml ]] 05:06:38 ++ grep '^repo:' rmr-version.yaml 05:06:38 ++ cut -d: -f2 05:06:38 ++ xargs 05:06:38 + repo= 05:06:38 ++ xargs 05:06:38 ++ cut -d: -f2 05:06:38 ++ grep '^version:' rmr-version.yaml 05:06:38 + ver=4.9.0 05:06:38 + [[ -z 4.9.0 ]] 05:06:38 + repo=release 05:06:38 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:38 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 05:06:38 2023-12-14 05:06:38 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1702530698&Signature=oWWRmflpXJduvfKKHIQZVC4cLj6iq~Rjh9KILmqS3GFzZH-ZwlyF9AZ080lJapZ4C6ne5sv6jZD-oZ8w3ZeEXn3XF~ZC8BqTXSSdePDf9jxVtPeaPU6Ctm8UlfepaCQlB5yBGwJ8eXLy5B-SevpLSxUfwjxKlXOFIu-OKy6RH~EhEAVwd1IU6Wetq6p5iVgIajTghKzMwgw4QZI1Z0v6EUyEdUQubBQYmDFj2TpBHko0wA4iLkHPjtAQ1qGuBxwUOujZ2v5jzf-dpQssbviAnRPQOf-HNWde2SDEAK32iAVeSHrW6mMpA4dlYoP9wmlVuMcODLqgUtUIjke0iaOXTg__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 05:06:38 + sudo dpkg -i rmr_4.9.0_amd64.deb 05:06:38 Selecting previously unselected package rmr. 05:06:40 (Reading database ... 198606 files and directories currently installed.) 05:06:40 Preparing to unpack rmr_4.9.0_amd64.deb ... 05:06:40 Unpacking rmr (4.9.0) ... 05:06:40 Setting up rmr (4.9.0) ... 05:06:40 + rm -f rmr_4.9.0_amd64.deb 05:06:40 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:40 + 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:40 2023-12-14 05:06:40 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1702530700&Signature=FNqiG81qw7NELEDw67L0xCLz3luYfYGYTmem4-8S1w48ezXU8kzQT8j18Ni~F5al8APkEcMeOMRW6HYICZqR2gue02n~7hpYNFX8L7v~uB655mnbpJFQKyoidP0JnmOKbBO8lda5yU8SqMIUOqpYtLpAsCYRXAK9-bEZlUqvMDj~4r2XSJk6DL800mx7wBtVVTBwUQJlCqAnbcOyjCdB4o6fKYJoY9fnY0~wwUJFyOmSNcJYrk8R1kWBDXCzrOvvhE0mf0y8YtxhpfAUqw~NEE6z7F1glcsCasNr0NIxfQGnwKOOcN6IxHCvH-42NGTlSpW6ePEU9iTGVc-t8xHnNw__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 05:06:40 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 05:06:40 Selecting previously unselected package rmr-dev. 05:06:40 (Reading database ... 198614 files and directories currently installed.) 05:06:40 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 05:06:40 Unpacking rmr-dev (4.9.0) ... 05:06:40 Setting up rmr-dev (4.9.0) ... 05:06:40 + rm -f rmr-dev_4.9.0_amd64.deb 05:06:40 + echo '---> install-deb-rmr.sh ends' 05:06:40 ---> install-deb-rmr.sh ends 05:06:40 [EnvInject] - Injecting environment variables from a build step. 05:06:40 [EnvInject] - Injecting as environment variables the properties content 05:06:40 PARALLEL=False 05:06:40 05:06:40 [EnvInject] - Variables injected successfully. 05:06:40 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5675424573959209482.sh 05:06:40 ---> tox-run.sh 05:06:40 + 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:40 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:40 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/docs 05:06:40 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:40 + cd /w/workspace/ric-app-qp-tox-sonarqube/. 05:06:40 + source /home/jenkins/lf-env.sh 05:06:40 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:40 ++ mktemp -d /tmp/venv-XXXX 05:06:40 + lf_venv=/tmp/venv-eOsb 05:06:40 + local venv_file=/tmp/.os_lf_venv 05:06:40 + local python=python3 05:06:40 + local options 05:06:40 + local set_path=true 05:06:40 + local install_args= 05:06:40 ++ 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:40 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:40 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:40 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:40 + true 05:06:40 + case $1 in 05:06:40 + venv_file=/tmp/.toxenv 05:06:40 + shift 2 05:06:40 + true 05:06:40 + case $1 in 05:06:40 + shift 05:06:40 + break 05:06:40 + case $python in 05:06:40 + local pkg_list= 05:06:40 + [[ -d /opt/pyenv ]] 05:06:40 + echo 'Setup pyenv:' 05:06:40 Setup pyenv: 05:06:40 + export PYENV_ROOT=/opt/pyenv 05:06:40 + PYENV_ROOT=/opt/pyenv 05:06:40 + 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:40 + 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:40 + pyenv versions 05:06:40 system 05:06:40 3.8.13 05:06:40 3.9.13 05:06:40 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:40 + command -v pyenv 05:06:40 ++ pyenv init - --no-rehash 05:06:40 + 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:40 export PATH="/opt/pyenv/shims:${PATH}" 05:06:40 export PYENV_SHELL=bash 05:06:40 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:40 pyenv() { 05:06:40 local command 05:06:40 command="${1:-}" 05:06:40 if [ "$#" -gt 0 ]; then 05:06:40 shift 05:06:40 fi 05:06:40 05:06:40 case "$command" in 05:06:40 rehash|shell) 05:06:40 eval "$(pyenv "sh-$command" "$@")" 05:06:40 ;; 05:06:40 *) 05:06:40 command pyenv "$command" "$@" 05:06:40 ;; 05:06:40 esac 05:06:40 }' 05:06:40 +++ 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:40 ++ 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:40 ++ 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:40 ++ 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:40 ++ export PYENV_SHELL=bash 05:06:40 ++ PYENV_SHELL=bash 05:06:40 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:40 +++ complete -F _pyenv pyenv 05:06:40 ++ lf-pyver python3 05:06:40 ++ local py_version_xy=python3 05:06:40 ++ local py_version_xyz= 05:06:40 ++ grep -E '^[0-9.]*[0-9]$' 05:06:40 ++ awk '{ print $1 }' 05:06:40 ++ sed 's/^[ *]* //' 05:06:40 ++ pyenv versions 05:06:40 ++ local command 05:06:40 ++ command=versions 05:06:40 ++ '[' 1 -gt 0 ']' 05:06:40 ++ shift 05:06:40 ++ case "$command" in 05:06:40 ++ command pyenv versions 05:06:40 ++ pyenv versions 05:06:40 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:40 +++ tail -n 1 05:06:40 +++ sort -V 05:06:40 +++ grep '^3' /tmp/.pyenv_versions 05:06:40 ++ py_version_xyz=3.10.6 05:06:40 ++ [[ -z 3.10.6 ]] 05:06:40 ++ echo 3.10.6 05:06:40 ++ return 0 05:06:40 + pyenv local 3.10.6 05:06:40 + local command 05:06:40 + command=local 05:06:40 + '[' 2 -gt 0 ']' 05:06:40 + shift 05:06:40 + case "$command" in 05:06:40 + command pyenv local 3.10.6 05:06:40 + pyenv local 3.10.6 05:06:40 + for arg in "$@" 05:06:40 + case $arg in 05:06:40 + pkg_list+='tox ' 05:06:40 + for arg in "$@" 05:06:40 + case $arg in 05:06:40 + pkg_list+='virtualenv ' 05:06:40 + for arg in "$@" 05:06:40 + case $arg in 05:06:40 + pkg_list+='urllib3~=1.26.15 ' 05:06:40 + [[ -f /tmp/.toxenv ]] 05:06:40 ++ cat /tmp/.toxenv 05:06:40 + lf_venv=/tmp/venv-EzYS 05:06:40 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-EzYS from' file:/tmp/.toxenv 05:06:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-EzYS from file:/tmp/.toxenv 05:06:40 + /tmp/venv-EzYS/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:41 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:41 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:41 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:41 + /tmp/venv-EzYS/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:43 + type python3 05:06:43 + true 05:06:43 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-EzYS/bin to PATH' 05:06:43 lf-activate-venv(): INFO: Adding /tmp/venv-EzYS/bin to PATH 05:06:43 + PATH=/tmp/venv-EzYS/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:43 + return 0 05:06:43 + [[ -d /opt/pyenv ]] 05:06:43 + echo '---> Setting up pyenv' 05:06:43 ---> Setting up pyenv 05:06:43 + export PYENV_ROOT=/opt/pyenv 05:06:43 + PYENV_ROOT=/opt/pyenv 05:06:43 + export PATH=/opt/pyenv/bin:/tmp/venv-EzYS/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:43 + PATH=/opt/pyenv/bin:/tmp/venv-EzYS/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:43 ++ pwd 05:06:43 + PYTHONPATH=/w/workspace/ric-app-qp-tox-sonarqube 05:06:43 + export PYTHONPATH 05:06:43 + export TOX_TESTENV_PASSENV=PYTHONPATH 05:06:43 + TOX_TESTENV_PASSENV=PYTHONPATH 05:06:43 + tox --version 05:06:43 4.11.4 from /tmp/venv-EzYS/lib/python3.10/site-packages/tox/__init__.py 05:06:43 + PARALLEL=False 05:06:43 + TOX_OPTIONS_LIST= 05:06:43 + [[ -n code,flake8 ]] 05:06:43 + TOX_OPTIONS_LIST=' -e code,flake8' 05:06:43 + case ${PARALLEL,,} in 05:06:43 + tee -a /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/tox.log 05:06:43 + tox -e code,flake8 05:06:44 code: install_deps> python -I -m pip install coverage pytest pytest-cov 05:06:48 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 05:06:49 .pkg: _optional_hooks> python /tmp/venv-EzYS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:49 .pkg: get_requires_for_build_sdist> python /tmp/venv-EzYS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:49 .pkg: get_requires_for_build_wheel> python /tmp/venv-EzYS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:49 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 05:06:50 .pkg: freeze> python -m pip freeze --all 05:06:50 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 05:06:50 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-EzYS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:50 .pkg: build_sdist> python /tmp/venv-EzYS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:50 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:17 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:18 code: freeze> python -m pip freeze --all 05:07:19 code: async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.3.2,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.2,packaging==23.2,pandas==1.5.3,patsy==0.5.4,pip==23.3.1,pluggy==1.3.0,protobuf==3.20.3,pytest==7.4.3,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.0,threadpoolctl==3.2.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.0 05:07:19 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 05:07:19 ============================= test session starts ============================== 05:07:19 platform linux -- Python 3.10.6, pytest-7.4.3, pluggy-1.3.0 -- /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/bin/python 05:07:19 cachedir: .tox/code/.pytest_cache 05:07:19 rootdir: /w/workspace/ric-app-qp-tox-sonarqube 05:07:19 plugins: cov-4.1.0 05:07:19 collecting ... collected 5 items 05:07:20 05:07:21 tests/test_qp.py::test_init_xapp PASSED [ 20%] 05:07:21 tests/test_qp.py::test_database_connection PASSED [ 40%] 05:07:21 tests/test_qp.py::test_training PASSED [ 60%] 05:07:22 tests/test_qp.py::test_predict PASSED [ 80%] 05:07:22 tests/test_qp.py::test_rmr_flow PASSED [100%] 05:08:04 05:08:04 =============================== warnings summary =============================== 05:08:04 tests/test_qp.py::test_training 05:08:04 /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:04 for name, column in df.iteritems(): 05:08:04 05:08:04 tests/test_qp.py: 20 warnings 05:08:04 /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:04 codes = cartesian_product(codes) 05:08:04 05:08:04 tests/test_qp.py: 40 warnings 05:08:04 /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:04 return [ 05:08:04 05:08:04 tests/test_qp.py::test_rmr_flow 05:08:04 /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:04 05:08:04 Traceback (most recent call last): 05:08:04 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 05:08:04 self.run() 05:08:04 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 05:08:04 self._target(*self._args, **self._kwargs) 05:08:04 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:04 func(self, summary, sbuf) 05:08:04 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 67, in qp_predict_handler 05:08:04 pred_msg = predict(summary[rmr.RMR_MS_PAYLOAD]) 05:08:04 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 99, in predict 05:08:04 ue_list = payload['UEPredictionSet'] 05:08:04 TypeError: string indices must be integers 05:08:04 05:08:04 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 05:08:04 05:08:04 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 05:08:04 05:08:04 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 05:08:04 Name Stmts Miss Cover Missing 05:08:04 ------------------------------------------------- 05:08:04 src/__init__.py 0 0 100% 05:08:04 src/database.py 107 48 55% 44-55, 59-73, 76-91, 94-99, 102-105, 145, 148, 151 05:08:04 src/exceptions.py 6 0 100% 05:08:04 src/main.py 84 28 67% 49-50, 57-59, 68-76, 104-118, 149, 152, 169 05:08:04 src/prediction.py 18 13 28% 27-40 05:08:04 src/qptrain.py 98 18 82% 41-43, 53, 63-64, 68-75, 115-116, 139-140 05:08:04 ------------------------------------------------- 05:08:04 TOTAL 313 107 66% 05:08:04 Coverage HTML written to dir htmlcov 05:08:04 Coverage XML written to file coverage.xml 05:08:04 05:08:04 Required test coverage of 60% reached. Total coverage: 65.81% 05:08:04 ======================= 5 passed, 62 warnings in 44.34s ======================== 05:08:04 code: commands[1]> coverage xml -i 05:08:04 Wrote XML report to coverage.xml 05:08:04 .pkg: _exit> python /tmp/venv-EzYS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:08:04 code: OK ✔ in 1 minute 20.25 seconds 05:08:04 flake8: install_deps> python -I -m pip install flake8 05:08:06 flake8: freeze> python -m pip freeze --all 05:08:06 flake8: flake8==6.1.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.1.0,qp==0.0.5,setuptools==69.0.2,wheel==0.42.0 05:08:06 flake8: commands[0]> flake8 setup.py src tests 05:08:06 code: OK (80.25=setup[35.25]+cmd[44.86,0.14] seconds) 05:08:06 flake8: OK (2.57=setup[2.34]+cmd[0.24] seconds) 05:08:06 congratulations :) (82.98 seconds) 05:08:06 + tox_status=0 05:08:06 + echo '---> Completed tox runs' 05:08:06 ---> Completed tox runs 05:08:06 + for i in .tox/*/log 05:08:06 ++ echo .tox/code/log 05:08:06 ++ awk -F/ '{print $2}' 05:08:06 + tox_env=code 05:08:06 + cp -r .tox/code/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/code 05:08:06 + for i in .tox/*/log 05:08:06 ++ echo .tox/flake8/log 05:08:06 ++ awk -F/ '{print $2}' 05:08:06 + tox_env=flake8 05:08:06 + cp -r .tox/flake8/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/flake8 05:08:06 + DOC_DIR=docs/_build/html 05:08:06 + [[ -d docs/_build/html ]] 05:08:06 + echo '---> tox-run.sh ends' 05:08:06 ---> tox-run.sh ends 05:08:06 + test 0 -eq 0 05:08:07 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-482 05:08:07 [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:08 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 05:08:08 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:08 INFO: Project root configuration file: NONE 05:08:08 INFO: SonarScanner 4.6.2.2472 05:08:08 INFO: Java 11.0.18 Ubuntu (64-bit) 05:08:08 INFO: Linux 5.4.0-146-generic amd64 05:08:08 INFO: User cache: /home/jenkins/.sonar/cache 05:08:10 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:10 INFO: Project root configuration file: NONE 05:08:10 INFO: Analyzing on SonarCloud 05:08:10 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 05:08:10 INFO: Load global settings 05:08:11 INFO: Load global settings (done) | time=628ms 05:08:11 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 05:08:11 INFO: User cache: /home/jenkins/.sonar/cache 05:08:11 INFO: Loading required plugins 05:08:11 INFO: Load plugins index 05:08:11 INFO: Load plugins index (done) | time=286ms 05:08:11 INFO: Load/download plugins 05:08:13 INFO: Load/download plugins (done) | time=1597ms 05:08:14 INFO: Found an active CI vendor: 'Jenkins' 05:08:14 INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp' 05:08:14 INFO: Process project properties 05:08:14 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-qp 05:08:14 INFO: ------------------------------------------------------------------------ 05:08:14 INFO: EXECUTION FAILURE 05:08:14 INFO: ------------------------------------------------------------------------ 05:08:14 INFO: Total time: 6.241s 05:08:14 INFO: Final Memory: 7M/27M 05:08:14 INFO: ------------------------------------------------------------------------ 05:08:14 ERROR: Error during SonarScanner execution 05:08:14 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:14 ERROR: 05:08:14 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 05:08:15 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 05:08:15 $ ssh-agent -k 05:08:15 unset SSH_AUTH_SOCK; 05:08:15 unset SSH_AGENT_PID; 05:08:15 echo Agent pid 5915 killed; 05:08:15 [ssh-agent] Stopped. 05:08:15 ERROR: SonarQube scanner exited with non-zero code: 2 05:08:15 [PostBuildScript] - [INFO] Executing post build scripts. 05:08:15 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins12698758806214409857.sh 05:08:15 ---> sysstat.sh 05:08:15 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins10103186412264343737.sh 05:08:15 ---> package-listing.sh 05:08:15 ++ tr '[:upper:]' '[:lower:]' 05:08:15 ++ facter osfamily 05:08:16 + OS_FAMILY=debian 05:08:16 + workspace=/w/workspace/ric-app-qp-tox-sonarqube 05:08:16 + START_PACKAGES=/tmp/packages_start.txt 05:08:16 + END_PACKAGES=/tmp/packages_end.txt 05:08:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:08:16 + PACKAGES=/tmp/packages_start.txt 05:08:16 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:16 + PACKAGES=/tmp/packages_end.txt 05:08:16 + case "${OS_FAMILY}" in 05:08:16 + grep '^ii' 05:08:16 + dpkg -l 05:08:16 + '[' -f /tmp/packages_start.txt ']' 05:08:16 + '[' -f /tmp/packages_end.txt ']' 05:08:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:08:16 + true 05:08:16 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:16 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:16 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins3603460921307145174.sh 05:08:16 ---> capture-instance-metadata.sh 05:08:16 Setup pyenv: 05:08:16 system 05:08:16 3.8.13 05:08:16 3.9.13 05:08:16 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ro6m from file:/tmp/.os_lf_venv 05:08:17 lf-activate-venv(): INFO: Installing: lftools 05:08:32 lf-activate-venv(): INFO: Adding /tmp/venv-Ro6m/bin to PATH 05:08:32 INFO: Running in OpenStack, capturing instance metadata 05:08:32 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins4071404977684664433.sh 05:08:32 provisioning config files... 05:08:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-tox-sonarqube@tmp/config10678125614306984212tmp 05:08:32 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 05:08:32 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 05:08:32 [EnvInject] - Injecting environment variables from a build step. 05:08:32 [EnvInject] - Injecting as environment variables the properties content 05:08:32 SERVER_ID=logs 05:08:32 05:08:32 [EnvInject] - Variables injected successfully. 05:08:32 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6563251178499863775.sh 05:08:32 ---> create-netrc.sh 05:08:32 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins11869427441634536459.sh 05:08:32 ---> python-tools-install.sh 05:08:32 Setup pyenv: 05:08:32 system 05:08:32 3.8.13 05:08:32 3.9.13 05:08:33 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ro6m from file:/tmp/.os_lf_venv 05:08:34 lf-activate-venv(): INFO: Installing: lftools 05:08:45 lf-activate-venv(): INFO: Adding /tmp/venv-Ro6m/bin to PATH 05:08:45 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins2349497243668946127.sh 05:08:45 ---> sudo-logs.sh 05:08:45 Archiving 'sudo' log.. 05:08:45 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins2940032778362676692.sh 05:08:45 ---> job-cost.sh 05:08:45 Setup pyenv: 05:08:45 system 05:08:45 3.8.13 05:08:45 3.9.13 05:08:45 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:45 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ro6m from file:/tmp/.os_lf_venv 05:08:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:08:56 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:08:56 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 05:08:56 lf-activate-venv(): INFO: Adding /tmp/venv-Ro6m/bin to PATH 05:08:56 INFO: No Stack... 05:08:57 INFO: Retrieving Pricing Info for: v2-highcpu-2 05:08:57 INFO: Archiving Costs 05:08:57 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10429216336383669257.sh 05:08:57 ---> logs-deploy.sh 05:08:57 Setup pyenv: 05:08:57 system 05:08:57 3.8.13 05:08:57 3.9.13 05:08:57 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:57 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ro6m from file:/tmp/.os_lf_venv 05:08:58 lf-activate-venv(): INFO: Installing: lftools 05:09:11 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:11 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 05:09:12 lf-activate-venv(): INFO: Adding /tmp/venv-Ro6m/bin to PATH 05:09:12 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-tox-sonarqube/185 05:09:12 INFO: archiving workspace using pattern(s): -p **/*.log 05:09:14 Archives upload complete. 05:09:14 INFO: archiving logs to Nexus 05:09:15 ---> uname -a: 05:09:15 Linux prd-ubuntu1804-builder-2c-2g-482 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:15 05:09:15 05:09:15 ---> lscpu: 05:09:15 Architecture: x86_64 05:09:15 CPU op-mode(s): 32-bit, 64-bit 05:09:15 Byte Order: Little Endian 05:09:15 Address sizes: 40 bits physical, 48 bits virtual 05:09:15 CPU(s): 2 05:09:15 On-line CPU(s) list: 0,1 05:09:15 Thread(s) per core: 1 05:09:15 Core(s) per socket: 1 05:09:15 Socket(s): 2 05:09:15 NUMA node(s): 1 05:09:15 Vendor ID: AuthenticAMD 05:09:15 CPU family: 23 05:09:15 Model: 49 05:09:15 Model name: AMD EPYC-Rome Processor 05:09:15 Stepping: 0 05:09:15 CPU MHz: 2799.870 05:09:15 BogoMIPS: 5599.74 05:09:15 Virtualization: AMD-V 05:09:15 Hypervisor vendor: KVM 05:09:15 Virtualization type: full 05:09:15 L1d cache: 64 KiB 05:09:15 L1i cache: 64 KiB 05:09:15 L2 cache: 1 MiB 05:09:15 L3 cache: 32 MiB 05:09:15 NUMA node0 CPU(s): 0,1 05:09:15 Vulnerability Itlb multihit: Not affected 05:09:15 Vulnerability L1tf: Not affected 05:09:15 Vulnerability Mds: Not affected 05:09:15 Vulnerability Meltdown: Not affected 05:09:15 Vulnerability Mmio stale data: Not affected 05:09:15 Vulnerability Retbleed: Vulnerable 05:09:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:09:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:09:15 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 05:09:15 Vulnerability Srbds: Not affected 05:09:15 Vulnerability Tsx async abort: Not affected 05:09:15 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:15 05:09:15 05:09:15 ---> nproc: 05:09:15 2 05:09:15 05:09:15 05:09:15 ---> df -h: 05:09:15 Filesystem Size Used Avail Use% Mounted on 05:09:15 udev 975M 0 975M 0% /dev 05:09:15 tmpfs 199M 1012K 198M 1% /run 05:09:15 /dev/vda1 20G 9.0G 11G 47% / 05:09:15 tmpfs 992M 0 992M 0% /dev/shm 05:09:15 tmpfs 5.0M 0 5.0M 0% /run/lock 05:09:15 tmpfs 992M 0 992M 0% /sys/fs/cgroup 05:09:15 /dev/loop0 62M 62M 0 100% /snap/core20/1405 05:09:15 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 05:09:15 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 05:09:15 /dev/vda15 105M 6.1M 99M 6% /boot/efi 05:09:15 tmpfs 199M 0 199M 0% /run/user/1001 05:09:15 05:09:15 05:09:15 ---> free -m: 05:09:15 total used free shared buff/cache available 05:09:15 Mem: 1983 438 122 2 1422 1355 05:09:15 Swap: 1023 0 1023 05:09:15 05:09:15 05:09:15 ---> ip addr: 05:09:15 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:09:15 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:09:15 inet 127.0.0.1/8 scope host lo 05:09:15 valid_lft forever preferred_lft forever 05:09:15 inet6 ::1/128 scope host 05:09:15 valid_lft forever preferred_lft forever 05:09:15 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 05:09:15 link/ether fa:16:3e:bd:5b:f6 brd ff:ff:ff:ff:ff:ff 05:09:15 inet 10.32.7.219/23 brd 10.32.7.255 scope global dynamic ens3 05:09:15 valid_lft 86124sec preferred_lft 86124sec 05:09:15 inet6 fe80::f816:3eff:febd:5bf6/64 scope link 05:09:15 valid_lft forever preferred_lft forever 05:09:15 05:09:15 05:09:15 ---> sar -b -r -n DEV: 05:09:15 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-482) 12/14/23 _x86_64_ (2 CPU) 05:09:15 05:09:15 05:04:42 LINUX RESTART (2 CPU) 05:09:15 05:09:15 05:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:09:15 05:06:01 214.71 113.38 101.33 0.00 2882.83 10533.02 0.00 05:09:15 05:07:01 129.83 31.23 98.60 0.00 1126.35 20884.25 0.00 05:09:15 05:08:01 31.63 1.52 30.11 0.00 108.38 15664.86 0.00 05:09:15 05:09:01 60.24 28.76 31.48 0.00 1392.30 6428.53 0.00 05:09:15 Average: 109.11 43.73 65.38 0.00 1377.59 13377.43 0.00 05:09:15 05:09:15 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:09:15 05:06:01 162452 1436788 356228 17.54 56496 1304248 824816 26.79 450684 1222792 139936 05:09:15 05:07:01 122636 1368924 417668 20.57 70356 1245224 951768 30.91 509004 1181132 66852 05:09:15 05:08:01 154372 1324236 461072 22.71 76424 1154096 1228568 39.90 509880 1136496 364 05:09:15 05:09:01 115100 1399288 386380 19.03 79820 1263972 849244 27.58 454872 1232492 49160 05:09:15 Average: 138640 1382309 405337 19.96 70774 1241885 963599 31.29 481110 1193228 64078 05:09:15 05:09:15 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:09:15 05:06:01 ens3 104.75 83.42 866.09 27.27 0.00 0.00 0.00 0.00 05:09:15 05:06:01 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 05:09:15 05:07:01 ens3 111.28 97.25 1946.51 11.40 0.00 0.00 0.00 0.00 05:09:15 05:07:01 lo 1.40 1.40 0.13 0.13 0.00 0.00 0.00 0.00 05:09:15 05:08:01 ens3 0.97 1.17 0.16 0.19 0.00 0.00 0.00 0.00 05:09:15 05:08:01 lo 0.50 0.50 0.06 0.06 0.00 0.00 0.00 0.00 05:09:15 05:09:01 ens3 290.77 192.53 2095.91 26.58 0.00 0.00 0.00 0.00 05:09:15 05:09:01 lo 1.38 1.38 0.13 0.13 0.00 0.00 0.00 0.00 05:09:15 Average: ens3 126.94 93.59 1227.14 16.36 0.00 0.00 0.00 0.00 05:09:15 Average: lo 1.05 1.05 0.10 0.10 0.00 0.00 0.00 0.00 05:09:15 05:09:15 05:09:15 ---> sar -P ALL: 05:09:15 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-482) 12/14/23 _x86_64_ (2 CPU) 05:09:15 05:09:15 05:04:42 LINUX RESTART (2 CPU) 05:09:15 05:09:15 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:09:15 05:06:01 all 38.42 23.75 18.07 7.19 0.13 12.45 05:09:15 05:06:01 0 35.98 24.38 18.88 7.62 0.13 13.01 05:09:15 05:06:01 1 40.87 23.11 17.25 6.75 0.12 11.89 05:09:15 05:07:01 all 36.86 0.00 3.64 9.82 0.10 49.59 05:09:15 05:07:01 0 36.71 0.00 3.81 5.38 0.08 54.01 05:09:15 05:07:01 1 37.01 0.00 3.46 14.25 0.12 45.17 05:09:15 05:08:01 all 16.29 0.00 2.44 1.00 0.07 80.21 05:09:15 05:08:01 0 19.61 0.00 1.69 0.02 0.07 78.61 05:09:15 05:08:01 1 12.98 0.00 3.18 1.97 0.07 81.80 05:09:15 05:09:01 all 37.94 0.00 2.83 2.79 0.08 56.35 05:09:15 05:09:01 0 49.88 0.00 2.96 1.35 0.08 45.72 05:09:15 05:09:01 1 26.08 0.00 2.71 4.22 0.08 66.91 05:09:15 Average: all 32.39 5.91 6.73 5.20 0.09 49.68 05:09:15 Average: 0 35.56 6.08 6.83 3.59 0.09 47.85 05:09:15 Average: 1 29.23 5.74 6.62 6.80 0.10 51.51 05:09:15 05:09:15 05:09:15