Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-centos7-builder-1c-1g-4300 (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-ssh13931967936708371425.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/jenkins18264314427098239622.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-PqRq 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-PqRq/bin to PATH Generating Requirements File Python 3.9.13 pip 24.2 from /tmp/venv-PqRq/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.12 botocore==1.35.12 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 email_validator==2.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.34.0 httplib2==0.22.0 identify==2.6.0 idna==3.8 importlib-resources==1.5.0 importlib_metadata==8.4.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==30.1.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.0.8 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.2.2 prettytable==3.11.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 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.0.0 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.1 urllib3==1.26.20 virtualenv==20.26.3 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.1 [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/jenkins10185374687596020700.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-ZI5d + 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 ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ 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-ZI5d + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZI5d' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZI5d + echo /tmp/venv-ZI5d + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-ZI5d/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-ZI5d/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-ZI5d/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-ZI5d/bin to PATH + PATH=/tmp/venv-ZI5d/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-ZI5d/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.15.4 packaging==24.1 platformdirs==4.2.2 pluggy==1.5.0 pyproject-api==1.7.1 tomli==2.0.1 tox==4.18.0 urllib3==1.26.20 virtualenv==20.26.3 [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins1293964515739729255.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/jenkins9275110280563119150.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-AW2z + 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-ZI5d + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZI5d from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZI5d from file:/tmp/.toxenv + /tmp/venv-ZI5d/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-ZI5d/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-ZI5d/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-ZI5d/bin to PATH + PATH=/tmp/venv-ZI5d/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-ZI5d/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-ZI5d/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.18.0 from /tmp/venv-ZI5d/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-ZI5d/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-ZI5d/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-ZI5d/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==24.1,setuptools==70.1.0,wheel==0.43.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-ZI5d/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-ZI5d/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.1,pluggy==1.5.0,pytest==8.3.2,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=c4b6604181550c986a6c37c7c501d2047cd1fd898993870a456e125da2f3255b,setuptools==70.1.0,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.3.2, 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.00s ============================== py39: commands[1]> coverage xml -i Wrote XML report to coverage.xml py39: OK ✔ in 14.43 seconds flake8: skipped because could not find python interpreter with spec(s): python3.8 py39: OK (14.42=setup[9.58]+cmd[4.48,0.36] seconds) flake8: SKIP (0.31 seconds) congratulations :) (14.80 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/config9153009213114672186tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config16664679672390483044tmp [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/jenkins6208189517928365892.sh + echo 'Using SonarCloud' Using SonarCloud [ric-plt-sdlpy-tox-sonar] $ /bin/sh -xe /tmp/jenkins16859646801929945541.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-4300 [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/jenkins6210947099093559403.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/jenkins13631573260225511787.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/config1291629576460506100tmp copy managed file [ric-plt-sdlpy-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config4526778691440017025tmp [ric-plt-sdlpy-tox-sonar] $ /bin/bash -l /tmp/jenkins3704245299816166287.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/config1291629576460506100tmp --settings /w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config4526778691440017025tmp --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.157 s [INFO] Finished at: 2024-09-05T10:05:53Z [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/jenkins6147233737852291890.sh ---> sysstat.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins7585800259373884243.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/jenkins13803864142920772636.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-PqRq from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-PqRq/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins17484807664888598643.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-sdlpy-tox-sonar@tmp/config7677777633481341630tmp 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/jenkins15151643591279625541.sh ---> create-netrc.sh [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins10253821696146974202.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-PqRq from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-PqRq/bin to PATH [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins4698724927579910196.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-sdlpy-tox-sonar] $ /bin/bash /tmp/jenkins14220687995079828413.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-PqRq 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-PqRq/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/jenkins15314519443165611420.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-PqRq from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-PqRq/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/1728 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-centos7-builder-1c-1g-4300.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 343 69 12 577 478 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:e7:24:c0 brd ff:ff:ff:ff:ff:ff inet 10.32.7.100/23 brd 10.32.7.255 scope global dynamic eth0 valid_lft 86227sec preferred_lft 86227sec inet6 fe80::f816:3eff:fee7:24c0/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/05/2024 _x86_64_ (1 CPU) 10:03:40 AM LINUX RESTART 10:04:01 AM tps rtps wtps bread/s bwrtn/s 10:05:03 AM 142.55 22.31 120.24 4101.53 12305.91 10:06:01 AM 192.25 83.63 108.62 6784.57 9234.57 Average: 166.91 52.37 114.54 5416.94 10800.13 10:04:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:05:03 AM 147508 866948 85.46 2088 511704 422668 20.49 289700 426984 42760 10:06:01 AM 69912 944544 93.11 2088 568632 427764 20.73 382632 389228 37320 Average: 108710 905746 89.28 2088 540168 425216 20.61 336166 408106 40040 10:04:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 10:05:03 AM eth0 343.20 216.44 1614.75 65.96 0.00 0.00 0.00 10:05:03 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:06:01 AM eth0 90.60 59.62 401.89 21.50 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 219.36 139.56 1020.12 44.16 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/05/2024 _x86_64_ (1 CPU) 10:03:40 AM LINUX RESTART 10:04:01 AM CPU %user %nice %system %iowait %steal %idle 10:05:03 AM all 65.45 0.00 6.82 4.31 0.15 23.27 10:05:03 AM 0 65.45 0.00 6.82 4.31 0.15 23.27 10:06:01 AM all 67.69 0.00 6.54 9.30 0.15 16.31 10:06:01 AM 0 67.69 0.00 6.54 9.30 0.15 16.31 Average: all 66.55 0.00 6.68 6.76 0.15 19.86 Average: 0 66.55 0.00 6.68 6.76 0.15 19.86