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-1834 (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:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:56 $ ssh-agent 05:04:56 SSH_AUTH_SOCK=/tmp/ssh-1Jvs0GFst1S5/agent.1679 05:04:56 SSH_AGENT_PID=1681 05:04:56 [ssh-agent] Started. 05:04:56 Running ssh-add (command line suppressed) 05:04:56 Identity added: /w/workspace/ric-app-qp-tox-sonarqube@tmp/private_key_16930913164357595595.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/jenkins4992990387108653476.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-nFrQ 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-nFrQ/bin to PATH 05:05:39 Generating Requirements File 05:06:14 Python 3.10.6 05:06:14 pip 24.0 from /tmp/venv-nFrQ/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.41 05:06:15 botocore==1.34.41 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.1 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.34 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==1.0.0 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.1 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.18.0 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.2 05:06:15 typing_extensions==4.9.0 05:06:15 tzdata==2024.1 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/jenkins8002511393066139440.sh 05:06:15 ---> update-java-alternatives.sh 05:06:15 ---> Updating Java version 05:06:15 ---> 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/jenkins212191845292322925.sh 05:06:16 ---> tox-install.sh 05:06:16 + source /home/jenkins/lf-env.sh 05:06:16 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:16 ++ mktemp -d /tmp/venv-XXXX 05:06:16 + lf_venv=/tmp/venv-8bSQ 05:06:16 + local venv_file=/tmp/.os_lf_venv 05:06:16 + local python=python3 05:06:16 + local options 05:06:16 + local set_path=true 05:06:16 + local install_args= 05:06:16 ++ 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:16 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:16 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:16 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:16 + true 05:06:16 + case $1 in 05:06:16 + venv_file=/tmp/.toxenv 05:06:16 + shift 2 05:06:16 + true 05:06:16 + case $1 in 05:06:16 + shift 05:06:16 + break 05:06:16 + case $python in 05:06:16 + local pkg_list= 05:06:16 + [[ -d /opt/pyenv ]] 05:06:16 + echo 'Setup pyenv:' 05:06:16 Setup pyenv: 05:06:16 + export PYENV_ROOT=/opt/pyenv 05:06:16 + PYENV_ROOT=/opt/pyenv 05:06:16 + 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:16 + 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:16 + pyenv versions 05:06:16 system 05:06:16 3.8.13 05:06:16 3.9.13 05:06:16 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:16 + command -v pyenv 05:06:16 ++ 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:/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:/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:/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 ++ '[' 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 ++ grep -E '^[0-9.]*[0-9]$' 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 + [[ ! -f /tmp/.toxenv ]] 05:06:16 + [[ -n '' ]] 05:06:16 + python3 -m venv /tmp/venv-8bSQ 05:06:20 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8bSQ' 05:06:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8bSQ 05:06:20 + echo /tmp/venv-8bSQ 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-8bSQ/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-8bSQ/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-8bSQ/bin to PATH' 05:06:26 lf-activate-venv(): INFO: Adding /tmp/venv-8bSQ/bin to PATH 05:06:26 + PATH=/tmp/venv-8bSQ/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-8bSQ/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/jenkins2296183927088893530.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 ++ xargs 05:06:26 ++ cut -d: -f2 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:26 2024-02-15 05:06:26 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1707973886&Signature=ZL0rjrdFse63b56EXiy~ahp6EBMQB-GwvAeWH8jCtjd9z-FpwnIlKJxTjkPPsVSm9FKaUTs5W-DM5o09fz4FsZe2nh1kTkW3~dyGGpJud~vlJFy~~21LTTiqIvzqBazyePyTU5XfncYFa09BIiAUcc009WJ5p42oepDx1O55ex179gy7h-pqzoNVhwoFWVEWp~VRigaMHkdkXy0u~8~q6pXvfvlQQPU31yvN6TmepYMbDxVbTtMGuKf7Q2ivox-4KWDCKaMfcGEEoQrunNa8GDs8BAc6fptd~c1eoJ7biORq-TS3oS98UV88twSlaAX~xd1pNpv1ui81AIU7WLq~MQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 05:06:26 + sudo dpkg -i rmr_4.9.0_amd64.deb 05:06:26 Selecting previously unselected package rmr. 05:06:28 (Reading database ... 188029 files and directories currently installed.) 05:06:28 Preparing to unpack rmr_4.9.0_amd64.deb ... 05:06:28 Unpacking rmr (4.9.0) ... 05:06:28 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:29 2024-02-15 05:06:29 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1707973889&Signature=CAfV0Y1uB~hzsO1cjhXM14h2CqYxSbQAJhgirF2HpfKMTiwRHSFD78NkBp8thoARv2vDDr6~nLN2WihIrazcqBcZNNp~ps9Bcscl6m5CWaOrUOXKBdkSBi8DHhlGlu6-vPdOl-dYU4rnVzikXTi~WsP9N03~v9T7MoWYWu4YylUJ8adEF5FVaI8U~IriL2JpCzLbn93VqSE~00cz1-OWgw9GLhV4y1G5lssm8UwD0LJoQ4VWBWbs83GhzOaD3-cWBPwQfdLjkjs29Pd27eWti3i9qD4xbZdAJbFenbwqKEvopmddxpfWMHu2TKy12DJMb-ctdyDdWJwawnQV9~Ni2Q__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 05:06:29 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 05:06:29 Selecting previously unselected package rmr-dev. 05:06:29 (Reading database ... 188037 files and directories currently installed.) 05:06:29 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 05:06:29 Unpacking rmr-dev (4.9.0) ... 05:06:29 Setting up rmr-dev (4.9.0) ... 05:06:29 + rm -f rmr-dev_4.9.0_amd64.deb 05:06:29 + echo '---> install-deb-rmr.sh ends' 05:06:29 ---> install-deb-rmr.sh ends 05:06:29 [EnvInject] - Injecting environment variables from a build step. 05:06:29 [EnvInject] - Injecting as environment variables the properties content 05:06:29 PARALLEL=False 05:06:29 05:06:29 [EnvInject] - Variables injected successfully. 05:06:29 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10335887983524310843.sh 05:06:29 ---> tox-run.sh 05:06:29 + 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:29 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:29 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/docs 05:06:29 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/tox 05:06:29 + cd /w/workspace/ric-app-qp-tox-sonarqube/. 05:06:29 + source /home/jenkins/lf-env.sh 05:06:29 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:29 ++ mktemp -d /tmp/venv-XXXX 05:06:29 + lf_venv=/tmp/venv-d1Dg 05:06:29 + local venv_file=/tmp/.os_lf_venv 05:06:29 + local python=python3 05:06:29 + local options 05:06:29 + local set_path=true 05:06:29 + local install_args= 05:06:29 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:06:29 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:29 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:06:29 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:06:29 + true 05:06:29 + case $1 in 05:06:29 + venv_file=/tmp/.toxenv 05:06:29 + shift 2 05:06:29 + true 05:06:29 + case $1 in 05:06:29 + shift 05:06:29 + break 05:06:29 + case $python in 05:06:29 + local pkg_list= 05:06:29 + [[ -d /opt/pyenv ]] 05:06:29 + echo 'Setup pyenv:' 05:06:29 Setup pyenv: 05:06:29 + export PYENV_ROOT=/opt/pyenv 05:06:29 + PYENV_ROOT=/opt/pyenv 05:06:29 + export PATH=/opt/pyenv/bin:/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:29 + 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:29 + pyenv versions 05:06:29 system 05:06:29 3.8.13 05:06:29 3.9.13 05:06:29 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:06:29 + command -v pyenv 05:06:29 ++ pyenv init - --no-rehash 05:06:29 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 05:06:29 export PATH="/opt/pyenv/shims:${PATH}" 05:06:29 export PYENV_SHELL=bash 05:06:29 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:06:29 pyenv() { 05:06:29 local command 05:06:29 command="${1:-}" 05:06:29 if [ "$#" -gt 0 ]; then 05:06:29 shift 05:06:29 fi 05:06:29 05:06:29 case "$command" in 05:06:29 rehash|shell) 05:06:29 eval "$(pyenv "sh-$command" "$@")" 05:06:29 ;; 05:06:29 *) 05:06:29 command pyenv "$command" "$@" 05:06:29 ;; 05:06:29 esac 05:06:29 }' 05:06:29 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 05:06:29 ++ PATH=/opt/pyenv/bin:/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:29 ++ 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:29 ++ 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:29 ++ export PYENV_SHELL=bash 05:06:29 ++ PYENV_SHELL=bash 05:06:29 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:06:29 +++ complete -F _pyenv pyenv 05:06:29 ++ lf-pyver python3 05:06:29 ++ local py_version_xy=python3 05:06:29 ++ local py_version_xyz= 05:06:29 ++ pyenv versions 05:06:29 ++ local command 05:06:29 ++ command=versions 05:06:29 ++ '[' 1 -gt 0 ']' 05:06:29 ++ shift 05:06:29 ++ case "$command" in 05:06:29 ++ grep -E '^[0-9.]*[0-9]$' 05:06:29 ++ command pyenv versions 05:06:29 ++ pyenv versions 05:06:29 ++ awk '{ print $1 }' 05:06:29 ++ sed 's/^[ *]* //' 05:06:29 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:06:29 +++ grep '^3' /tmp/.pyenv_versions 05:06:29 +++ tail -n 1 05:06:29 +++ sort -V 05:06:29 ++ py_version_xyz=3.10.6 05:06:29 ++ [[ -z 3.10.6 ]] 05:06:29 ++ echo 3.10.6 05:06:29 ++ return 0 05:06:29 + pyenv local 3.10.6 05:06:29 + local command 05:06:29 + command=local 05:06:29 + '[' 2 -gt 0 ']' 05:06:29 + shift 05:06:29 + case "$command" in 05:06:29 + command pyenv local 3.10.6 05:06:29 + pyenv local 3.10.6 05:06:29 + for arg in "$@" 05:06:29 + case $arg in 05:06:29 + pkg_list+='tox ' 05:06:29 + for arg in "$@" 05:06:29 + case $arg in 05:06:29 + pkg_list+='virtualenv ' 05:06:29 + for arg in "$@" 05:06:29 + case $arg in 05:06:29 + pkg_list+='urllib3~=1.26.15 ' 05:06:29 + [[ -f /tmp/.toxenv ]] 05:06:29 ++ cat /tmp/.toxenv 05:06:29 + lf_venv=/tmp/venv-8bSQ 05:06:29 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8bSQ from' file:/tmp/.toxenv 05:06:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8bSQ from file:/tmp/.toxenv 05:06:29 + /tmp/venv-8bSQ/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:06:30 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:06:30 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:06:30 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:06:30 + /tmp/venv-8bSQ/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:06:31 + type python3 05:06:31 + true 05:06:31 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-8bSQ/bin to PATH' 05:06:31 lf-activate-venv(): INFO: Adding /tmp/venv-8bSQ/bin to PATH 05:06:31 + PATH=/tmp/venv-8bSQ/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:31 + return 0 05:06:31 + [[ -d /opt/pyenv ]] 05:06:31 + echo '---> Setting up pyenv' 05:06:31 ---> Setting up pyenv 05:06:31 + export PYENV_ROOT=/opt/pyenv 05:06:31 + PYENV_ROOT=/opt/pyenv 05:06:31 + export PATH=/opt/pyenv/bin:/tmp/venv-8bSQ/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:31 + PATH=/opt/pyenv/bin:/tmp/venv-8bSQ/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:31 ++ pwd 05:06:31 + PYTHONPATH=/w/workspace/ric-app-qp-tox-sonarqube 05:06:31 + export PYTHONPATH 05:06:31 + export TOX_TESTENV_PASSENV=PYTHONPATH 05:06:31 + TOX_TESTENV_PASSENV=PYTHONPATH 05:06:31 + tox --version 05:06:32 4.12.1 from /tmp/venv-8bSQ/lib/python3.10/site-packages/tox/__init__.py 05:06:32 + PARALLEL=False 05:06:32 + TOX_OPTIONS_LIST= 05:06:32 + [[ -n code,flake8 ]] 05:06:32 + TOX_OPTIONS_LIST=' -e code,flake8' 05:06:32 + case ${PARALLEL,,} in 05:06:32 + tee -a /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/tox.log 05:06:32 + tox -e code,flake8 05:06:33 code: install_deps> python -I -m pip install coverage pytest pytest-cov 05:06:36 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 05:06:37 .pkg: _optional_hooks> python /tmp/venv-8bSQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:37 .pkg: get_requires_for_build_sdist> python /tmp/venv-8bSQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:37 .pkg: get_requires_for_build_wheel> python /tmp/venv-8bSQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:37 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 05:06:38 .pkg: freeze> python -m pip freeze --all 05:06:38 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 05:06:38 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-8bSQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:38 .pkg: build_sdist> python /tmp/venv-8bSQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:06:38 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:04 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:06 code: freeze> python -m pip freeze --all 05:07:06 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.3.0,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 05:07:06 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 05:07:07 ============================= test session starts ============================== 05:07:07 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:07 cachedir: .tox/code/.pytest_cache 05:07:07 rootdir: /w/workspace/ric-app-qp-tox-sonarqube 05:07:07 plugins: cov-4.1.0 05:07:07 collecting ... collected 5 items 05:07:09 05:07:10 tests/test_qp.py::test_init_xapp PASSED [ 20%] 05:07:10 tests/test_qp.py::test_database_connection PASSED [ 40%] 05:07:10 tests/test_qp.py::test_training PASSED [ 60%] 05:07:11 tests/test_qp.py::test_predict PASSED [ 80%] 05:07:11 tests/test_qp.py::test_rmr_flow PASSED [100%] 05:07:52 05:07:52 =============================== warnings summary =============================== 05:07:52 tests/test_qp.py::test_training 05:07:52 /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:52 for name, column in df.iteritems(): 05:07:52 05:07:52 tests/test_qp.py: 20 warnings 05:07:52 /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:52 codes = cartesian_product(codes) 05:07:52 05:07:52 tests/test_qp.py: 40 warnings 05:07:52 /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:52 return [ 05:07:52 05:07:52 tests/test_qp.py::test_rmr_flow 05:07:52 /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:52 05:07:52 Traceback (most recent call last): 05:07:52 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 05:07:52 self.run() 05:07:52 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 05:07:52 self._target(*self._args, **self._kwargs) 05:07:52 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:52 func(self, summary, sbuf) 05:07:52 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 67, in qp_predict_handler 05:07:52 pred_msg = predict(summary[rmr.RMR_MS_PAYLOAD]) 05:07:52 File "/w/workspace/ric-app-qp-tox-sonarqube/src/main.py", line 99, in predict 05:07:52 ue_list = payload['UEPredictionSet'] 05:07:52 TypeError: string indices must be integers 05:07:52 05:07:52 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 05:07:52 05:07:52 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 05:07:52 05:07:52 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 05:07:52 Name Stmts Miss Cover Missing 05:07:52 ------------------------------------------------- 05:07:52 src/__init__.py 0 0 100% 05:07:52 src/database.py 107 48 55% 44-55, 59-73, 76-91, 94-99, 102-105, 145, 148, 151 05:07:52 src/exceptions.py 6 0 100% 05:07:52 src/main.py 84 28 67% 49-50, 57-59, 68-76, 104-118, 149, 152, 169 05:07:52 src/prediction.py 18 13 28% 27-40 05:07:52 src/qptrain.py 98 18 82% 41-43, 53, 63-64, 68-75, 115-116, 139-140 05:07:52 ------------------------------------------------- 05:07:52 TOTAL 313 107 66% 05:07:52 Coverage HTML written to dir htmlcov 05:07:52 Coverage XML written to file coverage.xml 05:07:52 05:07:52 Required test coverage of 60% reached. Total coverage: 65.81% 05:07:52 ======================= 5 passed, 62 warnings in 45.37s ======================== 05:07:53 code: commands[1]> coverage xml -i 05:07:53 Wrote XML report to coverage.xml 05:07:53 .pkg: _exit> python /tmp/venv-8bSQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:07:54 code: OK ✔ in 1 minute 20.82 seconds 05:07:54 flake8: install_deps> python -I -m pip install flake8 05:07:56 flake8: freeze> python -m pip freeze --all 05:07:56 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:07:56 flake8: commands[0]> flake8 setup.py src tests 05:07:56 code: OK (80.82=setup[34.52]+cmd[46.15,0.15] seconds) 05:07:56 flake8: OK (3.53=setup[3.30]+cmd[0.23] seconds) 05:07:56 congratulations :) (84.51 seconds) 05:07:56 + tox_status=0 05:07:56 + echo '---> Completed tox runs' 05:07:56 ---> Completed tox runs 05:07:56 + for i in .tox/*/log 05:07:56 ++ echo .tox/code/log 05:07:56 ++ awk -F/ '{print $2}' 05:07:56 + tox_env=code 05:07:56 + cp -r .tox/code/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/code 05:07:56 + for i in .tox/*/log 05:07:56 ++ echo .tox/flake8/log 05:07:56 ++ awk -F/ '{print $2}' 05:07:56 + tox_env=flake8 05:07:56 + cp -r .tox/flake8/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/flake8 05:07:56 + DOC_DIR=docs/_build/html 05:07:56 + [[ -d docs/_build/html ]] 05:07:56 + echo '---> tox-run.sh ends' 05:07:56 ---> tox-run.sh ends 05:07:56 + test 0 -eq 0 05:07:56 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-1834 05:07:57 [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:58 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:07:58 INFO: Project root configuration file: NONE 05:07:58 INFO: SonarScanner 4.6.2.2472 05:07:58 INFO: Java 17.0.7 Private Build (64-bit) 05:07:58 INFO: Linux 4.15.0-213-generic amd64 05:07:59 INFO: User cache: /home/jenkins/.sonar/cache 05:08:01 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 05:08:01 INFO: Project root configuration file: NONE 05:08:01 INFO: Analyzing on SonarCloud 05:08:01 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 05:08:01 INFO: Load global settings 05:08:02 INFO: Load global settings (done) | time=599ms 05:08:02 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 05:08:02 INFO: User cache: /home/jenkins/.sonar/cache 05:08:02 INFO: Loading required plugins 05:08:02 INFO: Load plugins index 05:08:02 INFO: Load plugins index (done) | time=535ms 05:08:02 INFO: Load/download plugins 05:08:03 INFO: Load/download plugins (done) | time=848ms 05:08:04 INFO: Found an active CI vendor: 'Jenkins' 05:08:04 INFO: Load project settings for component key: 'o-ran-sc_ric-app-qp' 05:08:04 INFO: Process project properties 05:08:04 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-qp 05:08:04 INFO: ------------------------------------------------------------------------ 05:08:04 INFO: EXECUTION FAILURE 05:08:04 INFO: ------------------------------------------------------------------------ 05:08:04 INFO: Total time: 6.167s 05:08:04 INFO: Final Memory: 7M/34M 05:08:04 INFO: ------------------------------------------------------------------------ 05:08:04 ERROR: Error during SonarScanner execution 05:08:04 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:04 ERROR: 05:08:04 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 05:08:05 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 05:08:05 $ ssh-agent -k 05:08:05 unset SSH_AUTH_SOCK; 05:08:05 unset SSH_AGENT_PID; 05:08:05 echo Agent pid 1681 killed; 05:08:05 [ssh-agent] Stopped. 05:08:05 ERROR: SonarQube scanner exited with non-zero code: 2 05:08:05 [PostBuildScript] - [INFO] Executing post build scripts. 05:08:05 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins9647893072596164030.sh 05:08:05 ---> sysstat.sh 05:08:06 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins17368038281245220920.sh 05:08:06 ---> package-listing.sh 05:08:06 ++ tr '[:upper:]' '[:lower:]' 05:08:06 ++ facter osfamily 05:08:06 + OS_FAMILY=debian 05:08:06 + workspace=/w/workspace/ric-app-qp-tox-sonarqube 05:08:06 + START_PACKAGES=/tmp/packages_start.txt 05:08:06 + END_PACKAGES=/tmp/packages_end.txt 05:08:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:08:06 + PACKAGES=/tmp/packages_start.txt 05:08:06 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:06 + PACKAGES=/tmp/packages_end.txt 05:08:06 + case "${OS_FAMILY}" in 05:08:06 + grep '^ii' 05:08:06 + dpkg -l 05:08:06 + '[' -f /tmp/packages_start.txt ']' 05:08:06 + '[' -f /tmp/packages_end.txt ']' 05:08:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:08:06 + true 05:08:06 + '[' /w/workspace/ric-app-qp-tox-sonarqube ']' 05:08:06 + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-tox-sonarqube/archives/ 05:08:06 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins7120316865907049263.sh 05:08:06 ---> capture-instance-metadata.sh 05:08:06 Setup pyenv: 05:08:06 system 05:08:06 3.8.13 05:08:06 3.9.13 05:08:06 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nFrQ from file:/tmp/.os_lf_venv 05:08:08 lf-activate-venv(): INFO: Installing: lftools 05:08:21 lf-activate-venv(): INFO: Adding /tmp/venv-nFrQ/bin to PATH 05:08:21 INFO: Running in OpenStack, capturing instance metadata 05:08:22 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins4709475923274158058.sh 05:08:22 provisioning config files... 05:08:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-tox-sonarqube@tmp/config2869980895530803707tmp 05:08:22 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 05:08:22 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 05:08:22 [EnvInject] - Injecting environment variables from a build step. 05:08:22 [EnvInject] - Injecting as environment variables the properties content 05:08:22 SERVER_ID=logs 05:08:22 05:08:22 [EnvInject] - Variables injected successfully. 05:08:22 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins9208516845194099305.sh 05:08:22 ---> create-netrc.sh 05:08:22 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins13906623347195789512.sh 05:08:22 ---> python-tools-install.sh 05:08:22 Setup pyenv: 05:08:22 system 05:08:22 3.8.13 05:08:22 3.9.13 05:08:22 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:22 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nFrQ from file:/tmp/.os_lf_venv 05:08:23 lf-activate-venv(): INFO: Installing: lftools 05:08:33 lf-activate-venv(): INFO: Adding /tmp/venv-nFrQ/bin to PATH 05:08:33 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins11024011525175169475.sh 05:08:33 ---> sudo-logs.sh 05:08:33 Archiving 'sudo' log.. 05:08:33 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins11247008762181240899.sh 05:08:33 ---> job-cost.sh 05:08:33 Setup pyenv: 05:08:33 system 05:08:33 3.8.13 05:08:33 3.9.13 05:08:33 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nFrQ from file:/tmp/.os_lf_venv 05:08:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:08:43 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:43 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 05:08:43 lf-activate-venv(): INFO: Adding /tmp/venv-nFrQ/bin to PATH 05:08:43 INFO: No Stack... 05:08:43 INFO: Retrieving Pricing Info for: v2-highcpu-2 05:08:43 INFO: Archiving Costs 05:08:43 [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17868635805233032970.sh 05:08:43 ---> logs-deploy.sh 05:08:43 Setup pyenv: 05:08:43 system 05:08:43 3.8.13 05:08:43 3.9.13 05:08:43 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) 05:08:44 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nFrQ from file:/tmp/.os_lf_venv 05:08:45 lf-activate-venv(): INFO: Installing: lftools 05:08:55 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:55 python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 05:08:56 lf-activate-venv(): INFO: Adding /tmp/venv-nFrQ/bin to PATH 05:08:56 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-tox-sonarqube/194 05:08:56 INFO: archiving workspace using pattern(s): -p **/*.log 05:08:58 Archives upload complete. 05:08:59 INFO: archiving logs to Nexus 05:08:59 ---> uname -a: 05:08:59 Linux prd-ubuntu1804-builder-2c-2g-1834 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:59 05:08:59 05:08:59 ---> lscpu: 05:08:59 Architecture: x86_64 05:08:59 CPU op-mode(s): 32-bit, 64-bit 05:08:59 Byte Order: Little Endian 05:08:59 CPU(s): 2 05:08:59 On-line CPU(s) list: 0,1 05:08:59 Thread(s) per core: 1 05:08:59 Core(s) per socket: 1 05:08:59 Socket(s): 2 05:08:59 NUMA node(s): 1 05:08:59 Vendor ID: AuthenticAMD 05:08:59 CPU family: 23 05:08:59 Model: 49 05:08:59 Model name: AMD EPYC-Rome Processor 05:08:59 Stepping: 0 05:08:59 CPU MHz: 2799.998 05:08:59 BogoMIPS: 5599.99 05:08:59 Virtualization: AMD-V 05:08:59 Hypervisor vendor: KVM 05:08:59 Virtualization type: full 05:08:59 L1d cache: 32K 05:08:59 L1i cache: 32K 05:08:59 L2 cache: 512K 05:08:59 L3 cache: 16384K 05:08:59 NUMA node0 CPU(s): 0,1 05:08:59 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:59 05:08:59 05:08:59 ---> nproc: 05:08:59 2 05:08:59 05:08:59 05:09:00 ---> df -h: 05:09:00 Filesystem Size Used Avail Use% Mounted on 05:09:00 udev 984M 0 984M 0% /dev 05:09:00 tmpfs 200M 668K 199M 1% /run 05:09:00 /dev/vda1 20G 7.9G 12G 41% / 05:09:00 tmpfs 997M 0 997M 0% /dev/shm 05:09:00 tmpfs 5.0M 0 5.0M 0% /run/lock 05:09:00 tmpfs 997M 0 997M 0% /sys/fs/cgroup 05:09:00 /dev/vda15 105M 5.3M 100M 5% /boot/efi 05:09:00 tmpfs 200M 0 200M 0% /run/user/1001 05:09:00 05:09:00 05:09:00 ---> free -m: 05:09:00 total used free shared buff/cache available 05:09:00 Mem: 1992 337 124 0 1531 1482 05:09:00 Swap: 1023 0 1023 05:09:00 05:09:00 05:09:00 ---> ip addr: 05:09:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:09:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:09:00 inet 127.0.0.1/8 scope host lo 05:09:00 valid_lft forever preferred_lft forever 05:09:00 inet6 ::1/128 scope host 05:09:00 valid_lft forever preferred_lft forever 05:09:00 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 05:09:00 link/ether fa:16:3e:20:d9:d5 brd ff:ff:ff:ff:ff:ff 05:09:00 inet 10.32.6.120/23 brd 10.32.7.255 scope global dynamic ens3 05:09:00 valid_lft 86135sec preferred_lft 86135sec 05:09:00 inet6 fe80::f816:3eff:fe20:d9d5/64 scope link 05:09:00 valid_lft forever preferred_lft forever 05:09:00 05:09:00 05:09:00 ---> sar -b -r -n DEV: 05:09:00 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-1834) 02/15/24 _x86_64_ (2 CPU) 05:09:00 05:09:00 05:04:36 LINUX RESTART (2 CPU) 05:09:00 05:09:00 05:05:01 tps rtps wtps bread/s bwrtn/s 05:09:00 05:06:02 104.16 37.03 67.13 1768.58 10990.64 05:09:00 05:07:01 163.57 69.05 94.51 4954.47 25990.51 05:09:00 05:08:01 100.87 75.07 25.80 4769.47 6904.13 05:09:00 Average: 122.64 60.33 62.31 3824.47 14566.91 05:09:00 05:09:00 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:09:00 05:06:02 94024 1488260 1946608 95.39 51824 1431176 594972 19.26 445744 1356656 112648 05:09:00 05:07:01 83196 1463712 1957436 95.92 70956 1403504 683384 22.12 448804 1374004 130388 05:09:00 05:08:01 76480 1530596 1964152 96.25 75380 1468280 614560 19.89 403912 1418060 71736 05:09:00 Average: 84567 1494189 1956065 95.86 66053 1434320 630972 20.43 432820 1382907 104924 05:09:00 05:09:00 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:09:00 05:06:02 lo 1.27 1.27 0.11 0.11 0.00 0.00 0.00 0.00 05:09:00 05:06:02 ens3 82.49 78.03 1075.92 9.12 0.00 0.00 0.00 0.00 05:09:00 05:07:01 lo 2.10 2.10 0.20 0.20 0.00 0.00 0.00 0.00 05:09:00 05:07:01 ens3 74.59 66.19 1622.45 8.87 0.00 0.00 0.00 0.00 05:09:00 05:08:01 lo 0.75 0.75 0.08 0.08 0.00 0.00 0.00 0.00 05:09:00 05:08:01 ens3 116.37 56.10 881.92 10.13 0.00 0.00 0.00 0.00 05:09:00 Average: lo 1.37 1.37 0.13 0.13 0.00 0.00 0.00 0.00 05:09:00 Average: ens3 91.24 66.78 1191.11 9.38 0.00 0.00 0.00 0.00 05:09:00 05:09:00 05:09:00 ---> sar -P ALL: 05:09:00 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-1834) 02/15/24 _x86_64_ (2 CPU) 05:09:00 05:09:00 05:04:36 LINUX RESTART (2 CPU) 05:09:00 05:09:00 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:09:00 05:06:02 all 39.75 0.00 2.81 6.14 0.08 51.21 05:09:00 05:06:02 0 31.37 0.00 2.51 4.46 0.07 61.60 05:09:00 05:06:02 1 48.15 0.00 3.11 7.83 0.08 40.82 05:09:00 05:07:01 all 39.66 0.00 3.52 7.94 0.09 48.80 05:09:00 05:07:01 0 50.72 0.00 3.77 8.30 0.10 37.11 05:09:00 05:07:01 1 28.56 0.00 3.26 7.57 0.10 60.50 05:09:00 05:08:01 all 12.44 0.00 2.38 4.17 0.10 80.91 05:09:00 05:08:01 0 17.30 0.00 1.66 5.48 0.10 75.46 05:09:00 05:08:01 1 7.54 0.00 3.12 2.85 0.08 86.40 05:09:00 Average: all 30.57 0.00 2.90 6.07 0.09 60.36 05:09:00 Average: 0 33.03 0.00 2.64 6.07 0.09 58.17 05:09:00 Average: 1 28.10 0.00 3.16 6.08 0.09 62.56 05:09:00 05:09:00 05:09:00