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-9441 (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-6SeEKspFaZQn/agent.1701 00:33:55 SSH_AGENT_PID=1703 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_17025207400144285714.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:59 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:33:59 > 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:34:00 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" 00:34:00 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:34:03 provisioning config files... 00:34:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:03 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8422209583034915235.sh 00:34:03 ---> python-tools-install.sh 00:34:03 Setup pyenv: 00:34:03 * system (set by /opt/pyenv/version) 00:34:03 * 3.8.13 (set by /opt/pyenv/version) 00:34:03 * 3.9.13 (set by /opt/pyenv/version) 00:34:03 * 3.10.6 (set by /opt/pyenv/version) 00:34:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-T3A1 00:34:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:11 lf-activate-venv(): INFO: Installing: lftools 00:34:42 lf-activate-venv(): INFO: Adding /tmp/venv-T3A1/bin to PATH 00:34:42 Generating Requirements File 00:35:03 Python 3.10.6 00:35:04 pip 24.3.1 from /tmp/venv-T3A1/lib/python3.10/site-packages/pip (python 3.10) 00:35:04 appdirs==1.4.4 00:35:04 argcomplete==3.5.1 00:35:04 aspy.yaml==1.3.0 00:35:04 attrs==24.2.0 00:35:04 autopage==0.5.2 00:35:04 beautifulsoup4==4.12.3 00:35:04 boto3==1.35.54 00:35:04 botocore==1.35.54 00:35:04 bs4==0.0.2 00:35:04 cachetools==5.5.0 00:35:04 certifi==2024.8.30 00:35:04 cffi==1.17.1 00:35:04 cfgv==3.4.0 00:35:04 chardet==5.2.0 00:35:04 charset-normalizer==3.4.0 00:35:04 click==8.1.7 00:35:04 cliff==4.7.0 00:35:04 cmd2==2.5.0 00:35:04 cryptography==3.3.2 00:35:04 debtcollector==3.0.0 00:35:04 decorator==5.1.1 00:35:04 defusedxml==0.7.1 00:35:04 Deprecated==1.2.14 00:35:04 distlib==0.3.9 00:35:04 dnspython==2.7.0 00:35:04 docker==4.2.2 00:35:04 dogpile.cache==1.3.3 00:35:04 durationpy==0.9 00:35:04 email_validator==2.2.0 00:35:04 filelock==3.16.1 00:35:04 future==1.0.0 00:35:04 gitdb==4.0.11 00:35:04 GitPython==3.1.43 00:35:04 google-auth==2.35.0 00:35:04 httplib2==0.22.0 00:35:04 identify==2.6.1 00:35:04 idna==3.10 00:35:04 importlib-resources==1.5.0 00:35:04 iso8601==2.1.0 00:35:04 Jinja2==3.1.4 00:35:04 jmespath==1.0.1 00:35:04 jsonpatch==1.33 00:35:04 jsonpointer==3.0.0 00:35:04 jsonschema==4.23.0 00:35:04 jsonschema-specifications==2024.10.1 00:35:04 keystoneauth1==5.8.0 00:35:04 kubernetes==31.0.0 00:35:04 lftools==0.37.10 00:35:04 lxml==5.3.0 00:35:04 MarkupSafe==3.0.2 00:35:04 msgpack==1.1.0 00:35:04 multi_key_dict==2.0.3 00:35:04 munch==4.0.0 00:35:04 netaddr==1.3.0 00:35:04 netifaces==0.11.0 00:35:04 niet==1.4.2 00:35:04 nodeenv==1.9.1 00:35:04 oauth2client==4.1.3 00:35:04 oauthlib==3.2.2 00:35:04 openstacksdk==4.1.0 00:35:04 os-client-config==2.1.0 00:35:04 os-service-types==1.7.0 00:35:04 osc-lib==3.1.0 00:35:04 oslo.config==9.6.0 00:35:04 oslo.context==5.6.0 00:35:04 oslo.i18n==6.4.0 00:35:04 oslo.log==6.1.2 00:35:04 oslo.serialization==5.5.0 00:35:04 oslo.utils==7.3.0 00:35:04 packaging==24.1 00:35:04 pbr==6.1.0 00:35:04 platformdirs==4.3.6 00:35:04 prettytable==3.12.0 00:35:04 pyasn1==0.6.1 00:35:04 pyasn1_modules==0.4.1 00:35:04 pycparser==2.22 00:35:04 pygerrit2==2.0.15 00:35:04 PyGithub==2.4.0 00:35:04 PyJWT==2.9.0 00:35:04 PyNaCl==1.5.0 00:35:04 pyparsing==2.4.7 00:35:04 pyperclip==1.9.0 00:35:04 pyrsistent==0.20.0 00:35:04 python-cinderclient==9.6.0 00:35:04 python-dateutil==2.9.0.post0 00:35:04 python-heatclient==4.0.0 00:35:04 python-jenkins==1.8.2 00:35:04 python-keystoneclient==5.5.0 00:35:04 python-magnumclient==4.7.0 00:35:04 python-openstackclient==7.2.1 00:35:04 python-swiftclient==4.6.0 00:35:04 PyYAML==6.0.2 00:35:04 referencing==0.35.1 00:35:04 requests==2.32.3 00:35:04 requests-oauthlib==2.0.0 00:35:04 requestsexceptions==1.4.0 00:35:04 rfc3986==2.0.0 00:35:04 rpds-py==0.20.1 00:35:04 rsa==4.9 00:35:04 ruamel.yaml==0.18.6 00:35:04 ruamel.yaml.clib==0.2.12 00:35:04 s3transfer==0.10.3 00:35:04 simplejson==3.19.3 00:35:04 six==1.16.0 00:35:04 smmap==5.0.1 00:35:04 soupsieve==2.6 00:35:04 stevedore==5.3.0 00:35:04 tabulate==0.9.0 00:35:04 toml==0.10.2 00:35:04 tomlkit==0.13.2 00:35:04 tqdm==4.66.6 00:35:04 typing_extensions==4.12.2 00:35:04 tzdata==2024.2 00:35:04 urllib3==1.26.20 00:35:04 virtualenv==20.27.1 00:35:04 wcwidth==0.2.13 00:35:04 websocket-client==1.8.0 00:35:04 wrapt==1.16.0 00:35:04 xdg==6.0.0 00:35:04 xmltodict==0.14.2 00:35:04 yq==3.4.3 00:35:04 [EnvInject] - Injecting environment variables from a build step. 00:35:04 [EnvInject] - Injecting as environment variables the properties content 00:35:04 SET_JDK_VERSION=openjdk17 00:35:04 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:04 00:35:04 [EnvInject] - Variables injected successfully. 00:35:04 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins16958349771470758731.sh 00:35:04 ---> update-java-alternatives.sh 00:35:04 ---> Updating Java version 00:35:04 ---> Ubuntu/Debian system detected 00:35:05 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:05 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:05 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:05 openjdk version "17.0.7" 2023-04-18 00:35:05 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:05 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:05 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:05 [EnvInject] - Injecting environment variables from a build step. 00:35:05 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:05 [EnvInject] - Variables injected successfully. 00:35:05 [EnvInject] - Injecting environment variables from a build step. 00:35:05 [EnvInject] - Injecting as environment variables the properties content 00:35:05 PYTHON=python3 00:35:05 00:35:05 [EnvInject] - Variables injected successfully. 00:35:05 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15562071969466332018.sh 00:35:05 ---> tox-install.sh 00:35:05 + source /home/jenkins/lf-env.sh 00:35:05 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:05 ++ mktemp -d /tmp/venv-XXXX 00:35:05 + lf_venv=/tmp/venv-Pyor 00:35:05 + local venv_file=/tmp/.os_lf_venv 00:35:05 + local python=python3 00:35:05 + local options 00:35:05 + local set_path=true 00:35:05 + local install_args= 00:35:05 ++ 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:05 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:05 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:05 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:05 + true 00:35:05 + case $1 in 00:35:05 + venv_file=/tmp/.toxenv 00:35:05 + shift 2 00:35:05 + true 00:35:05 + case $1 in 00:35:05 + shift 00:35:05 + break 00:35:05 + case $python in 00:35:05 + local pkg_list= 00:35:05 + [[ -d /opt/pyenv ]] 00:35:05 + echo 'Setup pyenv:' 00:35:05 Setup pyenv: 00:35:05 + export PYENV_ROOT=/opt/pyenv 00:35:05 + PYENV_ROOT=/opt/pyenv 00:35:05 + 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:05 + 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:05 + pyenv versions 00:35:05 system 00:35:05 3.8.13 00:35:05 3.9.13 00:35:05 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:05 + command -v pyenv 00:35:05 ++ pyenv init - --no-rehash 00:35:05 + 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:05 export PATH="/opt/pyenv/shims:${PATH}" 00:35:05 export PYENV_SHELL=bash 00:35:05 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:05 pyenv() { 00:35:05 local command 00:35:05 command="${1:-}" 00:35:05 if [ "$#" -gt 0 ]; then 00:35:05 shift 00:35:05 fi 00:35:05 00:35:05 case "$command" in 00:35:05 rehash|shell) 00:35:05 eval "$(pyenv "sh-$command" "$@")" 00:35:05 ;; 00:35:05 *) 00:35:05 command pyenv "$command" "$@" 00:35:05 ;; 00:35:05 esac 00:35:05 }' 00:35:05 +++ 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:05 ++ 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:05 ++ 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:05 ++ 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:05 ++ export PYENV_SHELL=bash 00:35:05 ++ PYENV_SHELL=bash 00:35:05 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:05 +++ complete -F _pyenv pyenv 00:35:06 ++ lf-pyver python3 00:35:06 ++ local py_version_xy=python3 00:35:06 ++ local py_version_xyz= 00:35:06 ++ pyenv versions 00:35:06 ++ local command 00:35:06 ++ command=versions 00:35:06 ++ '[' 1 -gt 0 ']' 00:35:06 ++ shift 00:35:06 ++ case "$command" in 00:35:06 ++ command pyenv versions 00:35:06 ++ pyenv versions 00:35:06 ++ grep -E '^[0-9.]*[0-9]$' 00:35:06 ++ awk '{ print $1 }' 00:35:06 ++ sed 's/^[ *]* //' 00:35:06 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:06 +++ grep '^3' /tmp/.pyenv_versions 00:35:06 +++ tail -n 1 00:35:06 +++ sort -V 00:35:06 ++ py_version_xyz=3.10.6 00:35:06 ++ [[ -z 3.10.6 ]] 00:35:06 ++ echo 3.10.6 00:35:06 ++ return 0 00:35:06 + pyenv local 3.10.6 00:35:06 + local command 00:35:06 + command=local 00:35:06 + '[' 2 -gt 0 ']' 00:35:06 + shift 00:35:06 + case "$command" in 00:35:06 + command pyenv local 3.10.6 00:35:06 + pyenv local 3.10.6 00:35:06 + for arg in "$@" 00:35:06 + case $arg in 00:35:06 + pkg_list+='tox ' 00:35:06 + for arg in "$@" 00:35:06 + case $arg in 00:35:06 + pkg_list+='virtualenv ' 00:35:06 + for arg in "$@" 00:35:06 + case $arg in 00:35:06 + pkg_list+='urllib3~=1.26.15 ' 00:35:06 + [[ -f /tmp/.toxenv ]] 00:35:06 + [[ ! -f /tmp/.toxenv ]] 00:35:06 + [[ -n '' ]] 00:35:06 + python3 -m venv /tmp/venv-Pyor 00:35:10 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Pyor' 00:35:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Pyor 00:35:10 + echo /tmp/venv-Pyor 00:35:10 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:10 + /tmp/venv-Pyor/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:12 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:12 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:12 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:12 + /tmp/venv-Pyor/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:15 + type python3 00:35:15 + true 00:35:15 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Pyor/bin to PATH' 00:35:15 lf-activate-venv(): INFO: Adding /tmp/venv-Pyor/bin to PATH 00:35:15 + PATH=/tmp/venv-Pyor/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:15 + return 0 00:35:15 + python3 --version 00:35:15 Python 3.10.6 00:35:15 + python3 -m pip --version 00:35:15 pip 24.3.1 from /tmp/venv-Pyor/lib/python3.10/site-packages/pip (python 3.10) 00:35:15 + python3 -m pip freeze 00:35:15 cachetools==5.5.0 00:35:15 chardet==5.2.0 00:35:15 colorama==0.4.6 00:35:15 distlib==0.3.9 00:35:15 filelock==3.16.1 00:35:15 packaging==24.1 00:35:15 platformdirs==4.3.6 00:35:15 pluggy==1.5.0 00:35:15 pyproject-api==1.8.0 00:35:15 tomli==2.0.2 00:35:15 tox==4.23.2 00:35:15 typing_extensions==4.12.2 00:35:15 urllib3==1.26.20 00:35:15 virtualenv==20.27.1 00:35:15 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins10158379549754122796.sh 00:35:15 ---> install-deb-rmr.sh 00:35:15 + version_file=rmr-version.yaml 00:35:15 + '[' -f rmr-version.yaml ']' 00:35:15 ++ grep '^repo:' rmr-version.yaml 00:35:15 ++ cut -d: -f2 00:35:15 ++ xargs 00:35:15 + repo= 00:35:15 ++ grep '^version:' rmr-version.yaml 00:35:15 ++ cut -d: -f2 00:35:15 ++ xargs 00:35:15 + ver=4.9.0 00:35:15 + '[' -z 4.9.0 ']' 00:35:15 + repo=release 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_4.9.0_amd64.deb/download.deb 00:35:15 2024-11-03 00:35:15 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1730594415&Signature=aLUYoNKSp6W2RfsZ04bUQdpisvcAYYkl7G0f7fGTkAzCR5Uw5K78rQkI7~FF-Il2C4hnK~wS9V6dtZ-POYdqOE-saETb-Iuc5y99Daz32yiNst7qcE8jZ6IWvf7Mw~gWR1tucWRfSU-4jgOXdbsoQZqryvur9LiMZ3f1hZuej5strPtq~pMhjcrI80OnEX6S63yQ7w4GhEWrXiRQMfkFCRr-6vgIhV7kGYHuq22qP7sOAQmTnoGMcMHrdg6XaiK7bbQF8VzQKfZ0na42i5f-Al6IwCyn-CZ1go3fyHq111NpStshIlmvYIXJmCmPo2AoXtEs45PUMvnAENjyI91jQw__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:15 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:15 Selecting previously unselected package rmr. 00:35:17 (Reading database ... 188029 files and directories currently installed.) 00:35:17 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:17 Unpacking rmr (4.9.0) ... 00:35:18 Setting up rmr (4.9.0) ... 00:35:18 + rm -f rmr_4.9.0_amd64.deb 00:35:18 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:18 + 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:18 2024-11-03 00:35:18 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1730594418&Signature=gfb87qZ0uybF4Cwq3jHR1JMMIdRZGJYhfp2G1lCKKdZJsCNZtGRAT2HV32a~8V6nXVNIir0zBU4egIsU0rgZ7AlUDl72y9YTaYXZPoAKFwgsvHA6Fi16xrXJixm6QOPFJaTMcKyZApVFHKpIGagfLpccFt1qzcYov-1hvOFAcG1m8JWA~R4Pzei4s4Pq11HAkyvvwzSdhoSBJcvgdpkOO-D9a-hJNTe36MiLhQ14~uwHyt7pQZGGg6pVOW3wWCg7swPUVEVJOaGXEzZQx7HWVR28R8~QZ27ktIa4Om9bE3YArK4tEYGeWPsvje2tTgod7gYmwbIjI8-AwrhHr6lSdg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:18 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:18 Selecting previously unselected package rmr-dev. 00:35:18 (Reading database ... 188037 files and directories currently installed.) 00:35:18 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:18 Unpacking rmr-dev (4.9.0) ... 00:35:18 Setting up rmr-dev (4.9.0) ... 00:35:18 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:18 + echo '---> install-deb-rmr.sh ends' 00:35:18 ---> install-deb-rmr.sh ends 00:35:18 [EnvInject] - Injecting environment variables from a build step. 00:35:18 [EnvInject] - Injecting as environment variables the properties content 00:35:18 PARALLEL=False 00:35:18 00:35:18 [EnvInject] - Variables injected successfully. 00:35:18 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12568265228024149193.sh 00:35:18 ---> tox-run.sh 00:35:18 + 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:18 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:18 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:18 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:18 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:18 + source /home/jenkins/lf-env.sh 00:35:18 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:18 ++ mktemp -d /tmp/venv-XXXX 00:35:18 + lf_venv=/tmp/venv-eTPj 00:35:18 + local venv_file=/tmp/.os_lf_venv 00:35:18 + local python=python3 00:35:18 + local options 00:35:18 + local set_path=true 00:35:18 + local install_args= 00:35:18 ++ 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:18 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:18 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:18 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:18 + true 00:35:18 + case $1 in 00:35:18 + venv_file=/tmp/.toxenv 00:35:18 + shift 2 00:35:18 + true 00:35:18 + case $1 in 00:35:18 + shift 00:35:18 + break 00:35:18 + case $python in 00:35:18 + local pkg_list= 00:35:18 + [[ -d /opt/pyenv ]] 00:35:18 + echo 'Setup pyenv:' 00:35:18 Setup pyenv: 00:35:18 + export PYENV_ROOT=/opt/pyenv 00:35:18 + PYENV_ROOT=/opt/pyenv 00:35:18 + 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:18 + 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:18 + pyenv versions 00:35:18 system 00:35:18 3.8.13 00:35:18 3.9.13 00:35:18 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:18 + command -v pyenv 00:35:18 ++ pyenv init - --no-rehash 00:35:18 + 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:18 export PATH="/opt/pyenv/shims:${PATH}" 00:35:18 export PYENV_SHELL=bash 00:35:18 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:18 pyenv() { 00:35:18 local command 00:35:18 command="${1:-}" 00:35:18 if [ "$#" -gt 0 ]; then 00:35:18 shift 00:35:18 fi 00:35:18 00:35:18 case "$command" in 00:35:18 rehash|shell) 00:35:18 eval "$(pyenv "sh-$command" "$@")" 00:35:18 ;; 00:35:18 *) 00:35:18 command pyenv "$command" "$@" 00:35:18 ;; 00:35:18 esac 00:35:18 }' 00:35:18 +++ 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:18 ++ 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:18 ++ 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:18 ++ 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:18 ++ export PYENV_SHELL=bash 00:35:18 ++ PYENV_SHELL=bash 00:35:18 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:18 +++ complete -F _pyenv pyenv 00:35:18 ++ lf-pyver python3 00:35:18 ++ local py_version_xy=python3 00:35:18 ++ local py_version_xyz= 00:35:18 ++ pyenv versions 00:35:18 ++ local command 00:35:18 ++ command=versions 00:35:18 ++ '[' 1 -gt 0 ']' 00:35:18 ++ shift 00:35:18 ++ case "$command" in 00:35:18 ++ command pyenv versions 00:35:18 ++ grep -E '^[0-9.]*[0-9]$' 00:35:18 ++ pyenv versions 00:35:18 ++ awk '{ print $1 }' 00:35:18 ++ sed 's/^[ *]* //' 00:35:18 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:18 +++ grep '^3' /tmp/.pyenv_versions 00:35:18 +++ tail -n 1 00:35:18 +++ sort -V 00:35:18 ++ py_version_xyz=3.10.6 00:35:18 ++ [[ -z 3.10.6 ]] 00:35:18 ++ echo 3.10.6 00:35:18 ++ return 0 00:35:18 + pyenv local 3.10.6 00:35:18 + local command 00:35:18 + command=local 00:35:18 + '[' 2 -gt 0 ']' 00:35:18 + shift 00:35:18 + case "$command" in 00:35:18 + command pyenv local 3.10.6 00:35:18 + pyenv local 3.10.6 00:35:18 + for arg in "$@" 00:35:18 + case $arg in 00:35:18 + pkg_list+='tox ' 00:35:18 + for arg in "$@" 00:35:18 + case $arg in 00:35:18 + pkg_list+='virtualenv ' 00:35:18 + for arg in "$@" 00:35:18 + case $arg in 00:35:18 + pkg_list+='urllib3~=1.26.15 ' 00:35:18 + [[ -f /tmp/.toxenv ]] 00:35:18 ++ cat /tmp/.toxenv 00:35:18 + lf_venv=/tmp/venv-Pyor 00:35:18 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Pyor from' file:/tmp/.toxenv 00:35:18 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Pyor from file:/tmp/.toxenv 00:35:18 + /tmp/venv-Pyor/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:19 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:19 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:19 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:19 + /tmp/venv-Pyor/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:20 + type python3 00:35:20 + true 00:35:20 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Pyor/bin to PATH' 00:35:20 lf-activate-venv(): INFO: Adding /tmp/venv-Pyor/bin to PATH 00:35:20 + PATH=/tmp/venv-Pyor/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:20 + return 0 00:35:20 + [[ -d /opt/pyenv ]] 00:35:20 + echo '---> Setting up pyenv' 00:35:20 ---> Setting up pyenv 00:35:20 + export PYENV_ROOT=/opt/pyenv 00:35:20 + PYENV_ROOT=/opt/pyenv 00:35:20 + export PATH=/opt/pyenv/bin:/tmp/venv-Pyor/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:20 + PATH=/opt/pyenv/bin:/tmp/venv-Pyor/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:20 ++ pwd 00:35:20 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:20 + export PYTHONPATH 00:35:20 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:20 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:20 + tox --version 00:35:21 4.23.2 from /tmp/venv-Pyor/lib/python3.10/site-packages/tox/__init__.py 00:35:21 + PARALLEL=False 00:35:21 + TOX_OPTIONS_LIST= 00:35:21 + [[ -n code,flake8 ]] 00:35:21 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:21 + case ${PARALLEL,,} in 00:35:21 + tox -e code,flake8 00:35:21 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:22 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:25 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:26 .pkg: _optional_hooks> python /tmp/venv-Pyor/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:26 .pkg: get_requires_for_build_sdist> python /tmp/venv-Pyor/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:27 .pkg: get_requires_for_build_wheel> python /tmp/venv-Pyor/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:27 .pkg: freeze> python -m pip freeze --all 00:35:27 .pkg: pip==24.3.1,setuptools==75.2.0,wheel==0.44.0 00:35:27 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Pyor/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:27 .pkg: build_sdist> python /tmp/venv-Pyor/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:28 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:55 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:57 code: freeze> python -m pip freeze --all 00:35:57 code: ad==1.0.1,async-timeout==5.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,coverage==7.6.4,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.3,packaging==24.1,pandas==2.2.3,pip==24.3.1,pluggy==1.5.0,protobuf==3.20.3,pytest==8.3.3,pytest-cov==6.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.2.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:57 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:35:59 ============================= test session starts ============================== 00:35:59 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:59 cachedir: .tox/code/.pytest_cache 00:35:59 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:35:59 plugins: cov-6.0.0 00:35:59 collecting ... collected 4 items 00:36:00 00:36:00 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:00 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:24 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:24 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:37:40 00:37:40 =============================== warnings summary =============================== 00:37:40 tests/test_ad.py::test_trainModel 00:37:40 tests/test_ad.py::test_trainModel 00:37:40 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:37:40 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:40 A typical example is when you are setting values in a column of a DataFrame, like: 00:37:40 00:37:40 df["col"][row_indexer] = value 00:37:40 00:37:40 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:40 00:37:40 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:40 00:37:40 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:37:40 00:37:40 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:37:40 00:37:40 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:37:40 Name Stmts Miss Cover Missing 00:37:40 ------------------------------------------------- 00:37:40 src/__init__.py 0 0 100% 00:37:40 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:37:40 src/ad_train.py 69 6 91% 56-58, 66-68 00:37:40 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:37:40 src/exceptions.py 4 4 0% 18-25 00:37:40 src/insert.py 50 50 0% 21-84 00:37:40 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:40 src/processing.py 44 0 100% 00:37:40 ------------------------------------------------- 00:37:40 TOTAL 444 173 61% 00:37:40 Coverage HTML written to dir htmlcov 00:37:40 Coverage XML written to file coverage.xml 00:37:40 00:37:40 Required test coverage of 50% reached. Total coverage: 61.04% 00:37:40 ================== 4 passed, 2 warnings in 101.13s (0:01:41) =================== 00:37:40 code: commands[1]> coverage xml -i 00:37:40 Wrote XML report to coverage.xml 00:37:42 code: OK ✔ in 2 minutes 19.35 seconds 00:37:42 flake8: install_deps> python -I -m pip install flake8 00:37:44 flake8: freeze> python -m pip freeze --all 00:37:44 flake8: ad==1.0.1,flake8==7.1.1,mccabe==0.7.0,pip==24.3.1,pycodestyle==2.12.1,pyflakes==3.2.0,setuptools==75.2.0,wheel==0.44.0 00:37:44 flake8: commands[0]> flake8 setup.py src tests 00:37:44 code: OK (139.35=setup[36.50]+cmd[102.56,0.29] seconds) 00:37:44 flake8: OK (3.98=setup[3.70]+cmd[0.27] seconds) 00:37:44 congratulations :) (143.50 seconds) 00:37:44 + tox_status=0 00:37:44 + echo '---> Completed tox runs' 00:37:44 ---> Completed tox runs 00:37:44 + for i in .tox/*/log 00:37:44 ++ echo .tox/code/log 00:37:44 ++ awk -F/ '{print $2}' 00:37:44 + tox_env=code 00:37:44 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:37:44 + for i in .tox/*/log 00:37:44 ++ echo .tox/flake8/log 00:37:44 ++ awk -F/ '{print $2}' 00:37:44 + tox_env=flake8 00:37:44 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:37:44 + DOC_DIR=docs/_build/html 00:37:44 + [[ -d docs/_build/html ]] 00:37:44 + echo '---> tox-run.sh ends' 00:37:44 ---> tox-run.sh ends 00:37:44 + test 0 -eq 0 00:37:44 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-9441 00:37:45 [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:46 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:46 INFO: Project root configuration file: NONE 00:37:46 INFO: SonarScanner 4.6.2.2472 00:37:46 INFO: Java 17.0.7 Private Build (64-bit) 00:37:46 INFO: Linux 4.15.0-213-generic amd64 00:37:46 INFO: User cache: /home/jenkins/.sonar/cache 00:37:48 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:48 INFO: Project root configuration file: NONE 00:37:48 INFO: Analyzing on SonarCloud 00:37:48 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:37:49 INFO: Load global settings 00:37:50 INFO: Load global settings (done) | time=309ms 00:37:50 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:37:50 INFO: Loading required plugins 00:37:50 INFO: Load plugins index 00:37:50 INFO: Load plugins index (done) | time=218ms 00:37:50 INFO: Load/download plugins 00:37:51 INFO: Load/download plugins (done) | time=1159ms 00:37:52 INFO: Found an active CI vendor: 'Jenkins' 00:37:52 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:37:52 INFO: Process project properties 00:37:52 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:37:52 INFO: ------------------------------------------------------------------------ 00:37:52 INFO: EXECUTION FAILURE 00:37:52 INFO: ------------------------------------------------------------------------ 00:37:52 INFO: Total time: 6.598s 00:37:52 INFO: Final Memory: 10M/40M 00:37:52 INFO: ------------------------------------------------------------------------ 00:37:52 ERROR: Error during SonarScanner execution 00:37:52 ERROR: The folder 'ad' does not exist for 'o-ran-sc_ric-app-ad' (base directory = /w/workspace/ric-app-ad-tox-sonarqube) 00:37:52 ERROR: 00:37:52 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:37:53 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:37:53 $ ssh-agent -k 00:37:53 unset SSH_AUTH_SOCK; 00:37:53 unset SSH_AGENT_PID; 00:37:53 echo Agent pid 1703 killed; 00:37:53 [ssh-agent] Stopped. 00:37:53 ERROR: SonarQube scanner exited with non-zero code: 2 00:37:53 [PostBuildScript] - [INFO] Executing post build scripts. 00:37:53 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15622716147276701002.sh 00:37:53 ---> sysstat.sh 00:37:54 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins977492243496948564.sh 00:37:54 ---> package-listing.sh 00:37:54 ++ facter osfamily 00:37:54 ++ tr '[:upper:]' '[:lower:]' 00:37:54 + OS_FAMILY=debian 00:37:54 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:37:54 + START_PACKAGES=/tmp/packages_start.txt 00:37:54 + END_PACKAGES=/tmp/packages_end.txt 00:37:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:37:54 + PACKAGES=/tmp/packages_start.txt 00:37:54 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:37:54 + PACKAGES=/tmp/packages_end.txt 00:37:54 + case "${OS_FAMILY}" in 00:37:54 + dpkg -l 00:37:54 + grep '^ii' 00:37:54 + '[' -f /tmp/packages_start.txt ']' 00:37:54 + '[' -f /tmp/packages_end.txt ']' 00:37:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:37:54 + true 00:37:54 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:37:54 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:37:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:37:54 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14710250716828312677.sh 00:37:54 ---> capture-instance-metadata.sh 00:37:54 Setup pyenv: 00:37:54 system 00:37:54 3.8.13 00:37:54 3.9.13 00:37:54 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:37:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-T3A1 from file:/tmp/.os_lf_venv 00:37:56 lf-activate-venv(): INFO: Installing: lftools 00:38:06 lf-activate-venv(): INFO: Adding /tmp/venv-T3A1/bin to PATH 00:38:06 INFO: Running in OpenStack, capturing instance metadata 00:38:07 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13593872245397257853.sh 00:38:07 provisioning config files... 00:38:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config13822148242983485921tmp 00:38:07 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:07 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:07 [EnvInject] - Injecting environment variables from a build step. 00:38:07 [EnvInject] - Injecting as environment variables the properties content 00:38:07 SERVER_ID=logs 00:38:07 00:38:07 [EnvInject] - Variables injected successfully. 00:38:07 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7234721534124464901.sh 00:38:07 ---> create-netrc.sh 00:38:07 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins11639426257337752922.sh 00:38:07 ---> python-tools-install.sh 00:38:07 Setup pyenv: 00:38:07 system 00:38:07 3.8.13 00:38:07 3.9.13 00:38:07 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-T3A1 from file:/tmp/.os_lf_venv 00:38:08 lf-activate-venv(): INFO: Installing: lftools 00:38:17 lf-activate-venv(): INFO: Adding /tmp/venv-T3A1/bin to PATH 00:38:17 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins750003204763503793.sh 00:38:17 ---> sudo-logs.sh 00:38:17 Archiving 'sudo' log.. 00:38:18 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins17870910460740880471.sh 00:38:18 ---> job-cost.sh 00:38:18 Setup pyenv: 00:38:18 system 00:38:18 3.8.13 00:38:18 3.9.13 00:38:18 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:18 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-T3A1 from file:/tmp/.os_lf_venv 00:38:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:23 lf-activate-venv(): INFO: Adding /tmp/venv-T3A1/bin to PATH 00:38:23 INFO: No Stack... 00:38:24 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:38:24 INFO: Archiving Costs 00:38:24 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16022799017620747831.sh 00:38:24 ---> logs-deploy.sh 00:38:24 Setup pyenv: 00:38:24 system 00:38:24 3.8.13 00:38:24 3.9.13 00:38:24 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-T3A1 from file:/tmp/.os_lf_venv 00:38:25 lf-activate-venv(): INFO: Installing: lftools 00:38:35 lf-activate-venv(): INFO: Adding /tmp/venv-T3A1/bin to PATH 00:38:35 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/204 00:38:35 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:39 Archives upload complete. 00:38:39 INFO: archiving logs to Nexus 00:38:40 ---> uname -a: 00:38:40 Linux prd-ubuntu1804-builder-2c-2g-9441 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:40 00:38:40 00:38:40 ---> lscpu: 00:38:40 Architecture: x86_64 00:38:40 CPU op-mode(s): 32-bit, 64-bit 00:38:40 Byte Order: Little Endian 00:38:40 CPU(s): 2 00:38:40 On-line CPU(s) list: 0,1 00:38:40 Thread(s) per core: 1 00:38:40 Core(s) per socket: 1 00:38:40 Socket(s): 2 00:38:40 NUMA node(s): 1 00:38:40 Vendor ID: AuthenticAMD 00:38:40 CPU family: 23 00:38:40 Model: 49 00:38:40 Model name: AMD EPYC-Rome Processor 00:38:40 Stepping: 0 00:38:40 CPU MHz: 2799.998 00:38:40 BogoMIPS: 5599.99 00:38:40 Virtualization: AMD-V 00:38:40 Hypervisor vendor: KVM 00:38:40 Virtualization type: full 00:38:40 L1d cache: 32K 00:38:40 L1i cache: 32K 00:38:40 L2 cache: 512K 00:38:40 L3 cache: 16384K 00:38:40 NUMA node0 CPU(s): 0,1 00:38:40 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:40 00:38:40 00:38:40 ---> nproc: 00:38:40 2 00:38:40 00:38:40 00:38:40 ---> df -h: 00:38:40 Filesystem Size Used Avail Use% Mounted on 00:38:40 udev 984M 0 984M 0% /dev 00:38:40 tmpfs 200M 668K 199M 1% /run 00:38:40 /dev/vda1 20G 7.8G 12G 41% / 00:38:40 tmpfs 997M 0 997M 0% /dev/shm 00:38:40 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:40 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:38:40 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:40 tmpfs 200M 0 200M 0% /run/user/1001 00:38:40 00:38:40 00:38:40 ---> free -m: 00:38:40 total used free shared buff/cache available 00:38:40 Mem: 1992 338 103 0 1550 1475 00:38:40 Swap: 1023 0 1023 00:38:40 00:38:40 00:38:40 ---> ip addr: 00:38:40 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:40 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:40 inet 127.0.0.1/8 scope host lo 00:38:40 valid_lft forever preferred_lft forever 00:38:40 inet6 ::1/128 scope host 00:38:40 valid_lft forever preferred_lft forever 00:38:40 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:40 link/ether fa:16:3e:49:80:0b brd ff:ff:ff:ff:ff:ff 00:38:40 inet 10.32.6.145/23 brd 10.32.7.255 scope global dynamic ens3 00:38:40 valid_lft 86095sec preferred_lft 86095sec 00:38:40 inet6 fe80::f816:3eff:fe49:800b/64 scope link 00:38:40 valid_lft forever preferred_lft forever 00:38:40 00:38:40 00:38:40 ---> sar -b -r -n DEV: 00:38:40 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-9441) 11/03/24 _x86_64_ (2 CPU) 00:38:40 00:38:40 00:33:37 LINUX RESTART (2 CPU) 00:38:40 00:38:40 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:40 00:35:01 134.95 49.54 85.41 2192.37 10454.51 00:38:40 00:36:01 183.34 94.88 88.45 6139.91 24499.65 00:38:40 00:37:01 14.40 0.07 14.33 16.66 4198.10 00:38:40 00:38:01 74.95 67.87 7.08 3063.89 2037.66 00:38:40 Average: 101.91 53.09 48.82 2853.15 10297.49 00:38:40 00:38:40 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:40 00:35:01 66584 1502304 1974048 96.74 51588 1470780 594744 19.25 452908 1372552 150828 00:38:40 00:36:01 73728 1451688 1966904 96.39 71880 1396920 821924 26.61 487756 1338776 120840 00:38:40 00:37:01 101832 1390812 1938800 95.01 71936 1309472 886744 28.70 535824 1265368 156 00:38:40 00:38:01 157376 1518204 1883256 92.29 73996 1372308 569620 18.44 433292 1301068 57136 00:38:40 Average: 99880 1465752 1940752 95.11 67350 1387370 718258 23.25 477445 1319441 82240 00:38:40 00:38:40 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:40 00:35:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 00:38:40 00:35:01 ens3 79.29 70.55 902.70 9.31 0.00 0.00 0.00 0.00 00:38:40 00:36:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 00:38:40 00:36:01 ens3 80.90 66.36 1466.61 8.57 0.00 0.00 0.00 0.00 00:38:40 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:40 00:37:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:40 00:38:01 lo 4.07 4.07 0.23 0.23 0.00 0.00 0.00 0.00 00:38:40 00:38:01 ens3 180.65 98.03 1008.69 15.85 0.00 0.00 0.00 0.00 00:38:40 Average: lo 1.73 1.73 0.13 0.13 0.00 0.00 0.00 0.00 00:38:40 Average: ens3 85.21 58.74 844.50 8.43 0.00 0.00 0.00 0.00 00:38:40 00:38:40 00:38:40 ---> sar -P ALL: 00:38:40 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-9441) 11/03/24 _x86_64_ (2 CPU) 00:38:40 00:38:40 00:33:37 LINUX RESTART (2 CPU) 00:38:40 00:38:40 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:40 00:35:01 all 37.72 0.00 3.18 7.21 0.08 51.81 00:38:40 00:35:01 0 53.85 0.00 3.99 3.45 0.10 38.61 00:38:40 00:35:01 1 21.55 0.00 2.34 10.98 0.05 65.07 00:38:40 00:36:01 all 36.55 0.00 3.48 8.16 0.08 51.73 00:38:40 00:36:01 0 49.57 0.00 4.14 8.26 0.08 37.95 00:38:40 00:36:01 1 23.52 0.00 2.82 8.07 0.08 65.51 00:38:40 00:37:01 all 50.03 0.00 0.24 0.36 0.08 49.30 00:38:40 00:37:01 0 35.97 0.00 0.15 0.27 0.07 63.54 00:38:40 00:37:01 1 64.06 0.00 0.32 0.45 0.08 35.09 00:38:40 00:38:01 all 34.13 0.00 1.38 4.39 0.07 60.02 00:38:40 00:38:01 0 19.59 0.00 1.39 4.33 0.07 74.62 00:38:40 00:38:01 1 48.80 0.00 1.39 4.44 0.10 45.27 00:38:40 Average: all 39.60 0.00 2.07 5.03 0.08 53.23 00:38:40 Average: 0 39.70 0.00 2.42 4.08 0.08 53.72 00:38:40 Average: 1 39.49 0.00 1.72 5.98 0.08 52.73 00:38:40 00:38:40 00:38:40