Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-2063 (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.6' 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-ssh8852276701885868977.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/jenkins694665487951765978.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: Creating python3 venv at /tmp/venv-xo2d lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-xo2d/bin to PATH Generating Requirements File Python 3.9.13 pip 24.0 from /tmp/venv-xo2d/lib/python3.9/site-packages/pip (python 3.9) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.113 botocore==1.34.113 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.1.1 filelock==3.14.0 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 importlib-resources==1.5.0 importlib_metadata==7.1.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.0.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.5.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.2 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.5 tqdm==4.66.4 typing_extensions==4.12.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.2 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 zipp==3.19.0 [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/jenkins7994060435260756852.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-Itak + 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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-Itak + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Itak' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Itak + echo /tmp/venv-Itak + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-Itak/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-Itak/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-Itak/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-Itak/bin to PATH + PATH=/tmp/venv-Itak/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 24.0 from /tmp/venv-Itak/lib/python3.9/site-packages/pip (python 3.9) + python3 -m pip freeze cachetools==5.3.3 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.14.0 packaging==24.0 platformdirs==4.2.2 pluggy==1.5.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.15.0 urllib3==1.26.18 virtualenv==20.26.2 [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins17473557754120558045.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/jenkins13707850059275141690.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-HmPL + 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 ]] +++ 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-Itak + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Itak from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Itak from file:/tmp/.toxenv + /tmp/venv-Itak/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-Itak/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-Itak/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-Itak/bin to PATH + PATH=/tmp/venv-Itak/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-Itak/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-Itak/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.15.0 from /tmp/venv-Itak/lib/python3.9/site-packages/tox/__init__.py + PARALLEL=True + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' + tee -a /w/workspace/ric-plt-sdlpy-tox-sonar/archives/tox/tox.log + tox --parallel auto --parallel-live 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-Itak/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-Itak/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-Itak/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==24.0,setuptools==69.5.1,wheel==0.43.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Itak/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-Itak/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.5.2,exceptiongroup==1.2.1,hiredis==2.0.0,iniconfig==2.0.0,packaging==24.0,pip==24.0,pluggy==1.5.0,pytest==8.2.1,pytest-cov==5.0.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=324866a1a2ba3b6d1ff3f1a04ef86658671ed4ad53544530003c55cc0048e638,setuptools==69.5.1,tomli==2.0.1,wheel==0.43.0 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-8.2.1, pluggy-1.5.0 cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package configfile: tox.ini plugins: cov-5.0.0 collected 359 items tests/backend/test_fake_dict_db.py ..................................... [ 10%] ....... [ 12%] tests/backend/test_redis.py ............................................ [ 24%] ........................................................................ [ 44%] ........................................................................ [ 64%] ............................................. [ 77%] tests/test_configuration.py ......... [ 79%] tests/test_syncstorage.py .............................................. [ 92%] ........................... [100%] ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- coverage: platform linux, python 3.9.13-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------- ricsdl/__init__.py 4 0 100% ricsdl/backend/__init__.py 24 0 100% ricsdl/backend/dbbackend_abc.py 98 30 69% 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 176 3 98% 65, 275, 282 ricsdl/backend/redis.py 373 23 94% 74, 81, 97-106, 111, 122-128, 134-136, 139-140, 589-590 ricsdl/configuration.py 51 0 100% ricsdl/exceptions.py 10 0 100% ricsdl/syncstorage.py 191 1 99% 298 ricsdl/syncstorage_abc.py 109 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 1036 93 91% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 91.02% ============================= 359 passed in 3.62s ============================== py39: commands[1]> coverage xml -i Wrote XML report to coverage.xml py39: OK ✔ in 15.4 seconds flake8: skipped because could not find python interpreter with spec(s): python3.8 py39: OK (15.39=setup[10.97]+cmd[4.08,0.34] seconds) flake8: SKIP (0.32 seconds) congratulations :) (15.78 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in '.tox/*/log' ++ awk -F/ '{print $2}' ++ echo .tox/py39/log + 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/config15859466829216367678tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config5601036776435066576tmp [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/jenkins15097928573608113663.sh + echo 'Using SonarCloud' Using SonarCloud [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins3362326700403193781.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-2063 [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.22, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1160.108.1.el7.x86_64", arch: "amd64", family: "unix" [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins16877224137105626054.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/jenkins8445257966674687408.sh ---> update-java-alternatives.sh ---> Updating Java version ---> RedHat type system detected openjdk version "11.0.22" 2024-01-16 LTS OpenJDK Runtime Environment (Red_Hat-11.0.22.0.7-1.el7_9) (build 11.0.22+7-LTS) OpenJDK 64-Bit Server VM (Red_Hat-11.0.22.0.7-1.el7_9) (build 11.0.22+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/config9577324678296903389tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config7187731251854406077tmp [ric-plt-sdlpy-tox-sonar] $ /bin/bash -l /tmp/jenkins14494440231581923841.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/config9577324678296903389tmp --settings /w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config7187731251854406077tmp --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.22, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1160.108.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.129 s [INFO] Finished at: 2024-05-28T10:05:56Z [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/jenkins9547548308602764234.sh ---> sysstat.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins15851292784324724964.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/jenkins14226240448547636404.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-xo2d from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-xo2d/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins5187873316135982947.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config6696989877583142491tmp 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/jenkins221117539468837640.sh ---> create-netrc.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins1730097545751676064.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-xo2d from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-xo2d/bin to PATH [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins7814168788740680935.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins6635417460601682451.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-xo2d from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-xo2d/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/jenkins159433452043882608.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-xo2d from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-xo2d/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/1628 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-2063.novalocal 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 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 459M 0 459M 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.5G 15G 28% / tmpfs 100M 0 100M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 990 339 84 12 566 482 Swap: 1023 0 1023 ---> 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:39:a2:d5 brd ff:ff:ff:ff:ff:ff inet 10.32.6.24/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 86222sec preferred_lft 86222sec inet6 fe80::f816:3eff:fe39:a2d5/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 3.10.0-1160.108.1.el7.x86_64 (centos-7-builder-e2bfffa3-670a-44cc-9bdf-77539580edb4.novalocal) 05/28/2024 _x86_64_ (1 CPU) 10:03:42 AM LINUX RESTART 10:04:02 AM tps rtps wtps bread/s bwrtn/s 10:05:01 AM 144.42 24.94 119.47 4401.78 11540.06 10:06:02 AM 184.58 66.62 117.96 5720.58 10255.29 Average: 164.70 45.99 118.71 5067.72 10891.31 10:04:02 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:05:01 AM 132320 882136 86.96 2088 489592 463012 22.44 312148 421580 49252 10:06:02 AM 67756 946700 93.32 2088 576276 424268 20.57 355144 417228 44528 Average: 100038 914418 90.14 2088 532934 443640 21.50 333646 419404 46890 10:04:02 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 10:05:01 AM eth0 292.69 203.49 1545.64 65.50 0.00 0.00 0.00 10:05:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:06:02 AM eth0 100.00 68.11 451.23 21.04 0.00 0.00 0.00 10:06:02 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: eth0 195.39 135.13 993.01 43.05 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.108.1.el7.x86_64 (centos-7-builder-e2bfffa3-670a-44cc-9bdf-77539580edb4.novalocal) 05/28/2024 _x86_64_ (1 CPU) 10:03:42 AM LINUX RESTART 10:04:02 AM CPU %user %nice %system %iowait %steal %idle 10:05:01 AM all 69.29 0.00 6.51 5.95 0.13 18.12 10:05:01 AM 0 69.29 0.00 6.51 5.95 0.13 18.12 10:06:02 AM all 71.53 0.00 6.82 8.04 0.13 13.49 10:06:02 AM 0 71.53 0.00 6.82 8.04 0.13 13.49 Average: all 70.42 0.00 6.67 7.01 0.13 15.78 Average: 0 70.42 0.00 6.67 7.01 0.13 15.78