05:04:49 Started by timer 05:04:49 Running as SYSTEM 05:04:49 [EnvInject] - Loading node environment variables. 05:04:49 Building remotely on prd-ubuntu1804-builder-2c-2g-2194 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-qp-tox-sonarqube 05:04:49 [ssh-agent] Looking for ssh-agent implementation... 05:04:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:50 $ ssh-agent 05:04:50 SSH_AUTH_SOCK=/tmp/ssh-hQ987xBxwgcY/agent.1652 05:04:50 SSH_AGENT_PID=1654 05:04:50 [ssh-agent] Started. 05:04:50 Running ssh-add (command line suppressed) 05:04:50 Identity added: /w/workspace/ric-app-qp-tox-sonarqube@tmp/private_key_621585940589838833.key (jenkins-ssh) 05:04:50 [ssh-agent] Using credentials jenkins (jenkins) 05:04:50 The recommended git tool is: NONE 05:04:51 using credential jenkins 05:04:51 Wiping out workspace first. 05:04:51 Cloning the remote Git repository 05:04:51 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:04:51 > git init /w/workspace/ric-app-qp-tox-sonarqube # timeout=10 05:04:51 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:04:51 > git --version # timeout=10 05:04:51 > git --version # 'git version 2.17.1' 05:04:51 using GIT_SSH to set credentials jenkins 05:04:51 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:52 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp # timeout=10 05:04:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:52 Avoid second fetch 05:04:52 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 05:04:52 Checking out Revision 47a35cafc3f90aed8b6fa711c37b131f06061ca6 (refs/remotes/origin/master) 05:04:52 > git config core.sparsecheckout # timeout=10 05:04:52 > git checkout -f 47a35cafc3f90aed8b6fa711c37b131f06061ca6 # timeout=10 05:04:53 Commit message: "Merge "CI: Add GHA workflow that runs a SonarCloud scan"" 05:04:53 > git rev-list --no-walk 47a35cafc3f90aed8b6fa711c37b131f06061ca6 # timeout=10 05:04:56 provisioning config files... 05:04:56 copy managed file [npmrc] to file:/home/jenkins/.npmrc 05:04:56 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 05:04:56 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins7877647488063917508.sh 05:04:56 ---> python-tools-install.sh 05:04:56 Setup pyenv: 05:04:56 * system (set by /opt/pyenv/version) 05:04:56 * 3.8.13 (set by /opt/pyenv/version) 05:04:56 * 3.9.13 (set by /opt/pyenv/version) 05:04:56 * 3.10.6 (set by /opt/pyenv/version) 05:05:00 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-anhf 05:05:00 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 05:05:03 lf-activate-venv(): INFO: Installing: lftools 05:05:36 lf-activate-venv(): INFO: Adding /tmp/venv-anhf/bin to PATH 05:05:36 Generating Requirements File 05:06:00 Python 3.10.6 05:06:01 pip 24.0 from /tmp/venv-anhf/lib/python3.10/site-packages/pip (python 3.10) 05:06:01 appdirs==1.4.4 05:06:01 argcomplete==3.3.0 05:06:01 aspy.yaml==1.3.0 05:06:01 attrs==23.2.0 05:06:01 autopage==0.5.2 05:06:01 beautifulsoup4==4.12.3 05:06:01 boto3==1.34.115 05:06:01 botocore==1.34.115 05:06:01 bs4==0.0.2 05:06:01 cachetools==5.3.3 05:06:01 certifi==2024.2.2 05:06:01 cffi==1.16.0 05:06:01 cfgv==3.4.0 05:06:01 chardet==5.2.0 05:06:01 charset-normalizer==3.3.2 05:06:01 click==8.1.7 05:06:01 cliff==4.7.0 05:06:01 cmd2==2.4.3 05:06:01 cryptography==3.3.2 05:06:01 debtcollector==3.0.0 05:06:01 decorator==5.1.1 05:06:01 defusedxml==0.7.1 05:06:01 Deprecated==1.2.14 05:06:01 distlib==0.3.8 05:06:01 dnspython==2.6.1 05:06:01 docker==4.2.2 05:06:01 dogpile.cache==1.3.3 05:06:01 email_validator==2.1.1 05:06:01 filelock==3.14.0 05:06:01 future==1.0.0 05:06:01 gitdb==4.0.11 05:06:01 GitPython==3.1.43 05:06:01 google-auth==2.29.0 05:06:01 httplib2==0.22.0 05:06:01 identify==2.5.36 05:06:01 idna==3.7 05:06:01 importlib-resources==1.5.0 05:06:01 iso8601==2.1.0 05:06:01 Jinja2==3.1.4 05:06:01 jmespath==1.0.1 05:06:01 jsonpatch==1.33 05:06:01 jsonpointer==2.4 05:06:01 jsonschema==4.22.0 05:06:01 jsonschema-specifications==2023.12.1 05:06:01 keystoneauth1==5.6.0 05:06:01 kubernetes==29.0.0 05:06:01 lftools==0.37.10 05:06:01 lxml==5.2.2 05:06:01 MarkupSafe==2.1.5 05:06:01 msgpack==1.0.8 05:06:01 multi_key_dict==2.0.3 05:06:01 munch==4.0.0 05:06:01 netaddr==1.3.0 05:06:01 netifaces==0.11.0 05:06:01 niet==1.4.2 05:06:01 nodeenv==1.9.0 05:06:01 oauth2client==4.1.3 05:06:01 oauthlib==3.2.2 05:06:01 openstacksdk==3.1.0 05:06:01 os-client-config==2.1.0 05:06:01 os-service-types==1.7.0 05:06:01 osc-lib==3.0.1 05:06:01 oslo.config==9.4.0 05:06:01 oslo.context==5.5.0 05:06:01 oslo.i18n==6.3.0 05:06:01 oslo.log==6.0.0 05:06:01 oslo.serialization==5.4.0 05:06:01 oslo.utils==7.1.0 05:06:01 packaging==24.0 05:06:01 pbr==6.0.0 05:06:01 platformdirs==4.2.2 05:06:01 prettytable==3.10.0 05:06:01 pyasn1==0.6.0 05:06:01 pyasn1_modules==0.4.0 05:06:01 pycparser==2.22 05:06:01 pygerrit2==2.0.15 05:06:01 PyGithub==2.3.0 05:06:01 PyJWT==2.8.0 05:06:01 PyNaCl==1.5.0 05:06:01 pyparsing==2.4.7 05:06:01 pyperclip==1.8.2 05:06:01 pyrsistent==0.20.0 05:06:01 python-cinderclient==9.5.0 05:06:01 python-dateutil==2.9.0.post0 05:06:01 python-heatclient==3.5.0 05:06:01 python-jenkins==1.8.2 05:06:01 python-keystoneclient==5.4.0 05:06:01 python-magnumclient==4.5.0 05:06:01 python-novaclient==18.6.0 05:06:01 python-openstackclient==6.6.0 05:06:01 python-swiftclient==4.6.0 05:06:01 PyYAML==6.0.1 05:06:01 referencing==0.35.1 05:06:01 requests==2.32.3 05:06:01 requests-oauthlib==2.0.0 05:06:01 requestsexceptions==1.4.0 05:06:01 rfc3986==2.0.0 05:06:01 rpds-py==0.18.1 05:06:01 rsa==4.9 05:06:01 ruamel.yaml==0.18.6 05:06:01 ruamel.yaml.clib==0.2.8 05:06:01 s3transfer==0.10.1 05:06:01 simplejson==3.19.2 05:06:01 six==1.16.0 05:06:01 smmap==5.0.1 05:06:01 soupsieve==2.5 05:06:01 stevedore==5.2.0 05:06:01 tabulate==0.9.0 05:06:01 toml==0.10.2 05:06:01 tomlkit==0.12.5 05:06:01 tqdm==4.66.4 05:06:01 typing_extensions==4.12.0 05:06:01 tzdata==2024.1 05:06:01 urllib3==1.26.18 05:06:01 virtualenv==20.26.2 05:06:01 wcwidth==0.2.13 05:06:01 websocket-client==1.8.0 05:06:01 wrapt==1.16.0 05:06:01 xdg==6.0.0 05:06:01 xmltodict==0.13.0 05:06:01 yq==3.4.3 05:06:01 [EnvInject] - Injecting environment variables from a build step. 05:06:01 [EnvInject] - Injecting as environment variables the properties content 05:06:01 SET_JDK_VERSION=openjdk17 05:06:01 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 05:06:01 05:06:01 [EnvInject] - Variables injected successfully. 05:06:01 [ric-app-qp-tox-sonarqube] $ /bin/sh /tmp/jenkins13541393008070271505.sh 05:06:01 ---> update-java-alternatives.sh 05:06:01 ---> Updating Java version 05:06:02 ---> Ubuntu/Debian system detected 05:06:02 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 05:06:02 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 05:06:02 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:03 openjdk version "17.0.7" 2023-04-18 05:06:03 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 05:06:03 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 05:06:03 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 05:06:03 [EnvInject] - Injecting environment variables from a build step. 05:06:03 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 05:06:03 [EnvInject] - Variables injected successfully. 05:06:03 [EnvInject] - Injecting environment variables from a build step. 05:06:03 [EnvInject] - Injecting as environment variables the properties content 05:06:03 PYTHON=python3 05:06:03 05:06:03 [EnvInject] - Variables injected successfully. 05:06:03 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6079136029455355627.sh 05:06:03 ---> tox-install.sh 05:06:03 + source /home/jenkins/lf-env.sh 05:06:03 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:03 ++ mktemp -d /tmp/venv-XXXX 05:06:03 + lf_venv=/tmp/venv-YqPM 05:06:03 + local venv_file=/tmp/.os_lf_venv 05:06:03 + local python=python3 05:06:03 + local options 05:06:03 + local set_path=true 05:06:03 + local install_args= 05:06:03 ++ 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:03 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:03 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:03 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:03 + true 05:06:03 + case $1 in 05:06:03 + venv_file=/tmp/.toxenv 05:06:03 + shift 2 05:06:03 + true 05:06:03 + case $1 in 05:06:03 + shift 05:06:03 + break 05:06:03 + case $python in 05:06:03 + local pkg_list= 05:06:03 + [[ -d /opt/pyenv ]] 05:06:03 + echo 'Setup pyenv:' 05:06:03 Setup pyenv: 05:06:03 + export PYENV_ROOT=/opt/pyenv 05:06:03 + PYENV_ROOT=/opt/pyenv 05:06:03 + 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:03 + 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:03 + pyenv versions 05:06:03 system 05:06:03 3.8.13 05:06:03 3.9.13 05:06:03 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:03 + command -v pyenv 05:06:03 ++ pyenv init - --no-rehash 05:06:03 + 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:03 export PATH="/opt/pyenv/shims:${PATH}" 05:06:03 export PYENV_SHELL=bash 05:06:03 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:03 pyenv() { 05:06:03 local command 05:06:03 command="${1:-}" 05:06:03 if [ "$#" -gt 0 ]; then 05:06:03 shift 05:06:03 fi 05:06:03 05:06:03 case "$command" in 05:06:03 rehash|shell) 05:06:03 eval "$(pyenv "sh-$command" "$@")" 05:06:03 ;; 05:06:03 *) 05:06:03 command pyenv "$command" "$@" 05:06:03 ;; 05:06:03 esac 05:06:03 }' 05:06:03 +++ 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:03 ++ 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:03 ++ 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:03 ++ 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:03 ++ export PYENV_SHELL=bash 05:06:03 ++ PYENV_SHELL=bash 05:06:03 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:03 +++ complete -F _pyenv pyenv 05:06:03 ++ lf-pyver python3 05:06:03 ++ local py_version_xy=python3 05:06:03 ++ local py_version_xyz= 05:06:03 ++ grep -E '^[0-9.]*[0-9]$' 05:06:03 ++ awk '{ print $1 }' 05:06:03 ++ sed 's/^[ *]* //' 05:06:03 ++ pyenv versions 05:06:03 ++ local command 05:06:03 ++ command=versions 05:06:03 ++ '[' 1 -gt 0 ']' 05:06:03 ++ shift 05:06:03 ++ case "$command" in 05:06:03 ++ command pyenv versions 05:06:03 ++ pyenv versions 05:06:03 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:03 +++ grep '^3' /tmp/.pyenv_versions 05:06:03 +++ tail -n 1 05:06:03 +++ sort -V 05:06:03 ++ py_version_xyz=3.10.6 05:06:03 ++ [[ -z 3.10.6 ]] 05:06:03 ++ echo 3.10.6 05:06:03 ++ return 0 05:06:03 + pyenv local 3.10.6 05:06:03 + local command 05:06:03 + command=local 05:06:03 + '[' 2 -gt 0 ']' 05:06:03 + shift 05:06:03 + case "$command" in 05:06:03 + command pyenv local 3.10.6 05:06:03 + pyenv local 3.10.6 05:06:03 + for arg in "$@" 05:06:03 + case $arg in 05:06:03 + pkg_list+='tox ' 05:06:03 + for arg in "$@" 05:06:03 + case $arg in 05:06:03 + pkg_list+='virtualenv ' 05:06:03 + for arg in "$@" 05:06:03 + case $arg in 05:06:03 + pkg_list+='urllib3~=1.26.15 ' 05:06:03 + [[ -f /tmp/.toxenv ]] 05:06:03 + [[ ! -f /tmp/.toxenv ]] 05:06:03 + [[ -n '' ]] 05:06:03 + python3 -m venv /tmp/venv-YqPM 05:06:07 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YqPM' 05:06:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YqPM 05:06:07 + echo /tmp/venv-YqPM 05:06:07 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 05:06:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 05:06:07 + /tmp/venv-YqPM/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:10 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:10 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:10 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:10 + /tmp/venv-YqPM/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:12 + type python3 05:06:12 + true 05:06:12 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-YqPM/bin to PATH' 05:06:12 lf-activate-venv(): INFO: Adding /tmp/venv-YqPM/bin to PATH 05:06:12 + PATH=/tmp/venv-YqPM/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:12 + return 0 05:06:12 + python3 --version 05:06:12 Python 3.10.6 05:06:12 + python3 -m pip --version 05:06:12 pip 24.0 from /tmp/venv-YqPM/lib/python3.10/site-packages/pip (python 3.10) 05:06:12 + python3 -m pip freeze 05:06:13 cachetools==5.3.3 05:06:13 chardet==5.2.0 05:06:13 colorama==0.4.6 05:06:13 distlib==0.3.8 05:06:13 filelock==3.14.0 05:06:13 packaging==24.0 05:06:13 platformdirs==4.2.2 05:06:13 pluggy==1.5.0 05:06:13 pyproject-api==1.6.1 05:06:13 tomli==2.0.1 05:06:13 tox==4.15.0 05:06:13 urllib3==1.26.18 05:06:13 virtualenv==20.26.2 05:06:13 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins8908958920293632814.sh 05:06:13 ---> install-deb-rmr.sh 05:06:13 + version_file=rmr-version.yaml 05:06:13 + '[' -f rmr-version.yaml ']' 05:06:13 ++ grep '^repo:' rmr-version.yaml 05:06:13 ++ xargs 05:06:13 ++ cut -d: -f2 05:06:13 + repo= 05:06:13 ++ grep '^version:' rmr-version.yaml 05:06:13 ++ cut -d: -f2 05:06:13 ++ xargs 05:06:13 + ver=4.9.0 05:06:13 + '[' -z 4.9.0 ']' 05:06:13 + repo=release 05:06:13 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:13 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 05:06:13 2024-05-30 05:06:13 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1717045873&Signature=daX03WEYbqbi7e1nOYnv1xzBO-3snS-mB8BnR5SdVM1WlxLL7vOKtrgYLtzlDthq9EIOyu9QfrqMfz4aw8XqitctYF-AWWKB1dfym4EFTbSRef1k3BZQUicJg1hye3uuTF8WYBXWquivabJZA2UrM--ULZ96NulP8KoJCKwwDKmcK8MDHEgDHp6x-zQAGgTO7O9806A8uuXtanc8R3luPGknw5HhzUodPLjCHajy~Ao3gpUorVS-TMcbI-kBb0VltzX30AEsj412i33gxGx6eAhNgzFHu14ej0qJHMX25tLkQbkxEDvJOktf6ICWXG3tFtLepAOOPxe8zyGg9SZLWg__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 05:06:13 + sudo dpkg -i rmr_4.9.0_amd64.deb 05:06:13 Selecting previously unselected package rmr. 05:06:15 (Reading database ... 188029 files and directories currently installed.) 05:06:15 Preparing to unpack rmr_4.9.0_amd64.deb ... 05:06:15 Unpacking rmr (4.9.0) ... 05:06:15 Setting up rmr (4.9.0) ... 05:06:15 + rm -f rmr_4.9.0_amd64.deb 05:06:15 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:15 + 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:15 2024-05-30 05:06:15 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1717045875&Signature=sF7F6WNuPIoAu2SWWUk9-C27Ad3RgVFnzDQ2V31kWiAF6Py28WlPNzRe63wd3XhnvPYXTXCZLmW6cgK8ShyXbMw~7-Zqkt-yaeB3gs6-MYfxMJUsZKxetdK4wsLm7ryU0B-LN5N~qrW35cVqx0NsUFmXL3UdZdCJncpZWGhpwbX4WxES4HEh7muj7E2P5BUkVc-H06HGTObajXoSXVBlqD4pYYyhhGE-a2GQw0LMsoIG7WaXvskXw8Fi2r~DksbL6yF2o9lv~8eLvBxlPkJte3ZsM24SKw8lNiYEjq~dGjC8U~S5WST8w1FWid1GPKhql88h65lObA~59nrZOT6TDg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 05:06:15 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 05:06:15 Selecting previously unselected package rmr-dev. 05:06:15 (Reading database ... 188037 files and directories currently installed.) 05:06:15 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 05:06:15 Unpacking rmr-dev (4.9.0) ... 05:06:15 Setting up rmr-dev (4.9.0) ... 05:06:15 + rm -f rmr-dev_4.9.0_amd64.deb 05:06:15 + echo '---> install-deb-rmr.sh ends' 05:06:15 ---> install-deb-rmr.sh ends 05:06:15 [EnvInject] - Injecting environment variables from a build step. 05:06:15 [EnvInject] - Injecting as environment variables the properties content 05:06:15 PARALLEL=False 05:06:15 05:06:15 [EnvInject] - Variables injected successfully. 05:06:15 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9278644433089186898.sh 05:06:15 ---> tox-run.sh 05:06:15 + 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:15 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:15 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/docs 05:06:15 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:15 + cd /w/workspace/ric-app-qp-tox-sonarqube/. 05:06:15 + source /home/jenkins/lf-env.sh 05:06:15 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:15 ++ mktemp -d /tmp/venv-XXXX 05:06:15 + lf_venv=/tmp/venv-FZqE 05:06:15 + local venv_file=/tmp/.os_lf_venv 05:06:15 + local python=python3 05:06:15 + local options 05:06:15 + local set_path=true 05:06:15 + local install_args= 05:06:15 ++ 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:15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:15 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:15 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:15 + true 05:06:15 + case $1 in 05:06:15 + venv_file=/tmp/.toxenv 05:06:15 + shift 2 05:06:15 + true 05:06:15 + case $1 in 05:06:15 + shift 05:06:15 + break 05:06:15 + case $python in 05:06:15 + local pkg_list= 05:06:15 + [[ -d /opt/pyenv ]] 05:06:15 + echo 'Setup pyenv:' 05:06:15 Setup pyenv: 05:06:15 + export PYENV_ROOT=/opt/pyenv 05:06:15 + PYENV_ROOT=/opt/pyenv 05:06:15 + 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:15 + 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:15 + pyenv versions 05:06:15 system 05:06:15 3.8.13 05:06:15 3.9.13 05:06:15 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:15 + command -v pyenv 05:06:15 ++ pyenv init - --no-rehash 05:06:16 + 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:16 export PATH="/opt/pyenv/shims:${PATH}" 05:06:16 export PYENV_SHELL=bash 05:06:16 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:16 pyenv() { 05:06:16 local command 05:06:16 command="${1:-}" 05:06:16 if [ "$#" -gt 0 ]; then 05:06:16 shift 05:06:16 fi 05:06:16 05:06:16 case "$command" in 05:06:16 rehash|shell) 05:06:16 eval "$(pyenv "sh-$command" "$@")" 05:06:16 ;; 05:06:16 *) 05:06:16 command pyenv "$command" "$@" 05:06:16 ;; 05:06:16 esac 05:06:16 }' 05:06:16 +++ 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:16 ++ 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:16 ++ 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:16 ++ 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:16 ++ export PYENV_SHELL=bash 05:06:16 ++ PYENV_SHELL=bash 05:06:16 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:16 +++ complete -F _pyenv pyenv 05:06:16 ++ lf-pyver python3 05:06:16 ++ local py_version_xy=python3 05:06:16 ++ local py_version_xyz= 05:06:16 ++ pyenv versions 05:06:16 ++ local command 05:06:16 ++ command=versions 05:06:16 ++ grep -E '^[0-9.]*[0-9]$' 05:06:16 ++ '[' 1 -gt 0 ']' 05:06:16 ++ shift 05:06:16 ++ case "$command" in 05:06:16 ++ command pyenv versions 05:06:16 ++ pyenv versions 05:06:16 ++ awk '{ print $1 }' 05:06:16 ++ sed 's/^[ *]* //' 05:06:16 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:16 +++ grep '^3' /tmp/.pyenv_versions 05:06:16 +++ tail -n 1 05:06:16 +++ sort -V 05:06:16 ++ py_version_xyz=3.10.6 05:06:16 ++ [[ -z 3.10.6 ]] 05:06:16 ++ echo 3.10.6 05:06:16 ++ return 0 05:06:16 + pyenv local 3.10.6 05:06:16 + local command 05:06:16 + command=local 05:06:16 + '[' 2 -gt 0 ']' 05:06:16 + shift 05:06:16 + case "$command" in 05:06:16 + command pyenv local 3.10.6 05:06:16 + pyenv local 3.10.6 05:06:16 + for arg in "$@" 05:06:16 + case $arg in 05:06:16 + pkg_list+='tox ' 05:06:16 + for arg in "$@" 05:06:16 + case $arg in 05:06:16 + pkg_list+='virtualenv ' 05:06:16 + for arg in "$@" 05:06:16 + case $arg in 05:06:16 + pkg_list+='urllib3~=1.26.15 ' 05:06:16 + [[ -f /tmp/.toxenv ]] 05:06:16 ++ cat /tmp/.toxenv 05:06:16 + lf_venv=/tmp/venv-YqPM 05:06:16 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YqPM from' file:/tmp/.toxenv 05:06:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-YqPM from file:/tmp/.toxenv 05:06:16 + /tmp/venv-YqPM/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:16 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:16 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:16 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:16 + /tmp/venv-YqPM/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:18 + type python3 05:06:18 + true 05:06:18 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-YqPM/bin to PATH' 05:06:18 lf-activate-venv(): INFO: Adding /tmp/venv-YqPM/bin to PATH 05:06:18 + PATH=/tmp/venv-YqPM/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:18 + return 0 05:06:18 + [[ -d /opt/pyenv ]] 05:06:18 + echo '---> Setting up pyenv' 05:06:18 ---> Setting up pyenv 05:06:18 + export PYENV_ROOT=/opt/pyenv 05:06:18 + PYENV_ROOT=/opt/pyenv 05:06:18 + export PATH=/opt/pyenv/bin:/tmp/venv-YqPM/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:18 + PATH=/opt/pyenv/bin:/tmp/venv-YqPM/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:18 ++ pwd 05:06:18 + PYTHONPATH=/w/workspace/ric-app-qp-tox-sonarqube 05:06:18 + export PYTHONPATH 05:06:18 + export TOX_TESTENV_PASSENV=PYTHONPATH 05:06:18 + TOX_TESTENV_PASSENV=PYTHONPATH 05:06:18 + tox --version 05:06:18 4.15.0 from /tmp/venv-YqPM/lib/python3.10/site-packages/tox/__init__.py 05:06:18 + PARALLEL=False 05:06:18 + TOX_OPTIONS_LIST= 05:06:18 + [[ -n code,flake8 ]] 05:06:18 + TOX_OPTIONS_LIST=' -e code,flake8' 05:06:18 + case ${PARALLEL,,} in 05:06:18 + tee -a /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/tox.log 05:06:18 + tox -e code,flake8 05:06:19 code: install_deps> python -I -m pip install coverage pytest pytest-cov 05:06:23 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 05:06:24 .pkg: _optional_hooks> python /tmp/venv-YqPM/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:24 .pkg: get_requires_for_build_sdist> python /tmp/venv-YqPM/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:24 .pkg: get_requires_for_build_wheel> python /tmp/venv-YqPM/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:24 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 05:06:25 .pkg: freeze> python -m pip freeze --all 05:06:25 .pkg: pip==24.0,setuptools==69.5.1,wheel==0.43.0 05:06:25 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-YqPM/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:26 .pkg: build_sdist> python /tmp/venv-YqPM/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:26 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:06:56 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:06:58 code: freeze> python -m pip freeze --all 05:06:58 code: async-timeout==4.0.3,certifi==2024.2.2,charset-normalizer==3.3.2,coverage==7.5.3,exceptiongroup==1.2.1,hiredis==2.0.0,idna==3.7,influxdb==5.3.2,iniconfig==2.0.0,inotify==0.2.10,inotify_simple==1.3.5,joblib==1.4.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.5.0,protobuf==3.20.3,pytest==8.2.1,pytest-cov==5.0.0,python-dateutil==2.9.0.post0,pytz==2024.1,qp==0.0.5,redis==4.3.6,requests==2.32.3,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.5.0,scipy==1.13.1,setuptools==69.5.1,six==1.16.0,statsmodels==0.14.2,threadpoolctl==3.5.0,tomli==2.0.1,urllib3==2.2.1,wheel==0.43.0 05:06:58 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 05:06:59 ============================= test session starts ============================== 05:06:59 platform linux -- Python 3.10.6, pytest-8.2.1, pluggy-1.5.0 -- /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/bin/python 05:06:59 cachedir: .tox/code/.pytest_cache 05:06:59 rootdir: /w/workspace/ric-app-qp-tox-sonarqube 05:06:59 plugins: cov-5.0.0 05:06:59 collecting ... collected 5 items 05:07:01 05:07:01 tests/test_qp.py::test_init_xapp PASSED [ 20%] 05:07:01 tests/test_qp.py::test_database_connection PASSED [ 40%] 05:07:01 tests/test_qp.py::test_training PASSED [ 60%] 05:07:02 tests/test_qp.py::test_predict PASSED [ 80%] 05:07:02 tests/test_qp.py::test_rmr_flow PASSED [100%] 05:07:44 05:07:44 =============================== warnings summary =============================== 05:07:44 tests/test_qp.py::test_training 05:07:44 /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:07:44 for name, column in df.iteritems(): 05:07:44 05:07:44 tests/test_qp.py: 20 warnings 05:07:44 /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:07:44 codes = cartesian_product(codes) 05:07:44 05:07:44 tests/test_qp.py: 40 warnings 05:07:44 /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:07:44 return [ 05:07:44 05:07:44 tests/test_qp.py::test_rmr_flow 05:07:44 /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:07:44 05:07:44 Traceback (most recent call last): 05:07:44 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 05:07:44 self.run() 05:07:44 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 05:07:44 self._target(*self._args, **self._kwargs) 05:07:44 File "/w/workspace/ric-app-qp-tox-sonarqube/.tox/code/lib/python3.10/site-packages/ricxappframe/xapp_frame.py", line 961, in loop 05:07:44 func(self, summary, sbuf) 05:07:44 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 67, in qp_predict_handler 05:07:44 pred_msg = predict(summary[rmr.RMR_MS_PAYLOAD]) 05:07:44 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 99, in predict 05:07:44 ue_list = payload['UEPredictionSet'] 05:07:44 TypeError: string indices must be integers 05:07:44 05:07:44 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 05:07:44 05:07:44 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 05:07:44 05:07:44 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 05:07:44 Name Stmts Miss Cover Missing 05:07:44 ------------------------------------------------- 05:07:44 src/__init__.py 0 0 100% 05:07:44 src/database.py 107 48 55% 44-55, 59-73, 76-91, 94-99, 102-105, 145, 148, 151 05:07:44 src/exceptions.py 6 0 100% 05:07:44 src/main.py 83 28 66% 49-50, 57-59, 68-76, 104-118, 149, 152, 169 05:07:44 src/prediction.py 18 13 28% 27-40 05:07:44 src/qptrain.py 98 18 82% 41-43, 53, 63-64, 68-75, 115-116, 139-140 05:07:44 ------------------------------------------------- 05:07:44 TOTAL 312 107 66% 05:07:44 Coverage HTML written to dir htmlcov 05:07:44 Coverage XML written to file coverage.xml 05:07:44 05:07:44 Required test coverage of 60% reached. Total coverage: 65.71% 05:07:44 ======================= 5 passed, 62 warnings in 44.72s ======================== 05:07:44 code: commands[1]> coverage xml -i 05:07:44 Wrote XML report to coverage.xml 05:07:45 code: OK ✔ in 1 minute 25.47 seconds 05:07:45 flake8: install_deps> python -I -m pip install flake8 05:07:47 flake8: freeze> python -m pip freeze --all 05:07:48 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.5.1,wheel==0.43.0 05:07:48 flake8: commands[0]> flake8 setup.py src tests 05:07:48 code: OK (85.46=setup[39.81]+cmd[45.49,0.16] seconds) 05:07:48 flake8: OK (3.73=setup[3.49]+cmd[0.24] seconds) 05:07:48 congratulations :) (89.36 seconds) 05:07:48 + tox_status=0 05:07:48 + echo '---> Completed tox runs' 05:07:48 ---> Completed tox runs 05:07:48 + for i in .tox/*/log 05:07:48 ++ echo .tox/code/log 05:07:48 ++ awk -F/ '{print $2}' 05:07:48 + tox_env=code 05:07:48 + cp -r .tox/code/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/code 05:07:48 + for i in .tox/*/log 05:07:48 ++ echo .tox/flake8/log 05:07:48 ++ awk -F/ '{print $2}' 05:07:48 + tox_env=flake8 05:07:48 + cp -r .tox/flake8/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/flake8 05:07:48 + DOC_DIR=docs/_build/html 05:07:48 + [[ -d docs/_build/html ]] 05:07:48 + echo '---> tox-run.sh ends' 05:07:48 ---> tox-run.sh ends 05:07:48 + test 0 -eq 0 05:07:48 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-2194 05:07:49 [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:07:49 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:07:49 INFO: Project root configuration file: NONE 05:07:49 INFO: SonarScanner 4.6.2.2472 05:07:49 INFO: Java 17.0.7 Private Build (64-bit) 05:07:49 INFO: Linux 4.15.0-213-generic amd64 05:07:50 INFO: User cache: /home/jenkins/.sonar/cache 05:07:53 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:07:53 INFO: Project root configuration file: NONE 05:07:53 INFO: Analyzing on SonarCloud 05:07:53 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 05:07:54 INFO: Load global settings 05:07:55 INFO: Load global settings (done) | time=607ms 05:07:55 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 05:07:55 INFO: Loading required plugins 05:07:55 INFO: Load plugins index 05:07:55 INFO: Load plugins index (done) | time=516ms 05:07:55 INFO: Load/download plugins 05:07:56 INFO: Load/download plugins (done) | time=894ms 05:07:57 INFO: Found an active CI vendor: 'Jenkins' 05:07:57 INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp' 05:07:57 INFO: Process project properties 05:07:57 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-qp 05:07:57 INFO: ------------------------------------------------------------------------ 05:07:57 INFO: EXECUTION FAILURE 05:07:57 INFO: ------------------------------------------------------------------------ 05:07:57 INFO: Total time: 7.929s 05:07:57 INFO: Final Memory: 10M/40M 05:07:57 INFO: ------------------------------------------------------------------------ 05:07:57 ERROR: Error during SonarScanner execution 05:07:57 ERROR: The folder 'qp' does not exist for 'o-ran-sc_ric-app-qp' (base directory = /w/workspace/ric-app-qp-tox-sonarqube) 05:07:57 ERROR: 05:07:57 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 05:07:58 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 05:07:58 $ ssh-agent -k 05:07:58 unset SSH_AUTH_SOCK; 05:07:58 unset SSH_AGENT_PID; 05:07:58 echo Agent pid 1654 killed; 05:07:58 [ssh-agent] Stopped. 05:07:58 ERROR: SonarQube scanner exited with non-zero code: 2 05:07:58 [PostBuildScript] - [INFO] Executing post build scripts. 05:07:58 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins10293067751199584470.sh 05:07:58 ---> sysstat.sh 05:07:59 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins13097218569713773991.sh 05:07:59 ---> package-listing.sh 05:07:59 ++ facter osfamily 05:07:59 ++ tr '[:upper:]' '[:lower:]' 05:07:59 + OS_FAMILY=debian 05:07:59 + workspace=/w/workspace/ric-app-qp-tox-sonarqube 05:07:59 + START_PACKAGES=/tmp/packages_start.txt 05:07:59 + END_PACKAGES=/tmp/packages_end.txt 05:07:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:07:59 + PACKAGES=/tmp/packages_start.txt 05:07:59 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:07:59 + PACKAGES=/tmp/packages_end.txt 05:07:59 + case "${OS_FAMILY}" in 05:07:59 + dpkg -l 05:07:59 + grep '^ii' 05:07:59 + '[' -f /tmp/packages_start.txt ']' 05:07:59 + '[' -f /tmp/packages_end.txt ']' 05:07:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:07:59 + true 05:07:59 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:07:59 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:07:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:07:59 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins18290535045748434387.sh 05:07:59 ---> capture-instance-metadata.sh 05:07:59 Setup pyenv: 05:07:59 system 05:07:59 3.8.13 05:07:59 3.9.13 05:07:59 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:07:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-anhf from file:/tmp/.os_lf_venv 05:08:01 lf-activate-venv(): INFO: Installing: lftools 05:08:12 lf-activate-venv(): INFO: Adding /tmp/venv-anhf/bin to PATH 05:08:12 INFO: Running in OpenStack, capturing instance metadata 05:08:12 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6653963436357713030.sh 05:08:12 provisioning config files... 05:08:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-tox-sonarqube@tmp/config14323548675682505198tmp 05:08:12 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 05:08:12 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 05:08:12 [EnvInject] - Injecting environment variables from a build step. 05:08:12 [EnvInject] - Injecting as environment variables the properties content 05:08:12 SERVER_ID=logs 05:08:12 05:08:12 [EnvInject] - Variables injected successfully. 05:08:12 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins16792847737072980569.sh 05:08:12 ---> create-netrc.sh 05:08:12 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins18033747122478840239.sh 05:08:12 ---> python-tools-install.sh 05:08:12 Setup pyenv: 05:08:12 system 05:08:12 3.8.13 05:08:12 3.9.13 05:08:12 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-anhf from file:/tmp/.os_lf_venv 05:08:14 lf-activate-venv(): INFO: Installing: lftools 05:08:24 lf-activate-venv(): INFO: Adding /tmp/venv-anhf/bin to PATH 05:08:24 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6637276374370134898.sh 05:08:24 ---> sudo-logs.sh 05:08:24 Archiving 'sudo' log.. 05:08:24 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins10601129807512575554.sh 05:08:24 ---> job-cost.sh 05:08:24 Setup pyenv: 05:08:24 system 05:08:24 3.8.13 05:08:24 3.9.13 05:08:24 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-anhf from file:/tmp/.os_lf_venv 05:08:26 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:08:31 lf-activate-venv(): INFO: Adding /tmp/venv-anhf/bin to PATH 05:08:31 INFO: No Stack... 05:08:32 INFO: Retrieving Pricing Info for: v2-highcpu-2 05:08:32 INFO: Archiving Costs 05:08:32 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8696402169237710641.sh 05:08:32 ---> logs-deploy.sh 05:08:32 Setup pyenv: 05:08:32 system 05:08:32 3.8.13 05:08:32 3.9.13 05:08:32 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:32 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-anhf from file:/tmp/.os_lf_venv 05:08:33 lf-activate-venv(): INFO: Installing: lftools 05:08:43 lf-activate-venv(): INFO: Adding /tmp/venv-anhf/bin to PATH 05:08:43 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-tox-sonarqube/209 05:08:43 INFO: archiving workspace using pattern(s): -p **/*.log 05:08:46 Archives upload complete. 05:08:47 INFO: archiving logs to Nexus 05:08:47 ---> uname -a: 05:08:47 Linux prd-ubuntu1804-builder-2c-2g-2194 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:08:47 05:08:47 05:08:47 ---> lscpu: 05:08:47 Architecture: x86_64 05:08:47 CPU op-mode(s): 32-bit, 64-bit 05:08:47 Byte Order: Little Endian 05:08:47 CPU(s): 2 05:08:47 On-line CPU(s) list: 0,1 05:08:47 Thread(s) per core: 1 05:08:47 Core(s) per socket: 1 05:08:47 Socket(s): 2 05:08:47 NUMA node(s): 1 05:08:47 Vendor ID: AuthenticAMD 05:08:47 CPU family: 23 05:08:47 Model: 49 05:08:47 Model name: AMD EPYC-Rome Processor 05:08:47 Stepping: 0 05:08:47 CPU MHz: 2800.000 05:08:47 BogoMIPS: 5600.00 05:08:47 Virtualization: AMD-V 05:08:47 Hypervisor vendor: KVM 05:08:47 Virtualization type: full 05:08:47 L1d cache: 32K 05:08:47 L1i cache: 32K 05:08:47 L2 cache: 512K 05:08:47 L3 cache: 16384K 05:08:47 NUMA node0 CPU(s): 0,1 05:08:47 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:08:47 05:08:47 05:08:47 ---> nproc: 05:08:47 2 05:08:47 05:08:47 05:08:47 ---> df -h: 05:08:47 Filesystem Size Used Avail Use% Mounted on 05:08:47 udev 984M 0 984M 0% /dev 05:08:47 tmpfs 200M 668K 199M 1% /run 05:08:47 /dev/vda1 20G 7.9G 12G 41% / 05:08:47 tmpfs 997M 0 997M 0% /dev/shm 05:08:47 tmpfs 5.0M 0 5.0M 0% /run/lock 05:08:47 tmpfs 997M 0 997M 0% /sys/fs/cgroup 05:08:47 /dev/vda15 105M 5.3M 100M 5% /boot/efi 05:08:47 tmpfs 200M 0 200M 0% /run/user/1001 05:08:47 05:08:47 05:08:47 ---> free -m: 05:08:47 total used free shared buff/cache available 05:08:47 Mem: 1992 341 89 0 1562 1470 05:08:47 Swap: 1023 0 1023 05:08:47 05:08:47 05:08:47 ---> ip addr: 05:08:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:08:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:08:47 inet 127.0.0.1/8 scope host lo 05:08:47 valid_lft forever preferred_lft forever 05:08:47 inet6 ::1/128 scope host 05:08:47 valid_lft forever preferred_lft forever 05:08:47 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 05:08:47 link/ether fa:16:3e:02:6c:04 brd ff:ff:ff:ff:ff:ff 05:08:47 inet 10.32.7.226/23 brd 10.32.7.255 scope global dynamic ens3 05:08:47 valid_lft 86144sec preferred_lft 86144sec 05:08:47 inet6 fe80::f816:3eff:fe02:6c04/64 scope link 05:08:47 valid_lft forever preferred_lft forever 05:08:47 05:08:47 05:08:47 ---> sar -b -r -n DEV: 05:08:47 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2194) 05/30/24 _x86_64_ (2 CPU) 05:08:47 05:08:47 05:04:35 LINUX RESTART (2 CPU) 05:08:47 05:08:47 05:05:01 tps rtps wtps bread/s bwrtn/s 05:08:47 05:06:01 111.02 38.74 72.28 1891.31 10115.22 05:08:47 05:07:01 186.00 96.57 89.44 7207.20 26328.16 05:08:47 05:08:01 81.82 61.14 20.68 2823.53 5439.23 05:08:47 Average: 126.28 65.48 60.80 3973.61 13960.49 05:08:47 05:08:47 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:08:47 05:06:01 157808 1593388 1882824 92.27 53264 1468596 493684 15.98 364036 1369856 136364 05:08:47 05:07:01 126788 1457228 1913844 93.79 75200 1343508 852876 27.61 468248 1299668 104156 05:08:47 05:08:01 145720 1557820 1894912 92.86 76692 1417840 522160 16.90 385436 1353964 71612 05:08:47 Average: 143439 1536145 1897193 92.97 68385 1409981 622907 20.16 405907 1341163 104044 05:08:47 05:08:47 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:08:47 05:06:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 05:08:47 05:06:01 ens3 75.37 70.78 805.90 9.02 0.00 0.00 0.00 0.00 05:08:47 05:07:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 05:08:47 05:07:01 ens3 75.89 66.41 1616.17 10.31 0.00 0.00 0.00 0.00 05:08:47 05:08:01 lo 0.88 0.88 0.09 0.09 0.00 0.00 0.00 0.00 05:08:47 05:08:01 ens3 216.45 117.81 1567.06 14.10 0.00 0.00 0.00 0.00 05:08:47 Average: lo 1.29 1.29 0.13 0.13 0.00 0.00 0.00 0.00 05:08:47 Average: ens3 122.56 85.00 1329.58 11.14 0.00 0.00 0.00 0.00 05:08:47 05:08:47 05:08:47 ---> sar -P ALL: 05:08:47 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2194) 05/30/24 _x86_64_ (2 CPU) 05:08:47 05:08:47 05:04:35 LINUX RESTART (2 CPU) 05:08:47 05:08:47 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:08:47 05:06:01 all 40.05 0.00 2.64 5.95 0.09 51.27 05:08:47 05:06:01 0 51.54 0.00 3.09 1.95 0.10 43.31 05:08:47 05:06:01 1 28.55 0.00 2.17 9.93 0.08 59.26 05:08:47 05:07:01 all 37.25 0.00 3.96 8.25 0.10 50.44 05:08:47 05:07:01 0 57.94 0.00 4.27 6.73 0.12 30.94 05:08:47 05:07:01 1 16.75 0.00 3.68 9.77 0.08 69.71 05:08:47 05:08:01 all 13.24 0.00 1.97 3.67 0.07 81.04 05:08:47 05:08:01 0 15.45 0.00 1.51 3.92 0.08 79.04 05:08:47 05:08:01 1 11.07 0.00 2.41 3.41 0.05 83.06 05:08:47 Average: all 30.16 0.00 2.86 5.96 0.09 60.94 05:08:47 Average: 0 41.67 0.00 2.96 4.20 0.10 51.07 05:08:47 Average: 1 18.75 0.00 2.76 7.69 0.07 70.73 05:08:47 05:08:47 05:08:47