00:33:52 Started by timer 00:33:52 Running as SYSTEM 00:33:52 [EnvInject] - Loading node environment variables. 00:33:52 Building remotely on prd-ubuntu1804-builder-2c-2g-5955 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:52 [ssh-agent] Looking for ssh-agent implementation... 00:33:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:52 $ ssh-agent 00:33:52 SSH_AUTH_SOCK=/tmp/ssh-Ppa4GGK3Gyl7/agent.1768 00:33:52 SSH_AGENT_PID=1770 00:33:52 [ssh-agent] Started. 00:33:52 Running ssh-add (command line suppressed) 00:33:52 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_17271327962347010056.key (jenkins-ssh) 00:33:52 [ssh-agent] Using credentials jenkins (jenkins) 00:33:52 The recommended git tool is: NONE 00:33:53 using credential jenkins 00:33:53 Wiping out workspace first. 00:33:53 Cloning the remote Git repository 00:33:53 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:54 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:33:54 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:54 > git --version # timeout=10 00:33:54 > git --version # 'git version 2.17.1' 00:33:54 using GIT_SSH to set credentials jenkins 00:33:54 > 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:55 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:33:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:56 Avoid second fetch 00:33:56 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:33:56 Checking out Revision f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) 00:33:56 > git config core.sparsecheckout # timeout=10 00:33:56 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:33:56 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" 00:33:56 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:33:59 provisioning config files... 00:33:59 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:33:59 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:33:59 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13479777621861181104.sh 00:33:59 ---> python-tools-install.sh 00:33:59 Setup pyenv: 00:33:59 * system (set by /opt/pyenv/version) 00:33:59 * 3.8.13 (set by /opt/pyenv/version) 00:33:59 * 3.9.13 (set by /opt/pyenv/version) 00:33:59 * 3.10.6 (set by /opt/pyenv/version) 00:34:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-I3lM 00:34:04 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:08 lf-activate-venv(): INFO: Installing: lftools 00:34:37 lf-activate-venv(): INFO: Adding /tmp/venv-I3lM/bin to PATH 00:34:37 Generating Requirements File 00:34:58 Python 3.10.6 00:34:58 pip 24.1.1 from /tmp/venv-I3lM/lib/python3.10/site-packages/pip (python 3.10) 00:34:59 appdirs==1.4.4 00:34:59 argcomplete==3.4.0 00:34:59 aspy.yaml==1.3.0 00:34:59 attrs==23.2.0 00:34:59 autopage==0.5.2 00:34:59 beautifulsoup4==4.12.3 00:34:59 boto3==1.34.140 00:34:59 botocore==1.34.140 00:34:59 bs4==0.0.2 00:34:59 cachetools==5.3.3 00:34:59 certifi==2024.7.4 00:34:59 cffi==1.16.0 00:34:59 cfgv==3.4.0 00:34:59 chardet==5.2.0 00:34:59 charset-normalizer==3.3.2 00:34:59 click==8.1.7 00:34:59 cliff==4.7.0 00:34:59 cmd2==2.4.3 00:34:59 cryptography==3.3.2 00:34:59 debtcollector==3.0.0 00:34:59 decorator==5.1.1 00:34:59 defusedxml==0.7.1 00:34:59 Deprecated==1.2.14 00:34:59 distlib==0.3.8 00:34:59 dnspython==2.6.1 00:34:59 docker==4.2.2 00:34:59 dogpile.cache==1.3.3 00:34:59 email_validator==2.2.0 00:34:59 filelock==3.15.4 00:34:59 future==1.0.0 00:34:59 gitdb==4.0.11 00:34:59 GitPython==3.1.43 00:34:59 google-auth==2.31.0 00:34:59 httplib2==0.22.0 00:34:59 identify==2.5.36 00:34:59 idna==3.7 00:34:59 importlib-resources==1.5.0 00:34:59 iso8601==2.1.0 00:34:59 Jinja2==3.1.4 00:34:59 jmespath==1.0.1 00:34:59 jsonpatch==1.33 00:34:59 jsonpointer==3.0.0 00:34:59 jsonschema==4.22.0 00:34:59 jsonschema-specifications==2023.12.1 00:34:59 keystoneauth1==5.7.0 00:34:59 kubernetes==30.1.0 00:34:59 lftools==0.37.10 00:34:59 lxml==5.2.2 00:34:59 MarkupSafe==2.1.5 00:34:59 msgpack==1.0.8 00:34:59 multi_key_dict==2.0.3 00:34:59 munch==4.0.0 00:34:59 netaddr==1.3.0 00:34:59 netifaces==0.11.0 00:34:59 niet==1.4.2 00:34:59 nodeenv==1.9.1 00:34:59 oauth2client==4.1.3 00:34:59 oauthlib==3.2.2 00:34:59 openstacksdk==3.2.0 00:34:59 os-client-config==2.1.0 00:34:59 os-service-types==1.7.0 00:34:59 osc-lib==3.1.0 00:34:59 oslo.config==9.5.0 00:34:59 oslo.context==5.5.0 00:34:59 oslo.i18n==6.3.0 00:34:59 oslo.log==6.1.0 00:34:59 oslo.serialization==5.4.0 00:34:59 oslo.utils==7.2.0 00:34:59 packaging==24.1 00:34:59 pbr==6.0.0 00:34:59 platformdirs==4.2.2 00:34:59 prettytable==3.10.0 00:34:59 pyasn1==0.6.0 00:34:59 pyasn1_modules==0.4.0 00:34:59 pycparser==2.22 00:34:59 pygerrit2==2.0.15 00:34:59 PyGithub==2.3.0 00:34:59 PyJWT==2.8.0 00:34:59 PyNaCl==1.5.0 00:34:59 pyparsing==2.4.7 00:34:59 pyperclip==1.9.0 00:34:59 pyrsistent==0.20.0 00:34:59 python-cinderclient==9.5.0 00:34:59 python-dateutil==2.9.0.post0 00:34:59 python-heatclient==3.5.0 00:34:59 python-jenkins==1.8.2 00:34:59 python-keystoneclient==5.4.0 00:34:59 python-magnumclient==4.6.0 00:34:59 python-novaclient==18.6.0 00:34:59 python-openstackclient==6.6.0 00:34:59 python-swiftclient==4.6.0 00:34:59 PyYAML==6.0.1 00:34:59 referencing==0.35.1 00:34:59 requests==2.32.3 00:34:59 requests-oauthlib==2.0.0 00:34:59 requestsexceptions==1.4.0 00:34:59 rfc3986==2.0.0 00:34:59 rpds-py==0.18.1 00:34:59 rsa==4.9 00:34:59 ruamel.yaml==0.18.6 00:34:59 ruamel.yaml.clib==0.2.8 00:34:59 s3transfer==0.10.2 00:34:59 simplejson==3.19.2 00:34:59 six==1.16.0 00:34:59 smmap==5.0.1 00:34:59 soupsieve==2.5 00:34:59 stevedore==5.2.0 00:34:59 tabulate==0.9.0 00:34:59 toml==0.10.2 00:34:59 tomlkit==0.12.5 00:34:59 tqdm==4.66.4 00:34:59 typing_extensions==4.12.2 00:34:59 tzdata==2024.1 00:34:59 urllib3==1.26.19 00:34:59 virtualenv==20.26.3 00:34:59 wcwidth==0.2.13 00:34:59 websocket-client==1.8.0 00:34:59 wrapt==1.16.0 00:34:59 xdg==6.0.0 00:34:59 xmltodict==0.13.0 00:34:59 yq==3.4.3 00:34:59 [EnvInject] - Injecting environment variables from a build step. 00:34:59 [EnvInject] - Injecting as environment variables the properties content 00:34:59 SET_JDK_VERSION=openjdk17 00:34:59 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:34:59 00:34:59 [EnvInject] - Variables injected successfully. 00:34:59 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins3095689866824659533.sh 00:34:59 ---> update-java-alternatives.sh 00:34:59 ---> Updating Java version 00:34:59 ---> Ubuntu/Debian system detected 00:35:00 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:00 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:00 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:00 openjdk version "17.0.7" 2023-04-18 00:35:00 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:00 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:00 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:00 [EnvInject] - Injecting environment variables from a build step. 00:35:00 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:00 [EnvInject] - Variables injected successfully. 00:35:00 [EnvInject] - Injecting environment variables from a build step. 00:35:00 [EnvInject] - Injecting as environment variables the properties content 00:35:00 PYTHON=python3 00:35:00 00:35:00 [EnvInject] - Variables injected successfully. 00:35:00 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12827911153827974330.sh 00:35:00 ---> tox-install.sh 00:35:00 + source /home/jenkins/lf-env.sh 00:35:00 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:00 ++ mktemp -d /tmp/venv-XXXX 00:35:00 + lf_venv=/tmp/venv-eRDc 00:35:00 + local venv_file=/tmp/.os_lf_venv 00:35:00 + local python=python3 00:35:00 + local options 00:35:00 + local set_path=true 00:35:00 + local install_args= 00:35:00 ++ 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:00 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:00 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:00 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:00 + true 00:35:00 + case $1 in 00:35:00 + venv_file=/tmp/.toxenv 00:35:00 + shift 2 00:35:00 + true 00:35:00 + case $1 in 00:35:00 + shift 00:35:00 + break 00:35:00 + case $python in 00:35:00 + local pkg_list= 00:35:00 + [[ -d /opt/pyenv ]] 00:35:00 + echo 'Setup pyenv:' 00:35:00 Setup pyenv: 00:35:00 + export PYENV_ROOT=/opt/pyenv 00:35:00 + PYENV_ROOT=/opt/pyenv 00:35:00 + 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:00 + 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:00 + pyenv versions 00:35:00 system 00:35:00 3.8.13 00:35:00 3.9.13 00:35:00 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:00 + command -v pyenv 00:35:00 ++ pyenv init - --no-rehash 00:35:00 + 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:00 export PATH="/opt/pyenv/shims:${PATH}" 00:35:00 export PYENV_SHELL=bash 00:35:00 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:00 pyenv() { 00:35:00 local command 00:35:00 command="${1:-}" 00:35:00 if [ "$#" -gt 0 ]; then 00:35:00 shift 00:35:00 fi 00:35:00 00:35:00 case "$command" in 00:35:00 rehash|shell) 00:35:00 eval "$(pyenv "sh-$command" "$@")" 00:35:00 ;; 00:35:00 *) 00:35:00 command pyenv "$command" "$@" 00:35:00 ;; 00:35:00 esac 00:35:00 }' 00:35:00 +++ 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:00 ++ 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:00 ++ 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:00 ++ 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:00 ++ export PYENV_SHELL=bash 00:35:00 ++ PYENV_SHELL=bash 00:35:00 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:00 +++ complete -F _pyenv pyenv 00:35:00 ++ lf-pyver python3 00:35:00 ++ local py_version_xy=python3 00:35:00 ++ local py_version_xyz= 00:35:00 ++ pyenv versions 00:35:00 ++ local command 00:35:00 ++ command=versions 00:35:00 ++ '[' 1 -gt 0 ']' 00:35:00 ++ shift 00:35:00 ++ case "$command" in 00:35:00 ++ command pyenv versions 00:35:00 ++ pyenv versions 00:35:00 ++ sed 's/^[ *]* //' 00:35:00 ++ awk '{ print $1 }' 00:35:00 ++ grep -E '^[0-9.]*[0-9]$' 00:35:00 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:00 +++ sort -V 00:35:00 +++ grep '^3' /tmp/.pyenv_versions 00:35:00 +++ tail -n 1 00:35:00 ++ py_version_xyz=3.10.6 00:35:00 ++ [[ -z 3.10.6 ]] 00:35:00 ++ echo 3.10.6 00:35:00 ++ return 0 00:35:00 + pyenv local 3.10.6 00:35:00 + local command 00:35:00 + command=local 00:35:00 + '[' 2 -gt 0 ']' 00:35:00 + shift 00:35:00 + case "$command" in 00:35:00 + command pyenv local 3.10.6 00:35:00 + pyenv local 3.10.6 00:35:00 + for arg in "$@" 00:35:00 + case $arg in 00:35:00 + pkg_list+='tox ' 00:35:00 + for arg in "$@" 00:35:00 + case $arg in 00:35:00 + pkg_list+='virtualenv ' 00:35:00 + for arg in "$@" 00:35:00 + case $arg in 00:35:00 + pkg_list+='urllib3~=1.26.15 ' 00:35:00 + [[ -f /tmp/.toxenv ]] 00:35:00 + [[ ! -f /tmp/.toxenv ]] 00:35:00 + [[ -n '' ]] 00:35:00 + python3 -m venv /tmp/venv-eRDc 00:35:04 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eRDc' 00:35:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eRDc 00:35:04 + echo /tmp/venv-eRDc 00:35:04 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:04 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:04 + /tmp/venv-eRDc/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:07 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:07 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:07 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:07 + /tmp/venv-eRDc/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:09 + type python3 00:35:09 + true 00:35:09 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-eRDc/bin to PATH' 00:35:09 lf-activate-venv(): INFO: Adding /tmp/venv-eRDc/bin to PATH 00:35:09 + PATH=/tmp/venv-eRDc/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:09 + return 0 00:35:09 + python3 --version 00:35:09 Python 3.10.6 00:35:09 + python3 -m pip --version 00:35:10 pip 24.1.1 from /tmp/venv-eRDc/lib/python3.10/site-packages/pip (python 3.10) 00:35:10 + python3 -m pip freeze 00:35:10 cachetools==5.3.3 00:35:10 chardet==5.2.0 00:35:10 colorama==0.4.6 00:35:10 distlib==0.3.8 00:35:10 filelock==3.15.4 00:35:10 packaging==24.1 00:35:10 platformdirs==4.2.2 00:35:10 pluggy==1.5.0 00:35:10 pyproject-api==1.7.1 00:35:10 tomli==2.0.1 00:35:10 tox==4.16.0 00:35:10 urllib3==1.26.19 00:35:10 virtualenv==20.26.3 00:35:10 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15216758580814800961.sh 00:35:10 ---> install-deb-rmr.sh 00:35:10 + version_file=rmr-version.yaml 00:35:10 + '[' -f rmr-version.yaml ']' 00:35:10 ++ xargs 00:35:10 ++ grep '^repo:' rmr-version.yaml 00:35:10 ++ cut -d: -f2 00:35:10 + repo= 00:35:10 ++ grep '^version:' rmr-version.yaml 00:35:10 ++ cut -d: -f2 00:35:10 ++ xargs 00:35:10 + ver=4.9.0 00:35:10 + '[' -z 4.9.0 ']' 00:35:10 + repo=release 00:35:10 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:10 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:10 2024-07-07 00:35:10 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1720312810&Signature=raWPDk9BcZgbItomeEoWFLDg1v5e24LUsexFkfcXtqhNWXbS~Q95WkxRc3SYGjd-9rnM1cX4EsgQ0x4LOSVdHYp7FMua7EkiLa3f0U3xjAxN1acReRdP2xIjHLjNWPYdSD2aJePYYd8MtzTejOb5m-a8j97kZ9OE0DrJWNKWZddB2WAUd1~l4SW6ZNg8wME0mIbJt2qhRMuIq6Wolv~T4frVaEUg~ThIXGY0twXDcw~378VgA8-CtsKdW9NxR2g4iqkgrcnkbfXdpGjVVoHsmY16vHl01mD2kWn5gRXHbW3EHBkjfYjrtgZb~2gp-MzOmwpRGUmGjAfFcFeKVE86xQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:10 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:10 Selecting previously unselected package rmr. 00:35:12 (Reading database ... 188029 files and directories currently installed.) 00:35:12 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:12 Unpacking rmr (4.9.0) ... 00:35:12 Setting up rmr (4.9.0) ... 00:35:12 + rm -f rmr_4.9.0_amd64.deb 00:35:12 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:12 + 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:12 2024-07-07 00:35:12 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1720312812&Signature=xFlpyVk1C-kQHxVOJohpeSLrDLca1aJ3XXzfRkQD2yJmfltmSAKaNX4Io8zyMm8by31roGfCiHgs8LovTVEEBr8D2XoloWJBc0~BK6y-vCc8qBxZCTamn~LDVNc3q5rwCI2Y-e3yVpfdXIrphijD1MQekPGUrFkGy4SdgfMYzIyPvilST7yikU2wX0ZQfgtE1iqsgqlZdmoyZ9fth2OnY-QRv4cVjYBQGKbt-oNYvYeiYt00DXlVy7I5K9a9BP9-ApgEdbicK8GRP3Ue3JRdwWwjC1iKEgiSPIWSwmEU6c2KosVZ4Ex2-M68k7awpLLg2Nm9pj8GE5aHaLAA9W8sSw__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:12 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:12 Selecting previously unselected package rmr-dev. 00:35:13 (Reading database ... 188037 files and directories currently installed.) 00:35:13 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:13 Unpacking rmr-dev (4.9.0) ... 00:35:13 Setting up rmr-dev (4.9.0) ... 00:35:13 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:13 + echo '---> install-deb-rmr.sh ends' 00:35:13 ---> install-deb-rmr.sh ends 00:35:13 [EnvInject] - Injecting environment variables from a build step. 00:35:13 [EnvInject] - Injecting as environment variables the properties content 00:35:13 PARALLEL=False 00:35:13 00:35:13 [EnvInject] - Variables injected successfully. 00:35:13 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3379174763690946142.sh 00:35:13 ---> tox-run.sh 00:35:13 + 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:13 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:13 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:13 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:13 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:13 + source /home/jenkins/lf-env.sh 00:35:13 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:13 ++ mktemp -d /tmp/venv-XXXX 00:35:13 + lf_venv=/tmp/venv-7ydd 00:35:13 + local venv_file=/tmp/.os_lf_venv 00:35:13 + local python=python3 00:35:13 + local options 00:35:13 + local set_path=true 00:35:13 + local install_args= 00:35:13 ++ 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:13 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:13 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:13 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:13 + true 00:35:13 + case $1 in 00:35:13 + venv_file=/tmp/.toxenv 00:35:13 + shift 2 00:35:13 + true 00:35:13 + case $1 in 00:35:13 + shift 00:35:13 + break 00:35:13 + case $python in 00:35:13 + local pkg_list= 00:35:13 + [[ -d /opt/pyenv ]] 00:35:13 + echo 'Setup pyenv:' 00:35:13 Setup pyenv: 00:35:13 + export PYENV_ROOT=/opt/pyenv 00:35:13 + PYENV_ROOT=/opt/pyenv 00:35:13 + 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:13 + 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:13 + pyenv versions 00:35:13 system 00:35:13 3.8.13 00:35:13 3.9.13 00:35:13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:13 + command -v pyenv 00:35:13 ++ pyenv init - --no-rehash 00:35:13 + 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:13 export PATH="/opt/pyenv/shims:${PATH}" 00:35:13 export PYENV_SHELL=bash 00:35:13 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:13 pyenv() { 00:35:13 local command 00:35:13 command="${1:-}" 00:35:13 if [ "$#" -gt 0 ]; then 00:35:13 shift 00:35:13 fi 00:35:13 00:35:13 case "$command" in 00:35:13 rehash|shell) 00:35:13 eval "$(pyenv "sh-$command" "$@")" 00:35:13 ;; 00:35:13 *) 00:35:13 command pyenv "$command" "$@" 00:35:13 ;; 00:35:13 esac 00:35:13 }' 00:35:13 +++ 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:13 ++ 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:13 ++ 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:13 ++ 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:13 ++ export PYENV_SHELL=bash 00:35:13 ++ PYENV_SHELL=bash 00:35:13 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:13 +++ complete -F _pyenv pyenv 00:35:13 ++ lf-pyver python3 00:35:13 ++ local py_version_xy=python3 00:35:13 ++ local py_version_xyz= 00:35:13 ++ pyenv versions 00:35:13 ++ local command 00:35:13 ++ command=versions 00:35:13 ++ '[' 1 -gt 0 ']' 00:35:13 ++ shift 00:35:13 ++ case "$command" in 00:35:13 ++ command pyenv versions 00:35:13 ++ pyenv versions 00:35:13 ++ grep -E '^[0-9.]*[0-9]$' 00:35:13 ++ awk '{ print $1 }' 00:35:13 ++ sed 's/^[ *]* //' 00:35:13 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:13 +++ grep '^3' /tmp/.pyenv_versions 00:35:13 +++ tail -n 1 00:35:13 +++ sort -V 00:35:13 ++ py_version_xyz=3.10.6 00:35:13 ++ [[ -z 3.10.6 ]] 00:35:13 ++ echo 3.10.6 00:35:13 ++ return 0 00:35:13 + pyenv local 3.10.6 00:35:13 + local command 00:35:13 + command=local 00:35:13 + '[' 2 -gt 0 ']' 00:35:13 + shift 00:35:13 + case "$command" in 00:35:13 + command pyenv local 3.10.6 00:35:13 + pyenv local 3.10.6 00:35:13 + for arg in "$@" 00:35:13 + case $arg in 00:35:13 + pkg_list+='tox ' 00:35:13 + for arg in "$@" 00:35:13 + case $arg in 00:35:13 + pkg_list+='virtualenv ' 00:35:13 + for arg in "$@" 00:35:13 + case $arg in 00:35:13 + pkg_list+='urllib3~=1.26.15 ' 00:35:13 + [[ -f /tmp/.toxenv ]] 00:35:13 ++ cat /tmp/.toxenv 00:35:13 + lf_venv=/tmp/venv-eRDc 00:35:13 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-eRDc from' file:/tmp/.toxenv 00:35:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-eRDc from file:/tmp/.toxenv 00:35:13 + /tmp/venv-eRDc/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:14 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:14 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:14 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:14 + /tmp/venv-eRDc/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-eRDc/bin to PATH' 00:35:15 lf-activate-venv(): INFO: Adding /tmp/venv-eRDc/bin to PATH 00:35:15 + PATH=/tmp/venv-eRDc/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:15 + return 0 00:35:15 + [[ -d /opt/pyenv ]] 00:35:15 + echo '---> Setting up pyenv' 00:35:15 ---> Setting up pyenv 00:35:15 + export PYENV_ROOT=/opt/pyenv 00:35:15 + PYENV_ROOT=/opt/pyenv 00:35:15 + export PATH=/opt/pyenv/bin:/tmp/venv-eRDc/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:15 + PATH=/opt/pyenv/bin:/tmp/venv-eRDc/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:15 ++ pwd 00:35:15 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:15 + export PYTHONPATH 00:35:15 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:15 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:15 + tox --version 00:35:15 4.16.0 from /tmp/venv-eRDc/lib/python3.10/site-packages/tox/__init__.py 00:35:15 + PARALLEL=False 00:35:15 + TOX_OPTIONS_LIST= 00:35:15 + [[ -n code,flake8 ]] 00:35:15 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:15 + case ${PARALLEL,,} in 00:35:15 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:15 + tox -e code,flake8 00:35:16 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:20 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:21 .pkg: _optional_hooks> python /tmp/venv-eRDc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:21 .pkg: get_requires_for_build_sdist> python /tmp/venv-eRDc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:21 .pkg: get_requires_for_build_wheel> python /tmp/venv-eRDc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:21 .pkg: freeze> python -m pip freeze --all 00:35:22 .pkg: pip==24.1,setuptools==70.1.0,wheel==0.43.0 00:35:22 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-eRDc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:22 .pkg: build_sdist> python /tmp/venv-eRDc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:22 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:50 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:51 code: freeze> python -m pip freeze --all 00:35:52 code: ad==1.0.1,async-timeout==4.0.3,certifi==2024.7.4,charset-normalizer==3.3.2,coverage==7.5.4,exceptiongroup==1.2.1,hiredis==2.0.0,idna==3.7,influxdb==5.3.2,iniconfig==2.0.0,inotify==0.2.10,inotify_simple==1.3.5,joblib==1.4.2,mdclogpy==1.1.1,msgpack==1.0.8,nose==1.3.7,numpy==2.0.0,packaging==24.1,pandas==2.2.2,pip==24.1,pluggy==1.5.0,protobuf==3.20.3,pytest==8.2.2,pytest-cov==5.0.0,python-dateutil==2.9.0.post0,pytz==2024.1,redis==4.3.6,requests==2.32.3,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.5.1,scipy==1.14.0,setuptools==70.1.0,six==1.16.0,threadpoolctl==3.5.0,tomli==2.0.1,tzdata==2024.1,urllib3==2.2.2,wheel==0.43.0 00:35:52 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:35:53 ============================= test session starts ============================== 00:35:53 platform linux -- Python 3.10.6, pytest-8.2.2, pluggy-1.5.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:35:53 cachedir: .tox/code/.pytest_cache 00:35:53 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:35:53 plugins: cov-5.0.0 00:35:53 collecting ... collected 4 items 00:35:54 00:35:55 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:35:55 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:38 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:38 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:37:53 00:37:53 =============================== warnings summary =============================== 00:37:53 tests/test_ad.py::test_trainModel 00:37:53 tests/test_ad.py::test_trainModel 00:37:53 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:37:53 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:53 A typical example is when you are setting values in a column of a DataFrame, like: 00:37:53 00:37:53 df["col"][row_indexer] = value 00:37:53 00:37:53 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:53 00:37:53 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:53 00:37:53 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:37:53 00:37:53 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:37:53 00:37:53 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:37:53 Name Stmts Miss Cover Missing 00:37:53 ------------------------------------------------- 00:37:53 src/__init__.py 0 0 100% 00:37:53 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:37:53 src/ad_train.py 69 6 91% 56-58, 66-68 00:37:53 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:37:53 src/exceptions.py 4 4 0% 18-25 00:37:53 src/insert.py 50 50 0% 21-84 00:37:53 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:53 src/processing.py 44 0 100% 00:37:53 ------------------------------------------------- 00:37:53 TOTAL 444 173 61% 00:37:53 Coverage HTML written to dir htmlcov 00:37:53 Coverage XML written to file coverage.xml 00:37:53 00:37:53 Required test coverage of 50% reached. Total coverage: 61.04% 00:37:53 ================== 4 passed, 2 warnings in 120.34s (0:02:00) =================== 00:37:54 code: commands[1]> coverage xml -i 00:37:54 Wrote XML report to coverage.xml 00:37:55 code: OK ✔ in 2 minutes 38.13 seconds 00:37:55 flake8: install_deps> python -I -m pip install flake8 00:37:57 flake8: freeze> python -m pip freeze --all 00:37:57 flake8: ad==1.0.1,flake8==7.1.0,mccabe==0.7.0,pip==24.1,pycodestyle==2.12.0,pyflakes==3.2.0,setuptools==70.1.0,wheel==0.43.0 00:37:57 flake8: commands[0]> flake8 setup.py src tests 00:37:57 code: OK (158.12=setup[36.14]+cmd[121.71,0.27] seconds) 00:37:57 flake8: OK (3.44=setup[3.16]+cmd[0.28] seconds) 00:37:57 congratulations :) (161.74 seconds) 00:37:57 + tox_status=0 00:37:57 + echo '---> Completed tox runs' 00:37:57 ---> Completed tox runs 00:37:57 + for i in .tox/*/log 00:37:57 ++ awk -F/ '{print $2}' 00:37:57 ++ echo .tox/code/log 00:37:57 + tox_env=code 00:37:57 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:37:57 + for i in .tox/*/log 00:37:57 ++ echo .tox/flake8/log 00:37:57 ++ awk -F/ '{print $2}' 00:37:57 + tox_env=flake8 00:37:57 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:37:57 + DOC_DIR=docs/_build/html 00:37:57 + [[ -d docs/_build/html ]] 00:37:57 + echo '---> tox-run.sh ends' 00:37:57 ---> tox-run.sh ends 00:37:57 + test 0 -eq 0 00:37:57 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-5955 00:37:58 [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:59 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:59 INFO: Project root configuration file: NONE 00:37:59 INFO: SonarScanner 4.6.2.2472 00:37:59 INFO: Java 17.0.7 Private Build (64-bit) 00:37:59 INFO: Linux 4.15.0-213-generic amd64 00:38:00 INFO: User cache: /home/jenkins/.sonar/cache 00:38:02 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:02 INFO: Project root configuration file: NONE 00:38:02 INFO: Analyzing on SonarCloud 00:38:02 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:03 INFO: Load global settings 00:38:03 INFO: Load global settings (done) | time=611ms 00:38:03 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:38:04 INFO: Loading required plugins 00:38:04 INFO: Load plugins index 00:38:04 INFO: Load plugins index (done) | time=545ms 00:38:04 INFO: Load/download plugins 00:38:05 INFO: Load/download plugins (done) | time=977ms 00:38:06 INFO: Found an active CI vendor: 'Jenkins' 00:38:06 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:38:06 INFO: Process project properties 00:38:06 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:38:06 INFO: ------------------------------------------------------------------------ 00:38:06 INFO: EXECUTION FAILURE 00:38:06 INFO: ------------------------------------------------------------------------ 00:38:06 INFO: Total time: 7.653s 00:38:06 INFO: Final Memory: 10M/40M 00:38:06 INFO: ------------------------------------------------------------------------ 00:38:06 ERROR: Error during SonarScanner execution 00:38:06 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:06 ERROR: 00:38:06 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:07 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:07 $ ssh-agent -k 00:38:07 unset SSH_AUTH_SOCK; 00:38:07 unset SSH_AGENT_PID; 00:38:07 echo Agent pid 1770 killed; 00:38:07 [ssh-agent] Stopped. 00:38:07 ERROR: SonarQube scanner exited with non-zero code: 2 00:38:07 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:07 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13621728269422473618.sh 00:38:07 ---> sysstat.sh 00:38:08 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4761609107770829834.sh 00:38:08 ---> package-listing.sh 00:38:08 ++ tr '[:upper:]' '[:lower:]' 00:38:08 ++ facter osfamily 00:38:08 + OS_FAMILY=debian 00:38:08 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:08 + START_PACKAGES=/tmp/packages_start.txt 00:38:08 + END_PACKAGES=/tmp/packages_end.txt 00:38:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:08 + PACKAGES=/tmp/packages_start.txt 00:38:08 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:08 + PACKAGES=/tmp/packages_end.txt 00:38:08 + case "${OS_FAMILY}" in 00:38:08 + grep '^ii' 00:38:08 + dpkg -l 00:38:08 + '[' -f /tmp/packages_start.txt ']' 00:38:08 + '[' -f /tmp/packages_end.txt ']' 00:38:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:08 + true 00:38:08 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:08 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:08 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2850064231231052380.sh 00:38:08 ---> capture-instance-metadata.sh 00:38:08 Setup pyenv: 00:38:08 system 00:38:08 3.8.13 00:38:08 3.9.13 00:38:08 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:09 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-I3lM from file:/tmp/.os_lf_venv 00:38:10 lf-activate-venv(): INFO: Installing: lftools 00:38:20 lf-activate-venv(): INFO: Adding /tmp/venv-I3lM/bin to PATH 00:38:20 INFO: Running in OpenStack, capturing instance metadata 00:38:20 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins18419901923495149220.sh 00:38:20 provisioning config files... 00:38:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config5027524729582940689tmp 00:38:20 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:20 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:20 [EnvInject] - Injecting environment variables from a build step. 00:38:20 [EnvInject] - Injecting as environment variables the properties content 00:38:20 SERVER_ID=logs 00:38:20 00:38:20 [EnvInject] - Variables injected successfully. 00:38:20 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16444969383354328242.sh 00:38:20 ---> create-netrc.sh 00:38:20 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8249236150612504665.sh 00:38:20 ---> python-tools-install.sh 00:38:20 Setup pyenv: 00:38:20 system 00:38:20 3.8.13 00:38:20 3.9.13 00:38:20 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-I3lM from file:/tmp/.os_lf_venv 00:38:21 lf-activate-venv(): INFO: Installing: lftools 00:38:30 lf-activate-venv(): INFO: Adding /tmp/venv-I3lM/bin to PATH 00:38:30 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5299976415950056078.sh 00:38:30 ---> sudo-logs.sh 00:38:30 Archiving 'sudo' log.. 00:38:31 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13795886637736466782.sh 00:38:31 ---> job-cost.sh 00:38:31 Setup pyenv: 00:38:31 system 00:38:31 3.8.13 00:38:31 3.9.13 00:38:31 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-I3lM from file:/tmp/.os_lf_venv 00:38:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:36 lf-activate-venv(): INFO: Adding /tmp/venv-I3lM/bin to PATH 00:38:36 INFO: No Stack... 00:38:37 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:38:37 INFO: Archiving Costs 00:38:37 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12835992587631880748.sh 00:38:37 ---> logs-deploy.sh 00:38:37 Setup pyenv: 00:38:37 system 00:38:37 3.8.13 00:38:37 3.9.13 00:38:37 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:37 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-I3lM from file:/tmp/.os_lf_venv 00:38:38 lf-activate-venv(): INFO: Installing: lftools 00:38:47 lf-activate-venv(): INFO: Adding /tmp/venv-I3lM/bin to PATH 00:38:47 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/187 00:38:47 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:50 Archives upload complete. 00:38:51 INFO: archiving logs to Nexus 00:38:52 ---> uname -a: 00:38:52 Linux prd-ubuntu1804-builder-2c-2g-5955 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:52 00:38:52 00:38:52 ---> lscpu: 00:38:52 Architecture: x86_64 00:38:52 CPU op-mode(s): 32-bit, 64-bit 00:38:52 Byte Order: Little Endian 00:38:52 CPU(s): 2 00:38:52 On-line CPU(s) list: 0,1 00:38:52 Thread(s) per core: 1 00:38:52 Core(s) per socket: 1 00:38:52 Socket(s): 2 00:38:52 NUMA node(s): 1 00:38:52 Vendor ID: AuthenticAMD 00:38:52 CPU family: 23 00:38:52 Model: 49 00:38:52 Model name: AMD EPYC-Rome Processor 00:38:52 Stepping: 0 00:38:52 CPU MHz: 2799.998 00:38:52 BogoMIPS: 5599.99 00:38:52 Virtualization: AMD-V 00:38:52 Hypervisor vendor: KVM 00:38:52 Virtualization type: full 00:38:52 L1d cache: 32K 00:38:52 L1i cache: 32K 00:38:52 L2 cache: 512K 00:38:52 L3 cache: 16384K 00:38:52 NUMA node0 CPU(s): 0,1 00:38:52 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:52 00:38:52 00:38:52 ---> nproc: 00:38:52 2 00:38:52 00:38:52 00:38:52 ---> df -h: 00:38:52 Filesystem Size Used Avail Use% Mounted on 00:38:52 udev 984M 0 984M 0% /dev 00:38:52 tmpfs 200M 668K 199M 1% /run 00:38:52 /dev/vda1 20G 7.9G 12G 41% / 00:38:52 tmpfs 997M 0 997M 0% /dev/shm 00:38:52 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:52 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:38:52 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:52 tmpfs 200M 0 200M 0% /run/user/1001 00:38:52 00:38:52 00:38:52 ---> free -m: 00:38:52 total used free shared buff/cache available 00:38:52 Mem: 1992 377 80 0 1534 1438 00:38:52 Swap: 1023 0 1023 00:38:52 00:38:52 00:38:52 ---> ip addr: 00:38:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:52 inet 127.0.0.1/8 scope host lo 00:38:52 valid_lft forever preferred_lft forever 00:38:52 inet6 ::1/128 scope host 00:38:52 valid_lft forever preferred_lft forever 00:38:52 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:52 link/ether fa:16:3e:5f:b1:7d brd ff:ff:ff:ff:ff:ff 00:38:52 inet 10.32.7.104/23 brd 10.32.7.255 scope global dynamic ens3 00:38:52 valid_lft 86082sec preferred_lft 86082sec 00:38:52 inet6 fe80::f816:3eff:fe5f:b17d/64 scope link 00:38:52 valid_lft forever preferred_lft forever 00:38:52 00:38:52 00:38:52 ---> sar -b -r -n DEV: 00:38:52 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-5955) 07/07/24 _x86_64_ (2 CPU) 00:38:52 00:38:52 00:33:35 LINUX RESTART (2 CPU) 00:38:52 00:38:52 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:52 00:35:02 147.03 58.02 89.01 3835.42 14335.37 00:38:52 00:36:01 145.86 76.03 69.83 4772.22 22064.85 00:38:52 00:37:01 13.24 0.30 12.94 7.60 2824.85 00:38:52 00:38:01 43.25 41.05 2.20 2140.53 136.27 00:38:52 Average: 87.11 43.72 43.39 2680.30 9790.42 00:38:52 00:38:52 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:52 00:35:02 73964 1510232 1966668 96.38 54984 1468092 564192 18.26 432532 1385540 31188 00:38:52 00:36:01 80460 1386200 1960172 96.06 73020 1324472 860796 27.86 537764 1282508 83336 00:38:52 00:37:01 86000 1334464 1954632 95.79 73064 1268204 915792 29.64 574912 1241736 92 00:38:52 00:38:01 135412 1510688 1905220 93.36 74440 1394288 633724 20.51 414396 1355484 81752 00:38:52 Average: 93959 1435396 1946673 95.40 68877 1363764 743626 24.07 489901 1316317 49092 00:38:52 00:38:52 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:52 00:35:02 ens3 81.71 77.78 940.25 10.09 0.00 0.00 0.00 0.00 00:38:52 00:35:02 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 00:38:52 00:36:01 ens3 78.98 68.80 1535.11 7.44 0.00 0.00 0.00 0.00 00:38:52 00:36:01 lo 1.22 1.22 0.12 0.12 0.00 0.00 0.00 0.00 00:38:52 00:37:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:52 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:52 00:38:01 ens3 78.68 34.30 507.16 7.04 0.00 0.00 0.00 0.00 00:38:52 00:38:01 lo 3.87 3.87 0.21 0.21 0.00 0.00 0.00 0.00 00:38:52 Average: ens3 59.76 45.12 742.36 6.14 0.00 0.00 0.00 0.00 00:38:52 Average: lo 1.69 1.69 0.12 0.12 0.00 0.00 0.00 0.00 00:38:52 00:38:52 00:38:52 ---> sar -P ALL: 00:38:52 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-5955) 07/07/24 _x86_64_ (2 CPU) 00:38:52 00:38:52 00:33:35 LINUX RESTART (2 CPU) 00:38:52 00:38:52 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:52 00:35:02 all 38.50 0.00 3.06 7.34 0.09 51.00 00:38:52 00:35:02 0 33.20 0.00 2.69 8.86 0.08 55.16 00:38:52 00:35:02 1 43.86 0.00 3.47 5.81 0.08 46.78 00:38:52 00:36:01 all 37.96 0.00 2.99 6.26 0.09 52.70 00:38:52 00:36:01 0 52.26 0.00 3.50 9.40 0.12 34.72 00:38:52 00:36:01 1 23.69 0.00 2.45 3.13 0.08 70.65 00:38:52 00:37:01 all 50.61 0.00 0.23 0.32 0.09 48.74 00:38:52 00:37:01 0 99.08 0.00 0.23 0.20 0.10 0.38 00:38:52 00:37:01 1 2.78 0.00 0.23 0.44 0.07 96.48 00:38:52 00:38:01 all 35.97 0.00 0.62 2.61 0.07 60.72 00:38:52 00:38:01 0 67.14 0.00 0.57 2.22 0.08 29.99 00:38:52 00:38:01 1 4.84 0.00 0.68 3.00 0.07 91.41 00:38:52 Average: all 40.79 0.00 1.72 4.12 0.09 53.28 00:38:52 Average: 0 62.90 0.00 1.74 5.16 0.10 30.10 00:38:52 Average: 1 18.71 0.00 1.70 3.08 0.08 76.43 00:38:52 00:38:52 00:38:52