05:04:59 Started by timer 05:04:59 Running as SYSTEM 05:04:59 [EnvInject] - Loading node environment variables. 05:04:59 Building remotely on prd-ubuntu1804-builder-2c-2g-5112 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-qp-tox-sonarqube 05:04:59 [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-WIJWDnaFJshC/agent.1737 05:05:00 SSH_AGENT_PID=1739 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_826447003585648451.key (jenkins-ssh) 05:05:00 [ssh-agent] Using credentials jenkins (jenkins) 05:05:00 The recommended git tool is: NONE 05:05:01 using credential jenkins 05:05:01 Wiping out workspace first. 05:05:01 Cloning the remote Git repository 05:05:01 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:05:01 > git init /w/workspace/ric-app-qp-tox-sonarqube # timeout=10 05:05:02 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:05:02 > git --version # timeout=10 05:05:02 > git --version # 'git version 2.17.1' 05:05:02 using GIT_SSH to set credentials jenkins 05:05:02 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:02 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp # timeout=10 05:05:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:03 Avoid second fetch 05:05:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 05:05:03 Checking out Revision 6b85eed29d60f343b0712d757c114bc6207ccdbe (refs/remotes/origin/master) 05:05:03 > git config core.sparsecheckout # timeout=10 05:05:03 > git checkout -f 6b85eed29d60f343b0712d757c114bc6207ccdbe # timeout=10 05:05:03 Commit message: "Release 0.0.6" 05:05:03 > git rev-list --no-walk 6b85eed29d60f343b0712d757c114bc6207ccdbe # timeout=10 05:05:03 provisioning config files... 05:05:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 05:05:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 05:05:03 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6853284478428209230.sh 05:05:03 ---> python-tools-install.sh 05:05:03 Setup pyenv: 05:05:03 * system (set by /opt/pyenv/version) 05:05:03 * 3.8.13 (set by /opt/pyenv/version) 05:05:03 * 3.9.13 (set by /opt/pyenv/version) 05:05:03 * 3.10.6 (set by /opt/pyenv/version) 05:05:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WegQ 05:05:08 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 05:05:11 lf-activate-venv(): INFO: Installing: lftools 05:05:46 lf-activate-venv(): INFO: Adding /tmp/venv-WegQ/bin to PATH 05:05:46 Generating Requirements File 05:06:18 Python 3.10.6 05:06:18 pip 24.0 from /tmp/venv-WegQ/lib/python3.10/site-packages/pip (python 3.10) 05:06:18 appdirs==1.4.4 05:06:18 argcomplete==3.2.3 05:06:18 aspy.yaml==1.3.0 05:06:18 attrs==23.2.0 05:06:18 autopage==0.5.2 05:06:18 beautifulsoup4==4.12.3 05:06:18 boto3==1.34.67 05:06:18 botocore==1.34.67 05:06:18 bs4==0.0.2 05:06:18 cachetools==5.3.3 05:06:18 certifi==2024.2.2 05:06:18 cffi==1.16.0 05:06:18 cfgv==3.4.0 05:06:18 chardet==5.2.0 05:06:18 charset-normalizer==3.3.2 05:06:18 click==8.1.7 05:06:18 cliff==4.6.0 05:06:18 cmd2==2.4.3 05:06:18 cryptography==3.3.2 05:06:18 debtcollector==3.0.0 05:06:18 decorator==5.1.1 05:06:18 defusedxml==0.7.1 05:06:18 Deprecated==1.2.14 05:06:18 distlib==0.3.8 05:06:18 dnspython==2.6.1 05:06:18 docker==4.2.2 05:06:18 dogpile.cache==1.3.2 05:06:18 email_validator==2.1.1 05:06:18 filelock==3.13.1 05:06:18 future==1.0.0 05:06:18 gitdb==4.0.11 05:06:18 GitPython==3.1.42 05:06:18 google-auth==2.29.0 05:06:18 httplib2==0.22.0 05:06:18 identify==2.5.35 05:06:18 idna==3.6 05:06:18 importlib-resources==1.5.0 05:06:18 iso8601==2.1.0 05:06:18 Jinja2==3.1.3 05:06:18 jmespath==1.0.1 05:06:18 jsonpatch==1.33 05:06:18 jsonpointer==2.4 05:06:18 jsonschema==4.21.1 05:06:18 jsonschema-specifications==2023.12.1 05:06:18 keystoneauth1==5.6.0 05:06:18 kubernetes==29.0.0 05:06:18 lftools==0.37.10 05:06:18 lxml==5.1.0 05:06:18 MarkupSafe==2.1.5 05:06:18 msgpack==1.0.8 05:06:18 multi_key_dict==2.0.3 05:06:18 munch==4.0.0 05:06:18 netaddr==1.2.1 05:06:18 netifaces==0.11.0 05:06:18 niet==1.4.2 05:06:18 nodeenv==1.8.0 05:06:18 oauth2client==4.1.3 05:06:18 oauthlib==3.2.2 05:06:18 openstacksdk==3.0.0 05:06:18 os-client-config==2.1.0 05:06:18 os-service-types==1.7.0 05:06:18 osc-lib==3.0.1 05:06:18 oslo.config==9.4.0 05:06:18 oslo.context==5.5.0 05:06:18 oslo.i18n==6.3.0 05:06:18 oslo.log==5.5.0 05:06:18 oslo.serialization==5.4.0 05:06:18 oslo.utils==7.1.0 05:06:18 packaging==24.0 05:06:18 pbr==6.0.0 05:06:18 platformdirs==4.2.0 05:06:18 prettytable==3.10.0 05:06:18 pyasn1==0.5.1 05:06:18 pyasn1-modules==0.3.0 05:06:18 pycparser==2.21 05:06:18 pygerrit2==2.0.15 05:06:18 PyGithub==2.2.0 05:06:18 pyinotify==0.9.6 05:06:18 PyJWT==2.8.0 05:06:18 PyNaCl==1.5.0 05:06:18 pyparsing==2.4.7 05:06:18 pyperclip==1.8.2 05:06:18 pyrsistent==0.20.0 05:06:18 python-cinderclient==9.5.0 05:06:18 python-dateutil==2.9.0.post0 05:06:18 python-heatclient==3.5.0 05:06:18 python-jenkins==1.8.2 05:06:18 python-keystoneclient==5.4.0 05:06:18 python-magnumclient==4.4.0 05:06:18 python-novaclient==18.6.0 05:06:18 python-openstackclient==6.6.0 05:06:18 python-swiftclient==4.5.0 05:06:18 PyYAML==6.0.1 05:06:18 referencing==0.34.0 05:06:18 requests==2.31.0 05:06:18 requests-oauthlib==1.4.0 05:06:18 requestsexceptions==1.4.0 05:06:18 rfc3986==2.0.0 05:06:18 rpds-py==0.18.0 05:06:18 rsa==4.9 05:06:18 ruamel.yaml==0.18.6 05:06:18 ruamel.yaml.clib==0.2.8 05:06:18 s3transfer==0.10.1 05:06:18 simplejson==3.19.2 05:06:18 six==1.16.0 05:06:18 smmap==5.0.1 05:06:18 soupsieve==2.5 05:06:18 stevedore==5.2.0 05:06:18 tabulate==0.9.0 05:06:18 toml==0.10.2 05:06:18 tomlkit==0.12.4 05:06:18 tqdm==4.66.2 05:06:18 typing_extensions==4.10.0 05:06:18 tzdata==2024.1 05:06:18 urllib3==1.26.18 05:06:18 virtualenv==20.25.1 05:06:18 wcwidth==0.2.13 05:06:18 websocket-client==1.7.0 05:06:18 wrapt==1.16.0 05:06:18 xdg==6.0.0 05:06:18 xmltodict==0.13.0 05:06:18 yq==3.2.3 05:06:18 [EnvInject] - Injecting environment variables from a build step. 05:06:18 [EnvInject] - Injecting as environment variables the properties content 05:06:18 SET_JDK_VERSION=openjdk17 05:06:18 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 05:06:18 05:06:18 [EnvInject] - Variables injected successfully. 05:06:18 [ric-app-qp-tox-sonarqube] $ /bin/sh /tmp/jenkins4920273204129938770.sh 05:06:18 ---> update-java-alternatives.sh 05:06:18 ---> Updating Java version 05:06:19 ---> Ubuntu/Debian system detected 05:06:19 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 05:06:19 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 05:06:19 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 05:06:20 openjdk version "17.0.7" 2023-04-18 05:06:20 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 05:06:20 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 05:06:20 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 05:06:20 [EnvInject] - Injecting environment variables from a build step. 05:06:20 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 05:06:20 [EnvInject] - Variables injected successfully. 05:06:20 [EnvInject] - Injecting environment variables from a build step. 05:06:20 [EnvInject] - Injecting as environment variables the properties content 05:06:20 PYTHON=python3 05:06:20 05:06:20 [EnvInject] - Variables injected successfully. 05:06:20 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9844261507805692344.sh 05:06:20 ---> tox-install.sh 05:06:20 + source /home/jenkins/lf-env.sh 05:06:20 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:20 ++ mktemp -d /tmp/venv-XXXX 05:06:20 + lf_venv=/tmp/venv-tX1T 05:06:20 + local venv_file=/tmp/.os_lf_venv 05:06:20 + local python=python3 05:06:20 + local options 05:06:20 + local set_path=true 05:06:20 + local install_args= 05:06:20 ++ 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:20 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:20 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:20 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:20 + true 05:06:20 + case $1 in 05:06:20 + venv_file=/tmp/.toxenv 05:06:20 + shift 2 05:06:20 + true 05:06:20 + case $1 in 05:06:20 + shift 05:06:20 + break 05:06:20 + case $python in 05:06:20 + local pkg_list= 05:06:20 + [[ -d /opt/pyenv ]] 05:06:20 + echo 'Setup pyenv:' 05:06:20 Setup pyenv: 05:06:20 + export PYENV_ROOT=/opt/pyenv 05:06:20 + PYENV_ROOT=/opt/pyenv 05:06:20 + 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:20 + 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:20 + pyenv versions 05:06:20 system 05:06:20 3.8.13 05:06:20 3.9.13 05:06:20 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:20 + command -v pyenv 05:06:20 ++ pyenv init - --no-rehash 05:06:20 + 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:20 export PATH="/opt/pyenv/shims:${PATH}" 05:06:20 export PYENV_SHELL=bash 05:06:20 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:20 pyenv() { 05:06:20 local command 05:06:20 command="${1:-}" 05:06:20 if [ "$#" -gt 0 ]; then 05:06:20 shift 05:06:20 fi 05:06:20 05:06:20 case "$command" in 05:06:20 rehash|shell) 05:06:20 eval "$(pyenv "sh-$command" "$@")" 05:06:20 ;; 05:06:20 *) 05:06:20 command pyenv "$command" "$@" 05:06:20 ;; 05:06:20 esac 05:06:20 }' 05:06:20 +++ 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:20 ++ 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:20 ++ 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:20 ++ 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:20 ++ export PYENV_SHELL=bash 05:06:20 ++ PYENV_SHELL=bash 05:06:20 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:20 +++ complete -F _pyenv pyenv 05:06:20 ++ lf-pyver python3 05:06:20 ++ local py_version_xy=python3 05:06:20 ++ local py_version_xyz= 05:06:20 ++ pyenv versions 05:06:20 ++ local command 05:06:20 ++ grep -E '^[0-9.]*[0-9]$' 05:06:20 ++ command=versions 05:06:20 ++ '[' 1 -gt 0 ']' 05:06:20 ++ shift 05:06:20 ++ case "$command" in 05:06:20 ++ command pyenv versions 05:06:20 ++ pyenv versions 05:06:20 ++ awk '{ print $1 }' 05:06:20 ++ sed 's/^[ *]* //' 05:06:20 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:20 +++ grep '^3' /tmp/.pyenv_versions 05:06:20 +++ sort -V 05:06:20 +++ tail -n 1 05:06:20 ++ py_version_xyz=3.10.6 05:06:20 ++ [[ -z 3.10.6 ]] 05:06:20 ++ echo 3.10.6 05:06:20 ++ return 0 05:06:20 + pyenv local 3.10.6 05:06:20 + local command 05:06:20 + command=local 05:06:20 + '[' 2 -gt 0 ']' 05:06:20 + shift 05:06:20 + case "$command" in 05:06:20 + command pyenv local 3.10.6 05:06:20 + pyenv local 3.10.6 05:06:20 + for arg in "$@" 05:06:20 + case $arg in 05:06:20 + pkg_list+='tox ' 05:06:20 + for arg in "$@" 05:06:20 + case $arg in 05:06:20 + pkg_list+='virtualenv ' 05:06:20 + for arg in "$@" 05:06:20 + case $arg in 05:06:20 + pkg_list+='urllib3~=1.26.15 ' 05:06:20 + [[ -f /tmp/.toxenv ]] 05:06:20 + [[ ! -f /tmp/.toxenv ]] 05:06:20 + [[ -n '' ]] 05:06:20 + python3 -m venv /tmp/venv-tX1T 05:06:24 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tX1T' 05:06:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tX1T 05:06:24 + echo /tmp/venv-tX1T 05:06:24 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 05:06:24 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 05:06:24 + /tmp/venv-tX1T/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:27 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:27 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:27 + /tmp/venv-tX1T/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:30 + type python3 05:06:30 + true 05:06:30 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-tX1T/bin to PATH' 05:06:30 lf-activate-venv(): INFO: Adding /tmp/venv-tX1T/bin to PATH 05:06:30 + PATH=/tmp/venv-tX1T/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:30 + return 0 05:06:30 + python3 --version 05:06:30 Python 3.10.6 05:06:30 + python3 -m pip --version 05:06:30 pip 24.0 from /tmp/venv-tX1T/lib/python3.10/site-packages/pip (python 3.10) 05:06:30 + python3 -m pip freeze 05:06:31 cachetools==5.3.3 05:06:31 chardet==5.2.0 05:06:31 colorama==0.4.6 05:06:31 distlib==0.3.8 05:06:31 filelock==3.13.1 05:06:31 packaging==24.0 05:06:31 platformdirs==4.2.0 05:06:31 pluggy==1.4.0 05:06:31 pyproject-api==1.6.1 05:06:31 tomli==2.0.1 05:06:31 tox==4.14.1 05:06:31 urllib3==1.26.18 05:06:31 virtualenv==20.25.1 05:06:31 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins13979161055383076749.sh 05:06:31 ---> install-deb-rmr.sh 05:06:31 + version_file=rmr-version.yaml 05:06:31 + [[ -f rmr-version.yaml ]] 05:06:31 ++ xargs 05:06:31 ++ cut -d: -f2 05:06:31 ++ grep '^repo:' rmr-version.yaml 05:06:31 + repo= 05:06:31 ++ grep '^version:' rmr-version.yaml 05:06:31 ++ cut -d: -f2 05:06:31 ++ xargs 05:06:31 + ver=4.9.0 05:06:31 + [[ -z 4.9.0 ]] 05:06:31 + repo=release 05:06:31 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:31 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 05:06:31 2024-03-21 05:06:31 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1710997891&Signature=r63Rwv0zLQXnO44gsfGBZwmjPCLtA0yTZev3t1oCqWRmHy-HHttIW1uqDAELgCtSbNe-xeksaz~0utordFGi7Dov~XkcUzntvtaA37ePy5vV~AdJ7AAhE6wPIKUSQ7eL0LZEOVs3htIm12MlmU7Hu3NT20-EGZDroRDOhHlP41tZYeouhZRzjD1-866UH4WO~oehNrJGM1TqMsZ480xVn8OwawAQt1T377xhzjsdeR5cgJnu~vl-Qx~esC~~csFYnivATjP0ifzZOLaxxCD2aTx0xXjqv2A2YD6U1Acczw0piDxoaIM1k1qhs8wDYVVdXYmiTaHpoR0wGz30qHcJJQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 05:06:31 + sudo dpkg -i rmr_4.9.0_amd64.deb 05:06:31 Selecting previously unselected package rmr. 05:06:33 (Reading database ... 188029 files and directories currently installed.) 05:06:33 Preparing to unpack rmr_4.9.0_amd64.deb ... 05:06:33 Unpacking rmr (4.9.0) ... 05:06:33 Setting up rmr (4.9.0) ... 05:06:33 + rm -f rmr_4.9.0_amd64.deb 05:06:33 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:33 + 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:33 2024-03-21 05:06:33 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1710997893&Signature=K50CSQYpIZUgffWj915ilBFOy7ek2gItR1jSvUGGm3sJs4mFPLc2Z3KqQ~mEqQuneQziYs3ZEiNS52iZez9fjDBpPeCqN3LXs~3dTJPeHfbcKDSbfBQ6PUNSAX0BqGWK4LIuSL-IpQ06uWRa4ABUaJ7lCcJHVjEZpnsb-139-ff8DHo2fGLct855O8yy1E~PjCqlBcmxQFyDR8mLOHDD~78t9gSLNc9cLhj9qCxSrf3-ap6vTXWv5FZ-Ze56yBiEO706crDtr7DDjks44lLJNkNANJZBYzb1qL5v4RJxc8a3-NyrJ29CH1WzdQAaLOwax9xLjVyaY31lbXLduMqHzg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 05:06:33 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 05:06:33 Selecting previously unselected package rmr-dev. 05:06:33 (Reading database ... 188037 files and directories currently installed.) 05:06:33 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 05:06:33 Unpacking rmr-dev (4.9.0) ... 05:06:33 Setting up rmr-dev (4.9.0) ... 05:06:33 + rm -f rmr-dev_4.9.0_amd64.deb 05:06:33 + echo '---> install-deb-rmr.sh ends' 05:06:33 ---> install-deb-rmr.sh ends 05:06:33 [EnvInject] - Injecting environment variables from a build step. 05:06:33 [EnvInject] - Injecting as environment variables the properties content 05:06:33 PARALLEL=False 05:06:33 05:06:33 [EnvInject] - Variables injected successfully. 05:06:33 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6589138549155732285.sh 05:06:33 ---> tox-run.sh 05:06:33 + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:33 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:33 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/docs 05:06:33 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:33 + cd /w/workspace/ric-app-qp-tox-sonarqube/. 05:06:33 + source /home/jenkins/lf-env.sh 05:06:33 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:33 ++ mktemp -d /tmp/venv-XXXX 05:06:33 + lf_venv=/tmp/venv-kOHU 05:06:33 + local venv_file=/tmp/.os_lf_venv 05:06:33 + local python=python3 05:06:33 + local options 05:06:33 + local set_path=true 05:06:33 + local install_args= 05:06:33 ++ 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:33 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:33 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:33 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:33 + true 05:06:33 + case $1 in 05:06:33 + venv_file=/tmp/.toxenv 05:06:33 + shift 2 05:06:33 + true 05:06:33 + case $1 in 05:06:33 + shift 05:06:33 + break 05:06:33 + case $python in 05:06:33 + local pkg_list= 05:06:33 + [[ -d /opt/pyenv ]] 05:06:33 + echo 'Setup pyenv:' 05:06:33 Setup pyenv: 05:06:33 + export PYENV_ROOT=/opt/pyenv 05:06:33 + PYENV_ROOT=/opt/pyenv 05:06:33 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:33 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:33 + pyenv versions 05:06:33 system 05:06:33 3.8.13 05:06:33 3.9.13 05:06:33 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:33 + command -v pyenv 05:06:33 ++ pyenv init - --no-rehash 05:06:33 + 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:33 export PATH="/opt/pyenv/shims:${PATH}" 05:06:33 export PYENV_SHELL=bash 05:06:33 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:33 pyenv() { 05:06:33 local command 05:06:33 command="${1:-}" 05:06:33 if [ "$#" -gt 0 ]; then 05:06:33 shift 05:06:33 fi 05:06:33 05:06:33 case "$command" in 05:06:33 rehash|shell) 05:06:33 eval "$(pyenv "sh-$command" "$@")" 05:06:33 ;; 05:06:33 *) 05:06:33 command pyenv "$command" "$@" 05:06:33 ;; 05:06:33 esac 05:06:33 }' 05:06:33 +++ 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:33 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:33 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:33 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:33 ++ export PYENV_SHELL=bash 05:06:33 ++ PYENV_SHELL=bash 05:06:33 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:33 +++ complete -F _pyenv pyenv 05:06:33 ++ lf-pyver python3 05:06:33 ++ local py_version_xy=python3 05:06:33 ++ local py_version_xyz= 05:06:33 ++ pyenv versions 05:06:33 ++ local command 05:06:33 ++ command=versions 05:06:33 ++ '[' 1 -gt 0 ']' 05:06:33 ++ grep -E '^[0-9.]*[0-9]$' 05:06:33 ++ shift 05:06:33 ++ case "$command" in 05:06:33 ++ command pyenv versions 05:06:33 ++ pyenv versions 05:06:33 ++ awk '{ print $1 }' 05:06:33 ++ sed 's/^[ *]* //' 05:06:34 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:34 +++ sort -V 05:06:34 +++ grep '^3' /tmp/.pyenv_versions 05:06:34 +++ tail -n 1 05:06:34 ++ py_version_xyz=3.10.6 05:06:34 ++ [[ -z 3.10.6 ]] 05:06:34 ++ echo 3.10.6 05:06:34 ++ return 0 05:06:34 + pyenv local 3.10.6 05:06:34 + local command 05:06:34 + command=local 05:06:34 + '[' 2 -gt 0 ']' 05:06:34 + shift 05:06:34 + case "$command" in 05:06:34 + command pyenv local 3.10.6 05:06:34 + pyenv local 3.10.6 05:06:34 + for arg in "$@" 05:06:34 + case $arg in 05:06:34 + pkg_list+='tox ' 05:06:34 + for arg in "$@" 05:06:34 + case $arg in 05:06:34 + pkg_list+='virtualenv ' 05:06:34 + for arg in "$@" 05:06:34 + case $arg in 05:06:34 + pkg_list+='urllib3~=1.26.15 ' 05:06:34 + [[ -f /tmp/.toxenv ]] 05:06:34 ++ cat /tmp/.toxenv 05:06:34 + lf_venv=/tmp/venv-tX1T 05:06:34 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tX1T from' file:/tmp/.toxenv 05:06:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tX1T from file:/tmp/.toxenv 05:06:34 + /tmp/venv-tX1T/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:35 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:35 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:35 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:35 + /tmp/venv-tX1T/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:36 + type python3 05:06:36 + true 05:06:36 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-tX1T/bin to PATH' 05:06:36 lf-activate-venv(): INFO: Adding /tmp/venv-tX1T/bin to PATH 05:06:36 + PATH=/tmp/venv-tX1T/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:36 + return 0 05:06:36 + [[ -d /opt/pyenv ]] 05:06:36 + echo '---> Setting up pyenv' 05:06:36 ---> Setting up pyenv 05:06:36 + export PYENV_ROOT=/opt/pyenv 05:06:36 + PYENV_ROOT=/opt/pyenv 05:06:36 + export PATH=/opt/pyenv/bin:/tmp/venv-tX1T/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:36 + PATH=/opt/pyenv/bin:/tmp/venv-tX1T/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 05:06:36 ++ pwd 05:06:36 + PYTHONPATH=/w/workspace/ric-app-qp-tox-sonarqube 05:06:36 + export PYTHONPATH 05:06:36 + export TOX_TESTENV_PASSENV=PYTHONPATH 05:06:36 + TOX_TESTENV_PASSENV=PYTHONPATH 05:06:36 + tox --version 05:06:36 4.14.1 from /tmp/venv-tX1T/lib/python3.10/site-packages/tox/__init__.py 05:06:37 + PARALLEL=False 05:06:37 + TOX_OPTIONS_LIST= 05:06:37 + [[ -n code,flake8 ]] 05:06:37 + TOX_OPTIONS_LIST=' -e code,flake8' 05:06:37 + case ${PARALLEL,,} in 05:06:37 + tee -a /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/tox.log 05:06:37 + tox -e code,flake8 05:06:38 code: install_deps> python -I -m pip install coverage pytest pytest-cov 05:06:41 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 05:06:42 .pkg: _optional_hooks> python /tmp/venv-tX1T/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:43 .pkg: get_requires_for_build_sdist> python /tmp/venv-tX1T/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:43 .pkg: get_requires_for_build_wheel> python /tmp/venv-tX1T/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:43 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 05:06:44 .pkg: freeze> python -m pip freeze --all 05:06:44 .pkg: pip==24.0,setuptools==69.1.0,wheel==0.42.0 05:06:44 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-tX1T/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:44 .pkg: build_sdist> python /tmp/venv-tX1T/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:45 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:19 code: freeze> python -m pip freeze --all 05:07:19 code: async-timeout==4.0.3,certifi==2024.2.2,charset-normalizer==3.3.2,coverage==7.4.4,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.8,nose==1.3.7,numpy==1.26.4,packaging==24.0,pandas==1.5.3,patsy==0.5.6,pip==24.0,pluggy==1.4.0,protobuf==3.20.3,pytest==8.1.1,pytest-cov==4.1.0,python-dateutil==2.9.0.post0,pytz==2024.1,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.4.1.post1,scipy==1.12.0,setuptools==69.1.0,six==1.16.0,statsmodels==0.14.1,threadpoolctl==3.4.0,tomli==2.0.1,urllib3==2.2.1,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:20 ============================= test session starts ============================== 05:07:20 platform linux -- Python 3.10.6, pytest-8.1.1, pluggy-1.4.0 -- /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/bin/python 05:07:20 cachedir: .tox/code/.pytest_cache 05:07:20 rootdir: /w/workspace/ric-app-qp-tox-sonarqube 05:07:20 plugins: cov-4.1.0 05:07:20 collecting ... collected 5 items 05:07:22 05:07:23 tests/test_qp.py::test_init_xapp PASSED [ 20%] 05:07:23 tests/test_qp.py::test_database_connection PASSED [ 40%] 05:07:23 tests/test_qp.py::test_training PASSED [ 60%] 05:07:24 tests/test_qp.py::test_predict PASSED [ 80%] 05:07:24 tests/test_qp.py::test_rmr_flow PASSED [100%] 05:08:05 05:08:05 =============================== warnings summary =============================== 05:08:05 tests/test_qp.py::test_training 05:08:05 /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:05 for name, column in df.iteritems(): 05:08:05 05:08:05 tests/test_qp.py: 20 warnings 05:08:05 /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:05 codes = cartesian_product(codes) 05:08:05 05:08:05 tests/test_qp.py: 40 warnings 05:08:05 /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:05 return [ 05:08:05 05:08:05 tests/test_qp.py::test_rmr_flow 05:08:05 /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/lib/python3.10/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-4 (loop) 05:08:05 05:08:05 Traceback (most recent call last): 05:08:05 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 05:08:05 self.run() 05:08:05 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 05:08:05 self._target(*self._args, **self._kwargs) 05:08:05 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:05 func(self, summary, sbuf) 05:08:05 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 67, in qp_predict_handler 05:08:05 pred_msg = predict(summary[rmr.RMR_MS_PAYLOAD]) 05:08:05 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 99, in predict 05:08:05 ue_list = payload['UEPredictionSet'] 05:08:05 TypeError: string indices must be integers 05:08:05 05:08:05 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 05:08:05 05:08:05 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 05:08:05 05:08:05 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 05:08:05 Name Stmts Miss Cover Missing 05:08:05 ------------------------------------------------- 05:08:05 src/__init__.py 0 0 100% 05:08:05 src/database.py 107 48 55% 44-55, 59-73, 76-91, 94-99, 102-105, 145, 148, 151 05:08:05 src/exceptions.py 6 0 100% 05:08:05 src/main.py 84 28 67% 49-50, 57-59, 68-76, 104-118, 149, 152, 169 05:08:05 src/prediction.py 18 13 28% 27-40 05:08:05 src/qptrain.py 98 18 82% 41-43, 53, 63-64, 68-75, 115-116, 139-140 05:08:05 ------------------------------------------------- 05:08:05 TOTAL 313 107 66% 05:08:05 Coverage HTML written to dir htmlcov 05:08:05 Coverage XML written to file coverage.xml 05:08:05 05:08:05 Required test coverage of 60% reached. Total coverage: 65.81% 05:08:05 ======================= 5 passed, 62 warnings in 45.72s ======================== 05:08:06 code: commands[1]> coverage xml -i 05:08:06 Wrote XML report to coverage.xml 05:08:07 code: OK ✔ in 1 minute 29.04 seconds 05:08:07 flake8: install_deps> python -I -m pip install flake8 05:08:09 flake8: freeze> python -m pip freeze --all 05:08:10 flake8: flake8==7.0.0,mccabe==0.7.0,pip==24.0,pycodestyle==2.11.1,pyflakes==3.2.0,qp==0.0.5,setuptools==69.1.0,wheel==0.42.0 05:08:10 flake8: commands[0]> flake8 setup.py src tests 05:08:10 code: OK (89.03=setup[42.25]+cmd[46.53,0.26] seconds) 05:08:10 flake8: OK (4.13=setup[3.88]+cmd[0.25] seconds) 05:08:10 congratulations :) (93.35 seconds) 05:08:10 + tox_status=0 05:08:10 + echo '---> Completed tox runs' 05:08:10 ---> Completed tox runs 05:08:10 + for i in .tox/*/log 05:08:10 ++ awk -F/ '{print $2}' 05:08:10 ++ echo .tox/code/log 05:08:10 + tox_env=code 05:08:10 + cp -r .tox/code/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/code 05:08:10 + for i in .tox/*/log 05:08:10 ++ echo .tox/flake8/log 05:08:10 ++ awk -F/ '{print $2}' 05:08:10 + tox_env=flake8 05:08:10 + cp -r .tox/flake8/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/flake8 05:08:10 + DOC_DIR=docs/_build/html 05:08:10 + [[ -d docs/_build/html ]] 05:08:10 + echo '---> tox-run.sh ends' 05:08:10 ---> tox-run.sh ends 05:08:10 + test 0 -eq 0 05:08:10 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-5112 05:08:11 [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:12 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:12 INFO: Project root configuration file: NONE 05:08:12 INFO: SonarScanner 4.6.2.2472 05:08:12 INFO: Java 17.0.7 Private Build (64-bit) 05:08:12 INFO: Linux 4.15.0-213-generic amd64 05:08:12 INFO: User cache: /home/jenkins/.sonar/cache 05:08:14 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:14 INFO: Project root configuration file: NONE 05:08:14 INFO: Analyzing on SonarCloud 05:08:14 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 05:08:15 INFO: Load global settings 05:08:16 INFO: Load global settings (done) | time=616ms 05:08:16 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 05:08:16 INFO: User cache: /home/jenkins/.sonar/cache 05:08:16 INFO: Loading required plugins 05:08:16 INFO: Load plugins index 05:08:16 INFO: Load plugins index (done) | time=254ms 05:08:16 INFO: Load/download plugins 05:08:17 INFO: Load/download plugins (done) | time=1108ms 05:08:18 INFO: Found an active CI vendor: 'Jenkins' 05:08:18 INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp' 05:08:18 INFO: Process project properties 05:08:18 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-qp 05:08:18 INFO: ------------------------------------------------------------------------ 05:08:18 INFO: EXECUTION FAILURE 05:08:18 INFO: ------------------------------------------------------------------------ 05:08:18 INFO: Total time: 6.294s 05:08:18 INFO: Final Memory: 7M/34M 05:08:18 INFO: ------------------------------------------------------------------------ 05:08:18 ERROR: Error during SonarScanner execution 05:08:18 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:18 ERROR: 05:08:18 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 05:08:19 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 05:08:19 $ ssh-agent -k 05:08:19 unset SSH_AUTH_SOCK; 05:08:19 unset SSH_AGENT_PID; 05:08:19 echo Agent pid 1739 killed; 05:08:19 [ssh-agent] Stopped. 05:08:19 ERROR: SonarQube scanner exited with non-zero code: 2 05:08:19 [PostBuildScript] - [INFO] Executing post build scripts. 05:08:19 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins11413949129473162970.sh 05:08:19 ---> sysstat.sh 05:08:20 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins17807395362360413618.sh 05:08:20 ---> package-listing.sh 05:08:20 ++ facter osfamily 05:08:20 ++ tr '[:upper:]' '[:lower:]' 05:08:20 + OS_FAMILY=debian 05:08:20 + workspace=/w/workspace/ric-app-qp-tox-sonarqube 05:08:20 + START_PACKAGES=/tmp/packages_start.txt 05:08:20 + END_PACKAGES=/tmp/packages_end.txt 05:08:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:08:20 + PACKAGES=/tmp/packages_start.txt 05:08:20 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:20 + PACKAGES=/tmp/packages_end.txt 05:08:20 + case "${OS_FAMILY}" in 05:08:20 + grep '^ii' 05:08:20 + dpkg -l 05:08:20 + '[' -f /tmp/packages_start.txt ']' 05:08:20 + '[' -f /tmp/packages_end.txt ']' 05:08:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:08:20 + true 05:08:20 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:20 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:20 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins7598401366529564210.sh 05:08:20 ---> capture-instance-metadata.sh 05:08:20 Setup pyenv: 05:08:20 system 05:08:20 3.8.13 05:08:20 3.9.13 05:08:20 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WegQ from file:/tmp/.os_lf_venv 05:08:22 lf-activate-venv(): INFO: Installing: lftools 05:08:35 lf-activate-venv(): INFO: Adding /tmp/venv-WegQ/bin to PATH 05:08:35 INFO: Running in OpenStack, capturing instance metadata 05:08:35 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins13311619652077490038.sh 05:08:35 provisioning config files... 05:08:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-tox-sonarqube@tmp/config16937357402337880050tmp 05:08:35 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 05:08:35 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 05:08:35 [EnvInject] - Injecting environment variables from a build step. 05:08:35 [EnvInject] - Injecting as environment variables the properties content 05:08:35 SERVER_ID=logs 05:08:35 05:08:35 [EnvInject] - Variables injected successfully. 05:08:35 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins10428214437725640181.sh 05:08:35 ---> create-netrc.sh 05:08:35 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins10748674411117118284.sh 05:08:36 ---> python-tools-install.sh 05:08:36 Setup pyenv: 05:08:36 system 05:08:36 3.8.13 05:08:36 3.9.13 05:08:36 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WegQ from file:/tmp/.os_lf_venv 05:08:37 lf-activate-venv(): INFO: Installing: lftools 05:08:47 lf-activate-venv(): INFO: Adding /tmp/venv-WegQ/bin to PATH 05:08:47 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins17524722113272090298.sh 05:08:47 ---> sudo-logs.sh 05:08:47 Archiving 'sudo' log.. 05:08:48 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins8339420265389397724.sh 05:08:48 ---> job-cost.sh 05:08:48 Setup pyenv: 05:08:48 system 05:08:48 3.8.13 05:08:48 3.9.13 05:08:48 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:48 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WegQ from file:/tmp/.os_lf_venv 05:08:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:08:55 lf-activate-venv(): INFO: Adding /tmp/venv-WegQ/bin to PATH 05:08:55 INFO: No Stack... 05:08:55 INFO: Retrieving Pricing Info for: v2-highcpu-2 05:08:55 INFO: Archiving Costs 05:08:55 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15404037374765187982.sh 05:08:55 ---> logs-deploy.sh 05:08:55 Setup pyenv: 05:08:55 system 05:08:55 3.8.13 05:08:55 3.9.13 05:08:55 * 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-WegQ from file:/tmp/.os_lf_venv 05:08:57 lf-activate-venv(): INFO: Installing: lftools 05:09:08 lf-activate-venv(): INFO: Adding /tmp/venv-WegQ/bin to PATH 05:09:08 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-tox-sonarqube/199 05:09:08 INFO: archiving workspace using pattern(s): -p **/*.log 05:09:11 Archives upload complete. 05:09:11 INFO: archiving logs to Nexus 05:09:12 ---> uname -a: 05:09:12 Linux prd-ubuntu1804-builder-2c-2g-5112 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 05:09:12 05:09:12 05:09:12 ---> lscpu: 05:09:12 Architecture: x86_64 05:09:12 CPU op-mode(s): 32-bit, 64-bit 05:09:12 Byte Order: Little Endian 05:09:12 CPU(s): 2 05:09:12 On-line CPU(s) list: 0,1 05:09:12 Thread(s) per core: 1 05:09:12 Core(s) per socket: 1 05:09:12 Socket(s): 2 05:09:12 NUMA node(s): 1 05:09:12 Vendor ID: AuthenticAMD 05:09:12 CPU family: 23 05:09:12 Model: 49 05:09:12 Model name: AMD EPYC-Rome Processor 05:09:12 Stepping: 0 05:09:12 CPU MHz: 2799.998 05:09:12 BogoMIPS: 5599.99 05:09:12 Virtualization: AMD-V 05:09:12 Hypervisor vendor: KVM 05:09:12 Virtualization type: full 05:09:12 L1d cache: 32K 05:09:12 L1i cache: 32K 05:09:12 L2 cache: 512K 05:09:12 L3 cache: 16384K 05:09:12 NUMA node0 CPU(s): 0,1 05:09:12 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 05:09:12 05:09:12 05:09:12 ---> nproc: 05:09:12 2 05:09:12 05:09:12 05:09:12 ---> df -h: 05:09:12 Filesystem Size Used Avail Use% Mounted on 05:09:12 udev 984M 0 984M 0% /dev 05:09:12 tmpfs 200M 668K 199M 1% /run 05:09:12 /dev/vda1 20G 7.9G 12G 41% / 05:09:12 tmpfs 997M 0 997M 0% /dev/shm 05:09:12 tmpfs 5.0M 0 5.0M 0% /run/lock 05:09:12 tmpfs 997M 0 997M 0% /sys/fs/cgroup 05:09:12 /dev/vda15 105M 5.3M 100M 5% /boot/efi 05:09:12 tmpfs 200M 0 200M 0% /run/user/1001 05:09:12 05:09:12 05:09:12 ---> free -m: 05:09:12 total used free shared buff/cache available 05:09:12 Mem: 1992 329 92 0 1570 1485 05:09:12 Swap: 1023 0 1023 05:09:12 05:09:12 05:09:12 ---> ip addr: 05:09:12 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:09:12 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:09:12 inet 127.0.0.1/8 scope host lo 05:09:12 valid_lft forever preferred_lft forever 05:09:12 inet6 ::1/128 scope host 05:09:12 valid_lft forever preferred_lft forever 05:09:12 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 05:09:12 link/ether fa:16:3e:96:bd:57 brd ff:ff:ff:ff:ff:ff 05:09:12 inet 10.32.6.90/23 brd 10.32.7.255 scope global dynamic ens3 05:09:12 valid_lft 86130sec preferred_lft 86130sec 05:09:12 inet6 fe80::f816:3eff:fe96:bd57/64 scope link 05:09:12 valid_lft forever preferred_lft forever 05:09:12 05:09:12 05:09:12 ---> sar -b -r -n DEV: 05:09:12 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-5112) 03/21/24 _x86_64_ (2 CPU) 05:09:12 05:09:12 05:04:45 LINUX RESTART (2 CPU) 05:09:12 05:09:12 05:05:01 tps rtps wtps bread/s bwrtn/s 05:09:12 05:06:01 109.41 48.28 61.13 2177.12 10397.60 05:09:12 05:07:01 142.10 63.35 78.74 4087.42 16944.99 05:09:12 05:08:01 90.42 51.56 38.86 5148.08 14177.90 05:09:12 05:09:01 106.48 74.52 31.96 4221.83 5450.82 05:09:12 Average: 112.10 59.43 52.68 3908.34 11743.04 05:09:12 05:09:12 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:09:12 05:06:01 130516 1560216 1910116 93.60 49592 1469916 533748 17.28 392552 1377276 88980 05:09:12 05:07:01 165964 1488536 1874668 91.87 65116 1354620 668904 21.65 478928 1269984 85420 05:09:12 05:08:01 101996 1461876 1938636 95.00 73644 1377648 915948 29.65 449712 1350204 348 05:09:12 05:09:01 122336 1523072 1918296 94.00 77372 1407412 555612 17.99 434032 1333592 22948 05:09:12 Average: 130203 1508425 1910429 93.62 66431 1402399 668553 21.64 438806 1332764 49424 05:09:12 05:09:12 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:09:12 05:06:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 05:09:12 05:06:01 ens3 107.96 87.21 959.65 24.88 0.00 0.00 0.00 0.00 05:09:12 05:07:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 05:09:12 05:07:01 ens3 84.74 74.15 1647.62 10.20 0.00 0.00 0.00 0.00 05:09:12 05:08:01 lo 0.50 0.50 0.06 0.06 0.00 0.00 0.00 0.00 05:09:12 05:08:01 ens3 0.95 0.92 0.16 0.17 0.00 0.00 0.00 0.00 05:09:12 05:09:01 lo 1.38 1.38 0.13 0.13 0.00 0.00 0.00 0.00 05:09:12 05:09:01 ens3 262.04 157.86 1838.02 27.40 0.00 0.00 0.00 0.00 05:09:12 Average: lo 1.29 1.29 0.12 0.12 0.00 0.00 0.00 0.00 05:09:12 Average: ens3 113.92 80.03 1111.38 15.66 0.00 0.00 0.00 0.00 05:09:12 05:09:12 05:09:12 ---> sar -P ALL: 05:09:12 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-5112) 03/21/24 _x86_64_ (2 CPU) 05:09:12 05:09:12 05:04:45 LINUX RESTART (2 CPU) 05:09:12 05:09:12 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:09:12 05:06:01 all 41.31 0.00 3.18 5.38 0.13 50.01 05:09:12 05:06:01 0 48.91 0.00 3.71 2.56 0.13 44.69 05:09:12 05:06:01 1 33.70 0.00 2.67 8.18 0.12 55.33 05:09:12 05:07:01 all 36.73 0.00 3.30 7.22 0.11 52.64 05:09:12 05:07:01 0 56.42 0.00 4.03 3.80 0.15 35.60 05:09:12 05:07:01 1 17.14 0.00 2.58 10.64 0.08 69.56 05:09:12 05:08:01 all 16.55 0.00 2.30 2.77 0.07 78.31 05:09:12 05:08:01 0 10.01 0.00 3.04 0.89 0.07 86.00 05:09:12 05:08:01 1 23.14 0.00 1.54 4.65 0.07 70.60 05:09:12 05:09:01 all 38.04 0.00 2.41 5.62 0.10 53.83 05:09:12 05:09:01 0 29.03 0.00 1.98 3.38 0.08 65.53 05:09:12 05:09:01 1 47.09 0.00 2.86 7.90 0.10 42.05 05:09:12 Average: all 33.17 0.00 2.80 5.25 0.10 58.68 05:09:12 Average: 0 36.08 0.00 3.19 2.65 0.11 57.97 05:09:12 Average: 1 30.26 0.00 2.41 7.85 0.09 59.39 05:09:12 05:09:12 05:09:12