Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/tm/+/12179 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-1785 (ubuntu1804-builder-2c-2g ubuntu2004-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-WajO4V2v0GLx/agent.6105 SSH_AGENT_PID=6111 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/private_key_11997128403876768179.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.25.1' using GIT_SSH to set credentials jenkins > git fetch --tags --force --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 --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm refs/changes/79/12179/2 # timeout=10 > git rev-parse 0abae738fe22805dca48b759b4a60d9a1851a207^{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 0abae738fe22805dca48b759b4a60d9a1851a207 (refs/changes/79/12179/2) > git config core.sparsecheckout # timeout=10 > git checkout -f 0abae738fe22805dca48b759b4a60d9a1851a207 # timeout=10 Commit message: "adding db changes" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 773631cde599d5c9654d90bf418e4bed4f463104 # 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/jenkins14959155267388480056.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-Iifi 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-Iifi/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-Iifi/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.33.7 botocore==1.33.7 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.24.0 httplib2==0.22.0 identify==2.5.32 idna==3.6 importlib-metadata==7.0.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.2 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [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/jenkins5069536336876178711.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-RdVj + 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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/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:/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:/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:/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 ++ grep -E '^[0-9.]*[0-9]$' ++ local command ++ command=versions ++ '[' 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-RdVj + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RdVj' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RdVj + echo /tmp/venv-RdVj + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-RdVj/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-RdVj/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-RdVj/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-RdVj/bin to PATH + PATH=/tmp/venv-RdVj/bin:/opt/pyenv/shims:/opt/pyenv/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 23.3.1 from /tmp/venv-RdVj/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.7 filelock==3.13.1 packaging==23.2 platformdirs==4.1.0 pluggy==1.3.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.11.4 urllib3==1.26.18 virtualenv==20.25.0 [aiml-fw-awmf-tm-tox-verify-all] $ /bin/sh -xe /tmp/jenkins12498559419233712943.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/jenkins14698771416505679811.sh ---> tox-run.sh + PATH=/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-kOJh + 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= ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ tail -n 1 +++ sort -V +++ grep '^3' /tmp/.pyenv_versions ++ 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-RdVj + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RdVj from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RdVj from file:/tmp/.toxenv + /tmp/venv-RdVj/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-RdVj/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-RdVj/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-RdVj/bin to PATH + PATH=/tmp/venv-RdVj/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 + [[ -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-RdVj/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 + PATH=/opt/pyenv/bin:/tmp/venv-RdVj/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 ++ 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.11.4 from /tmp/venv-RdVj/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n code ]] + TOX_OPTIONS_LIST=' -e code' + case ${PARALLEL,,} in + tee -a /w/workspace/aiml-fw-awmf-tm-tox-verify-all/archives/tox/tox.log + tox -e code 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.1.0,asgiref==3.7.2,asn1crypto==1.5.1,attrs==23.1.0,boto3==1.33.7,botocore==1.33.7,cachetools==5.3.2,certifi==2023.11.17,charset-normalizer==3.3.2,click==8.1.7,connexion==3.0.3,coverage==7.3.2,decorator==5.1.1,exceptiongroup==1.2.0,Flask==2.2.5,Flask-API==3.1,Flask-Cors==4.0.0,google-auth==2.24.0,h11==0.14.0,httpcore==1.0.2,httpx==0.25.2,idna==3.6,importlib-metadata==7.0.0,importlib-resources==6.1.1,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.1.2,Jinja2==3.1.2,jmespath==1.0.1,jsonschema==4.20.0,jsonschema-specifications==2023.11.2,kubernetes==28.1.0,MarkupSafe==2.1.3,mock==5.1.0,numpy==1.24.4,oauthlib==3.2.2,packaging==23.2,pandas==2.0.3,pg8000==1.30.3,pip==23.3.1,pkgutil_resolve_name==1.3.10,pluggy==1.3.0,pyasn1==0.5.1,pyasn1-modules==0.3.0,pytest==7.4.3,pytest-cov==4.1.0,python-dateutil==2.8.2,python-dotenv==1.0.0,python-multipart==0.0.6,pytz==2023.3.post1,PyYAML==6.0.1,referencing==0.31.1,requests==2.31.0,requests-oauthlib==1.3.1,rpds-py==0.13.2,rsa==4.9,s3transfer==0.8.2,scramp==1.4.4,setuptools==69.0.2,six==1.16.0,sniffio==1.3.0,starlette==0.33.0,tomli==2.0.1,typing_extensions==4.8.0,tzdata==2023.3,urllib3==1.26.18,validators==0.20.0,websocket-client==1.7.0,Werkzeug==2.2.2,wheel==0.42.0,zipp==3.17.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=140a96f54d36710265052280f52f3481ea4cc4432983f225f37ae02591b0d49d Stored in directory: /tmp/pip-ephem-wheel-cache-5j8f_tnu/wheels/8d/a9/30/4c49f9abbafe9b05df4e75a91bfaee41195fef7159433cf342 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=da10d4858356312b40ee5dc348a07c1d851f7f40175a1b8b353dd1d87614c71a Stored in directory: /tmp/pip-ephem-wheel-cache-p4hjukqm/wheels/5c/a4/04/ebfb7bc8055535741ed0ecb628051efe1dbaa3fe0cf72522ce 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 191 items tests/test_common_db_fun.py ............................................ [ 23%] ..... [ 25%] tests/test_tm_apis.py .................................................. [ 51%] ............................... [ 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 ... [ 82%] tests/test_trainingmgr_util.py ................................. [100%] =============================== warnings summary =============================== .tox/code/lib/python3.8/site-packages/flask_api/renderers.py:5 /w/workspace/aiml-fw-awmf-tm-tox-verify-all/.tox/code/lib/python3.8/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.8.10-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 60 0 100% trainingmgr/common/trainingmgr_operations.py 75 0 100% trainingmgr/common/trainingmgr_util.py 173 9 95% 119, 153, 232-233, 275-277, 280-281 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, 110-113, 126-128, 148-151 trainingmgr/trainingmgr_main.py 721 157 78% 367-369, 406-408, 424-425, 434-447, 449-453, 460, 465, 530-532, 542, 594-596, 633, 638-671, 677-686, 689-691, 733, 743, 779-780, 813-826, 920-921, 927, 931, 986, 991-992, 1036, 1039, 1047-1050, 1060-1061, 1170-1174, 1177-1178, 1564-1570, 1598-1650, 1653-1668 ---------------------------------------------------------------------------- TOTAL 1578 198 87% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 10% reached. Total coverage: 87.45% ======================== 191 passed, 1 warning in 2.40s ======================== code: commands[6]> coverage xml -i Wrote XML report to coverage.xml code: OK (30.59=setup[23.13]+cmd[1.27,0.40,0.23,1.18,1.16,2.99,0.22] seconds) congratulations :) (30.73 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 6111 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins13100876616927027401.sh ---> sysstat.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins1967893964728595027.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/jenkins7055999010717565617.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-Iifi from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Iifi/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins16070711867778080739.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/config7799363691368005337tmp 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/jenkins13832495517899332584.sh ---> create-netrc.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins3063780468427009942.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-Iifi from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Iifi/bin to PATH [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins9477917544314120870.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins4929381194317133801.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-Iifi from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-Iifi/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/jenkins5609228485637620403.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-Iifi from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Iifi/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/105 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-1785 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 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 Address sizes: 40 bits physical, 48 bits virtual 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: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 64 KiB L1i cache: 64 KiB L2 cache: 1 MiB L3 cache: 32 MiB NUMA node0 CPU(s): 0,1 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Vulnerable Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected 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 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 wbnoinvd arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 975M 0 975M 0% /dev tmpfs 199M 1008K 198M 1% /run /dev/vda1 20G 8.6G 11G 45% / tmpfs 992M 0 992M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 992M 0 992M 0% /sys/fs/cgroup /dev/loop2 68M 68M 0 100% /snap/lxd/22753 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 /dev/loop0 62M 62M 0 100% /snap/core20/1405 /dev/vda15 105M 6.1M 99M 6% /boot/efi tmpfs 199M 0 199M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 1983 389 181 2 1411 1410 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:79:3f:bd brd ff:ff:ff:ff:ff:ff inet 10.32.6.202/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86188sec preferred_lft 86188sec inet6 fe80::f816:3eff:fe79:3fbd/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1785) 12/06/23 _x86_64_ (2 CPU) 06:18:41 LINUX RESTART (2 CPU) 06:19:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:20:02 241.78 110.31 131.47 0.00 2826.99 12159.14 0.00 06:21:01 95.17 6.56 88.61 0.00 218.13 19038.40 0.00 06:22:01 48.94 10.78 38.16 0.00 923.18 8773.60 0.00 Average: 128.83 42.76 86.07 0.00 1329.10 13291.67 0.00 06:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:20:02 185816 1459160 340604 16.77 57344 1297792 823908 26.76 425636 1227240 68932 06:21:01 73888 1371380 420184 20.69 74544 1278088 953896 30.98 512540 1217360 116808 06:22:01 193896 1435224 356080 17.53 85676 1203532 833972 27.08 435596 1167328 34496 Average: 151200 1421921 372289 18.33 72521 1259804 870592 28.27 457924 1203976 73412 06:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:20:02 ens3 89.12 73.85 851.08 19.94 0.00 0.00 0.00 0.00 06:20:02 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 06:21:01 ens3 71.94 64.41 996.10 12.47 0.00 0.00 0.00 0.00 06:21:01 lo 0.81 0.81 0.07 0.07 0.00 0.00 0.00 0.00 06:22:01 ens3 22.38 22.70 43.36 9.11 0.00 0.00 0.00 0.00 06:22:01 lo 1.30 1.30 0.12 0.12 0.00 0.00 0.00 0.00 Average: ens3 61.09 53.59 628.16 13.85 0.00 0.00 0.00 0.00 Average: lo 1.04 1.04 0.09 0.09 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1785) 12/06/23 _x86_64_ (2 CPU) 06:18:41 LINUX RESTART (2 CPU) 06:19:01 CPU %user %nice %system %iowait %steal %idle 06:20:02 all 35.03 24.14 16.67 9.01 0.09 15.06 06:20:02 0 31.32 26.58 17.54 10.23 0.10 14.22 06:20:02 1 38.75 21.69 15.79 7.77 0.08 15.91 06:21:01 all 39.01 0.00 3.40 6.11 0.10 51.38 06:21:01 0 15.28 0.00 2.75 6.20 0.07 75.70 06:21:01 1 62.74 0.00 4.04 6.03 0.14 27.05 06:22:01 all 37.59 0.00 2.73 2.81 0.08 56.80 06:22:01 0 20.26 0.00 2.44 4.73 0.07 72.51 06:22:01 1 54.88 0.00 3.02 0.90 0.08 41.12 Average: all 37.21 8.04 7.59 5.97 0.09 41.10 Average: 0 22.31 8.87 7.58 7.05 0.08 54.11 Average: 1 52.12 7.21 7.60 4.88 0.10 28.09