00:33:55 Started by timer 00:33:55 Running as SYSTEM 00:33:55 [EnvInject] - Loading node environment variables. 00:33:55 Building remotely on prd-ubuntu1804-builder-2c-2g-7544 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:55 [ssh-agent] Looking for ssh-agent implementation... 00:33:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:55 $ ssh-agent 00:33:55 SSH_AUTH_SOCK=/tmp/ssh-obPBDurE1KXj/agent.1739 00:33:55 SSH_AGENT_PID=1741 00:33:55 [ssh-agent] Started. 00:33:55 Running ssh-add (command line suppressed) 00:33:55 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_18069832768933043021.key (jenkins-ssh) 00:33:55 [ssh-agent] Using credentials jenkins (jenkins) 00:33:55 The recommended git tool is: NONE 00:33:57 using credential jenkins 00:33:57 Wiping out workspace first. 00:33:57 Cloning the remote Git repository 00:33:57 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:57 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:33:57 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:57 > git --version # timeout=10 00:33:57 > git --version # 'git version 2.17.1' 00:33:57 using GIT_SSH to set credentials jenkins 00:33:57 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:58 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:33:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:59 Avoid second fetch 00:33:59 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:33:59 Checking out Revision f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) 00:33:59 > git config core.sparsecheckout # timeout=10 00:33:59 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:33:59 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" 00:33:59 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:34:02 provisioning config files... 00:34:02 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:02 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:02 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9094773524631107579.sh 00:34:02 ---> python-tools-install.sh 00:34:02 Setup pyenv: 00:34:02 * system (set by /opt/pyenv/version) 00:34:02 * 3.8.13 (set by /opt/pyenv/version) 00:34:02 * 3.9.13 (set by /opt/pyenv/version) 00:34:02 * 3.10.6 (set by /opt/pyenv/version) 00:34:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C7ry 00:34:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:10 lf-activate-venv(): INFO: Installing: lftools 00:34:40 lf-activate-venv(): INFO: Adding /tmp/venv-C7ry/bin to PATH 00:34:40 Generating Requirements File 00:35:00 Python 3.10.6 00:35:01 pip 24.2 from /tmp/venv-C7ry/lib/python3.10/site-packages/pip (python 3.10) 00:35:01 appdirs==1.4.4 00:35:01 argcomplete==3.5.1 00:35:01 aspy.yaml==1.3.0 00:35:01 attrs==24.2.0 00:35:01 autopage==0.5.2 00:35:01 beautifulsoup4==4.12.3 00:35:01 boto3==1.35.39 00:35:01 botocore==1.35.39 00:35:01 bs4==0.0.2 00:35:01 cachetools==5.5.0 00:35:01 certifi==2024.8.30 00:35:01 cffi==1.17.1 00:35:01 cfgv==3.4.0 00:35:01 chardet==5.2.0 00:35:01 charset-normalizer==3.4.0 00:35:01 click==8.1.7 00:35:01 cliff==4.7.0 00:35:01 cmd2==2.4.3 00:35:01 cryptography==3.3.2 00:35:01 debtcollector==3.0.0 00:35:01 decorator==5.1.1 00:35:01 defusedxml==0.7.1 00:35:01 Deprecated==1.2.14 00:35:01 distlib==0.3.9 00:35:01 dnspython==2.7.0 00:35:01 docker==4.2.2 00:35:01 dogpile.cache==1.3.3 00:35:01 durationpy==0.9 00:35:01 email_validator==2.2.0 00:35:01 filelock==3.16.1 00:35:01 future==1.0.0 00:35:01 gitdb==4.0.11 00:35:01 GitPython==3.1.43 00:35:01 google-auth==2.35.0 00:35:01 httplib2==0.22.0 00:35:01 identify==2.6.1 00:35:01 idna==3.10 00:35:01 importlib-resources==1.5.0 00:35:01 iso8601==2.1.0 00:35:01 Jinja2==3.1.4 00:35:01 jmespath==1.0.1 00:35:01 jsonpatch==1.33 00:35:01 jsonpointer==3.0.0 00:35:01 jsonschema==4.23.0 00:35:01 jsonschema-specifications==2024.10.1 00:35:01 keystoneauth1==5.8.0 00:35:01 kubernetes==31.0.0 00:35:01 lftools==0.37.10 00:35:01 lxml==5.3.0 00:35:01 MarkupSafe==3.0.1 00:35:01 msgpack==1.1.0 00:35:01 multi_key_dict==2.0.3 00:35:01 munch==4.0.0 00:35:01 netaddr==1.3.0 00:35:01 netifaces==0.11.0 00:35:01 niet==1.4.2 00:35:01 nodeenv==1.9.1 00:35:01 oauth2client==4.1.3 00:35:01 oauthlib==3.2.2 00:35:01 openstacksdk==4.0.0 00:35:01 os-client-config==2.1.0 00:35:01 os-service-types==1.7.0 00:35:01 osc-lib==3.1.0 00:35:01 oslo.config==9.6.0 00:35:01 oslo.context==5.6.0 00:35:01 oslo.i18n==6.4.0 00:35:01 oslo.log==6.1.2 00:35:01 oslo.serialization==5.5.0 00:35:01 oslo.utils==7.3.0 00:35:01 packaging==24.1 00:35:01 pbr==6.1.0 00:35:01 platformdirs==4.3.6 00:35:01 prettytable==3.11.0 00:35:01 pyasn1==0.6.1 00:35:01 pyasn1_modules==0.4.1 00:35:01 pycparser==2.22 00:35:01 pygerrit2==2.0.15 00:35:01 PyGithub==2.4.0 00:35:01 PyJWT==2.9.0 00:35:01 PyNaCl==1.5.0 00:35:01 pyparsing==2.4.7 00:35:01 pyperclip==1.9.0 00:35:01 pyrsistent==0.20.0 00:35:01 python-cinderclient==9.6.0 00:35:01 python-dateutil==2.9.0.post0 00:35:01 python-heatclient==4.0.0 00:35:01 python-jenkins==1.8.2 00:35:01 python-keystoneclient==5.5.0 00:35:01 python-magnumclient==4.7.0 00:35:01 python-openstackclient==7.1.3 00:35:01 python-swiftclient==4.6.0 00:35:01 PyYAML==6.0.2 00:35:01 referencing==0.35.1 00:35:01 requests==2.32.3 00:35:01 requests-oauthlib==2.0.0 00:35:01 requestsexceptions==1.4.0 00:35:01 rfc3986==2.0.0 00:35:01 rpds-py==0.20.0 00:35:01 rsa==4.9 00:35:01 ruamel.yaml==0.18.6 00:35:01 ruamel.yaml.clib==0.2.8 00:35:01 s3transfer==0.10.3 00:35:01 simplejson==3.19.3 00:35:01 six==1.16.0 00:35:01 smmap==5.0.1 00:35:01 soupsieve==2.6 00:35:01 stevedore==5.3.0 00:35:01 tabulate==0.9.0 00:35:01 toml==0.10.2 00:35:01 tomlkit==0.13.2 00:35:01 tqdm==4.66.5 00:35:01 typing_extensions==4.12.2 00:35:01 tzdata==2024.2 00:35:01 urllib3==1.26.20 00:35:01 virtualenv==20.26.6 00:35:01 wcwidth==0.2.13 00:35:01 websocket-client==1.8.0 00:35:01 wrapt==1.16.0 00:35:01 xdg==6.0.0 00:35:01 xmltodict==0.14.1 00:35:01 yq==3.4.3 00:35:01 [EnvInject] - Injecting environment variables from a build step. 00:35:01 [EnvInject] - Injecting as environment variables the properties content 00:35:01 SET_JDK_VERSION=openjdk17 00:35:01 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:01 00:35:01 [EnvInject] - Variables injected successfully. 00:35:01 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins7453744994232587640.sh 00:35:01 ---> update-java-alternatives.sh 00:35:01 ---> Updating Java version 00:35:02 ---> Ubuntu/Debian system detected 00:35:02 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:02 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:02 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 00:35:03 openjdk version "17.0.7" 2023-04-18 00:35:03 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:03 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:03 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:03 [EnvInject] - Injecting environment variables from a build step. 00:35:03 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:03 [EnvInject] - Variables injected successfully. 00:35:03 [EnvInject] - Injecting environment variables from a build step. 00:35:03 [EnvInject] - Injecting as environment variables the properties content 00:35:03 PYTHON=python3 00:35:03 00:35:03 [EnvInject] - Variables injected successfully. 00:35:03 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8760319978147438019.sh 00:35:03 ---> tox-install.sh 00:35:03 + source /home/jenkins/lf-env.sh 00:35:03 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:03 ++ mktemp -d /tmp/venv-XXXX 00:35:03 + lf_venv=/tmp/venv-Yfjx 00:35:03 + local venv_file=/tmp/.os_lf_venv 00:35:03 + local python=python3 00:35:03 + local options 00:35:03 + local set_path=true 00:35:03 + local install_args= 00:35:03 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:03 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:03 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:03 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:03 + true 00:35:03 + case $1 in 00:35:03 + venv_file=/tmp/.toxenv 00:35:03 + shift 2 00:35:03 + true 00:35:03 + case $1 in 00:35:03 + shift 00:35:03 + break 00:35:03 + case $python in 00:35:03 + local pkg_list= 00:35:03 + [[ -d /opt/pyenv ]] 00:35:03 + echo 'Setup pyenv:' 00:35:03 Setup pyenv: 00:35:03 + export PYENV_ROOT=/opt/pyenv 00:35:03 + PYENV_ROOT=/opt/pyenv 00:35:03 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:03 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:03 + pyenv versions 00:35:03 system 00:35:03 3.8.13 00:35:03 3.9.13 00:35:03 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:03 + command -v pyenv 00:35:03 ++ pyenv init - --no-rehash 00:35:03 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 00:35:03 export PATH="/opt/pyenv/shims:${PATH}" 00:35:03 export PYENV_SHELL=bash 00:35:03 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:03 pyenv() { 00:35:03 local command 00:35:03 command="${1:-}" 00:35:03 if [ "$#" -gt 0 ]; then 00:35:03 shift 00:35:03 fi 00:35:03 00:35:03 case "$command" in 00:35:03 rehash|shell) 00:35:03 eval "$(pyenv "sh-$command" "$@")" 00:35:03 ;; 00:35:03 *) 00:35:03 command pyenv "$command" "$@" 00:35:03 ;; 00:35:03 esac 00:35:03 }' 00:35:03 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 00:35:03 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:03 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:03 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:03 ++ export PYENV_SHELL=bash 00:35:03 ++ PYENV_SHELL=bash 00:35:03 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:03 +++ complete -F _pyenv pyenv 00:35:03 ++ lf-pyver python3 00:35:03 ++ local py_version_xy=python3 00:35:03 ++ local py_version_xyz= 00:35:03 ++ grep -E '^[0-9.]*[0-9]$' 00:35:03 ++ pyenv versions 00:35:03 ++ local command 00:35:03 ++ command=versions 00:35:03 ++ '[' 1 -gt 0 ']' 00:35:03 ++ shift 00:35:03 ++ case "$command" in 00:35:03 ++ command pyenv versions 00:35:03 ++ pyenv versions 00:35:03 ++ sed 's/^[ *]* //' 00:35:03 ++ awk '{ print $1 }' 00:35:03 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:03 +++ tail -n 1 00:35:03 +++ sort -V 00:35:03 +++ grep '^3' /tmp/.pyenv_versions 00:35:03 ++ py_version_xyz=3.10.6 00:35:03 ++ [[ -z 3.10.6 ]] 00:35:03 ++ echo 3.10.6 00:35:03 ++ return 0 00:35:03 + pyenv local 3.10.6 00:35:03 + local command 00:35:03 + command=local 00:35:03 + '[' 2 -gt 0 ']' 00:35:03 + shift 00:35:03 + case "$command" in 00:35:03 + command pyenv local 3.10.6 00:35:03 + pyenv local 3.10.6 00:35:03 + for arg in "$@" 00:35:03 + case $arg in 00:35:03 + pkg_list+='tox ' 00:35:03 + for arg in "$@" 00:35:03 + case $arg in 00:35:03 + pkg_list+='virtualenv ' 00:35:03 + for arg in "$@" 00:35:03 + case $arg in 00:35:03 + pkg_list+='urllib3~=1.26.15 ' 00:35:03 + [[ -f /tmp/.toxenv ]] 00:35:03 + [[ ! -f /tmp/.toxenv ]] 00:35:03 + [[ -n '' ]] 00:35:03 + python3 -m venv /tmp/venv-Yfjx 00:35:07 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Yfjx' 00:35:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Yfjx 00:35:07 + echo /tmp/venv-Yfjx 00:35:07 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:07 + /tmp/venv-Yfjx/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:10 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:10 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:10 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:10 + /tmp/venv-Yfjx/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:12 + type python3 00:35:12 + true 00:35:12 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Yfjx/bin to PATH' 00:35:12 lf-activate-venv(): INFO: Adding /tmp/venv-Yfjx/bin to PATH 00:35:12 + PATH=/tmp/venv-Yfjx/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 00:35:12 + return 0 00:35:12 + python3 --version 00:35:12 Python 3.10.6 00:35:12 + python3 -m pip --version 00:35:12 pip 24.2 from /tmp/venv-Yfjx/lib/python3.10/site-packages/pip (python 3.10) 00:35:12 + python3 -m pip freeze 00:35:13 cachetools==5.5.0 00:35:13 chardet==5.2.0 00:35:13 colorama==0.4.6 00:35:13 distlib==0.3.9 00:35:13 filelock==3.16.1 00:35:13 packaging==24.1 00:35:13 platformdirs==4.3.6 00:35:13 pluggy==1.5.0 00:35:13 pyproject-api==1.8.0 00:35:13 tomli==2.0.2 00:35:13 tox==4.21.2 00:35:13 typing_extensions==4.12.2 00:35:13 urllib3==1.26.20 00:35:13 virtualenv==20.26.6 00:35:13 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4911337279138440133.sh 00:35:13 ---> install-deb-rmr.sh 00:35:13 + version_file=rmr-version.yaml 00:35:13 + '[' -f rmr-version.yaml ']' 00:35:13 ++ grep '^repo:' rmr-version.yaml 00:35:13 ++ cut -d: -f2 00:35:13 ++ xargs 00:35:13 + repo= 00:35:13 ++ grep '^version:' rmr-version.yaml 00:35:13 ++ cut -d: -f2 00:35:13 ++ xargs 00:35:13 + ver=4.9.0 00:35:13 + '[' -z 4.9.0 ']' 00:35:13 + repo=release 00:35:13 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:13 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:13 2024-10-13 00:35:13 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1728780013&Signature=ad8sex5g~mXhh7YQWkMhkAX1vC9W0~mHZ~v4e-9iyzE0xeKnwxl2pEYcEW4UQPd5QwHw1TgwuYb4WT50U8jMrhq2LnCR0CDqSj5qiIPpn-Y1Ud2AK~FXsqU3KvM6IQ-3Oj72OmknW9BBApUvLo~A~mQinKhBq4se8e-i3RoOeGhTkWNXfH9H6SNqQLvF-b~cT404sZePji1y-5VmziaQdf2jXAa93wKRFiTQY1anClFmJdpm-BbQddvX8DAKnDJVL8M7B8ktnhRF7Rr6yooy24fU32AYcTiLF728~i0G~-DYkFUa7IELDfLzo-pgzLJdA91~ilThz8FaVEvVJwhGWw__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:13 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:13 Selecting previously unselected package rmr. 00:35:15 (Reading database ... 188029 files and directories currently installed.) 00:35:15 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:15 Unpacking rmr (4.9.0) ... 00:35:15 Setting up rmr (4.9.0) ... 00:35:15 + rm -f rmr_4.9.0_amd64.deb 00:35:15 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:15 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.0_amd64.deb/download.deb 00:35:15 2024-10-13 00:35:15 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1728780015&Signature=j4pHDcMyFCpoMOvlouGL4JT4iF5fGi7aHLMaOxkI1bhjQzL5dirdQmuhHO~KSq~rnA34smrSdo3FNMAAKK~EUbugUUp5CSepJdptHRDqp3QZFroOX8QkB23t-6Qhsh8e2m1s8Ha3S~KfmZ7UuuKZA6x1Ft3TPXO0uXL-s2Z5sAcw53M9YNPWhoXGmZ0RLWosyZ5xu-iL7QzdGmQBKVPCO-Vzdbh7GpkvCGXOlnT93e3j-ukLVia7lizi~DMAuBV07KUb02viQMWGqEXkaLXtwH65XTJpskhWfPW4D4Bxz82FRzkFTFXTZJOMT5UAeop3GP1Wuerya7T9FFoMyXBg2Q__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:15 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:15 Selecting previously unselected package rmr-dev. 00:35:15 (Reading database ... 188037 files and directories currently installed.) 00:35:15 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:15 Unpacking rmr-dev (4.9.0) ... 00:35:15 Setting up rmr-dev (4.9.0) ... 00:35:15 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:15 + echo '---> install-deb-rmr.sh ends' 00:35:15 ---> install-deb-rmr.sh ends 00:35:15 [EnvInject] - Injecting environment variables from a build step. 00:35:15 [EnvInject] - Injecting as environment variables the properties content 00:35:15 PARALLEL=False 00:35:15 00:35:15 [EnvInject] - Variables injected successfully. 00:35:15 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6218475126109683678.sh 00:35:15 ---> tox-run.sh 00:35:15 + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:15 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:15 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:15 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:15 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:15 + source /home/jenkins/lf-env.sh 00:35:15 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:15 ++ mktemp -d /tmp/venv-XXXX 00:35:15 + lf_venv=/tmp/venv-88ie 00:35:15 + local venv_file=/tmp/.os_lf_venv 00:35:15 + local python=python3 00:35:15 + local options 00:35:15 + local set_path=true 00:35:15 + local install_args= 00:35:15 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:15 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:15 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:15 + true 00:35:15 + case $1 in 00:35:15 + venv_file=/tmp/.toxenv 00:35:15 + shift 2 00:35:15 + true 00:35:15 + case $1 in 00:35:15 + shift 00:35:15 + break 00:35:15 + case $python in 00:35:15 + local pkg_list= 00:35:15 + [[ -d /opt/pyenv ]] 00:35:15 + echo 'Setup pyenv:' 00:35:15 Setup pyenv: 00:35:15 + export PYENV_ROOT=/opt/pyenv 00:35:15 + PYENV_ROOT=/opt/pyenv 00:35:15 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:15 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:15 + pyenv versions 00:35:15 system 00:35:15 3.8.13 00:35:15 3.9.13 00:35:15 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:15 + command -v pyenv 00:35:15 ++ pyenv init - --no-rehash 00:35:15 + 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[*]}"'\'')" 00:35:15 export PATH="/opt/pyenv/shims:${PATH}" 00:35:15 export PYENV_SHELL=bash 00:35:15 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:15 pyenv() { 00:35:15 local command 00:35:15 command="${1:-}" 00:35:15 if [ "$#" -gt 0 ]; then 00:35:15 shift 00:35:15 fi 00:35:15 00:35:15 case "$command" in 00:35:15 rehash|shell) 00:35:15 eval "$(pyenv "sh-$command" "$@")" 00:35:15 ;; 00:35:15 *) 00:35:15 command pyenv "$command" "$@" 00:35:15 ;; 00:35:15 esac 00:35:15 }' 00:35:15 +++ 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[*]}"' 00:35:15 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 00:35:15 ++ 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 00:35:15 ++ 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 00:35:15 ++ export PYENV_SHELL=bash 00:35:15 ++ PYENV_SHELL=bash 00:35:15 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:15 +++ complete -F _pyenv pyenv 00:35:15 ++ lf-pyver python3 00:35:15 ++ local py_version_xy=python3 00:35:15 ++ local py_version_xyz= 00:35:15 ++ pyenv versions 00:35:15 ++ local command 00:35:15 ++ command=versions 00:35:15 ++ awk '{ print $1 }' 00:35:15 ++ '[' 1 -gt 0 ']' 00:35:15 ++ shift 00:35:15 ++ case "$command" in 00:35:15 ++ command pyenv versions 00:35:15 ++ pyenv versions 00:35:15 ++ grep -E '^[0-9.]*[0-9]$' 00:35:15 ++ sed 's/^[ *]* //' 00:35:15 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:15 +++ grep '^3' /tmp/.pyenv_versions 00:35:15 +++ sort -V 00:35:15 +++ tail -n 1 00:35:15 ++ py_version_xyz=3.10.6 00:35:15 ++ [[ -z 3.10.6 ]] 00:35:15 ++ echo 3.10.6 00:35:15 ++ return 0 00:35:15 + pyenv local 3.10.6 00:35:15 + local command 00:35:15 + command=local 00:35:15 + '[' 2 -gt 0 ']' 00:35:15 + shift 00:35:15 + case "$command" in 00:35:15 + command pyenv local 3.10.6 00:35:15 + pyenv local 3.10.6 00:35:15 + for arg in "$@" 00:35:15 + case $arg in 00:35:15 + pkg_list+='tox ' 00:35:15 + for arg in "$@" 00:35:15 + case $arg in 00:35:15 + pkg_list+='virtualenv ' 00:35:15 + for arg in "$@" 00:35:15 + case $arg in 00:35:15 + pkg_list+='urllib3~=1.26.15 ' 00:35:15 + [[ -f /tmp/.toxenv ]] 00:35:15 ++ cat /tmp/.toxenv 00:35:15 + lf_venv=/tmp/venv-Yfjx 00:35:15 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yfjx from' file:/tmp/.toxenv 00:35:15 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yfjx from file:/tmp/.toxenv 00:35:15 + /tmp/venv-Yfjx/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:16 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:16 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:16 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:16 + /tmp/venv-Yfjx/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:17 + type python3 00:35:17 + true 00:35:17 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Yfjx/bin to PATH' 00:35:17 lf-activate-venv(): INFO: Adding /tmp/venv-Yfjx/bin to PATH 00:35:17 + PATH=/tmp/venv-Yfjx/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 00:35:17 + return 0 00:35:17 + [[ -d /opt/pyenv ]] 00:35:17 + echo '---> Setting up pyenv' 00:35:17 ---> Setting up pyenv 00:35:17 + export PYENV_ROOT=/opt/pyenv 00:35:17 + PYENV_ROOT=/opt/pyenv 00:35:17 + export PATH=/opt/pyenv/bin:/tmp/venv-Yfjx/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 00:35:17 + PATH=/opt/pyenv/bin:/tmp/venv-Yfjx/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 00:35:17 ++ pwd 00:35:17 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:17 + export PYTHONPATH 00:35:17 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:17 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:17 + tox --version 00:35:18 4.21.2 from /tmp/venv-Yfjx/lib/python3.10/site-packages/tox/__init__.py 00:35:18 + PARALLEL=False 00:35:18 + TOX_OPTIONS_LIST= 00:35:18 + [[ -n code,flake8 ]] 00:35:18 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:18 + case ${PARALLEL,,} in 00:35:18 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:18 + tox -e code,flake8 00:35:19 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:22 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:23 .pkg: _optional_hooks> python /tmp/venv-Yfjx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:24 .pkg: get_requires_for_build_sdist> python /tmp/venv-Yfjx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:24 .pkg: get_requires_for_build_wheel> python /tmp/venv-Yfjx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:24 .pkg: freeze> python -m pip freeze --all 00:35:24 .pkg: pip==24.2,setuptools==75.1.0,wheel==0.44.0 00:35:24 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Yfjx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:25 .pkg: build_sdist> python /tmp/venv-Yfjx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:25 code: install_package_deps> python -I -m pip install 'Scikit-learn>=0.18' influxdb 'joblib>=0.3.2' 'mdclogpy<=1.1.1' 'pandas>=1.1.3' ricxappframe==3.2.2 'schedule>=0.0.0' 00:35:53 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-ad-tox-sonarqube/.tox/.tmp/package/1/ad-1.0.1.tar.gz 00:35:54 code: freeze> python -m pip freeze --all 00:35:55 code: ad==1.0.1,async-timeout==4.0.3,certifi==2024.8.30,charset-normalizer==3.4.0,coverage==7.6.2,exceptiongroup==1.2.2,hiredis==2.0.0,idna==3.10,influxdb==5.3.2,iniconfig==2.0.0,inotify==0.2.10,inotify_simple==1.3.5,joblib==1.4.2,mdclogpy==1.1.1,msgpack==1.1.0,nose==1.3.7,numpy==2.1.2,packaging==24.1,pandas==2.2.3,pip==24.2,pluggy==1.5.0,protobuf==3.20.3,pytest==8.3.3,pytest-cov==5.0.0,python-dateutil==2.9.0.post0,pytz==2024.2,redis==4.3.6,requests==2.32.3,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.5.2,scipy==1.14.1,setuptools==75.1.0,six==1.16.0,threadpoolctl==3.5.0,tomli==2.0.2,tzdata==2024.2,urllib3==2.2.3,wheel==0.44.0 00:35:55 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:35:56 ============================= test session starts ============================== 00:35:56 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:35:56 cachedir: .tox/code/.pytest_cache 00:35:56 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:35:56 plugins: cov-5.0.0 00:35:56 collecting ... collected 4 items 00:35:57 00:35:57 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:35:57 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:34 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:35 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:37:50 00:37:50 =============================== warnings summary =============================== 00:37:50 tests/test_ad.py::test_trainModel 00:37:50 tests/test_ad.py::test_trainModel 00:37:50 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:37:50 You are setting values through chained assignment. Currently this works in certain cases, but when using Copy-on-Write (which will become the default behaviour in pandas 3.0) this will never work to update the original DataFrame or Series, because the intermediate object on which we are setting values will behave as a copy. 00:37:50 A typical example is when you are setting values in a column of a DataFrame, like: 00:37:50 00:37:50 df["col"][row_indexer] = value 00:37:50 00:37:50 Use `df.loc[row_indexer, "col"] = values` instead, to perform the assignment in a single step and ensure this keeps updating the original `df`. 00:37:50 00:37:50 See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy 00:37:50 00:37:50 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:37:50 00:37:50 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:37:50 00:37:50 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:37:50 Name Stmts Miss Cover Missing 00:37:50 ------------------------------------------------- 00:37:50 src/__init__.py 0 0 100% 00:37:50 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:37:50 src/ad_train.py 69 6 91% 56-58, 66-68 00:37:50 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:37:50 src/exceptions.py 4 4 0% 18-25 00:37:50 src/insert.py 50 50 0% 21-84 00:37:50 src/main.py 116 65 44% 41-46, 70-83, 106-110, 119-130, 139, 146-163, 167-170, 174-177, 181-185, 190-192 00:37:50 src/processing.py 44 0 100% 00:37:50 ------------------------------------------------- 00:37:50 TOTAL 444 173 61% 00:37:50 Coverage HTML written to dir htmlcov 00:37:50 Coverage XML written to file coverage.xml 00:37:50 00:37:50 Required test coverage of 50% reached. Total coverage: 61.04% 00:37:50 ================== 4 passed, 2 warnings in 114.20s (0:01:54) =================== 00:37:50 code: commands[1]> coverage xml -i 00:37:50 Wrote XML report to coverage.xml 00:37:52 code: OK ✔ in 2 minutes 32.27 seconds 00:37:52 flake8: install_deps> python -I -m pip install flake8 00:37:54 flake8: freeze> python -m pip freeze --all 00:37:54 flake8: ad==1.0.1,flake8==7.1.1,mccabe==0.7.0,pip==24.2,pycodestyle==2.12.1,pyflakes==3.2.0,setuptools==75.1.0,wheel==0.44.0 00:37:54 flake8: commands[0]> flake8 setup.py src tests 00:37:54 code: OK (152.27=setup[36.49]+cmd[115.51,0.27] seconds) 00:37:54 flake8: OK (3.82=setup[3.57]+cmd[0.26] seconds) 00:37:54 congratulations :) (156.28 seconds) 00:37:54 + tox_status=0 00:37:54 + echo '---> Completed tox runs' 00:37:54 ---> Completed tox runs 00:37:54 + for i in .tox/*/log 00:37:54 ++ awk -F/ '{print $2}' 00:37:54 ++ echo .tox/code/log 00:37:54 + tox_env=code 00:37:54 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:37:54 + for i in .tox/*/log 00:37:54 ++ echo .tox/flake8/log 00:37:54 ++ awk -F/ '{print $2}' 00:37:54 + tox_env=flake8 00:37:54 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:37:54 + DOC_DIR=docs/_build/html 00:37:54 + [[ -d docs/_build/html ]] 00:37:54 + echo '---> tox-run.sh ends' 00:37:54 ---> tox-run.sh ends 00:37:54 + test 0 -eq 0 00:37:54 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-7544 00:37:55 [ric-app-ad-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-ad -Dsonar.projectName=ric-app-ad -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=ad -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/ric-app-ad-tox-sonarqube 00:37:56 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:56 INFO: Project root configuration file: NONE 00:37:56 INFO: SonarScanner 4.6.2.2472 00:37:56 INFO: Java 17.0.7 Private Build (64-bit) 00:37:56 INFO: Linux 4.15.0-213-generic amd64 00:37:56 INFO: User cache: /home/jenkins/.sonar/cache 00:37:58 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:58 INFO: Project root configuration file: NONE 00:37:58 INFO: Analyzing on SonarCloud 00:37:58 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:37:59 INFO: Load global settings 00:38:00 INFO: Load global settings (done) | time=285ms 00:38:00 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:38:00 INFO: Loading required plugins 00:38:00 INFO: Load plugins index 00:38:00 INFO: Load plugins index (done) | time=514ms 00:38:00 INFO: Load/download plugins 00:38:01 INFO: Load/download plugins (done) | time=832ms 00:38:02 INFO: Found an active CI vendor: 'Jenkins' 00:38:02 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:38:02 INFO: Process project properties 00:38:02 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:38:02 INFO: ------------------------------------------------------------------------ 00:38:02 INFO: EXECUTION FAILURE 00:38:02 INFO: ------------------------------------------------------------------------ 00:38:02 INFO: Total time: 6.467s 00:38:02 INFO: Final Memory: 10M/40M 00:38:02 INFO: ------------------------------------------------------------------------ 00:38:02 ERROR: Error during SonarScanner execution 00:38:02 ERROR: The folder 'ad' does not exist for 'o-ran-sc_ric-app-ad' (base directory = /w/workspace/ric-app-ad-tox-sonarqube) 00:38:02 ERROR: 00:38:02 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:03 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:03 $ ssh-agent -k 00:38:03 unset SSH_AUTH_SOCK; 00:38:03 unset SSH_AGENT_PID; 00:38:03 echo Agent pid 1741 killed; 00:38:03 [ssh-agent] Stopped. 00:38:03 ERROR: SonarQube scanner exited with non-zero code: 2 00:38:03 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:03 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6626484028812893967.sh 00:38:03 ---> sysstat.sh 00:38:04 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins10630475857376244660.sh 00:38:04 ---> package-listing.sh 00:38:04 ++ facter osfamily 00:38:04 ++ tr '[:upper:]' '[:lower:]' 00:38:04 + OS_FAMILY=debian 00:38:04 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:04 + START_PACKAGES=/tmp/packages_start.txt 00:38:04 + END_PACKAGES=/tmp/packages_end.txt 00:38:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:04 + PACKAGES=/tmp/packages_start.txt 00:38:04 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:04 + PACKAGES=/tmp/packages_end.txt 00:38:04 + case "${OS_FAMILY}" in 00:38:04 + grep '^ii' 00:38:04 + dpkg -l 00:38:04 + '[' -f /tmp/packages_start.txt ']' 00:38:04 + '[' -f /tmp/packages_end.txt ']' 00:38:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:04 + true 00:38:04 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:04 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:04 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8792945431608432244.sh 00:38:04 ---> capture-instance-metadata.sh 00:38:04 Setup pyenv: 00:38:04 system 00:38:04 3.8.13 00:38:04 3.9.13 00:38:04 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C7ry from file:/tmp/.os_lf_venv 00:38:06 lf-activate-venv(): INFO: Installing: lftools 00:38:17 lf-activate-venv(): INFO: Adding /tmp/venv-C7ry/bin to PATH 00:38:17 INFO: Running in OpenStack, capturing instance metadata 00:38:17 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3491947508978794146.sh 00:38:17 provisioning config files... 00:38:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config1066565362316081373tmp 00:38:17 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:17 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:17 [EnvInject] - Injecting environment variables from a build step. 00:38:17 [EnvInject] - Injecting as environment variables the properties content 00:38:17 SERVER_ID=logs 00:38:17 00:38:17 [EnvInject] - Variables injected successfully. 00:38:17 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15142067096928116290.sh 00:38:17 ---> create-netrc.sh 00:38:17 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7497029401372702405.sh 00:38:17 ---> python-tools-install.sh 00:38:17 Setup pyenv: 00:38:17 system 00:38:17 3.8.13 00:38:17 3.9.13 00:38:17 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C7ry from file:/tmp/.os_lf_venv 00:38:18 lf-activate-venv(): INFO: Installing: lftools 00:38:28 lf-activate-venv(): INFO: Adding /tmp/venv-C7ry/bin to PATH 00:38:28 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins17393771797041651482.sh 00:38:28 ---> sudo-logs.sh 00:38:28 Archiving 'sudo' log.. 00:38:28 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7773897296653530261.sh 00:38:28 ---> job-cost.sh 00:38:28 Setup pyenv: 00:38:28 system 00:38:28 3.8.13 00:38:28 3.9.13 00:38:28 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C7ry from file:/tmp/.os_lf_venv 00:38:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:33 lf-activate-venv(): INFO: Adding /tmp/venv-C7ry/bin to PATH 00:38:33 INFO: No Stack... 00:38:34 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:38:34 INFO: Archiving Costs 00:38:34 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16195326931533252942.sh 00:38:34 ---> logs-deploy.sh 00:38:34 Setup pyenv: 00:38:34 system 00:38:34 3.8.13 00:38:34 3.9.13 00:38:34 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C7ry from file:/tmp/.os_lf_venv 00:38:35 lf-activate-venv(): INFO: Installing: lftools 00:38:45 lf-activate-venv(): INFO: Adding /tmp/venv-C7ry/bin to PATH 00:38:45 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/201 00:38:45 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:49 Archives upload complete. 00:38:49 INFO: archiving logs to Nexus 00:38:50 ---> uname -a: 00:38:50 Linux prd-ubuntu1804-builder-2c-2g-7544 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:38:50 00:38:50 00:38:50 ---> lscpu: 00:38:50 Architecture: x86_64 00:38:50 CPU op-mode(s): 32-bit, 64-bit 00:38:50 Byte Order: Little Endian 00:38:50 CPU(s): 2 00:38:50 On-line CPU(s) list: 0,1 00:38:50 Thread(s) per core: 1 00:38:50 Core(s) per socket: 1 00:38:50 Socket(s): 2 00:38:50 NUMA node(s): 1 00:38:50 Vendor ID: AuthenticAMD 00:38:50 CPU family: 23 00:38:50 Model: 49 00:38:50 Model name: AMD EPYC-Rome Processor 00:38:50 Stepping: 0 00:38:50 CPU MHz: 2800.000 00:38:50 BogoMIPS: 5600.00 00:38:50 Virtualization: AMD-V 00:38:50 Hypervisor vendor: KVM 00:38:50 Virtualization type: full 00:38:50 L1d cache: 32K 00:38:50 L1i cache: 32K 00:38:50 L2 cache: 512K 00:38:50 L3 cache: 16384K 00:38:50 NUMA node0 CPU(s): 0,1 00:38:50 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 00:38:50 00:38:50 00:38:50 ---> nproc: 00:38:50 2 00:38:50 00:38:50 00:38:50 ---> df -h: 00:38:50 Filesystem Size Used Avail Use% Mounted on 00:38:50 udev 984M 0 984M 0% /dev 00:38:50 tmpfs 200M 668K 199M 1% /run 00:38:50 /dev/vda1 20G 7.8G 12G 41% / 00:38:50 tmpfs 997M 0 997M 0% /dev/shm 00:38:50 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:50 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:38:50 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:50 tmpfs 200M 0 200M 0% /run/user/1001 00:38:50 00:38:50 00:38:50 ---> free -m: 00:38:50 total used free shared buff/cache available 00:38:50 Mem: 1992 350 76 0 1565 1466 00:38:50 Swap: 1023 0 1023 00:38:50 00:38:50 00:38:50 ---> ip addr: 00:38:50 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:50 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:50 inet 127.0.0.1/8 scope host lo 00:38:50 valid_lft forever preferred_lft forever 00:38:50 inet6 ::1/128 scope host 00:38:50 valid_lft forever preferred_lft forever 00:38:50 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:50 link/ether fa:16:3e:06:e1:51 brd ff:ff:ff:ff:ff:ff 00:38:50 inet 10.32.6.137/23 brd 10.32.7.255 scope global dynamic ens3 00:38:50 valid_lft 86084sec preferred_lft 86084sec 00:38:50 inet6 fe80::f816:3eff:fe06:e151/64 scope link 00:38:50 valid_lft forever preferred_lft forever 00:38:50 00:38:50 00:38:50 ---> sar -b -r -n DEV: 00:38:50 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-7544) 10/13/24 _x86_64_ (2 CPU) 00:38:50 00:38:50 00:33:35 LINUX RESTART (2 CPU) 00:38:50 00:38:50 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:50 00:35:02 141.97 61.06 80.91 3097.71 11836.12 00:38:50 00:36:01 171.56 90.02 81.53 6334.68 23566.73 00:38:50 00:37:01 15.24 0.35 14.90 8.26 4322.03 00:38:50 00:38:01 56.75 53.79 2.97 2449.84 743.63 00:38:50 Average: 96.09 51.15 44.94 2958.75 10061.93 00:38:50 00:38:50 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:50 00:35:02 151908 1575128 1888724 92.56 53892 1455240 489900 15.86 356744 1384792 124900 00:38:50 00:36:01 71136 1410672 1969496 96.51 71560 1361168 849296 27.49 497852 1336920 128048 00:38:50 00:37:01 105744 1378920 1934888 94.82 71600 1295712 884688 28.64 522540 1279840 340 00:38:50 00:38:01 69512 1470708 1971120 96.59 73256 1421480 654528 21.19 450588 1387840 80140 00:38:50 Average: 99575 1458857 1941057 95.12 67577 1383400 719603 23.29 456931 1347348 83357 00:38:50 00:38:50 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:50 00:35:02 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 00:38:50 00:35:02 ens3 77.57 71.37 943.68 9.78 0.00 0.00 0.00 0.00 00:38:50 00:36:01 lo 1.90 1.90 0.18 0.18 0.00 0.00 0.00 0.00 00:38:50 00:36:01 ens3 76.40 60.02 1489.05 7.57 0.00 0.00 0.00 0.00 00:38:50 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:50 00:37:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:50 00:38:01 lo 3.93 3.93 0.22 0.22 0.00 0.00 0.00 0.00 00:38:50 00:38:01 ens3 130.43 54.86 807.08 8.50 0.00 0.00 0.00 0.00 00:38:50 Average: lo 1.71 1.71 0.12 0.12 0.00 0.00 0.00 0.00 00:38:50 Average: ens3 71.09 46.52 807.21 6.46 0.00 0.00 0.00 0.00 00:38:50 00:38:50 00:38:50 ---> sar -P ALL: 00:38:50 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-7544) 10/13/24 _x86_64_ (2 CPU) 00:38:50 00:38:50 00:33:35 LINUX RESTART (2 CPU) 00:38:50 00:38:50 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:50 00:35:02 all 38.70 0.00 3.07 7.02 0.09 51.12 00:38:50 00:35:02 0 42.25 0.00 3.50 10.95 0.10 43.20 00:38:50 00:35:02 1 35.18 0.00 2.63 3.11 0.07 59.00 00:38:50 00:36:01 all 36.63 0.00 3.46 7.87 0.10 51.94 00:38:50 00:36:01 0 40.98 0.00 3.41 7.99 0.10 47.52 00:38:50 00:36:01 1 32.30 0.00 3.50 7.75 0.10 56.35 00:38:50 00:37:01 all 49.96 0.00 0.23 0.28 0.08 49.45 00:38:50 00:37:01 0 60.27 0.00 0.32 0.57 0.10 38.74 00:38:50 00:37:01 1 39.68 0.00 0.13 0.00 0.05 60.14 00:38:50 00:38:01 all 35.31 0.00 0.88 3.59 0.06 60.16 00:38:50 00:38:01 0 6.26 0.00 0.74 3.86 0.03 89.11 00:38:50 00:38:01 1 64.29 0.00 1.02 3.31 0.10 31.28 00:38:50 Average: all 40.17 0.00 1.90 4.68 0.08 53.17 00:38:50 Average: 0 37.44 0.00 1.99 5.83 0.08 54.66 00:38:50 Average: 1 42.89 0.00 1.82 3.52 0.08 51.69 00:38:50 00:38:50 00:38:50