05:04:55 Started by timer 05:04:55 Running as SYSTEM 05:04:55 [EnvInject] - Loading node environment variables. 05:04:55 Building remotely on prd-ubuntu1804-builder-2c-2g-1156 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-qp-tox-sonarqube 05:04:55 [ssh-agent] Looking for ssh-agent implementation... 05:04:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:55 $ ssh-agent 05:04:55 SSH_AUTH_SOCK=/tmp/ssh-7oJ66h0odOMT/agent.1759 05:04:55 SSH_AGENT_PID=1761 05:04:55 [ssh-agent] Started. 05:04:55 Running ssh-add (command line suppressed) 05:04:55 Identity added: /w/workspace/ric-app-qp-tox-sonarqube@tmp/private_key_13423966078726700315.key (jenkins-ssh) 05:04:56 [ssh-agent] Using credentials jenkins (jenkins) 05:04:56 The recommended git tool is: NONE 05:04:57 using credential jenkins 05:04:57 Wiping out workspace first. 05:04:57 Cloning the remote Git repository 05:04:57 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:04:57 > git init /w/workspace/ric-app-qp-tox-sonarqube # timeout=10 05:04:57 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp 05:04:57 > git --version # timeout=10 05:04:57 > git --version # 'git version 2.17.1' 05:04:57 using GIT_SSH to set credentials jenkins 05:04:57 > 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:58 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp # timeout=10 05:04:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:58 Avoid second fetch 05:04:58 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 05:04:58 Checking out Revision 6b85eed29d60f343b0712d757c114bc6207ccdbe (refs/remotes/origin/master) 05:04:58 > git config core.sparsecheckout # timeout=10 05:04:58 > git checkout -f 6b85eed29d60f343b0712d757c114bc6207ccdbe # timeout=10 05:04:59 Commit message: "Release 0.0.6" 05:04:59 > git rev-list --no-walk 6b85eed29d60f343b0712d757c114bc6207ccdbe # timeout=10 05:04:59 provisioning config files... 05:04:59 copy managed file [npmrc] to file:/home/jenkins/.npmrc 05:04:59 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 05:04:59 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins17952187658312735058.sh 05:04:59 ---> python-tools-install.sh 05:04:59 Setup pyenv: 05:04:59 * system (set by /opt/pyenv/version) 05:04:59 * 3.8.13 (set by /opt/pyenv/version) 05:04:59 * 3.9.13 (set by /opt/pyenv/version) 05:04:59 * 3.10.6 (set by /opt/pyenv/version) 05:05:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-h4n7 05:05:03 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 05:05:06 lf-activate-venv(): INFO: Installing: lftools 05:05:39 lf-activate-venv(): INFO: Adding /tmp/venv-h4n7/bin to PATH 05:05:39 Generating Requirements File 05:06:14 Python 3.10.6 05:06:15 pip 24.0 from /tmp/venv-h4n7/lib/python3.10/site-packages/pip (python 3.10) 05:06:15 appdirs==1.4.4 05:06:15 argcomplete==3.2.2 05:06:15 aspy.yaml==1.3.0 05:06:15 attrs==23.2.0 05:06:15 autopage==0.5.2 05:06:15 beautifulsoup4==4.12.3 05:06:15 boto3==1.34.36 05:06:15 botocore==1.34.36 05:06:15 bs4==0.0.2 05:06:15 cachetools==5.3.2 05:06:15 certifi==2024.2.2 05:06:15 cffi==1.16.0 05:06:15 cfgv==3.4.0 05:06:15 chardet==5.2.0 05:06:15 charset-normalizer==3.3.2 05:06:15 click==8.1.7 05:06:15 cliff==4.5.0 05:06:15 cmd2==2.4.3 05:06:15 cryptography==3.3.2 05:06:15 debtcollector==2.5.0 05:06:15 decorator==5.1.1 05:06:15 defusedxml==0.7.1 05:06:15 Deprecated==1.2.14 05:06:15 distlib==0.3.8 05:06:15 dnspython==2.5.0 05:06:15 docker==4.2.2 05:06:15 dogpile.cache==1.3.0 05:06:15 email-validator==2.1.0.post1 05:06:15 filelock==3.13.1 05:06:15 future==0.18.3 05:06:15 gitdb==4.0.11 05:06:15 GitPython==3.1.41 05:06:15 google-auth==2.27.0 05:06:15 httplib2==0.22.0 05:06:15 identify==2.5.33 05:06:15 idna==3.6 05:06:15 importlib-resources==1.5.0 05:06:15 iso8601==2.1.0 05:06:15 Jinja2==3.1.3 05:06:15 jmespath==1.0.1 05:06:15 jsonpatch==1.33 05:06:15 jsonpointer==2.4 05:06:15 jsonschema==4.21.1 05:06:15 jsonschema-specifications==2023.12.1 05:06:15 keystoneauth1==5.5.0 05:06:15 kubernetes==29.0.0 05:06:15 lftools==0.37.8 05:06:15 lxml==5.1.0 05:06:15 MarkupSafe==2.1.5 05:06:15 msgpack==1.0.7 05:06:15 multi_key_dict==2.0.3 05:06:15 munch==4.0.0 05:06:15 netaddr==0.10.1 05:06:15 netifaces==0.11.0 05:06:15 niet==1.4.2 05:06:15 nodeenv==1.8.0 05:06:15 oauth2client==4.1.3 05:06:15 oauthlib==3.2.2 05:06:15 openstacksdk==0.62.0 05:06:15 os-client-config==2.1.0 05:06:15 os-service-types==1.7.0 05:06:15 osc-lib==3.0.0 05:06:15 oslo.config==9.3.0 05:06:15 oslo.context==5.3.0 05:06:15 oslo.i18n==6.2.0 05:06:15 oslo.log==5.4.0 05:06:15 oslo.serialization==5.3.0 05:06:15 oslo.utils==7.0.0 05:06:15 packaging==23.2 05:06:15 pbr==6.0.0 05:06:15 platformdirs==4.2.0 05:06:15 prettytable==3.9.0 05:06:15 pyasn1==0.5.1 05:06:15 pyasn1-modules==0.3.0 05:06:15 pycparser==2.21 05:06:15 pygerrit2==2.0.15 05:06:15 PyGithub==2.2.0 05:06:15 pyinotify==0.9.6 05:06:15 PyJWT==2.8.0 05:06:15 PyNaCl==1.5.0 05:06:15 pyparsing==2.4.7 05:06:15 pyperclip==1.8.2 05:06:15 pyrsistent==0.20.0 05:06:15 python-cinderclient==9.4.0 05:06:15 python-dateutil==2.8.2 05:06:15 python-heatclient==3.4.0 05:06:15 python-jenkins==1.8.2 05:06:15 python-keystoneclient==5.3.0 05:06:15 python-magnumclient==4.3.0 05:06:15 python-novaclient==18.4.0 05:06:15 python-openstackclient==6.0.0 05:06:15 python-swiftclient==4.4.0 05:06:15 pytz==2024.1 05:06:15 PyYAML==6.0.1 05:06:15 referencing==0.33.0 05:06:15 requests==2.31.0 05:06:15 requests-oauthlib==1.3.1 05:06:15 requestsexceptions==1.4.0 05:06:15 rfc3986==2.0.0 05:06:15 rpds-py==0.17.1 05:06:15 rsa==4.9 05:06:15 ruamel.yaml==0.18.6 05:06:15 ruamel.yaml.clib==0.2.8 05:06:15 s3transfer==0.10.0 05:06:15 simplejson==3.19.2 05:06:15 six==1.16.0 05:06:15 smmap==5.0.1 05:06:15 soupsieve==2.5 05:06:15 stevedore==5.1.0 05:06:15 tabulate==0.9.0 05:06:15 toml==0.10.2 05:06:15 tomlkit==0.12.3 05:06:15 tqdm==4.66.1 05:06:15 typing_extensions==4.9.0 05:06:15 tzdata==2023.4 05:06:15 urllib3==1.26.18 05:06:15 virtualenv==20.25.0 05:06:15 wcwidth==0.2.13 05:06:15 websocket-client==1.7.0 05:06:15 wrapt==1.16.0 05:06:15 xdg==6.0.0 05:06:15 xmltodict==0.13.0 05:06:15 yq==3.2.3 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 SET_JDK_VERSION=openjdk17 05:06:15 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 05:06:15 05:06:15 [EnvInject] - Variables injected successfully. 05:06:15 [ric-app-qp-tox-sonarqube] $ /bin/sh /tmp/jenkins10793014347247475017.sh 05:06:15 ---> update-java-alternatives.sh 05:06:15 ---> Updating Java version 05:06:16 ---> Ubuntu/Debian system detected 05:06:16 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 05:06:16 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 05:06:16 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:16 openjdk version "17.0.7" 2023-04-18 05:06:16 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 05:06:16 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 05:06:16 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 05:06:16 [EnvInject] - Injecting environment variables from a build step. 05:06:16 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 05:06:16 [EnvInject] - Variables injected successfully. 05:06:16 [EnvInject] - Injecting environment variables from a build step. 05:06:16 [EnvInject] - Injecting as environment variables the properties content 05:06:16 PYTHON=python3 05:06:16 05:06:16 [EnvInject] - Variables injected successfully. 05:06:16 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16705239108524472759.sh 05:06:17 ---> tox-install.sh 05:06:17 + source /home/jenkins/lf-env.sh 05:06:17 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:17 ++ mktemp -d /tmp/venv-XXXX 05:06:17 + lf_venv=/tmp/venv-THDo 05:06:17 + local venv_file=/tmp/.os_lf_venv 05:06:17 + local python=python3 05:06:17 + local options 05:06:17 + local set_path=true 05:06:17 + local install_args= 05:06:17 ++ 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:17 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:17 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:17 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:17 + true 05:06:17 + case $1 in 05:06:17 + venv_file=/tmp/.toxenv 05:06:17 + shift 2 05:06:17 + true 05:06:17 + case $1 in 05:06:17 + shift 05:06:17 + break 05:06:17 + case $python in 05:06:17 + local pkg_list= 05:06:17 + [[ -d /opt/pyenv ]] 05:06:17 + echo 'Setup pyenv:' 05:06:17 Setup pyenv: 05:06:17 + export PYENV_ROOT=/opt/pyenv 05:06:17 + PYENV_ROOT=/opt/pyenv 05:06:17 + 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:17 + 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:17 + pyenv versions 05:06:17 system 05:06:17 3.8.13 05:06:17 3.9.13 05:06:17 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:17 + command -v pyenv 05:06:17 ++ pyenv init - --no-rehash 05:06:17 + 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:17 export PATH="/opt/pyenv/shims:${PATH}" 05:06:17 export PYENV_SHELL=bash 05:06:17 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:17 pyenv() { 05:06:17 local command 05:06:17 command="${1:-}" 05:06:17 if [ "$#" -gt 0 ]; then 05:06:17 shift 05:06:17 fi 05:06:17 05:06:17 case "$command" in 05:06:17 rehash|shell) 05:06:17 eval "$(pyenv "sh-$command" "$@")" 05:06:17 ;; 05:06:17 *) 05:06:17 command pyenv "$command" "$@" 05:06:17 ;; 05:06:17 esac 05:06:17 }' 05:06:17 +++ 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:17 ++ 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:17 ++ 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:17 ++ 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:17 ++ export PYENV_SHELL=bash 05:06:17 ++ PYENV_SHELL=bash 05:06:17 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:17 +++ complete -F _pyenv pyenv 05:06:17 ++ lf-pyver python3 05:06:17 ++ local py_version_xy=python3 05:06:17 ++ local py_version_xyz= 05:06:17 ++ pyenv versions 05:06:17 ++ grep -E '^[0-9.]*[0-9]$' 05:06:17 ++ sed 's/^[ *]* //' 05:06:17 ++ local command 05:06:17 ++ awk '{ print $1 }' 05:06:17 ++ command=versions 05:06:17 ++ '[' 1 -gt 0 ']' 05:06:17 ++ shift 05:06:17 ++ case "$command" in 05:06:17 ++ command pyenv versions 05:06:17 ++ pyenv versions 05:06:17 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:17 +++ grep '^3' /tmp/.pyenv_versions 05:06:17 +++ tail -n 1 05:06:17 +++ sort -V 05:06:17 ++ py_version_xyz=3.10.6 05:06:17 ++ [[ -z 3.10.6 ]] 05:06:17 ++ echo 3.10.6 05:06:17 ++ return 0 05:06:17 + pyenv local 3.10.6 05:06:17 + local command 05:06:17 + command=local 05:06:17 + '[' 2 -gt 0 ']' 05:06:17 + shift 05:06:17 + case "$command" in 05:06:17 + command pyenv local 3.10.6 05:06:17 + pyenv local 3.10.6 05:06:17 + for arg in "$@" 05:06:17 + case $arg in 05:06:17 + pkg_list+='tox ' 05:06:17 + for arg in "$@" 05:06:17 + case $arg in 05:06:17 + pkg_list+='virtualenv ' 05:06:17 + for arg in "$@" 05:06:17 + case $arg in 05:06:17 + pkg_list+='urllib3~=1.26.15 ' 05:06:17 + [[ -f /tmp/.toxenv ]] 05:06:17 + [[ ! -f /tmp/.toxenv ]] 05:06:17 + [[ -n '' ]] 05:06:17 + python3 -m venv /tmp/venv-THDo 05:06:20 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-THDo' 05:06:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-THDo 05:06:20 + echo /tmp/venv-THDo 05:06:20 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 05:06:20 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 05:06:20 + /tmp/venv-THDo/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:23 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:23 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:23 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:23 + /tmp/venv-THDo/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:26 + type python3 05:06:26 + true 05:06:26 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-THDo/bin to PATH' 05:06:26 lf-activate-venv(): INFO: Adding /tmp/venv-THDo/bin to PATH 05:06:26 + PATH=/tmp/venv-THDo/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:26 + return 0 05:06:26 + python3 --version 05:06:26 Python 3.10.6 05:06:26 + python3 -m pip --version 05:06:26 pip 24.0 from /tmp/venv-THDo/lib/python3.10/site-packages/pip (python 3.10) 05:06:26 + python3 -m pip freeze 05:06:26 cachetools==5.3.2 05:06:26 chardet==5.2.0 05:06:26 colorama==0.4.6 05:06:26 distlib==0.3.8 05:06:26 filelock==3.13.1 05:06:26 packaging==23.2 05:06:26 platformdirs==4.2.0 05:06:26 pluggy==1.4.0 05:06:26 pyproject-api==1.6.1 05:06:26 tomli==2.0.1 05:06:26 tox==4.12.1 05:06:26 urllib3==1.26.18 05:06:26 virtualenv==20.25.0 05:06:26 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins183707152670208234.sh 05:06:26 ---> install-deb-rmr.sh 05:06:26 + version_file=rmr-version.yaml 05:06:26 + [[ -f rmr-version.yaml ]] 05:06:26 ++ grep '^repo:' rmr-version.yaml 05:06:26 ++ cut -d: -f2 05:06:26 ++ xargs 05:06:26 + repo= 05:06:26 ++ grep '^version:' rmr-version.yaml 05:06:26 ++ xargs 05:06:26 ++ cut -d: -f2 05:06:26 + ver=4.9.0 05:06:26 + [[ -z 4.9.0 ]] 05:06:26 + repo=release 05:06:26 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:26 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 05:06:27 2024-02-08 05:06:27 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1707369086&Signature=IZZ37LA1sVf81u7Ca12LAOdWG5mWsTHhnloNI-iWWOjV1M4yf3iM6jRfqoJlMbCc9hDczr9fuWzapnOAcCKrL6JZlmlmxgkldozRgkZU3dsX2QpVPv1GkStLz-BY29ixnDzVJ3PkO5i5Bs3r9F2TSs1IOpQIUKIz-G~YF5wy5BQfSRJGw8p9beqcYHfOOVzq20kmP7kV6a6zWyASoktfRryeOcNm4576juW-FSeCyBqxN4ccIdwRjCoMq9vpU-xTn75mxt39i2m2Da9IS~MokCnp4w~SpoXcScAgv-MniwM-lESATIcre0crAMDxL64m9VxjhbthUVCM2kTX3UBgDQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 05:06:27 + sudo dpkg -i rmr_4.9.0_amd64.deb 05:06:27 Selecting previously unselected package rmr. 05:06:29 (Reading database ... 188029 files and directories currently installed.) 05:06:29 Preparing to unpack rmr_4.9.0_amd64.deb ... 05:06:29 Unpacking rmr (4.9.0) ... 05:06:29 Setting up rmr (4.9.0) ... 05:06:29 + rm -f rmr_4.9.0_amd64.deb 05:06:29 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:06:29 + 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:30 2024-02-08 05:06:30 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1707369089&Signature=jKMVexNdK-kI--qaLqFmeTf58AZ9-6s4SA45EcLXcx0st-6C7d-YgeC5zrisp6clahQG3seL9v0-1EfO78lrAuQ70ooqVbnCN3M65IXJ-zgnOSvnRxs14TyoGV7q8CHyi-v5znmfNKDYRnLGRp-ASZ61Cr9EUWmRLJjmdmU0yPaVr5KVNvKu8IEqppi3zwMhUomCSc65qQLgo~U7Kmx0AeGFAxFEpV9NzHzfgvXKFysZGZdeTnqQ32zAIXHoZmwDUmz4t7AsSNWGR97Ij~G17y5FBobOKfOQkaBT4zxGNFawLKE5yao1u5NWgKZXCONTub52O3r3AlKZyW0o1qpMqg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 05:06:30 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 05:06:30 Selecting previously unselected package rmr-dev. 05:06:30 (Reading database ... 188037 files and directories currently installed.) 05:06:30 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 05:06:30 Unpacking rmr-dev (4.9.0) ... 05:06:30 Setting up rmr-dev (4.9.0) ... 05:06:30 + rm -f rmr-dev_4.9.0_amd64.deb 05:06:30 + echo '---> install-deb-rmr.sh ends' 05:06:30 ---> install-deb-rmr.sh ends 05:06:30 [EnvInject] - Injecting environment variables from a build step. 05:06:30 [EnvInject] - Injecting as environment variables the properties content 05:06:30 PARALLEL=False 05:06:30 05:06:30 [EnvInject] - Variables injected successfully. 05:06:30 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10088810007528075458.sh 05:06:30 ---> tox-run.sh 05:06:30 + 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:30 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:30 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/docs 05:06:30 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:30 + cd /w/workspace/ric-app-qp-tox-sonarqube/. 05:06:30 + source /home/jenkins/lf-env.sh 05:06:30 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:30 ++ mktemp -d /tmp/venv-XXXX 05:06:30 + lf_venv=/tmp/venv-0gp3 05:06:30 + local venv_file=/tmp/.os_lf_venv 05:06:30 + local python=python3 05:06:30 + local options 05:06:30 + local set_path=true 05:06:30 + local install_args= 05:06:30 ++ 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:30 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:30 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:30 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:30 + true 05:06:30 + case $1 in 05:06:30 + venv_file=/tmp/.toxenv 05:06:30 + shift 2 05:06:30 + true 05:06:30 + case $1 in 05:06:30 + shift 05:06:30 + break 05:06:30 + case $python in 05:06:30 + local pkg_list= 05:06:30 + [[ -d /opt/pyenv ]] 05:06:30 + echo 'Setup pyenv:' 05:06:30 Setup pyenv: 05:06:30 + export PYENV_ROOT=/opt/pyenv 05:06:30 + PYENV_ROOT=/opt/pyenv 05:06:30 + 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:30 + 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:30 + pyenv versions 05:06:30 system 05:06:30 3.8.13 05:06:30 3.9.13 05:06:30 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:30 + command -v pyenv 05:06:30 ++ pyenv init - --no-rehash 05:06:30 + 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:30 export PATH="/opt/pyenv/shims:${PATH}" 05:06:30 export PYENV_SHELL=bash 05:06:30 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:30 pyenv() { 05:06:30 local command 05:06:30 command="${1:-}" 05:06:30 if [ "$#" -gt 0 ]; then 05:06:30 shift 05:06:30 fi 05:06:30 05:06:30 case "$command" in 05:06:30 rehash|shell) 05:06:30 eval "$(pyenv "sh-$command" "$@")" 05:06:30 ;; 05:06:30 *) 05:06:30 command pyenv "$command" "$@" 05:06:30 ;; 05:06:30 esac 05:06:30 }' 05:06:30 +++ 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:30 ++ 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:30 ++ 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:30 ++ 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:30 ++ export PYENV_SHELL=bash 05:06:30 ++ PYENV_SHELL=bash 05:06:30 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:30 +++ complete -F _pyenv pyenv 05:06:30 ++ lf-pyver python3 05:06:30 ++ local py_version_xy=python3 05:06:30 ++ local py_version_xyz= 05:06:30 ++ pyenv versions 05:06:30 ++ local command 05:06:30 ++ command=versions 05:06:30 ++ '[' 1 -gt 0 ']' 05:06:30 ++ shift 05:06:30 ++ case "$command" in 05:06:30 ++ grep -E '^[0-9.]*[0-9]$' 05:06:30 ++ command pyenv versions 05:06:30 ++ pyenv versions 05:06:30 ++ sed 's/^[ *]* //' 05:06:30 ++ awk '{ print $1 }' 05:06:30 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:30 +++ grep '^3' /tmp/.pyenv_versions 05:06:30 +++ sort -V 05:06:30 +++ tail -n 1 05:06:30 ++ py_version_xyz=3.10.6 05:06:30 ++ [[ -z 3.10.6 ]] 05:06:30 ++ echo 3.10.6 05:06:30 ++ return 0 05:06:30 + pyenv local 3.10.6 05:06:30 + local command 05:06:30 + command=local 05:06:30 + '[' 2 -gt 0 ']' 05:06:30 + shift 05:06:30 + case "$command" in 05:06:30 + command pyenv local 3.10.6 05:06:30 + pyenv local 3.10.6 05:06:30 + for arg in "$@" 05:06:30 + case $arg in 05:06:30 + pkg_list+='tox ' 05:06:30 + for arg in "$@" 05:06:30 + case $arg in 05:06:30 + pkg_list+='virtualenv ' 05:06:30 + for arg in "$@" 05:06:30 + case $arg in 05:06:30 + pkg_list+='urllib3~=1.26.15 ' 05:06:30 + [[ -f /tmp/.toxenv ]] 05:06:30 ++ cat /tmp/.toxenv 05:06:30 + lf_venv=/tmp/venv-THDo 05:06:30 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-THDo from' file:/tmp/.toxenv 05:06:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-THDo from file:/tmp/.toxenv 05:06:30 + /tmp/venv-THDo/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:31 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:31 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:31 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:31 + /tmp/venv-THDo/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:33 + type python3 05:06:33 + true 05:06:33 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-THDo/bin to PATH' 05:06:33 lf-activate-venv(): INFO: Adding /tmp/venv-THDo/bin to PATH 05:06:33 + PATH=/tmp/venv-THDo/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:33 + return 0 05:06:33 + [[ -d /opt/pyenv ]] 05:06:33 + echo '---> Setting up pyenv' 05:06:33 ---> Setting up pyenv 05:06:33 + export PYENV_ROOT=/opt/pyenv 05:06:33 + PYENV_ROOT=/opt/pyenv 05:06:33 + export PATH=/opt/pyenv/bin:/tmp/venv-THDo/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:33 + PATH=/opt/pyenv/bin:/tmp/venv-THDo/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:33 ++ pwd 05:06:33 + PYTHONPATH=/w/workspace/ric-app-qp-tox-sonarqube 05:06:33 + export PYTHONPATH 05:06:33 + export TOX_TESTENV_PASSENV=PYTHONPATH 05:06:33 + TOX_TESTENV_PASSENV=PYTHONPATH 05:06:33 + tox --version 05:06:33 4.12.1 from /tmp/venv-THDo/lib/python3.10/site-packages/tox/__init__.py 05:06:33 + PARALLEL=False 05:06:33 + TOX_OPTIONS_LIST= 05:06:33 + [[ -n code,flake8 ]] 05:06:33 + TOX_OPTIONS_LIST=' -e code,flake8' 05:06:33 + case ${PARALLEL,,} in 05:06:33 + tee -a /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/tox.log 05:06:33 + tox -e code,flake8 05:06:34 code: install_deps> python -I -m pip install coverage pytest pytest-cov 05:06:37 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 05:06:38 .pkg: _optional_hooks> python /tmp/venv-THDo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:39 .pkg: get_requires_for_build_sdist> python /tmp/venv-THDo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:39 .pkg: get_requires_for_build_wheel> python /tmp/venv-THDo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:39 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 05:06:39 .pkg: freeze> python -m pip freeze --all 05:06:40 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 05:06:40 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-THDo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:40 .pkg: build_sdist> python /tmp/venv-THDo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:40 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:10 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:12 code: freeze> python -m pip freeze --all 05:07:12 code: async-timeout==4.0.3,certifi==2024.2.2,charset-normalizer==3.3.2,coverage==7.4.1,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.4,packaging==23.2,pandas==1.5.3,patsy==0.5.6,pip==23.3.1,pluggy==1.4.0,protobuf==3.20.3,pytest==8.0.0,pytest-cov==4.1.0,python-dateutil==2.8.2,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.0,scipy==1.12.0,setuptools==69.0.2,six==1.16.0,statsmodels==0.14.1,threadpoolctl==3.2.0,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 05:07:12 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 05:07:13 ============================= test session starts ============================== 05:07:13 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 -- /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/bin/python 05:07:13 cachedir: .tox/code/.pytest_cache 05:07:13 rootdir: /w/workspace/ric-app-qp-tox-sonarqube 05:07:13 plugins: cov-4.1.0 05:07:13 collecting ... collected 5 items 05:07:15 05:07:15 tests/test_qp.py::test_init_xapp PASSED [ 20%] 05:07:15 tests/test_qp.py::test_database_connection PASSED [ 40%] 05:07:15 tests/test_qp.py::test_training PASSED [ 60%] 05:07:17 tests/test_qp.py::test_predict PASSED [ 80%] 05:07:17 tests/test_qp.py::test_rmr_flow PASSED [100%] 05:07:58 05:07:58 =============================== warnings summary =============================== 05:07:58 tests/test_qp.py::test_training 05:07:58 /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:58 for name, column in df.iteritems(): 05:07:58 05:07:58 tests/test_qp.py: 20 warnings 05:07:58 /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:58 codes = cartesian_product(codes) 05:07:58 05:07:58 tests/test_qp.py: 40 warnings 05:07:58 /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:58 return [ 05:07:58 05:07:58 tests/test_qp.py::test_rmr_flow 05:07:58 /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:58 05:07:58 Traceback (most recent call last): 05:07:58 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 05:07:58 self.run() 05:07:58 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 05:07:58 self._target(*self._args, **self._kwargs) 05:07:58 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:58 func(self, summary, sbuf) 05:07:58 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 67, in qp_predict_handler 05:07:58 pred_msg = predict(summary[rmr.RMR_MS_PAYLOAD]) 05:07:58 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 99, in predict 05:07:58 ue_list = payload['UEPredictionSet'] 05:07:58 TypeError: string indices must be integers 05:07:58 05:07:58 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 05:07:58 05:07:58 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 05:07:58 05:07:58 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 05:07:58 Name Stmts Miss Cover Missing 05:07:58 ------------------------------------------------- 05:07:58 src/__init__.py 0 0 100% 05:07:58 src/database.py 107 48 55% 44-55, 59-73, 76-91, 94-99, 102-105, 145, 148, 151 05:07:58 src/exceptions.py 6 0 100% 05:07:58 src/main.py 84 28 67% 49-50, 57-59, 68-76, 104-118, 149, 152, 169 05:07:58 src/prediction.py 18 13 28% 27-40 05:07:58 src/qptrain.py 98 18 82% 41-43, 53, 63-64, 68-75, 115-116, 139-140 05:07:58 ------------------------------------------------- 05:07:58 TOTAL 313 107 66% 05:07:58 Coverage HTML written to dir htmlcov 05:07:58 Coverage XML written to file coverage.xml 05:07:58 05:07:58 Required test coverage of 60% reached. Total coverage: 65.81% 05:07:58 ======================= 5 passed, 62 warnings in 45.38s ======================== 05:07:58 code: commands[1]> coverage xml -i 05:07:59 Wrote XML report to coverage.xml 05:07:59 .pkg: _exit> python /tmp/venv-THDo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:08:00 code: OK ✔ in 1 minute 25.51 seconds 05:08:00 flake8: install_deps> python -I -m pip install flake8 05:08:02 flake8: freeze> python -m pip freeze --all 05:08:02 flake8: flake8==7.0.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.2.0,qp==0.0.5,setuptools==69.0.2,wheel==0.42.0 05:08:02 flake8: commands[0]> flake8 setup.py src tests 05:08:03 code: OK (85.51=setup[39.14]+cmd[46.11,0.27] seconds) 05:08:03 flake8: OK (3.99=setup[3.73]+cmd[0.26] seconds) 05:08:03 congratulations :) (89.68 seconds) 05:08:03 + tox_status=0 05:08:03 + echo '---> Completed tox runs' 05:08:03 ---> Completed tox runs 05:08:03 + for i in .tox/*/log 05:08:03 ++ echo .tox/code/log 05:08:03 ++ awk -F/ '{print $2}' 05:08:03 + tox_env=code 05:08:03 + cp -r .tox/code/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/code 05:08:03 + for i in .tox/*/log 05:08:03 ++ echo .tox/flake8/log 05:08:03 ++ awk -F/ '{print $2}' 05:08:03 + tox_env=flake8 05:08:03 + cp -r .tox/flake8/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/flake8 05:08:03 + DOC_DIR=docs/_build/html 05:08:03 + [[ -d docs/_build/html ]] 05:08:03 + echo '---> tox-run.sh ends' 05:08:03 ---> tox-run.sh ends 05:08:03 + test 0 -eq 0 05:08:03 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-1156 05:08:04 [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:04 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:04 INFO: Project root configuration file: NONE 05:08:04 INFO: SonarScanner 4.6.2.2472 05:08:04 INFO: Java 17.0.7 Private Build (64-bit) 05:08:04 INFO: Linux 4.15.0-213-generic amd64 05:08:05 INFO: User cache: /home/jenkins/.sonar/cache 05:08:07 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:07 INFO: Project root configuration file: NONE 05:08:07 INFO: Analyzing on SonarCloud 05:08:07 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 05:08:07 INFO: Load global settings 05:08:08 INFO: Load global settings (done) | time=298ms 05:08:08 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 05:08:08 INFO: User cache: /home/jenkins/.sonar/cache 05:08:08 INFO: Loading required plugins 05:08:08 INFO: Load plugins index 05:08:08 INFO: Load plugins index (done) | time=272ms 05:08:08 INFO: Load/download plugins 05:08:09 INFO: Load/download plugins (done) | time=944ms 05:08:09 INFO: Found an active CI vendor: 'Jenkins' 05:08:09 INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp' 05:08:10 INFO: Process project properties 05:08:10 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-qp 05:08:10 INFO: ------------------------------------------------------------------------ 05:08:10 INFO: EXECUTION FAILURE 05:08:10 INFO: ------------------------------------------------------------------------ 05:08:10 INFO: Total time: 5.774s 05:08:10 INFO: Final Memory: 7M/30M 05:08:10 INFO: ------------------------------------------------------------------------ 05:08:10 ERROR: Error during SonarScanner execution 05:08:10 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:10 ERROR: 05:08:10 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 05:08:11 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 05:08:11 $ ssh-agent -k 05:08:11 unset SSH_AUTH_SOCK; 05:08:11 unset SSH_AGENT_PID; 05:08:11 echo Agent pid 1761 killed; 05:08:11 [ssh-agent] Stopped. 05:08:11 ERROR: SonarQube scanner exited with non-zero code: 2 05:08:11 [PostBuildScript] - [INFO] Executing post build scripts. 05:08:11 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins13269065044325227118.sh 05:08:11 ---> sysstat.sh 05:08:11 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins2428020719924015137.sh 05:08:11 ---> package-listing.sh 05:08:11 ++ facter osfamily 05:08:11 ++ tr '[:upper:]' '[:lower:]' 05:08:11 + OS_FAMILY=debian 05:08:11 + workspace=/w/workspace/ric-app-qp-tox-sonarqube 05:08:11 + START_PACKAGES=/tmp/packages_start.txt 05:08:11 + END_PACKAGES=/tmp/packages_end.txt 05:08:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:08:11 + PACKAGES=/tmp/packages_start.txt 05:08:11 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:11 + PACKAGES=/tmp/packages_end.txt 05:08:11 + case "${OS_FAMILY}" in 05:08:11 + dpkg -l 05:08:11 + grep '^ii' 05:08:11 + '[' -f /tmp/packages_start.txt ']' 05:08:11 + '[' -f /tmp/packages_end.txt ']' 05:08:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:08:11 + true 05:08:11 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:11 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:11 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins4178352768398115359.sh 05:08:12 ---> capture-instance-metadata.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:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-h4n7 from file:/tmp/.os_lf_venv 05:08:14 lf-activate-venv(): INFO: Installing: lftools 05:08:26 lf-activate-venv(): INFO: Adding /tmp/venv-h4n7/bin to PATH 05:08:26 INFO: Running in OpenStack, capturing instance metadata 05:08:28 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins5419468573090984557.sh 05:08:28 provisioning config files... 05:08:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-tox-sonarqube@tmp/config7562808493111589457tmp 05:08:28 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 05:08:28 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 05:08:28 [EnvInject] - Injecting environment variables from a build step. 05:08:28 [EnvInject] - Injecting as environment variables the properties content 05:08:28 SERVER_ID=logs 05:08:28 05:08:28 [EnvInject] - Variables injected successfully. 05:08:28 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6160335327689075252.sh 05:08:28 ---> create-netrc.sh 05:08:28 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins7438829914451448762.sh 05:08:28 ---> python-tools-install.sh 05:08:28 Setup pyenv: 05:08:28 system 05:08:28 3.8.13 05:08:28 3.9.13 05:08:28 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-h4n7 from file:/tmp/.os_lf_venv 05:08:30 lf-activate-venv(): INFO: Installing: lftools 05:08:39 lf-activate-venv(): INFO: Adding /tmp/venv-h4n7/bin to PATH 05:08:39 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins18184369418045872459.sh 05:08:39 ---> sudo-logs.sh 05:08:39 Archiving 'sudo' log.. 05:08:39 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins12784868181151639051.sh 05:08:39 ---> job-cost.sh 05:08:39 Setup pyenv: 05:08:39 system 05:08:39 3.8.13 05:08:39 3.9.13 05:08:39 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-h4n7 from file:/tmp/.os_lf_venv 05:08:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:08:49 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:49 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 05:08:49 lf-activate-venv(): INFO: Adding /tmp/venv-h4n7/bin to PATH 05:08:49 INFO: No Stack... 05:08:50 INFO: Retrieving Pricing Info for: v2-highcpu-2 05:08:50 INFO: Archiving Costs 05:08:50 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8720611894519810733.sh 05:08:50 ---> logs-deploy.sh 05:08:50 Setup pyenv: 05:08:50 system 05:08:50 3.8.13 05:08:50 3.9.13 05:08:50 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:50 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-h4n7 from file:/tmp/.os_lf_venv 05:08:51 lf-activate-venv(): INFO: Installing: lftools 05:09:02 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:02 python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 05:09:02 lf-activate-venv(): INFO: Adding /tmp/venv-h4n7/bin to PATH 05:09:02 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-tox-sonarqube/193 05:09:02 INFO: archiving workspace using pattern(s): -p **/*.log 05:09:05 Archives upload complete. 05:09:05 INFO: archiving logs to Nexus 05:09:06 ---> uname -a: 05:09:06 Linux prd-ubuntu1804-builder-2c-2g-1156 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:06 05:09:06 05:09:06 ---> lscpu: 05:09:06 Architecture: x86_64 05:09:06 CPU op-mode(s): 32-bit, 64-bit 05:09:06 Byte Order: Little Endian 05:09:06 CPU(s): 2 05:09:06 On-line CPU(s) list: 0,1 05:09:06 Thread(s) per core: 1 05:09:06 Core(s) per socket: 1 05:09:06 Socket(s): 2 05:09:06 NUMA node(s): 1 05:09:06 Vendor ID: AuthenticAMD 05:09:06 CPU family: 23 05:09:06 Model: 49 05:09:06 Model name: AMD EPYC-Rome Processor 05:09:06 Stepping: 0 05:09:06 CPU MHz: 2799.998 05:09:06 BogoMIPS: 5599.99 05:09:06 Virtualization: AMD-V 05:09:06 Hypervisor vendor: KVM 05:09:06 Virtualization type: full 05:09:06 L1d cache: 32K 05:09:06 L1i cache: 32K 05:09:06 L2 cache: 512K 05:09:06 L3 cache: 16384K 05:09:06 NUMA node0 CPU(s): 0,1 05:09:06 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:06 05:09:06 05:09:06 ---> nproc: 05:09:06 2 05:09:06 05:09:06 05:09:06 ---> df -h: 05:09:06 Filesystem Size Used Avail Use% Mounted on 05:09:06 udev 984M 0 984M 0% /dev 05:09:06 tmpfs 200M 668K 199M 1% /run 05:09:06 /dev/vda1 20G 7.9G 12G 41% / 05:09:06 tmpfs 997M 0 997M 0% /dev/shm 05:09:06 tmpfs 5.0M 0 5.0M 0% /run/lock 05:09:06 tmpfs 997M 0 997M 0% /sys/fs/cgroup 05:09:06 /dev/vda15 105M 5.3M 100M 5% /boot/efi 05:09:06 tmpfs 200M 0 200M 0% /run/user/1001 05:09:06 05:09:06 05:09:06 ---> free -m: 05:09:06 total used free shared buff/cache available 05:09:06 Mem: 1992 346 118 0 1527 1470 05:09:06 Swap: 1023 0 1023 05:09:06 05:09:06 05:09:06 ---> ip addr: 05:09:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:09:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:09:06 inet 127.0.0.1/8 scope host lo 05:09:06 valid_lft forever preferred_lft forever 05:09:06 inet6 ::1/128 scope host 05:09:06 valid_lft forever preferred_lft forever 05:09:06 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 05:09:06 link/ether fa:16:3e:66:21:af brd ff:ff:ff:ff:ff:ff 05:09:06 inet 10.32.6.137/23 brd 10.32.7.255 scope global dynamic ens3 05:09:06 valid_lft 86129sec preferred_lft 86129sec 05:09:06 inet6 fe80::f816:3eff:fe66:21af/64 scope link 05:09:06 valid_lft forever preferred_lft forever 05:09:06 05:09:06 05:09:06 ---> sar -b -r -n DEV: 05:09:06 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-1156) 02/08/24 _x86_64_ (2 CPU) 05:09:06 05:09:06 05:04:37 LINUX RESTART (2 CPU) 05:09:06 05:09:06 05:05:01 tps rtps wtps bread/s bwrtn/s 05:09:06 05:06:01 111.63 44.89 66.74 1948.70 9874.48 05:09:06 05:07:01 159.68 66.83 92.85 3986.80 24371.21 05:09:06 05:08:01 85.24 57.14 28.10 3833.49 9048.09 05:09:06 05:09:01 94.47 58.09 36.38 2996.43 6584.24 05:09:06 Average: 112.75 56.74 56.02 3191.24 12469.68 05:09:06 05:09:06 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:09:06 05:06:01 116256 1519456 1924376 94.30 50340 1441540 550988 17.84 425936 1353632 142312 05:09:06 05:07:01 81372 1456060 1959260 96.01 68848 1400496 683200 22.12 499560 1325968 126048 05:09:06 05:08:01 161644 1512404 1878988 92.08 75040 1367192 617860 20.00 409316 1329620 17552 05:09:06 05:09:01 75236 1456876 1965396 96.31 80304 1384644 604732 19.58 492536 1317180 42224 05:09:06 Average: 108627 1486199 1932005 94.68 68633 1398468 614195 19.88 456837 1331600 82034 05:09:06 05:09:06 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:09:06 05:06:01 ens3 78.61 72.37 1070.83 8.60 0.00 0.00 0.00 0.00 05:09:06 05:06:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 05:09:06 05:07:01 ens3 76.59 67.83 1600.28 9.05 0.00 0.00 0.00 0.00 05:09:06 05:07:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 05:09:06 05:08:01 ens3 1.20 1.15 0.21 0.27 0.00 0.00 0.00 0.00 05:09:06 05:08:01 lo 0.55 0.55 0.06 0.06 0.00 0.00 0.00 0.00 05:09:06 05:09:01 ens3 258.54 148.28 1846.98 26.79 0.00 0.00 0.00 0.00 05:09:06 05:09:01 lo 1.33 1.33 0.12 0.12 0.00 0.00 0.00 0.00 05:09:06 Average: ens3 103.73 72.41 1129.59 11.18 0.00 0.00 0.00 0.00 05:09:06 Average: lo 1.30 1.30 0.12 0.12 0.00 0.00 0.00 0.00 05:09:06 05:09:06 05:09:06 ---> sar -P ALL: 05:09:06 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-1156) 02/08/24 _x86_64_ (2 CPU) 05:09:06 05:09:06 05:04:37 LINUX RESTART (2 CPU) 05:09:06 05:09:06 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:09:06 05:06:01 all 39.70 0.00 2.85 6.51 0.08 50.85 05:09:06 05:06:01 0 26.89 0.00 2.16 8.94 0.08 61.93 05:09:06 05:06:01 1 52.48 0.00 3.54 4.10 0.08 39.79 05:09:06 05:07:01 all 36.62 0.00 3.51 8.04 0.08 51.75 05:09:06 05:07:01 0 28.78 0.00 2.80 10.05 0.08 58.28 05:09:06 05:07:01 1 44.51 0.00 4.24 6.00 0.10 45.15 05:09:06 05:08:01 all 13.46 0.00 2.35 3.97 0.08 80.15 05:09:06 05:08:01 0 8.21 0.00 3.09 3.01 0.05 85.64 05:09:06 05:08:01 1 18.77 0.00 1.57 4.94 0.10 74.61 05:09:06 05:09:01 all 41.21 0.00 2.52 4.21 0.08 51.99 05:09:06 05:09:01 0 49.85 0.00 2.79 6.11 0.10 41.15 05:09:06 05:09:01 1 32.55 0.00 2.25 2.30 0.07 62.85 05:09:06 Average: all 32.70 0.00 2.81 5.68 0.08 58.73 05:09:06 Average: 0 28.36 0.00 2.71 7.02 0.08 61.84 05:09:06 Average: 1 37.08 0.00 2.90 4.33 0.09 55.60 05:09:06 05:09:06 05:09:06