Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/tm/+/12683 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-991 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/aiml-fw-awmf-tm-tox-verify-all [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-Yim8yDCpk1bv/agent.1701 SSH_AGENT_PID=1702 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/private_key_10690748988118406983.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/aiml-fw/awmf/tm > git init /w/workspace/aiml-fw-awmf-tm-tox-verify-all # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm > 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/aiml-fw/awmf/tm +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm # 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/aiml-fw/awmf/tm # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm refs/changes/83/12683/1 # timeout=10 > git rev-parse 53e15a3824a6d364de9dcbe53682a9e13257a5ba^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision 53e15a3824a6d364de9dcbe53682a9e13257a5ba (refs/changes/83/12683/1) > git config core.sparsecheckout # timeout=10 > git checkout -f 53e15a3824a6d364de9dcbe53682a9e13257a5ba # timeout=10 Commit message: "changes in Db and create TJ" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk cb043cdac9bef09025b34dac2fb8a9fe01265871 # 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 [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins5707744219411334779.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-6cXe 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-6cXe/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-6cXe/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.79 botocore==1.34.79 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.1 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.1 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.11.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. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash -l /tmp/jenkins5665380438790421417.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-LkB4 + 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/aiml-fw-awmf-tm-tox-verify-all/.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 ++ command=versions ++ grep -E '^[0-9.]*[0-9]$' ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ 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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-LkB4 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LkB4' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LkB4 + echo /tmp/venv-LkB4 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-LkB4/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-LkB4/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-LkB4/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-LkB4/bin to PATH + PATH=/tmp/venv-LkB4/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-LkB4/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 [aiml-fw-awmf-tm-tox-verify-all] $ /bin/sh -xe /tmp/jenkins7271227590155684791.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash -l /tmp/jenkins2421750235341251965.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/aiml-fw-awmf-tm-tox-verify-all/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/aiml-fw-awmf-tm-tox-verify-all/archives/docs + mkdir -p /w/workspace/aiml-fw-awmf-tm-tox-verify-all/archives/tox + cd /w/workspace/aiml-fw-awmf-tm-tox-verify-all/. + 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-30fn + 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/aiml-fw-awmf-tm-tox-verify-all/.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 ++ awk '{ print $1 }' ++ '[' 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 ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-LkB4 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LkB4 from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LkB4 from file:/tmp/.toxenv + /tmp/venv-LkB4/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-LkB4/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-LkB4/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-LkB4/bin to PATH + PATH=/tmp/venv-LkB4/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-LkB4/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-LkB4/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/aiml-fw-awmf-tm-tox-verify-all + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.14.2 from /tmp/venv-LkB4/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n code ]] + TOX_OPTIONS_LIST=' -e code' + case ${PARALLEL,,} in + tox -e code + tee -a /w/workspace/aiml-fw-awmf-tm-tox-verify-all/archives/tox/tox.log code: install_deps> python -I -m pip install boto3 botocore connexion coverage Flask Flask-API Flask-Cors kubernetes mock pandas pg8000 pytest pytest-cov python-dotenv PyYAML requests validators==0.20.0 Werkzeug==2.2.2 code: freeze> python -m pip freeze --all code: anyio==4.3.0,asgiref==3.8.1,asn1crypto==1.5.1,attrs==23.2.0,boto3==1.34.79,botocore==1.34.79,cachetools==5.3.3,certifi==2024.2.2,charset-normalizer==3.3.2,click==8.1.7,connexion==3.0.6,coverage==7.4.4,decorator==5.1.1,exceptiongroup==1.2.0,Flask==2.2.5,Flask-API==3.1,Flask-Cors==4.0.0,google-auth==2.29.0,h11==0.14.0,httpcore==1.0.5,httpx==0.27.0,idna==3.6,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.1.2,Jinja2==3.1.3,jmespath==1.0.1,jsonschema==4.21.1,jsonschema-specifications==2023.12.1,kubernetes==29.0.0,MarkupSafe==2.1.5,mock==5.1.0,numpy==1.26.4,oauthlib==3.2.2,packaging==24.0,pandas==2.2.1,pg8000==1.31.1,pip==24.0,pluggy==1.4.0,pyasn1==0.6.0,pyasn1_modules==0.4.0,pytest==8.1.1,pytest-cov==5.0.0,python-dateutil==2.9.0.post0,python-dotenv==1.0.1,python-multipart==0.0.9,pytz==2024.1,PyYAML==6.0.1,referencing==0.34.0,requests==2.31.0,requests-oauthlib==2.0.0,rpds-py==0.18.0,rsa==4.9,s3transfer==0.10.1,scramp==1.4.4,setuptools==69.1.0,six==1.16.0,sniffio==1.3.1,starlette==0.37.2,tomli==2.0.1,typing_extensions==4.11.0,tzdata==2024.1,urllib3==2.2.1,validators==0.20.0,websocket-client==1.7.0,Werkzeug==2.2.2,wheel==0.42.0 code: commands[0]> pip3 install -e /w/workspace/aiml-fw-awmf-tm-tox-verify-all Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple Obtaining file:///w/workspace/aiml-fw-awmf-tm-tox-verify-all Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Installing collected packages: trainingmgr Running setup.py develop for trainingmgr Successfully installed trainingmgr-0.1 code: commands[1]> git clone https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store /tmp/fssdk/ Cloning into '/tmp/fssdk'... code: commands[2]> git clone https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage /tmp/modelsdk/ Cloning into '/tmp/modelsdk'... code: commands[3]> pip3 install /tmp/fssdk/. Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple Processing /tmp/fssdk Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: featurestoresdk Building wheel for featurestoresdk (setup.py): started Building wheel for featurestoresdk (setup.py): finished with status 'done' Created wheel for featurestoresdk: filename=featurestoresdk-0.1-py3-none-any.whl size=6071 sha256=9b30a41c03ebdce788a3e0d616d09dc5f5926090255aa009a4b6dff2d41e1e25 Stored in directory: /tmp/pip-ephem-wheel-cache-hznuyo4y/wheels/fa/62/67/f2cdb906b209c413c8ba46ae83f370ec5841591cc492379b3f Successfully built featurestoresdk Installing collected packages: featurestoresdk Successfully installed featurestoresdk-0.1 code: commands[4]> pip3 install /tmp/modelsdk/. Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple Processing /tmp/modelsdk Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: modelmetricsdk Building wheel for modelmetricsdk (setup.py): started Building wheel for modelmetricsdk (setup.py): finished with status 'done' Created wheel for modelmetricsdk: filename=modelmetricsdk-0.1-py3-none-any.whl size=7318 sha256=b30a9b6fce0f7e143b7cee4c92846d660596d9c1431d36b2ceb1e9fbbc1961ec Stored in directory: /tmp/pip-ephem-wheel-cache-46hnuuth/wheels/e3/f1/b0/545c81453e7b6152789d110e2783fb4f694e1d9241bbfdd3b6 Successfully built modelmetricsdk Installing collected packages: modelmetricsdk Successfully installed modelmetricsdk-0.1 code: commands[5]> pytest --cov /w/workspace/aiml-fw-awmf-tm-tox-verify-all/trainingmgr --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=10 --junitxml=/tmp/tests.xml collected 197 items tests/test_common_db_fun.py ............................................ [ 22%] ..... [ 24%] tests/test_tm_apis.py .................................................. [ 50%] ................................... [ 68%] tests/test_tmgr_logger.py ... [ 69%] tests/test_trainingmgr_config.py .............. [ 76%] tests/test_trainingmgr_operations.py .......... [ 81%] tests/test_trainingmgr_ps_db.py ... [ 83%] tests/test_trainingmgr_util.py ................................. [100%] =============================== warnings summary =============================== .tox/code/lib/python3.10/site-packages/flask_api/renderers.py:5 /w/workspace/aiml-fw-awmf-tm-tox-verify-all/.tox/code/lib/python3.10/site-packages/flask_api/renderers.py:5: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. from flask.globals import _request_ctx_stack -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- coverage: platform linux, python 3.10.6-final-0 ----------- Name Stmts Miss Cover Missing ---------------------------------------------------------------------------- trainingmgr/__init__.py 0 0 100% trainingmgr/common/__init__.py 0 0 100% trainingmgr/common/exceptions_utls.py 13 0 100% trainingmgr/common/tmgr_logger.py 21 0 100% trainingmgr/common/trainingmgr_config.py 72 3 96% 200, 212, 238 trainingmgr/common/trainingmgr_operations.py 88 0 100% trainingmgr/common/trainingmgr_util.py 174 9 95% 119, 153, 233-234, 276-278, 281-282 trainingmgr/constants/__init__.py 0 0 100% trainingmgr/constants/states.py 7 0 100% trainingmgr/constants/steps.py 8 0 100% trainingmgr/db/__init__.py 0 0 100% trainingmgr/db/common_db_fun.py 427 10 98% 505-523, 552-555 trainingmgr/db/trainingmgr_ps_db.py 73 22 70% 46-48, 56, 61-64, 77-79, 108-111, 124-126, 147-150 trainingmgr/trainingmgr_main.py 761 161 79% 377-379, 416-418, 434-435, 444-457, 459-463, 470, 475, 556-558, 568, 620-622, 659, 664-697, 703-712, 715-717, 759, 769, 805-806, 839-852, 967-968, 974, 978, 984-985, 1037, 1042-1043, 1090, 1093, 1101-1104, 1114-1115, 1224-1228, 1231-1232, 1623-1629, 1657-1709, 1712-1727 ---------------------------------------------------------------------------- TOTAL 1644 205 88% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 10% reached. Total coverage: 87.53% ======================== 197 passed, 1 warning in 3.33s ======================== code: commands[6]> coverage xml -i Wrote XML report to coverage.xml code: OK (41.38=setup[31.53]+cmd[1.76,0.65,0.30,1.39,1.35,4.12,0.29] seconds) congratulations :) (41.56 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/aiml-fw-awmf-tm-tox-verify-all/archives/tox/code + 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 1702 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins13654389503588627861.sh ---> sysstat.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins13192639374784646610.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/aiml-fw-awmf-tm-tox-verify-all + 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/aiml-fw-awmf-tm-tox-verify-all ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/aiml-fw-awmf-tm-tox-verify-all ']' + mkdir -p /w/workspace/aiml-fw-awmf-tm-tox-verify-all/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/aiml-fw-awmf-tm-tox-verify-all/archives/ [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins7163163507983795856.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-verify-all/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6cXe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-6cXe/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins1375461589520512233.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/config17876276902785563084tmp 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. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins10503361573138183555.sh ---> create-netrc.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins14192223083756403483.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-verify-all/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6cXe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-6cXe/bin to PATH [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins9026065456947629694.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins8088998816197698798.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-verify-all/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6cXe 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-6cXe/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-2 INFO: Archiving Costs [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash -l /tmp/jenkins9241437619630035174.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-verify-all/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6cXe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-6cXe/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/aiml-fw-awmf-tm-tox-verify-all/125 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-991 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 7.5G 12G 39% / 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 319 112 0 1561 1494 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: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f9:8f:aa brd ff:ff:ff:ff:ff:ff inet 10.32.6.11/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86195sec preferred_lft 86195sec inet6 fe80::f816:3eff:fef9:8faa/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-991) 04/08/24 _x86_64_ (2 CPU) 07:10:28 LINUX RESTART (2 CPU) 07:11:02 tps rtps wtps bread/s bwrtn/s 07:12:01 109.23 39.80 69.43 1964.91 9241.73 07:13:01 126.59 47.47 79.12 3158.15 17830.72 Average: 117.98 43.67 74.32 2566.44 13571.58 07:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:12:01 88372 1514364 1952260 95.67 53212 1460808 577876 18.71 446128 1358788 143524 07:13:01 223400 1563112 1817232 89.05 75640 1350464 583756 18.90 379476 1287360 103320 Average: 155886 1538738 1884746 92.36 64426 1405636 580816 18.80 412802 1323074 123422 07:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:12:01 ens3 67.68 63.87 812.54 7.99 0.00 0.00 0.00 0.00 07:12:01 lo 0.95 0.95 0.08 0.08 0.00 0.00 0.00 0.00 07:13:01 ens3 49.02 42.77 592.16 9.77 0.00 0.00 0.00 0.00 07:13:01 lo 1.03 1.03 0.09 0.09 0.00 0.00 0.00 0.00 Average: ens3 58.27 53.23 701.44 8.89 0.00 0.00 0.00 0.00 Average: lo 0.99 0.99 0.09 0.09 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-991) 04/08/24 _x86_64_ (2 CPU) 07:10:28 LINUX RESTART (2 CPU) 07:11:02 CPU %user %nice %system %iowait %steal %idle 07:12:01 all 39.63 0.00 2.49 6.24 0.09 51.56 07:12:01 0 52.63 0.00 2.91 2.96 0.08 41.42 07:12:01 1 26.56 0.00 2.08 9.54 0.09 61.73 07:13:01 all 40.06 0.00 2.93 5.01 0.09 51.91 07:13:01 0 57.23 0.00 3.44 5.23 0.10 34.00 07:13:01 1 22.82 0.00 2.41 4.81 0.10 69.86 Average: all 39.84 0.00 2.71 5.62 0.09 51.74 Average: 0 54.95 0.00 3.18 4.10 0.09 37.68 Average: 1 24.67 0.00 2.25 7.15 0.09 65.83