00:33:57 Started by timer 00:33:57 Running as SYSTEM 00:33:57 [EnvInject] - Loading node environment variables. 00:33:57 Building remotely on prd-ubuntu1804-builder-2c-2g-3019 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:57 [ssh-agent] Looking for ssh-agent implementation... 00:33:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:58 $ ssh-agent 00:33:58 SSH_AUTH_SOCK=/tmp/ssh-8W3dCa1ZHmMK/agent.1698 00:33:58 SSH_AGENT_PID=1700 00:33:58 [ssh-agent] Started. 00:33:58 Running ssh-add (command line suppressed) 00:33:58 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_14820345928311486874.key (jenkins-ssh) 00:33:58 [ssh-agent] Using credentials jenkins (jenkins) 00:33:58 The recommended git tool is: NONE 00:33:59 using credential jenkins 00:33:59 Wiping out workspace first. 00:33:59 Cloning the remote Git repository 00:33:59 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:59 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:33:59 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:59 > git --version # timeout=10 00:33:59 > git --version # 'git version 2.17.1' 00:33:59 using GIT_SSH to set credentials jenkins 00:33:59 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:01 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:01 Avoid second fetch 00:34:01 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:01 Checking out Revision f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) 00:34:01 > git config core.sparsecheckout # timeout=10 00:34:01 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:34:02 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" 00:34:02 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:34:05 provisioning config files... 00:34:05 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:05 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8532892187889717523.sh 00:34:05 ---> python-tools-install.sh 00:34:05 Setup pyenv: 00:34:05 * system (set by /opt/pyenv/version) 00:34:05 * 3.8.13 (set by /opt/pyenv/version) 00:34:05 * 3.9.13 (set by /opt/pyenv/version) 00:34:05 * 3.10.6 (set by /opt/pyenv/version) 00:34:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EoHY 00:34:09 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:13 lf-activate-venv(): INFO: Installing: lftools 00:34:45 lf-activate-venv(): INFO: Adding /tmp/venv-EoHY/bin to PATH 00:34:45 Generating Requirements File 00:35:11 Python 3.10.6 00:35:11 pip 24.0 from /tmp/venv-EoHY/lib/python3.10/site-packages/pip (python 3.10) 00:35:12 appdirs==1.4.4 00:35:12 argcomplete==3.3.0 00:35:12 aspy.yaml==1.3.0 00:35:12 attrs==23.2.0 00:35:12 autopage==0.5.2 00:35:12 beautifulsoup4==4.12.3 00:35:12 boto3==1.34.122 00:35:12 botocore==1.34.122 00:35:12 bs4==0.0.2 00:35:12 cachetools==5.3.3 00:35:12 certifi==2024.6.2 00:35:12 cffi==1.16.0 00:35:12 cfgv==3.4.0 00:35:12 chardet==5.2.0 00:35:12 charset-normalizer==3.3.2 00:35:12 click==8.1.7 00:35:12 cliff==4.7.0 00:35:12 cmd2==2.4.3 00:35:12 cryptography==3.3.2 00:35:12 debtcollector==3.0.0 00:35:12 decorator==5.1.1 00:35:12 defusedxml==0.7.1 00:35:12 Deprecated==1.2.14 00:35:12 distlib==0.3.8 00:35:12 dnspython==2.6.1 00:35:12 docker==4.2.2 00:35:12 dogpile.cache==1.3.3 00:35:12 email_validator==2.1.1 00:35:12 filelock==3.14.0 00:35:12 future==1.0.0 00:35:12 gitdb==4.0.11 00:35:12 GitPython==3.1.43 00:35:12 google-auth==2.30.0 00:35:12 httplib2==0.22.0 00:35:12 identify==2.5.36 00:35:12 idna==3.7 00:35:12 importlib-resources==1.5.0 00:35:12 iso8601==2.1.0 00:35:12 Jinja2==3.1.4 00:35:12 jmespath==1.0.1 00:35:12 jsonpatch==1.33 00:35:12 jsonpointer==2.4 00:35:12 jsonschema==4.22.0 00:35:12 jsonschema-specifications==2023.12.1 00:35:12 keystoneauth1==5.6.0 00:35:12 kubernetes==30.1.0 00:35:12 lftools==0.37.10 00:35:12 lxml==5.2.2 00:35:12 MarkupSafe==2.1.5 00:35:12 msgpack==1.0.8 00:35:12 multi_key_dict==2.0.3 00:35:12 munch==4.0.0 00:35:12 netaddr==1.3.0 00:35:12 netifaces==0.11.0 00:35:12 niet==1.4.2 00:35:12 nodeenv==1.9.1 00:35:12 oauth2client==4.1.3 00:35:12 oauthlib==3.2.2 00:35:12 openstacksdk==3.1.0 00:35:12 os-client-config==2.1.0 00:35:12 os-service-types==1.7.0 00:35:12 osc-lib==3.0.1 00:35:12 oslo.config==9.4.0 00:35:12 oslo.context==5.5.0 00:35:12 oslo.i18n==6.3.0 00:35:12 oslo.log==6.0.0 00:35:12 oslo.serialization==5.4.0 00:35:12 oslo.utils==7.1.0 00:35:12 packaging==24.0 00:35:12 pbr==6.0.0 00:35:12 platformdirs==4.2.2 00:35:12 prettytable==3.10.0 00:35:12 pyasn1==0.6.0 00:35:12 pyasn1_modules==0.4.0 00:35:12 pycparser==2.22 00:35:12 pygerrit2==2.0.15 00:35:12 PyGithub==2.3.0 00:35:12 PyJWT==2.8.0 00:35:12 PyNaCl==1.5.0 00:35:12 pyparsing==2.4.7 00:35:12 pyperclip==1.8.2 00:35:12 pyrsistent==0.20.0 00:35:12 python-cinderclient==9.5.0 00:35:12 python-dateutil==2.9.0.post0 00:35:12 python-heatclient==3.5.0 00:35:12 python-jenkins==1.8.2 00:35:12 python-keystoneclient==5.4.0 00:35:12 python-magnumclient==4.5.0 00:35:12 python-novaclient==18.6.0 00:35:12 python-openstackclient==6.6.0 00:35:12 python-swiftclient==4.6.0 00:35:12 PyYAML==6.0.1 00:35:12 referencing==0.35.1 00:35:12 requests==2.32.3 00:35:12 requests-oauthlib==2.0.0 00:35:12 requestsexceptions==1.4.0 00:35:12 rfc3986==2.0.0 00:35:12 rpds-py==0.18.1 00:35:12 rsa==4.9 00:35:12 ruamel.yaml==0.18.6 00:35:12 ruamel.yaml.clib==0.2.8 00:35:12 s3transfer==0.10.1 00:35:12 simplejson==3.19.2 00:35:12 six==1.16.0 00:35:12 smmap==5.0.1 00:35:12 soupsieve==2.5 00:35:12 stevedore==5.2.0 00:35:12 tabulate==0.9.0 00:35:12 toml==0.10.2 00:35:12 tomlkit==0.12.5 00:35:12 tqdm==4.66.4 00:35:12 typing_extensions==4.12.2 00:35:12 tzdata==2024.1 00:35:12 urllib3==1.26.18 00:35:12 virtualenv==20.26.2 00:35:12 wcwidth==0.2.13 00:35:12 websocket-client==1.8.0 00:35:12 wrapt==1.16.0 00:35:12 xdg==6.0.0 00:35:12 xmltodict==0.13.0 00:35:12 yq==3.4.3 00:35:12 [EnvInject] - Injecting environment variables from a build step. 00:35:12 [EnvInject] - Injecting as environment variables the properties content 00:35:12 SET_JDK_VERSION=openjdk17 00:35:12 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:12 00:35:12 [EnvInject] - Variables injected successfully. 00:35:12 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins230398189784460502.sh 00:35:12 ---> update-java-alternatives.sh 00:35:12 ---> Updating Java version 00:35:12 ---> Ubuntu/Debian system detected 00:35:13 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:13 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:13 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:13 openjdk version "17.0.7" 2023-04-18 00:35:13 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:13 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:13 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:13 [EnvInject] - Injecting environment variables from a build step. 00:35:13 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:13 [EnvInject] - Variables injected successfully. 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 PYTHON=python3 00:35:13 00:35:13 [EnvInject] - Variables injected successfully. 00:35:13 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7284293867275900171.sh 00:35:13 ---> tox-install.sh 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-KiQp 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:/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:/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:/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:/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:/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 ++ grep -E '^[0-9.]*[0-9]$' 00:35:13 ++ awk '{ print $1 }' 00:35:13 ++ sed 's/^[ *]* //' 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 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:13 +++ tail -n 1 00:35:13 +++ sort -V 00:35:13 +++ grep '^3' /tmp/.pyenv_versions 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 + [[ ! -f /tmp/.toxenv ]] 00:35:13 + [[ -n '' ]] 00:35:13 + python3 -m venv /tmp/venv-KiQp 00:35:17 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KiQp' 00:35:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KiQp 00:35:17 + echo /tmp/venv-KiQp 00:35:17 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:17 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:17 + /tmp/venv-KiQp/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:20 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:20 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:20 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:20 + /tmp/venv-KiQp/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:23 + type python3 00:35:23 + true 00:35:23 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-KiQp/bin to PATH' 00:35:23 lf-activate-venv(): INFO: Adding /tmp/venv-KiQp/bin to PATH 00:35:23 + PATH=/tmp/venv-KiQp/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:23 + return 0 00:35:23 + python3 --version 00:35:23 Python 3.10.6 00:35:23 + python3 -m pip --version 00:35:23 pip 24.0 from /tmp/venv-KiQp/lib/python3.10/site-packages/pip (python 3.10) 00:35:23 + python3 -m pip freeze 00:35:23 cachetools==5.3.3 00:35:23 chardet==5.2.0 00:35:23 colorama==0.4.6 00:35:23 distlib==0.3.8 00:35:23 filelock==3.14.0 00:35:23 packaging==24.0 00:35:23 platformdirs==4.2.2 00:35:23 pluggy==1.5.0 00:35:23 pyproject-api==1.6.1 00:35:23 tomli==2.0.1 00:35:23 tox==4.15.1 00:35:23 urllib3==1.26.18 00:35:23 virtualenv==20.26.2 00:35:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14232741191425317814.sh 00:35:23 ---> install-deb-rmr.sh 00:35:23 + version_file=rmr-version.yaml 00:35:23 + '[' -f rmr-version.yaml ']' 00:35:23 ++ xargs 00:35:23 ++ cut -d: -f2 00:35:23 ++ grep '^repo:' rmr-version.yaml 00:35:23 + repo= 00:35:23 ++ cut -d: -f2 00:35:23 ++ xargs 00:35:23 ++ grep '^version:' rmr-version.yaml 00:35:23 + ver=4.9.0 00:35:23 + '[' -z 4.9.0 ']' 00:35:23 + repo=release 00:35:23 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:23 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:23 2024-06-09 00:35:23 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1717893623&Signature=W3m2mIvDKpDxlcF37OGGKAIELZNMXjEm7Nfk7uOYtftQuYM27PSnOCEgQlFgMWzO9UBcFCndQ2SS5IEchmmON8YUsY4jhqXMGDut3HDueo~pQHMSbA~73qVHRYxZebXMA2g9bfbfVBpYPD06LAOFBifw4IkSXNpuGA6wb5H6RFeIUnlj0Pgg2RbV0G7GJfh5T1bWA81pp7zaJXBrseWzJzQBMDSZj3NpmgwdvX-B0viDfBgAqp9WtVDVjtfbAisI9MBXRbJPkLrMSQHQEXVg9yhjnE39bfuLA-AY0ae~JbfXZLQ1EsZc52XQfCJ9HcjSfb1HfTnWwrxQbyZ1UGpGyg__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:23 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:23 Selecting previously unselected package rmr. 00:35:25 (Reading database ... 188029 files and directories currently installed.) 00:35:25 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:25 Unpacking rmr (4.9.0) ... 00:35:26 Setting up rmr (4.9.0) ... 00:35:26 + rm -f rmr_4.9.0_amd64.deb 00:35:26 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:26 + 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:26 2024-06-09 00:35:26 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1717893626&Signature=TVhNyMAis5ooC8JRRIBn2nnI2zLvws92AJsCeZn-5jasWQhD0RJ9briiNDQoTf9GI04meMXS8FQZXna0PbcVg6tvhUMyDTMfmXSHkNKTHguQUjJouIo9DjFB~RYY9gLbWW1mY4lew00szDJV-rJXit9K8qc08C0wD8LRT33U0Z12FNC33w8-N3cwYwEAtLiT7av0Wezevq9AZOKprWzbkDj6cvVspgeDcxqEia3GFjF63I8X3lGhsVUFiSV0Rz9NW~~bbFhZZDzu7nXvIPr2~Q5vlzcvI6Ofn4M2B-6NbsgEhKDA5Tv~wcukhgkXmI9TZmmvYVix~AVO4IIepzfwpQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:26 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:26 Selecting previously unselected package rmr-dev. 00:35:26 (Reading database ... 188037 files and directories currently installed.) 00:35:26 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:26 Unpacking rmr-dev (4.9.0) ... 00:35:26 Setting up rmr-dev (4.9.0) ... 00:35:26 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:26 + echo '---> install-deb-rmr.sh ends' 00:35:26 ---> install-deb-rmr.sh ends 00:35:26 [EnvInject] - Injecting environment variables from a build step. 00:35:26 [EnvInject] - Injecting as environment variables the properties content 00:35:26 PARALLEL=False 00:35:26 00:35:26 [EnvInject] - Variables injected successfully. 00:35:26 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins4052397803781539795.sh 00:35:26 ---> tox-run.sh 00:35:26 + 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:26 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:26 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:26 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:26 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:26 + source /home/jenkins/lf-env.sh 00:35:26 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:26 ++ mktemp -d /tmp/venv-XXXX 00:35:26 + lf_venv=/tmp/venv-eUCC 00:35:26 + local venv_file=/tmp/.os_lf_venv 00:35:26 + local python=python3 00:35:26 + local options 00:35:26 + local set_path=true 00:35:26 + local install_args= 00:35:26 ++ 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:26 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:26 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:26 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:26 + true 00:35:26 + case $1 in 00:35:26 + venv_file=/tmp/.toxenv 00:35:26 + shift 2 00:35:26 + true 00:35:26 + case $1 in 00:35:26 + shift 00:35:26 + break 00:35:26 + case $python in 00:35:26 + local pkg_list= 00:35:26 + [[ -d /opt/pyenv ]] 00:35:26 + echo 'Setup pyenv:' 00:35:26 Setup pyenv: 00:35:26 + export PYENV_ROOT=/opt/pyenv 00:35:26 + PYENV_ROOT=/opt/pyenv 00:35:26 + 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:26 + 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:26 + pyenv versions 00:35:26 system 00:35:26 3.8.13 00:35:26 3.9.13 00:35:26 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:26 + command -v pyenv 00:35:26 ++ pyenv init - --no-rehash 00:35:26 + 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:26 export PATH="/opt/pyenv/shims:${PATH}" 00:35:26 export PYENV_SHELL=bash 00:35:26 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:26 pyenv() { 00:35:26 local command 00:35:26 command="${1:-}" 00:35:26 if [ "$#" -gt 0 ]; then 00:35:26 shift 00:35:26 fi 00:35:26 00:35:26 case "$command" in 00:35:26 rehash|shell) 00:35:26 eval "$(pyenv "sh-$command" "$@")" 00:35:26 ;; 00:35:26 *) 00:35:26 command pyenv "$command" "$@" 00:35:26 ;; 00:35:26 esac 00:35:26 }' 00:35:26 +++ 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:26 ++ 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:26 ++ 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:26 ++ 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:26 ++ export PYENV_SHELL=bash 00:35:26 ++ PYENV_SHELL=bash 00:35:26 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:26 +++ complete -F _pyenv pyenv 00:35:26 ++ lf-pyver python3 00:35:26 ++ local py_version_xy=python3 00:35:26 ++ local py_version_xyz= 00:35:26 ++ pyenv versions 00:35:26 ++ local command 00:35:26 ++ command=versions 00:35:26 ++ '[' 1 -gt 0 ']' 00:35:26 ++ shift 00:35:26 ++ case "$command" in 00:35:26 ++ command pyenv versions 00:35:26 ++ pyenv versions 00:35:26 ++ grep -E '^[0-9.]*[0-9]$' 00:35:26 ++ sed 's/^[ *]* //' 00:35:26 ++ awk '{ print $1 }' 00:35:26 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:26 +++ sort -V 00:35:26 +++ grep '^3' /tmp/.pyenv_versions 00:35:26 +++ tail -n 1 00:35:26 ++ py_version_xyz=3.10.6 00:35:26 ++ [[ -z 3.10.6 ]] 00:35:26 ++ echo 3.10.6 00:35:26 ++ return 0 00:35:26 + pyenv local 3.10.6 00:35:26 + local command 00:35:26 + command=local 00:35:26 + '[' 2 -gt 0 ']' 00:35:26 + shift 00:35:26 + case "$command" in 00:35:26 + command pyenv local 3.10.6 00:35:26 + pyenv local 3.10.6 00:35:26 + for arg in "$@" 00:35:26 + case $arg in 00:35:26 + pkg_list+='tox ' 00:35:26 + for arg in "$@" 00:35:26 + case $arg in 00:35:26 + pkg_list+='virtualenv ' 00:35:26 + for arg in "$@" 00:35:26 + case $arg in 00:35:26 + pkg_list+='urllib3~=1.26.15 ' 00:35:26 + [[ -f /tmp/.toxenv ]] 00:35:26 ++ cat /tmp/.toxenv 00:35:26 + lf_venv=/tmp/venv-KiQp 00:35:26 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-KiQp from' file:/tmp/.toxenv 00:35:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-KiQp from file:/tmp/.toxenv 00:35:26 + /tmp/venv-KiQp/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:27 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:27 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:27 + /tmp/venv-KiQp/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:28 + type python3 00:35:28 + true 00:35:28 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-KiQp/bin to PATH' 00:35:28 lf-activate-venv(): INFO: Adding /tmp/venv-KiQp/bin to PATH 00:35:28 + PATH=/tmp/venv-KiQp/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:28 + return 0 00:35:28 + [[ -d /opt/pyenv ]] 00:35:28 + echo '---> Setting up pyenv' 00:35:28 ---> Setting up pyenv 00:35:28 + export PYENV_ROOT=/opt/pyenv 00:35:28 + PYENV_ROOT=/opt/pyenv 00:35:28 + export PATH=/opt/pyenv/bin:/tmp/venv-KiQp/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:28 + PATH=/opt/pyenv/bin:/tmp/venv-KiQp/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:28 ++ pwd 00:35:28 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:28 + export PYTHONPATH 00:35:28 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:28 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:28 + tox --version 00:35:29 4.15.1 from /tmp/venv-KiQp/lib/python3.10/site-packages/tox/__init__.py 00:35:29 + PARALLEL=False 00:35:29 + TOX_OPTIONS_LIST= 00:35:29 + [[ -n code,flake8 ]] 00:35:29 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:29 + case ${PARALLEL,,} in 00:35:29 + tox -e code,flake8 00:35:29 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:30 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:33 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:35 .pkg: _optional_hooks> python /tmp/venv-KiQp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:35 .pkg: get_requires_for_build_sdist> python /tmp/venv-KiQp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:35 .pkg: get_requires_for_build_wheel> python /tmp/venv-KiQp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:35 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 00:35:36 .pkg: freeze> python -m pip freeze --all 00:35:36 .pkg: pip==24.0,setuptools==69.5.1,wheel==0.43.0 00:35:36 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-KiQp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:36 .pkg: build_sdist> python /tmp/venv-KiQp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:37 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:36:05 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:36:07 code: freeze> python -m pip freeze --all 00:36:08 code: ad==1.0.1,async-timeout==4.0.3,certifi==2024.6.2,charset-normalizer==3.3.2,coverage==7.5.3,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==1.26.4,packaging==24.0,pandas==2.2.2,pip==24.0,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.0,scipy==1.13.1,setuptools==69.5.1,six==1.16.0,threadpoolctl==3.5.0,tomli==2.0.1,tzdata==2024.1,urllib3==2.2.1,wheel==0.43.0 00:36:08 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:09 ============================= test session starts ============================== 00:36:09 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:36:09 cachedir: .tox/code/.pytest_cache 00:36:09 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:09 plugins: cov-5.0.0 00:36:09 collecting ... collected 4 items 00:36:10 00:36:11 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:11 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:57 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:58 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:13 00:38:13 =============================== warnings summary =============================== 00:38:13 tests/test_ad.py::test_trainModel 00:38:13 tests/test_ad.py::test_trainModel 00:38:13 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:38:13 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:38:13 A typical example is when you are setting values in a column of a DataFrame, like: 00:38:13 00:38:13 df["col"][row_indexer] = value 00:38:13 00:38:13 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:38:13 00:38:13 See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy 00:38:13 00:38:13 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:38:13 00:38:13 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:38:13 00:38:13 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:38:13 Name Stmts Miss Cover Missing 00:38:13 ------------------------------------------------- 00:38:13 src/__init__.py 0 0 100% 00:38:13 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:13 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:13 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:13 src/exceptions.py 4 4 0% 18-25 00:38:13 src/insert.py 50 50 0% 21-84 00:38:13 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:38:13 src/processing.py 44 0 100% 00:38:13 ------------------------------------------------- 00:38:13 TOTAL 444 173 61% 00:38:13 Coverage HTML written to dir htmlcov 00:38:13 Coverage XML written to file coverage.xml 00:38:13 00:38:13 Required test coverage of 50% reached. Total coverage: 61.04% 00:38:13 ================== 4 passed, 2 warnings in 124.24s (0:02:04) =================== 00:38:13 code: commands[1]> coverage xml -i 00:38:14 Wrote XML report to coverage.xml 00:38:15 code: OK ✔ in 2 minutes 44.44 seconds 00:38:15 flake8: install_deps> python -I -m pip install flake8 00:38:17 flake8: freeze> python -m pip freeze --all 00:38:17 flake8: ad==1.0.1,flake8==7.0.0,mccabe==0.7.0,pip==24.0,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.5.1,wheel==0.43.0 00:38:17 flake8: commands[0]> flake8 setup.py src tests 00:38:18 code: OK (164.44=setup[38.48]+cmd[125.60,0.36] seconds) 00:38:18 flake8: OK (4.03=setup[3.73]+cmd[0.30] seconds) 00:38:18 congratulations :) (168.64 seconds) 00:38:18 + tox_status=0 00:38:18 + echo '---> Completed tox runs' 00:38:18 ---> Completed tox runs 00:38:18 + for i in .tox/*/log 00:38:18 ++ echo .tox/code/log 00:38:18 ++ awk -F/ '{print $2}' 00:38:18 + tox_env=code 00:38:18 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:18 + for i in .tox/*/log 00:38:18 ++ echo .tox/flake8/log 00:38:18 ++ awk -F/ '{print $2}' 00:38:18 + tox_env=flake8 00:38:18 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:18 + DOC_DIR=docs/_build/html 00:38:18 + [[ -d docs/_build/html ]] 00:38:18 + echo '---> tox-run.sh ends' 00:38:18 ---> tox-run.sh ends 00:38:18 + test 0 -eq 0 00:38:18 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-3019 00:38:19 [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:38:19 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:19 INFO: Project root configuration file: NONE 00:38:19 INFO: SonarScanner 4.6.2.2472 00:38:19 INFO: Java 17.0.7 Private Build (64-bit) 00:38:19 INFO: Linux 4.15.0-213-generic amd64 00:38:20 INFO: User cache: /home/jenkins/.sonar/cache 00:38:22 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:22 INFO: Project root configuration file: NONE 00:38:22 INFO: Analyzing on SonarCloud 00:38:22 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:23 INFO: Load global settings 00:38:24 INFO: Load global settings (done) | time=592ms 00:38:24 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:38:24 INFO: Loading required plugins 00:38:24 INFO: Load plugins index 00:38:25 INFO: Load plugins index (done) | time=515ms 00:38:25 INFO: Load/download plugins 00:38:25 INFO: Load/download plugins (done) | time=907ms 00:38:26 INFO: Found an active CI vendor: 'Jenkins' 00:38:26 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:38:27 INFO: Process project properties 00:38:27 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:38:27 INFO: ------------------------------------------------------------------------ 00:38:27 INFO: EXECUTION FAILURE 00:38:27 INFO: ------------------------------------------------------------------------ 00:38:27 INFO: Total time: 7.608s 00:38:27 INFO: Final Memory: 10M/40M 00:38:27 INFO: ------------------------------------------------------------------------ 00:38:27 ERROR: Error during SonarScanner execution 00:38:27 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:27 ERROR: 00:38:27 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:28 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:28 $ ssh-agent -k 00:38:28 unset SSH_AUTH_SOCK; 00:38:28 unset SSH_AGENT_PID; 00:38:28 echo Agent pid 1700 killed; 00:38:28 [ssh-agent] Stopped. 00:38:28 ERROR: SonarQube scanner exited with non-zero code: 2 00:38:28 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:28 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3679356101576356931.sh 00:38:28 ---> sysstat.sh 00:38:28 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7886444355987132777.sh 00:38:28 ---> package-listing.sh 00:38:28 ++ tr '[:upper:]' '[:lower:]' 00:38:28 ++ facter osfamily 00:38:28 + OS_FAMILY=debian 00:38:28 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:28 + START_PACKAGES=/tmp/packages_start.txt 00:38:28 + END_PACKAGES=/tmp/packages_end.txt 00:38:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:28 + PACKAGES=/tmp/packages_start.txt 00:38:28 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:28 + PACKAGES=/tmp/packages_end.txt 00:38:28 + case "${OS_FAMILY}" in 00:38:28 + grep '^ii' 00:38:28 + dpkg -l 00:38:28 + '[' -f /tmp/packages_start.txt ']' 00:38:28 + '[' -f /tmp/packages_end.txt ']' 00:38:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:28 + true 00:38:28 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:28 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:28 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2286167784230300860.sh 00:38:28 ---> capture-instance-metadata.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:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-EoHY from file:/tmp/.os_lf_venv 00:38:31 lf-activate-venv(): INFO: Installing: lftools 00:38:41 lf-activate-venv(): INFO: Adding /tmp/venv-EoHY/bin to PATH 00:38:42 INFO: Running in OpenStack, capturing instance metadata 00:38:42 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15499655804787567.sh 00:38:42 provisioning config files... 00:38:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config12609304964919199282tmp 00:38:42 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:42 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:42 [EnvInject] - Injecting environment variables from a build step. 00:38:42 [EnvInject] - Injecting as environment variables the properties content 00:38:42 SERVER_ID=logs 00:38:42 00:38:42 [EnvInject] - Variables injected successfully. 00:38:42 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14005513995134522006.sh 00:38:42 ---> create-netrc.sh 00:38:42 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9757587510215837631.sh 00:38:42 ---> python-tools-install.sh 00:38:42 Setup pyenv: 00:38:42 system 00:38:42 3.8.13 00:38:42 3.9.13 00:38:42 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-EoHY from file:/tmp/.os_lf_venv 00:38:44 lf-activate-venv(): INFO: Installing: lftools 00:38:54 lf-activate-venv(): INFO: Adding /tmp/venv-EoHY/bin to PATH 00:38:54 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins12390890172896486380.sh 00:38:54 ---> sudo-logs.sh 00:38:54 Archiving 'sudo' log.. 00:38:54 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14759535477618807458.sh 00:38:54 ---> job-cost.sh 00:38:54 Setup pyenv: 00:38:54 system 00:38:54 3.8.13 00:38:54 3.9.13 00:38:54 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-EoHY from file:/tmp/.os_lf_venv 00:38:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:39:01 lf-activate-venv(): INFO: Adding /tmp/venv-EoHY/bin to PATH 00:39:01 INFO: No Stack... 00:39:02 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:39:02 INFO: Archiving Costs 00:39:02 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5081536034015753618.sh 00:39:02 ---> logs-deploy.sh 00:39:02 Setup pyenv: 00:39:02 system 00:39:02 3.8.13 00:39:02 3.9.13 00:39:02 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:39:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-EoHY from file:/tmp/.os_lf_venv 00:39:04 lf-activate-venv(): INFO: Installing: lftools 00:39:14 lf-activate-venv(): INFO: Adding /tmp/venv-EoHY/bin to PATH 00:39:14 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/183 00:39:14 INFO: archiving workspace using pattern(s): -p **/*.log 00:39:18 Archives upload complete. 00:39:18 INFO: archiving logs to Nexus 00:39:19 ---> uname -a: 00:39:19 Linux prd-ubuntu1804-builder-2c-2g-3019 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:39:19 00:39:19 00:39:19 ---> lscpu: 00:39:19 Architecture: x86_64 00:39:19 CPU op-mode(s): 32-bit, 64-bit 00:39:19 Byte Order: Little Endian 00:39:19 CPU(s): 2 00:39:19 On-line CPU(s) list: 0,1 00:39:19 Thread(s) per core: 1 00:39:19 Core(s) per socket: 1 00:39:19 Socket(s): 2 00:39:19 NUMA node(s): 1 00:39:19 Vendor ID: AuthenticAMD 00:39:19 CPU family: 23 00:39:19 Model: 49 00:39:19 Model name: AMD EPYC-Rome Processor 00:39:19 Stepping: 0 00:39:19 CPU MHz: 2799.998 00:39:19 BogoMIPS: 5599.99 00:39:19 Virtualization: AMD-V 00:39:19 Hypervisor vendor: KVM 00:39:19 Virtualization type: full 00:39:19 L1d cache: 32K 00:39:19 L1i cache: 32K 00:39:19 L2 cache: 512K 00:39:19 L3 cache: 16384K 00:39:19 NUMA node0 CPU(s): 0,1 00:39:19 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:39:19 00:39:19 00:39:19 ---> nproc: 00:39:19 2 00:39:19 00:39:19 00:39:19 ---> df -h: 00:39:19 Filesystem Size Used Avail Use% Mounted on 00:39:19 udev 984M 0 984M 0% /dev 00:39:19 tmpfs 200M 668K 199M 1% /run 00:39:19 /dev/vda1 20G 7.9G 12G 41% / 00:39:19 tmpfs 997M 0 997M 0% /dev/shm 00:39:19 tmpfs 5.0M 0 5.0M 0% /run/lock 00:39:19 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:39:19 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:39:19 tmpfs 200M 0 200M 0% /run/user/1001 00:39:19 00:39:19 00:39:19 ---> free -m: 00:39:19 total used free shared buff/cache available 00:39:19 Mem: 1992 357 68 0 1566 1458 00:39:19 Swap: 1023 0 1023 00:39:19 00:39:19 00:39:19 ---> ip addr: 00:39:19 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:39:19 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:19 inet 127.0.0.1/8 scope host lo 00:39:19 valid_lft forever preferred_lft forever 00:39:19 inet6 ::1/128 scope host 00:39:19 valid_lft forever preferred_lft forever 00:39:19 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:39:19 link/ether fa:16:3e:17:8c:78 brd ff:ff:ff:ff:ff:ff 00:39:19 inet 10.32.6.72/23 brd 10.32.7.255 scope global dynamic ens3 00:39:19 valid_lft 86061sec preferred_lft 86061sec 00:39:19 inet6 fe80::f816:3eff:fe17:8c78/64 scope link 00:39:19 valid_lft forever preferred_lft forever 00:39:19 00:39:19 00:39:19 ---> sar -b -r -n DEV: 00:39:19 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3019) 06/09/24 _x86_64_ (2 CPU) 00:39:19 00:39:19 00:33:40 LINUX RESTART (2 CPU) 00:39:19 00:39:19 00:34:01 tps rtps wtps bread/s bwrtn/s 00:39:19 00:35:03 136.40 53.06 83.34 2326.30 8739.36 00:39:19 00:36:01 170.22 73.75 96.47 4596.90 25518.51 00:39:19 00:37:01 53.47 34.29 19.18 2300.15 5107.02 00:39:19 00:38:01 1.68 0.38 1.30 30.53 27.73 00:39:19 00:39:01 105.65 76.77 28.88 3607.00 7606.47 00:39:19 Average: 92.98 47.48 45.50 2558.64 9292.16 00:39:19 00:39:19 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:19 00:35:03 91200 1521504 1949432 95.53 49436 1469972 556168 18.00 431680 1374324 132024 00:39:19 00:36:01 95940 1470304 1944692 95.30 70220 1398704 667512 21.61 463396 1348464 122856 00:39:19 00:37:01 89552 1361020 1951080 95.61 71708 1292680 862932 27.93 559540 1255068 424 00:39:19 00:38:01 75376 1288836 1965256 96.31 71740 1238152 976760 31.62 628180 1207064 87728 00:39:19 00:39:01 100400 1496776 1940232 95.08 74804 1406344 574580 18.60 459740 1329168 15736 00:39:19 Average: 90494 1427688 1950138 95.57 67582 1361170 727590 23.55 508507 1302818 71754 00:39:19 00:39:19 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:19 00:35:03 ens3 76.84 71.06 903.54 10.34 0.00 0.00 0.00 0.00 00:39:19 00:35:03 lo 1.07 1.07 0.09 0.09 0.00 0.00 0.00 0.00 00:39:19 00:36:01 ens3 88.04 77.11 1511.21 9.47 0.00 0.00 0.00 0.00 00:39:19 00:36:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 00:39:19 00:37:01 ens3 0.37 0.33 0.07 0.09 0.00 0.00 0.00 0.00 00:39:19 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:19 00:38:01 ens3 0.42 0.42 0.07 0.06 0.00 0.00 0.00 0.00 00:39:19 00:38:01 lo 3.67 3.67 0.19 0.19 0.00 0.00 0.00 0.00 00:39:19 00:39:01 ens3 241.44 119.71 1585.62 27.26 0.00 0.00 0.00 0.00 00:39:19 00:39:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 00:39:19 Average: ens3 81.38 53.57 795.36 9.44 0.00 0.00 0.00 0.00 00:39:19 Average: lo 1.57 1.57 0.12 0.12 0.00 0.00 0.00 0.00 00:39:19 00:39:19 00:39:19 ---> sar -P ALL: 00:39:19 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3019) 06/09/24 _x86_64_ (2 CPU) 00:39:19 00:39:19 00:33:40 LINUX RESTART (2 CPU) 00:39:19 00:39:19 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:39:19 00:35:03 all 37.77 0.00 2.92 7.08 0.08 52.15 00:39:19 00:35:03 0 42.64 0.00 3.11 9.86 0.10 44.28 00:39:19 00:35:03 1 32.89 0.00 2.74 4.31 0.08 59.99 00:39:19 00:36:01 all 35.93 0.00 3.36 8.43 0.09 52.21 00:39:19 00:36:01 0 39.62 0.00 3.44 8.47 0.07 48.40 00:39:19 00:36:01 1 32.26 0.00 3.24 8.40 0.09 56.01 00:39:19 00:37:01 all 47.99 0.00 0.66 2.47 0.09 48.80 00:39:19 00:37:01 0 45.94 0.00 0.47 2.32 0.10 51.16 00:39:19 00:37:01 1 50.01 0.00 0.87 2.61 0.10 46.42 00:39:19 00:38:01 all 46.96 0.00 0.28 0.03 0.06 52.68 00:39:19 00:38:01 0 93.88 0.00 0.50 0.03 0.10 5.48 00:39:19 00:38:01 1 0.02 0.00 0.08 0.00 0.02 99.88 00:39:19 00:39:01 all 32.88 0.00 1.95 5.86 0.07 59.24 00:39:19 00:39:01 0 47.91 0.00 2.11 5.62 0.08 44.28 00:39:19 00:39:01 1 17.90 0.00 1.77 6.11 0.05 74.16 00:39:19 Average: all 40.34 0.00 1.82 4.74 0.08 53.02 00:39:19 Average: 0 54.14 0.00 1.91 5.23 0.09 38.62 00:39:19 Average: 1 26.56 0.00 1.73 4.25 0.07 67.39 00:39:19 00:39:19 00:39:19