Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/tm/+/12190 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-1991 (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-CZEZuwrqPebF/agent.6140 SSH_AGENT_PID=6145 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/private_key_13014727457239072326.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/90/12190/2 # timeout=10 > git rev-parse ae6db9bce3500921c2a362c323c88fe701415cd4^{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 ae6db9bce3500921c2a362c323c88fe701415cd4 (refs/changes/90/12190/2) > git config core.sparsecheckout # timeout=10 > git checkout -f ae6db9bce3500921c2a362c323c88fe701415cd4 # timeout=10 Commit message: "update in the retraining of trainingjob" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 4dd4646df22e93c9f06edb97e309408158a8221a # 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/jenkins11616735565894129730.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-45ud 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-45ud/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-45ud/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.9 botocore==1.33.9 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.25.1 httplib2==0.22.0 identify==2.5.33 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.32.0 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/jenkins17228400636693666413.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-WrqI + 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= ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-WrqI + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WrqI' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WrqI + echo /tmp/venv-WrqI + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-WrqI/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-WrqI/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-WrqI/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-WrqI/bin to PATH + PATH=/tmp/venv-WrqI/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-WrqI/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/jenkins1907113151157415270.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/jenkins17412819142611843924.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-IahN + 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 ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ grep -E '^[0-9.]*[0-9]$' ++ command pyenv versions ++ pyenv versions ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ tail -n 1 +++ grep '^3' /tmp/.pyenv_versions +++ sort -V ++ 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-WrqI + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WrqI from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WrqI from file:/tmp/.toxenv + /tmp/venv-WrqI/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-WrqI/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-WrqI/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-WrqI/bin to PATH + PATH=/tmp/venv-WrqI/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-WrqI/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-WrqI/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-WrqI/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.1.0,asgiref==3.7.2,asn1crypto==1.5.1,attrs==23.1.0,boto3==1.33.9,botocore==1.33.9,cachetools==5.3.2,certifi==2023.11.17,charset-normalizer==3.3.2,click==8.1.7,connexion==3.0.4,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.25.1,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.32.0,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.32.0.post1,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=d59480849e40a2da2ba24e6123630322816ae4ed0a00af5aefab8e78500bba76 Stored in directory: /tmp/pip-ephem-wheel-cache-id2cv8hy/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=a1b4f9e42b7516a1722fdb11a65e3e3973a8c42721a5da99a365b5063b02c1a1 Stored in directory: /tmp/pip-ephem-wheel-cache-b9zi3vpz/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 72 3 96% 200, 212, 238 trainingmgr/common/trainingmgr_operations.py 88 11 88% 173-184 trainingmgr/common/trainingmgr_util.py 175 9 95% 119, 155, 234-235, 277-279, 282-283 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 746 175 77% 377-379, 416-418, 434-435, 444-457, 459-463, 470, 475, 540-542, 552, 604-606, 643, 648-681, 687-696, 699-701, 743, 753, 789-790, 823-836, 925-940, 952-953, 959, 963, 969-970, 1022, 1027-1028, 1075, 1078, 1086-1089, 1099-1100, 1209-1213, 1216-1217, 1603-1609, 1637-1689, 1692-1707 ---------------------------------------------------------------------------- TOTAL 1630 230 86% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 10% reached. Total coverage: 85.89% ======================== 191 passed, 1 warning in 2.41s ======================== code: commands[6]> coverage xml -i Wrote XML report to coverage.xml code: OK (31.13=setup[23.63]+cmd[1.34,0.35,0.23,1.18,1.19,2.97,0.24] seconds) congratulations :) (31.28 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 6145 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins14686137851525890411.sh ---> sysstat.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins7645832858326423017.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/jenkins6916586000017126447.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-45ud from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-45ud/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins18157744265105768050.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/config17171163968144677797tmp 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/jenkins7653758166650703493.sh ---> create-netrc.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins3534364822522454855.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-45ud from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-45ud/bin to PATH [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins17326318279801696229.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins7820869664924158700.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-45ud 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-45ud/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/jenkins17231708144897824112.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-45ud from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-45ud/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/110 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-1991 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/loop0 68M 68M 0 100% /snap/lxd/22753 /dev/loop1 62M 62M 0 100% /snap/core20/1405 /dev/vda15 105M 6.1M 99M 6% /boot/efi /dev/loop2 44M 44M 0 100% /snap/snapd/15177 tmpfs 199M 0 199M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 1983 395 141 2 1445 1404 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:0b:5c:32 brd ff:ff:ff:ff:ff:ff inet 10.32.7.63/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86185sec preferred_lft 86185sec inet6 fe80::f816:3eff:fe0b:5c32/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-1991) 12/08/23 _x86_64_ (2 CPU) 05:51:05 LINUX RESTART (2 CPU) 05:52:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:53:01 131.20 38.85 92.36 0.00 1481.08 15422.64 0.00 05:54:01 86.99 17.10 69.89 0.00 1111.81 16624.16 0.00 Average: 108.91 27.88 81.03 0.00 1294.88 16028.50 0.00 05:52:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:53:01 132540 1461448 331724 16.34 63524 1336824 805120 26.15 409772 1279592 48412 05:54:01 178424 1445008 346980 17.09 80952 1232328 822216 26.70 407788 1210448 22176 Average: 155482 1453228 339352 16.71 72238 1284576 813668 26.42 408780 1245020 35294 05:52:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:53:01 ens3 41.44 39.31 529.01 5.76 0.00 0.00 0.00 0.00 05:53:01 lo 0.68 0.68 0.06 0.06 0.00 0.00 0.00 0.00 05:54:01 ens3 47.96 44.64 588.05 14.66 0.00 0.00 0.00 0.00 05:54:01 lo 1.10 1.10 0.10 0.10 0.00 0.00 0.00 0.00 Average: ens3 44.73 42.00 558.78 10.25 0.00 0.00 0.00 0.00 Average: lo 0.89 0.89 0.08 0.08 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1991) 12/08/23 _x86_64_ (2 CPU) 05:51:05 LINUX RESTART (2 CPU) 05:52:02 CPU %user %nice %system %iowait %steal %idle 05:53:01 all 38.47 6.48 7.41 7.95 0.08 39.61 05:53:01 0 20.89 6.77 7.12 8.05 0.08 57.08 05:53:01 1 56.20 6.18 7.70 7.85 0.08 21.98 05:54:01 all 37.98 0.00 3.38 5.28 0.09 53.26 05:54:01 0 33.39 0.00 2.62 3.10 0.08 60.80 05:54:01 1 42.58 0.00 4.14 7.47 0.10 45.71 Average: all 38.22 3.21 5.38 6.61 0.09 46.50 Average: 0 27.19 3.36 4.86 5.56 0.08 58.95 Average: 1 49.32 3.06 5.90 7.66 0.09 33.97