Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/ric-app/lp/+/12635 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-373 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-lp-tox-verify-master [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-4GI13lVCrqRX/agent.1694 SSH_AGENT_PID=1695 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-lp-tox-verify-master@tmp/private_key_5065056784660108416.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) 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-app/lp > git init /w/workspace/ric-app-lp-tox-verify-master # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp refs/changes/35/12635/1 # timeout=10 > git rev-parse b2da36d75e650fa8f2a865c9650a6105c6796fa7^{commit} # timeout=10 Checking out Revision b2da36d75e650fa8f2a865c9650a6105c6796fa7 (refs/changes/35/12635/1) > git config core.sparsecheckout # timeout=10 > git checkout -f b2da36d75e650fa8f2a865c9650a6105c6796fa7 # timeout=10 Commit message: "Fix: Use deb rpm script instead for Sonar" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk f81fc029ac3c0de02274baf5c6283006d5153e8b # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins7787716939590913713.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hsH8 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-hsH8/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-hsH8/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.75 botocore==1.34.75 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.6.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.2 email_validator==2.1.1 filelock==3.13.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.0 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.0.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==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 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.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 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.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [ric-app-lp-tox-verify-master] $ /bin/bash -l /tmp/jenkins1128710586342802721.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-7q0g + 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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-verify-master/.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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ 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 ++ awk '{ print $1 }' ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + 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-7q0g + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7q0g' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7q0g + echo /tmp/venv-7q0g + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-7q0g/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-7q0g/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-7q0g/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-7q0g/bin to PATH + PATH=/tmp/venv-7q0g/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 24.0 from /tmp/venv-7q0g/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.3 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.3 packaging==24.0 platformdirs==4.2.0 pluggy==1.4.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.14.2 urllib3==1.26.18 virtualenv==20.25.1 [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins16945865102954228840.sh ---> install-deb-rmr.sh + version_file=rmr-version.yaml + [[ -f rmr-version.yaml ]] ++ xargs ++ cut -d: -f2 ++ grep '^repo:' rmr-version.yaml + repo= ++ grep '^version:' rmr-version.yaml ++ cut -d: -f2 ++ xargs + ver=4.1.2 + [[ -z 4.1.2 ]] + repo=release + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.1.2_amd64.deb/download.deb 2024-04-01 22:59:21 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1648893.deb?Expires=1712012661&Signature=M~coPnzBU1d9gDo~U1KNHTcu-Zc3DXF36Rz-k9TeXOVWlxBeBAEiVqNS3JbqdLYHICPCqTZcu3R2bmB0aw2kevEHIt9QRVUvnL7I-PBY6yUpXR-HZhSRin658jOHKNfav-mXHnC0kA-bb3CHwLlTA-mNUvGjWGFdu1aKvDLVWpe-C4lUnIUd5-7n9tIpS18~2ve6iR9ENC03GHI1WEe1964ZJaPne7WRUClzp4lPHY2gcrVn~Yg~fTgorbNqyyoGMxbcvN9PP6L5LlqszulyDmTbX~KI0hgYUI4EY-cPsIeROEdU2K6oC4my0c4OsoM~mntk4ejEeJl-0cglBqBRqg__&Key-Pair-Id=K1ZMSF1EKC3AZL [213896/213896] -> "rmr_4.1.2_amd64.deb" [1] + sudo dpkg -i rmr_4.1.2_amd64.deb Selecting previously unselected package rmr. (Reading database ... 188029 files and directories currently installed.) Preparing to unpack rmr_4.1.2_amd64.deb ... Unpacking rmr (4.1.2) ... Setting up rmr (4.1.2) ... + rm -f rmr_4.1.2_amd64.deb + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.1.2_amd64.deb/download.deb 2024-04-01 22:59:23 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1648886.deb?Expires=1712012663&Signature=ZdCeK0JtnDGcI3iQrZEgvY6pmO9HkFbQognA1xEa25X5rrQk89wEwPRKxvyv2wypmJHwEd~mv8ith6VJ4sz~T1f-mpssF7rrRjDfhuHVjm1ihl~91tQLh6LAnzoB-cxKkZ7IXjB5apE0XbBW6WGZG5s-OZbeBAuYAtONCdON7tCORJNJdrigZF-g-3t2PeFxewb0xNDcuer8C25v0sW8kUNZyZlqoTzuZofC9kNDrZWyDx-m~1fp8sjWM9TYur2M-95R-S6yiNOfQa5w8pVahC155kiseNPqQV7D6PRhmRI0OhIhcpZ4QfBa8R9DbRJS~YOB~60XPOv3AMv5CwGkVw__&Key-Pair-Id=K1ZMSF1EKC3AZL [114066/114066] -> "rmr-dev_4.1.2_amd64.deb" [1] + sudo dpkg -i rmr-dev_4.1.2_amd64.deb Selecting previously unselected package rmr-dev. (Reading database ... 188037 files and directories currently installed.) Preparing to unpack rmr-dev_4.1.2_amd64.deb ... Unpacking rmr-dev (4.1.2) ... Setting up rmr-dev (4.1.2) ... + rm -f rmr-dev_4.1.2_amd64.deb + echo '---> install-deb-rmr.sh ends' ---> install-deb-rmr.sh ends [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [ric-app-lp-tox-verify-master] $ /bin/bash -l /tmp/jenkins15910794335680752150.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + ARCHIVE_TOX_DIR=/w/workspace/ric-app-lp-tox-verify-master/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/ric-app-lp-tox-verify-master/archives/docs + mkdir -p /w/workspace/ric-app-lp-tox-verify-master/archives/tox + cd /w/workspace/ric-app-lp-tox-verify-master/. + 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-VLHV + 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:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-verify-master/.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:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ 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 ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + 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-7q0g + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7q0g from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7q0g from file:/tmp/.toxenv + /tmp/venv-7q0g/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-7q0g/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-7q0g/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-7q0g/bin to PATH + PATH=/tmp/venv-7q0g/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + 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-7q0g/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/tmp/venv-7q0g/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ pwd + PYTHONPATH=/w/workspace/ric-app-lp-tox-verify-master + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.14.2 from /tmp/venv-7q0g/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n code,flake8 ]] + TOX_OPTIONS_LIST=' -e code,flake8' + case ${PARALLEL,,} in + tee -a /w/workspace/ric-app-lp-tox-verify-master/archives/tox/tox.log + tox -e code,flake8 code: 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-7q0g/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-7q0g/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-7q0g/lib/python3.10/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.1.0,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-7q0g/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-7q0g/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: install_package_deps> python -I -m pip install Cython PEP517 influxdb 'numpy>=1.16.2' p5py 'pandas>=1.1.3' 'ricxappframe<2.0.0,>=1.1.1' 'schedule>=0.0.0' torch==2.0.0 torchaudio==2.0.1 torchvision==0.15.1 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-lp-tox-verify-master/.tox/.tmp/package/1/lp-0.3.0.tar.gz code: freeze> python -m pip freeze --all code: async-timeout==4.0.3,certifi==2024.2.2,charset-normalizer==3.3.2,cmake==3.29.0.1,coverage==7.4.4,Cython==3.0.10,exceptiongroup==1.2.0,filelock==3.13.3,hiredis==2.3.2,idna==3.6,influxdb==5.3.1,iniconfig==2.0.0,inotify==0.2.10,inotify_simple==1.3.5,Jinja2==3.1.3,lit==18.1.2,lp @ file:///w/workspace/ric-app-lp-tox-verify-master/.tox/.tmp/package/1/lp-0.3.0.tar.gz#sha256=861f59239f91ec6fb6ab05406a8827cab15b7dc0169c7ac9e6c88e4407dca339,MarkupSafe==2.1.5,mdclogpy==1.1.4,mpmath==1.3.0,msgpack==1.0.8,networkx==3.2.1,nose==1.3.7,numpy==1.26.4,nvidia-cublas-cu11==11.10.3.66,nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-nvrtc-cu11==11.7.99,nvidia-cuda-runtime-cu11==11.7.99,nvidia-cudnn-cu11==8.5.0.96,nvidia-cufft-cu11==10.9.0.58,nvidia-curand-cu11==10.2.10.91,nvidia-cusolver-cu11==11.4.0.1,nvidia-cusparse-cu11==11.7.4.91,nvidia-nccl-cu11==2.14.3,nvidia-nvtx-cu11==11.7.91,p5py==1.0.0,packaging==24.0,pandas==2.2.1,pep517==0.13.1,pillow==10.3.0,pip==24.0,pluggy==1.4.0,pytest==8.1.1,pytest-cov==5.0.0,python-dateutil==2.9.0.post0,pytz==2024.1,redis==5.0.3,requests==2.31.0,ricsdl==2.3.0,ricxappframe==1.6.0,schedule==1.2.1,setuptools==69.1.0,six==1.16.0,sympy==1.12,tomli==2.0.1,torch==2.0.0,torchaudio==2.0.1,torchvision==0.15.1,triton==2.0.0,typing_extensions==4.10.0,tzdata==2024.1,urllib3==2.2.1,wheel==0.42.0 code: commands[0]> pytest -v --cov lp --cov-report xml --cov-report term-missing --cov-report html -vv ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.1.1, pluggy-1.4.0 -- /w/workspace/ric-app-lp-tox-verify-master/.tox/code/bin/python cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-app-lp-tox-verify-master plugins: cov-5.0.0 collecting ... collected 2 items tests/test_lp.py::test_init_xapp PASSED [ 50%] tests/test_lp.py::test_mock_xapp PASSED [100%]/w/workspace/ric-app-lp-tox-verify-master/.tox/code/lib/python3.10/site-packages/coverage/control.py:887: CoverageWarning: No data was collected. (no-data-collected) self._warn("No data was collected.", slug="no-data-collected") ---------- coverage: platform linux, python 3.10.6-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------ lp/__init__.py 0 0 100% lp/db.py 30 30 0% 17-100 lp/exceptions.py 5 5 0% 16-24 lp/main.py 137 137 0% 16-237 lp/populate.py 30 30 0% 17-59 lp/sdl.py 34 34 0% 17-116 ------------------------------------------------ TOTAL 236 236 0% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ============================== 2 passed in 11.20s ============================== code: commands[1]> coverage xml -i Wrote XML report to coverage.xml code: OK ✔ in 2 minutes 19 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: flake8==7.0.0,mccabe==0.7.0,pip==24.0,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.1.0,wheel==0.42.0 flake8: commands[0]> flake8 setup.py lp tests code: OK (139.00=setup[126.12]+cmd[12.73,0.15] seconds) flake8: OK (3.54=setup[3.27]+cmd[0.27] seconds) congratulations :) (142.71 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/code/log ++ awk -F/ '{print $2}' + tox_env=code + cp -r .tox/code/log /w/workspace/ric-app-lp-tox-verify-master/archives/tox/code + for i in .tox/*/log ++ echo .tox/flake8/log ++ awk -F/ '{print $2}' + tox_env=flake8 + cp -r .tox/flake8/log /w/workspace/ric-app-lp-tox-verify-master/archives/tox/flake8 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1695 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins12592784544258170436.sh ---> sysstat.sh [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins15247435347535184070.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-app-lp-tox-verify-master + 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-app-lp-tox-verify-master ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + grep '^ii' + dpkg -l + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + true + '[' /w/workspace/ric-app-lp-tox-verify-master ']' + mkdir -p /w/workspace/ric-app-lp-tox-verify-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-lp-tox-verify-master/archives/ [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins531707589474576203.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hsH8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hsH8/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins17186378445143588912.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-lp-tox-verify-master@tmp/config12301860799316954038tmp 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-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins15633876352901411106.sh ---> create-netrc.sh [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins15113284258655848502.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hsH8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hsH8/bin to PATH [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins14609189668873322551.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-lp-tox-verify-master] $ /bin/bash /tmp/jenkins17799214862659167366.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hsH8 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-hsH8/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-2 INFO: Archiving Costs [ric-app-lp-tox-verify-master] $ /bin/bash -l /tmp/jenkins3912145796589520830.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hsH8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hsH8/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-lp-tox-verify-master/37 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-373 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 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,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 984M 0 984M 0% /dev tmpfs 200M 668K 199M 1% /run /dev/vda1 20G 14G 5.4G 72% / tmpfs 997M 0 997M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 997M 0 997M 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 200M 0 200M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 1992 345 475 0 1172 1472 Swap: 1023 1 1022 ---> 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: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d1:6f:b7 brd ff:ff:ff:ff:ff:ff inet 10.32.6.210/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86092sec preferred_lft 86092sec inet6 fe80::f816:3eff:fed1:6fb7/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-373) 04/01/24 _x86_64_ (2 CPU) 22:57:35 LINUX RESTART (2 CPU) 22:58:01 tps rtps wtps bread/s bwrtn/s 22:59:02 104.45 40.94 63.51 2065.42 8858.76 23:00:01 312.30 197.24 115.06 42182.37 84974.05 23:01:01 458.11 235.80 222.31 50808.85 222884.58 23:02:01 344.76 260.76 84.00 46277.09 84544.04 Average: 304.91 183.64 121.28 35309.97 100412.82 22:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:59:02 126512 1511084 1914120 93.80 51396 1422580 562240 18.20 442112 1328176 133460 23:00:01 94624 1495400 1946008 95.36 53844 1446960 651408 21.09 299960 1522008 101780 23:01:01 160000 1447612 1880632 92.16 52728 1330428 691772 22.39 301760 1446932 110568 23:02:01 512888 1481712 1527744 74.87 63400 994392 597116 19.33 304128 1079808 33168 Average: 223506 1483952 1817126 89.05 55342 1298590 625634 20.25 336990 1344231 94744 22:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:59:02 ens3 67.95 63.32 808.20 7.76 0.00 0.00 0.00 0.00 22:59:02 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 23:00:01 ens3 459.52 382.22 14258.79 28.40 0.00 0.00 0.00 0.00 23:00:01 lo 1.29 1.29 0.12 0.12 0.00 0.00 0.00 0.00 23:01:01 ens3 783.85 666.06 24469.49 43.75 0.00 0.00 0.00 0.00 23:01:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 23:02:01 ens3 7.28 7.02 7.91 3.15 0.00 0.00 0.00 0.00 23:02:01 lo 20.40 20.40 1.01 1.01 0.00 0.00 0.00 0.00 Average: ens3 329.32 279.40 9874.61 20.74 0.00 0.00 0.00 0.00 Average: lo 5.78 5.78 0.31 0.31 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-373) 04/01/24 _x86_64_ (2 CPU) 22:57:35 LINUX RESTART (2 CPU) 22:58:01 CPU %user %nice %system %iowait %steal %idle 22:59:02 all 37.72 0.00 2.55 5.61 0.08 54.03 22:59:02 0 46.81 0.00 2.84 3.88 0.10 46.37 22:59:02 1 28.58 0.00 2.27 7.37 0.08 61.70 23:00:01 all 28.17 0.00 5.95 19.00 0.12 46.75 23:00:01 0 36.10 0.00 7.71 25.25 0.15 30.79 23:00:01 1 20.23 0.00 4.19 12.71 0.09 62.78 23:01:01 all 32.91 0.00 9.09 16.20 0.14 41.66 23:01:01 0 45.29 0.00 8.13 13.30 0.12 33.16 23:01:01 1 20.47 0.00 10.03 19.14 0.15 50.21 23:02:01 all 34.66 0.00 4.13 10.08 0.08 51.04 23:02:01 0 40.91 0.00 4.24 12.50 0.10 42.25 23:02:01 1 28.43 0.00 4.05 7.67 0.08 59.77 Average: all 33.39 0.00 5.42 12.69 0.11 48.39 Average: 0 42.31 0.00 5.72 13.67 0.12 38.18 Average: 1 24.46 0.00 5.13 11.70 0.10 58.61