Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-6105 (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-ssh7913615842944644698.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 6cd3a9eac9d68152a63ec673669b4737c7f8cbd4 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6cd3a9eac9d68152a63ec673669b4737c7f8cbd4 # timeout=10 Commit message: "RIC:1060: Change in PTL" > git rev-list --no-walk 6cd3a9eac9d68152a63ec673669b4737c7f8cbd4 # 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/jenkins10113981837616502440.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-TdhM 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-TdhM/bin to PATH Generating Requirements File Python 3.9.13 pip 24.2 from /tmp/venv-TdhM/lib/python3.9/site-packages/pip (python 3.9) appdirs==1.4.4 argcomplete==3.5.0 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.28 botocore==1.35.28 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 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 durationpy==0.7 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.35.0 httplib2==0.22.0 identify==2.6.1 idna==3.10 importlib-resources==1.5.0 importlib_metadata==8.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.8.0 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.11.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.1.2 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.26.5 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.20.2 [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/jenkins7249606062278875213.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-4it3 + 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= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-4it3 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4it3' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4it3 + echo /tmp/venv-4it3 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-4it3/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-4it3/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-4it3/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-4it3/bin to PATH + PATH=/tmp/venv-4it3/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.2 from /tmp/venv-4it3/lib/python3.9/site-packages/pip (python 3.9) + python3 -m pip freeze cachetools==5.5.0 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.16.1 packaging==24.1 platformdirs==4.3.6 pluggy==1.5.0 pyproject-api==1.8.0 tomli==2.0.1 tox==4.20.0 urllib3==1.26.20 virtualenv==20.26.5 [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins4279386200496474571.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/jenkins16719704622185028384.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-zEn4 + 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-4it3 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4it3 from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4it3 from file:/tmp/.toxenv + /tmp/venv-4it3/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-4it3/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-4it3/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-4it3/bin to PATH + PATH=/tmp/venv-4it3/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-4it3/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-4it3/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.20.0 from /tmp/venv-4it3/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-4it3/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-4it3/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-4it3/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==24.2,setuptools==75.1.0,wheel==0.44.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-4it3/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-4it3/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.6.1,exceptiongroup==1.2.2,hiredis==2.0.0,iniconfig==2.0.0,packaging==24.1,pip==24.2,pluggy==1.5.0,pytest==8.3.3,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=4fdc817e03da5e989f63a5003128dcd7863a88984071bec025e7c2db92b41265,setuptools==75.1.0,tomli==2.0.1,wheel==0.44.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.3.3, 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 4.03s ============================== py39: commands[1]> coverage xml -i Wrote XML report to coverage.xml py39: OK ✔ in 14.53 seconds flake8: skipped because could not find python interpreter with spec(s): python3.8 py39: OK (14.52=setup[9.71]+cmd[4.50,0.31] seconds) flake8: SKIP (0.29 seconds) congratulations :) (14.88 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/config4011870915563554313tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config5533346743184384742tmp [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/jenkins14747729746740207881.sh + echo 'Using SonarCloud' Using SonarCloud [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins5923194724978190567.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-6105 [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/jenkins16539706769898469018.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/jenkins7430460352022282136.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/config1578040609413833753tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config9463830972824327042tmp [ric-plt-sdlpy-tox-sonar] $ /bin/bash -l /tmp/jenkins4232403411996167132.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/config1578040609413833753tmp --settings /w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config9463830972824327042tmp --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.171 s [INFO] Finished at: 2024-09-27T10:05:41Z [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/jenkins12435117910157072669.sh ---> sysstat.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins1485527252036621743.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/jenkins3159404360122989135.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-TdhM from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TdhM/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins9161351691052790531.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config1927353460075780637tmp 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/jenkins14447565673982765720.sh ---> create-netrc.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins10116772945709287495.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-TdhM from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TdhM/bin to PATH [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins3078173363454755607.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins4612516155384392882.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-TdhM 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-TdhM/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/jenkins10042878855309523513.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-TdhM from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TdhM/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/1750 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-6105.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: 2800.000 BogoMIPS: 5600.00 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 350 62 12 577 470 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:b6:bf:2e brd ff:ff:ff:ff:ff:ff inet 10.32.7.98/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 86230sec preferred_lft 86230sec inet6 fe80::f816:3eff:feb6:bf2e/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) 09/27/2024 _x86_64_ (1 CPU) 10:03:29 AM LINUX RESTART 10:04:01 AM tps rtps wtps bread/s bwrtn/s 10:05:02 AM 171.36 12.13 159.23 1116.68 14498.42 10:06:01 AM 177.35 85.82 91.53 7356.78 9911.20 Average: 174.32 48.57 125.75 4202.56 12229.93 10:04:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:05:02 AM 78040 936416 92.31 2088 524376 450512 21.84 330932 435428 14428 10:06:01 AM 121044 893412 88.07 2064 487224 449776 21.80 324916 397616 18292 Average: 99542 914914 90.19 2076 505800 450144 21.82 327924 416522 16360 10:04:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 10:05:02 AM eth0 203.79 146.63 1158.28 19.40 0.00 0.00 0.00 10:05:02 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:06:01 AM eth0 70.54 45.64 230.62 21.05 0.00 0.00 0.00 10:06:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: eth0 137.89 96.69 699.53 20.22 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) 09/27/2024 _x86_64_ (1 CPU) 10:03:29 AM LINUX RESTART 10:04:01 AM CPU %user %nice %system %iowait %steal %idle 10:05:02 AM all 68.24 0.00 7.03 5.44 0.16 19.12 10:05:02 AM 0 68.24 0.00 7.03 5.44 0.16 19.12 10:06:01 AM all 72.92 0.00 6.90 9.79 0.17 10.22 10:06:01 AM 0 72.92 0.00 6.90 9.79 0.17 10.22 Average: all 70.56 0.00 6.97 7.59 0.17 14.72 Average: 0 70.56 0.00 6.97 7.59 0.17 14.72