Started by timer Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-1 (centos7-builder-1c-1g) in workspace /w/workspace/ric-plt-sdlpy-tox-sonar The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/sdlpy > git init /w/workspace/ric-plt-sdlpy-tox-sonar # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/sdlpy > git --version # timeout=10 > git --version # 'git version 2.36.5' using GIT_SSH to set credentials jenkins [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ric-plt-sdlpy-tox-sonar@tmp/jenkins-gitclient-ssh7878516488951908501.key > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/sdlpy +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/sdlpy # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 39132941eb3418783b00f9c4964915af2ad2f5db (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 39132941eb3418783b00f9c4964915af2ad2f5db # timeout=10 Commit message: "H release step 2 of 2" > git rev-list --no-walk 39132941eb3418783b00f9c4964915af2ad2f5db # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins17702047888934843240.sh ---> python-tools-install.sh Setup pyenv: system * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mb1Q from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mb1Q/bin to PATH [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [ric-plt-sdlpy-tox-sonar] $ /bin/bash -l /tmp/jenkins14346640127915888319.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-n8DL + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + PATH=/opt/pyenv/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + pyenv versions system 3.8.13 * 3.9.13 (set by /w/workspace/ric-plt-sdlpy-tox-sonar/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ PATH=/opt/pyenv/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.9.13 ++ [[ -z 3.9.13 ]] ++ echo 3.9.13 ++ return 0 + pyenv local 3.9.13 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.9.13 + pyenv local 3.9.13 + for arg in '"$@"' + case $arg in + pkg_list+='tox ' + for arg in '"$@"' + case $arg in + pkg_list+='virtualenv ' + for arg in '"$@"' + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-C0Ry + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C0Ry from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C0Ry from file:/tmp/.toxenv + /tmp/venv-C0Ry/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-C0Ry/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-C0Ry/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-C0Ry/bin to PATH + PATH=/tmp/venv-C0Ry/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + return 0 + python3 --version Python 3.9.13 + python3 -m pip --version pip 23.3.1 from /tmp/venv-C0Ry/lib/python3.9/site-packages/pip (python 3.9) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.7 filelock==3.13.1 packaging==23.2 platformdirs==3.11.0 pluggy==1.3.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.11.3 urllib3==1.26.18 virtualenv==20.24.6 [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins5937784021795124436.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=True [EnvInject] - Variables injected successfully. [ric-plt-sdlpy-tox-sonar] $ /bin/bash -l /tmp/jenkins16515349554432614754.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + ARCHIVE_TOX_DIR=/w/workspace/ric-plt-sdlpy-tox-sonar/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/ric-plt-sdlpy-tox-sonar/archives/docs + mkdir -p /w/workspace/ric-plt-sdlpy-tox-sonar/archives/tox + cd /w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-pcNg + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + pyenv versions system 3.8.13 * 3.9.13 (set by /w/workspace/ric-plt-sdlpy-tox-sonar/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ tail -n 1 +++ grep '^3' /tmp/.pyenv_versions ++ py_version_xyz=3.9.13 ++ [[ -z 3.9.13 ]] ++ echo 3.9.13 ++ return 0 + pyenv local 3.9.13 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.9.13 + pyenv local 3.9.13 + for arg in '"$@"' + case $arg in + pkg_list+='tox ' + for arg in '"$@"' + case $arg in + pkg_list+='virtualenv ' + for arg in '"$@"' + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-C0Ry + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C0Ry from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-C0Ry from file:/tmp/.toxenv + /tmp/venv-C0Ry/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-C0Ry/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-C0Ry/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-C0Ry/bin to PATH + PATH=/tmp/venv-C0Ry/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-C0Ry/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin + PATH=/opt/pyenv/bin:/tmp/venv-C0Ry/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/sbin:/home/jenkins/.local/bin:/home/jenkins/bin ++ pwd + PYTHONPATH=/w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.11.3 from /tmp/venv-C0Ry/lib/python3.9/site-packages/tox/__init__.py + PARALLEL=True + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' + tox --parallel auto --parallel-live + tee -a /w/workspace/ric-plt-sdlpy-tox-sonar/archives/tox/tox.log py39: install_deps> python -I -m pip install coverage pytest pytest-cov .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-C0Ry/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-C0Ry/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-C0Ry/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,setuptools==68.2.2,wheel==0.41.2 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-C0Ry/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-C0Ry/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py39: install_package_deps> python -I -m pip install hiredis==2.0.0 redis==4.3.6 setuptools py39: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package/.tox/.tmp/package/1/ricsdl-3.1.3.tar.gz py39: freeze> python -m pip freeze --all py39: async-timeout==4.0.3,coverage==7.3.2,exceptiongroup==1.1.3,hiredis==2.0.0,iniconfig==2.0.0,packaging==23.2,pip==23.3.1,pluggy==1.3.0,pytest==7.4.3,pytest-cov==4.1.0,redis==4.3.6,ricsdl @ file:///w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package/.tox/.tmp/package/1/ricsdl-3.1.3.tar.gz#sha256=a19496e1b5e9b98effa97c2f6ba46aa7324150eac7a8409a5a60f31537562cbf,setuptools==68.2.2,tomli==2.0.1,wheel==0.41.2 py39: commands[0]> pytest --cov ricsdl --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml ============================= test session starts ============================== platform linux -- Python 3.9.13, pytest-7.4.3, pluggy-1.3.0 cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package configfile: tox.ini plugins: cov-4.1.0 collected 359 items tests/test_configuration.py ......... [ 2%] tests/test_syncstorage.py .............................................. [ 15%] ........................... [ 22%] tests/backend/test_fake_dict_db.py ..................................... [ 33%] ....... [ 35%] tests/backend/test_redis.py ............................................ [ 47%] ........................................................................ [ 67%] ........................................................................ [ 87%] ............................................. [100%] ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- coverage: platform linux, python 3.9.13-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------- ricsdl/__init__.py 5 0 100% ricsdl/backend/__init__.py 25 0 100% ricsdl/backend/dbbackend_abc.py 99 30 70% 34, 39, 44, 49, 54, 59, 64, 72, 77, 85, 90, 95, 100, 105, 110, 115, 121, 130, 139, 145, 154, 161, 171, 176, 184, 192, 211, 216, 221, 226 ricsdl/backend/fake_dict_db.py 177 3 98% 65, 275, 282 ricsdl/backend/redis.py 374 23 94% 74, 81, 97-106, 111, 122-128, 134-136, 139-140, 589-590 ricsdl/configuration.py 52 0 100% ricsdl/exceptions.py 11 0 100% ricsdl/syncstorage.py 192 1 99% 298 ricsdl/syncstorage_abc.py 110 36 67% 60-62, 65, 95, 117, 137, 159, 189, 207, 233, 262, 292, 319, 360, 402, 428, 456, 482, 512, 541, 568, 596, 624, 651, 685, 715, 745, 774, 804, 829, 870, 890, 909, 935, 966 --------------------------------------------------------------- TOTAL 1045 93 91% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 91.10% ============================= 359 passed in 3.76s ============================== py39: commands[1]> coverage xml -i Wrote XML report to coverage.xml .pkg: _exit> python /tmp/venv-C0Ry/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py39: OK ✔ in 15.94 seconds flake8: skipped because could not find python interpreter with spec(s): python3.8 py39: OK (15.93=setup[11.45]+cmd[4.16,0.32] seconds) flake8: SKIP (0.86 seconds) congratulations :) (16.86 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in '.tox/*/log' ++ echo .tox/py39/log ++ awk -F/ '{print $2}' + tox_env=py39 + cp -r .tox/py39/log /w/workspace/ric-plt-sdlpy-tox-sonar/archives/tox/py39 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 provisioning config files... copy managed file [global-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config6119886986936654665tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config18190812374308641038tmp [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins5595596673408427188.sh + echo 'Using SonarCloud' Using SonarCloud [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins12158376757764555414.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 on prd-centos7-builder-1c-1g-1 [ric-plt-sdlpy-tox-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=ric-plt/sdlpy -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DSTREAM=master -DARCHIVE_ARTIFACTS=**/*.log -DGERRIT_PROJECT=ric-plt/sdlpy -Dsha1=origin/master -DMAVEN_OPTS= -DTOX_DIR=ricsdl-package -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 -DTOX_ENVS= "-DMAVEN_PARAMS=-f ricsdl-package" -DSONAR_MAVEN_GOAL=sonar:sonar --version Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.19, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.19.0.7-1.el7_9.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1160.88.1.el7.x86_64", arch: "amd64", family: "unix" [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins12055475724952167581.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk11 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [ric-plt-sdlpy-tox-sonar] $ /bin/sh /tmp/jenkins1242559057526525234.sh ---> update-java-alternatives.sh ---> Updating Java version ---> RedHat type system detected openjdk version "11.0.19" 2023-04-18 LTS OpenJDK Runtime Environment (Red_Hat-11.0.19.0.7-1.el7_9) (build 11.0.19+7-LTS) OpenJDK 64-Bit Server VM (Red_Hat-11.0.19.0.7-1.el7_9) (build 11.0.19+7-LTS, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-11-openjdk [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=validate SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=o-ran-sc SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=o-ran-sc_ric-plt-sdlpy [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config14853006262505439987tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config11887768341472554707tmp [ric-plt-sdlpy-tox-sonar] $ /bin/bash -l /tmp/jenkins8736132990353889939.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn validate -e -Dsonar --global-settings /w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config14853006262505439987tmp --settings /w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config11887768341472554707tmp --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -f ricsdl-package Picked up _JAVA_OPTIONS: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.19, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.19.0.7-1.el7_9.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1160.88.1.el7.x86_64", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] -----------------< org.o-ran-sc.ric-plt.ricsdl:ricsdl >----------------- [INFO] Building ricsdl 0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.171 s [INFO] Finished at: 2023-11-17T17:54:06Z [INFO] ------------------------------------------------------------------------ + '[' https://sonarcloud.io = https://sonarcloud.io ']' + params+=("-Dsonar.projectKey=$PROJECT_KEY") + params+=("-Dsonar.organization=$PROJECT_ORGANIZATION") + params+=("-Dsonar.login=$API_TOKEN") + '[' False = True ']' + '[' -n openjdk17 ']' + '[' openjdk11 '!=' openjdk17 ']' + export SET_JDK_VERSION=openjdk17 + SET_JDK_VERSION=openjdk17 + bash /dev/fd/63 ++ curl -s https://raw.githubusercontent.com/lfit/releng-global-jjb/master/shell/update-java-alternatives.sh ---> update-java-alternatives.sh ---> Updating Java version ---> RedHat type system detected /usr/lib/jvm/java-17-openjdk directory not found - trying to find an approaching one ls: cannot access /usr/lib/jvm/java-17-openjdk*: No such file or directory no /usr/lib/jvm/java-17-openjdk directory nor candidate found -exiting Build step 'Conditional steps (multiple)' marked build as failure [PostBuildScript] - [INFO] Executing post build scripts. [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins1004825579673466947.sh ---> sysstat.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins15766812348822681473.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=redhat + workspace=/w/workspace/ric-plt-sdlpy-tox-sonar + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/ric-plt-sdlpy-tox-sonar ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + rpm -qa + sort + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ric-plt-sdlpy-tox-sonar ']' + mkdir -p /w/workspace/ric-plt-sdlpy-tox-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-sdlpy-tox-sonar/archives/ [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins11324093400366107104.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ric-plt-sdlpy-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mb1Q from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mb1Q/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins2157836513054903947.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config9139124002617820188tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins7328456660936453381.sh ---> create-netrc.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins2730178536671788918.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ric-plt-sdlpy-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mb1Q from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mb1Q/bin to PATH [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins17075538495020827868.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins585591275737107920.sh ---> job-cost.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ric-plt-sdlpy-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mb1Q from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-mb1Q/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-1 INFO: Archiving Costs [ric-plt-sdlpy-tox-sonar] $ /bin/bash -l /tmp/jenkins8316347096088937813.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 * 3.9.13 (set by /w/workspace/ric-plt-sdlpy-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mb1Q from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mb1Q/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-sdlpy-tox-sonar/1435 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-1.novalocal 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0 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 art rep_good nopl extd_apicid eagerfpu 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 rsb_ctxsw ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities ---> nproc: 1 ---> df -h: Filesystem Size Used Avail Use% Mounted on devtmpfs 462M 0 462M 0% /dev tmpfs 496M 0 496M 0% /dev/shm tmpfs 496M 13M 483M 3% /run tmpfs 496M 0 496M 0% /sys/fs/cgroup /dev/vda1 20G 5.6G 15G 28% / tmpfs 100M 0 100M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 990 336 120 10 533 486 Swap: 1023 2 1021 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1450 qdisc pfifo_fast state UP group default qlen 1000 link/ether fa:16:3e:3b:b0:bd brd ff:ff:ff:ff:ff:ff inet 10.32.7.38/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 85701sec preferred_lft 85701sec inet6 fe80::f816:3eff:fe3b:b0bd/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 3.10.0-1160.88.1.el7.x86_64 (centos-7-builder-645028a3-691c-92a3-68cd-c5cb772ca423.novalocal) 11/17/2023 _x86_64_ (1 CPU) 05:43:49 PM LINUX RESTART 05:44:01 PM tps rtps wtps bread/s bwrtn/s 05:45:01 PM 183.29 83.63 99.66 8832.52 45213.06 05:46:01 PM 153.90 8.60 145.30 771.99 16848.47 05:47:01 PM 213.23 105.14 108.09 6097.42 14086.68 05:48:01 PM 102.69 32.82 69.88 2209.16 4920.98 05:49:01 PM 8.46 0.05 8.41 12.55 448.98 05:50:01 PM 0.69 0.02 0.67 0.53 12.17 05:51:02 PM 0.23 0.00 0.23 0.00 3.31 05:52:01 PM 0.29 0.00 0.29 0.00 2.67 05:53:01 PM 0.18 0.00 0.18 0.00 1.40 05:54:01 PM 42.24 16.06 26.18 549.83 1731.66 05:55:01 PM 41.45 15.20 26.25 1684.62 1277.73 Average: 65.53 22.99 42.53 1770.92 7404.49 05:44:01 PM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:45:01 PM 90124 924336 91.12 2088 539616 479800 23.26 361028 438632 37952 05:46:01 PM 113460 901000 88.82 2088 540392 413708 20.05 329764 404592 20136 05:47:01 PM 68052 946408 93.29 0 514320 467324 22.65 288912 471132 17504 05:48:01 PM 257348 757112 74.63 0 402288 377004 18.27 191716 371184 2908 05:49:01 PM 275640 738820 72.83 0 402640 376940 18.27 191688 371236 12 05:50:01 PM 275244 739216 72.87 0 402640 376972 18.27 193216 370136 8 05:51:02 PM 275252 739208 72.87 0 402664 376956 18.27 193164 370152 8 05:52:01 PM 275032 739428 72.89 0 402648 376956 18.27 193156 370136 8 05:53:01 PM 274900 739560 72.90 0 402652 376956 18.27 193160 370136 8 05:54:01 PM 188288 826172 81.44 0 462704 457628 22.18 248196 399056 7212 05:55:01 PM 133756 880704 86.82 0 499616 419480 20.33 361300 340648 16384 Average: 202463 811997 80.04 380 452016 409066 19.83 249573 388822 9285 05:44:01 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 05:45:01 PM eth0 291.70 176.58 1414.16 65.26 0.00 0.00 0.00 05:45:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:46:01 PM eth0 46.64 43.81 541.31 11.97 0.00 0.00 0.00 05:46:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:47:01 PM eth0 57.15 51.43 644.44 12.00 0.00 0.00 0.00 05:47:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:48:01 PM eth0 33.20 31.11 96.28 16.64 0.00 0.00 0.00 05:48:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:49:01 PM eth0 0.38 0.08 0.02 0.01 0.00 0.00 0.00 05:49:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:50:01 PM eth0 0.35 0.18 0.09 0.07 0.00 0.00 0.00 05:50:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:51:02 PM eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 05:51:02 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:52:01 PM eth0 0.41 0.19 0.16 0.01 0.00 0.00 0.00 05:52:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:53:01 PM eth0 0.27 0.02 0.02 0.00 0.00 0.00 0.00 05:53:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:54:01 PM eth0 16.23 14.88 19.61 7.59 0.00 0.00 0.00 05:54:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:55:01 PM eth0 48.76 34.37 182.60 20.19 0.00 0.00 0.00 05:55:01 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: eth0 43.47 30.96 253.78 11.75 0.00 0.00 0.00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 3.10.0-1160.88.1.el7.x86_64 (centos-7-builder-645028a3-691c-92a3-68cd-c5cb772ca423.novalocal) 11/17/2023 _x86_64_ (1 CPU) 05:43:49 PM LINUX RESTART 05:44:01 PM CPU %user %nice %system %iowait %steal %idle 05:45:01 PM all 56.37 0.00 6.19 12.88 0.14 24.41 05:45:01 PM 0 56.37 0.00 6.19 12.88 0.14 24.41 05:46:01 PM all 68.36 0.00 6.80 2.49 0.15 22.20 05:46:01 PM 0 68.36 0.00 6.80 2.49 0.15 22.20 05:47:01 PM all 55.60 0.00 4.40 13.12 0.14 26.74 05:47:01 PM 0 55.60 0.00 4.40 13.12 0.14 26.74 05:48:01 PM all 60.88 0.00 4.54 2.91 0.11 31.56 05:48:01 PM 0 60.88 0.00 4.54 2.91 0.11 31.56 05:49:01 PM all 0.05 0.00 0.13 0.00 0.03 99.78 05:49:01 PM 0 0.05 0.00 0.13 0.00 0.03 99.78 05:50:01 PM all 0.27 0.00 0.05 0.00 0.02 99.67 05:50:01 PM 0 0.27 0.00 0.05 0.00 0.02 99.67 05:51:02 PM all 0.17 0.00 0.07 0.00 0.03 99.73 05:51:02 PM 0 0.17 0.00 0.07 0.00 0.03 99.73 05:52:01 PM all 0.31 0.00 0.05 0.00 0.03 99.61 05:52:01 PM 0 0.31 0.00 0.05 0.00 0.03 99.61 05:53:01 PM all 0.32 0.00 0.03 0.00 0.02 99.63 05:53:01 PM 0 0.32 0.00 0.03 0.00 0.02 99.63 05:54:01 PM all 41.23 0.00 3.12 2.15 0.11 53.39 05:54:01 PM 0 41.23 0.00 3.12 2.15 0.11 53.39 05:55:01 PM all 56.19 0.00 3.12 1.02 0.11 39.57 05:55:01 PM 0 56.19 0.00 3.12 1.02 0.11 39.57 Average: CPU %user %nice %system %iowait %steal %idle Average: all 29.86 0.00 2.50 3.04 0.08 64.52 Average: 0 29.86 0.00 2.50 3.04 0.08 64.52