Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/tm/+/12584 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-3780 (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-5xk93ekXXFDK/agent.1669 SSH_AGENT_PID=1671 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/private_key_14396875028158743591.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/84/12584/3 # timeout=10 > git rev-parse 1d1898a17f8a20325b1856c273e507bb600de87c^{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 1d1898a17f8a20325b1856c273e507bb600de87c (refs/changes/84/12584/3) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d1898a17f8a20325b1856c273e507bb600de87c # timeout=10 Commit message: "changes in the get_feature_group" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 0633320083467da712771b8b5b6f844214c01fe8 # 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/jenkins7980747562639910788.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-Lrwt 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-Lrwt/bin to PATH Generating Requirements File 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.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-Lrwt/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.56 botocore==1.34.56 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.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 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.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.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.5.0 python-openstackclient==6.0.1 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 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.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash -l /tmp/jenkins6205717257695974160.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-PITZ + 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= ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -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-PITZ + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PITZ' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PITZ + echo /tmp/venv-PITZ + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-PITZ/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-PITZ/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-PITZ/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-PITZ/bin to PATH + PATH=/tmp/venv-PITZ/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-PITZ/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.1 packaging==23.2 platformdirs==4.2.0 pluggy==1.4.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.14.0 urllib3==1.26.18 virtualenv==20.25.1 [aiml-fw-awmf-tm-tox-verify-all] $ /bin/sh -xe /tmp/jenkins17832404820218654114.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/jenkins5176971722866646774.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-xGVC + 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= ++ 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-PITZ + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-PITZ from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-PITZ from file:/tmp/.toxenv + /tmp/venv-PITZ/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-PITZ/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-PITZ/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-PITZ/bin to PATH + PATH=/tmp/venv-PITZ/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-PITZ/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-PITZ/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.0 from /tmp/venv-PITZ/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.3.0,asgiref==3.7.2,asn1crypto==1.5.1,attrs==23.2.0,boto3==1.34.56,botocore==1.34.56,cachetools==5.3.3,certifi==2024.2.2,charset-normalizer==3.3.2,click==8.1.7,connexion==3.0.6,coverage==7.4.3,decorator==5.1.1,exceptiongroup==1.2.0,Flask==2.2.5,Flask-API==3.1,Flask-Cors==4.0.0,google-auth==2.28.1,h11==0.14.0,httpcore==1.0.4,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==23.2,pandas==2.2.1,pg8000==1.30.5,pip==24.0,pluggy==1.4.0,pyasn1==0.5.1,pyasn1-modules==0.3.0,pytest==8.0.2,pytest-cov==4.1.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.33.0,requests==2.31.0,requests-oauthlib==1.3.1,rpds-py==0.18.0,rsa==4.9,s3transfer==0.10.0,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.10.0,tzdata==2024.1,urllib3==2.0.7,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=900a64445f5c417be50765af2e2b3b1a08a0ebe3f29ef56261fe6dcf68f9dcd8 Stored in directory: /tmp/pip-ephem-wheel-cache-gb2gt_pg/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=7ff1ab5bae6697b9f93021b41c8acbc52011d6ee305052934d39ace5d3b6fb72 Stored in directory: /tmp/pip-ephem-wheel-cache-f2bheeik/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%] ............F...................... [ 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%] =================================== FAILURES =================================== ________ Test_get_feature_group_by_name.test_get_feature_group_by_name _________ self = mock1 = @patch('trainingmgr.trainingmgr_main.get_feature_group_by_name_db', return_value=result) def test_get_feature_group_by_name(self, mock1): expected_data=b'{"featuregroup": [{"featuregroup_name": "testing", "features": "", "datalake": "InfluxSource", "dme": "", "host": "127.0.0.21", "measured_obj_class": "", "port": "8080", "dme_port": "", "bucket": "", "token": "", "source_name": "", "measurement": "", "db_org": ""}]}' fg_name='testing' response=self.client.get('/featureGroup/{}'.format(fg_name)) assert response.status_code == 200 , "status code is not equal" > assert response.data == expected_data E assert b'{"featuregr..._name": ""}]}' == b'{"featuregr...b_org": ""}]}' E E At index 96 diff: b'h' != b'd' E Use -v to get more diff tests/test_tm_apis.py:1184: AssertionError =============================== 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 176 9 95% 119, 155, 235-236, 278-280, 283-284 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, 149-152 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, 968-969, 975, 979, 985-986, 1038, 1043-1044, 1091, 1094, 1102-1105, 1115-1116, 1225-1229, 1232-1233, 1624-1630, 1658-1710, 1713-1728 ---------------------------------------------------------------------------- TOTAL 1646 205 88% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 10% reached. Total coverage: 87.55% =========================== short test summary info ============================ FAILED tests/test_tm_apis.py::Test_get_feature_group_by_name::test_get_feature_group_by_name =================== 1 failed, 196 passed, 1 warning in 3.49s =================== code: exit 1 (4.26 seconds) /w/workspace/aiml-fw-awmf-tm-tox-verify-all> 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 pid=2833 code: FAIL code 1 (37.26=setup[27.70]+cmd[1.72,0.64,0.26,1.35,1.33,4.26] seconds) evaluation failed :( (37.42 seconds) + tox_status=1 + 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 1 -eq 0 + exit 1 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1671 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins5996149417326774105.sh ---> sysstat.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins3104987245375531296.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + 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/jenkins1721016009914275040.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-Lrwt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Lrwt/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins7202512202739027750.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-tm-tox-verify-all@tmp/config14435673629065882409tmp 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/jenkins13791118234776193714.sh ---> create-netrc.sh [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins5335573163455511255.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-Lrwt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Lrwt/bin to PATH [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins14758408673920713814.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-awmf-tm-tox-verify-all] $ /bin/bash /tmp/jenkins3142279623006257035.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-Lrwt 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-Lrwt/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/jenkins13668296849456509272.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-Lrwt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Lrwt/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/123 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-3780 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.870 BogoMIPS: 5599.74 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 318 102 0 1571 1495 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:cd:c1:62 brd ff:ff:ff:ff:ff:ff inet 10.32.7.103/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86198sec preferred_lft 86198sec inet6 fe80::f816:3eff:fecd:c162/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-3780) 03/06/24 _x86_64_ (2 CPU) 10:56:52 LINUX RESTART (2 CPU) 10:57:01 tps rtps wtps bread/s bwrtn/s 10:58:01 181.95 84.78 97.17 5544.70 31112.46 10:59:01 99.37 17.81 81.56 1344.09 13813.00 11:00:01 103.72 47.39 56.32 2132.84 11468.49 Average: 128.35 50.00 78.35 3007.54 18799.76 10:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:58:01 203968 1570448 1836664 90.00 46452 1411028 525792 17.02 378468 1319612 89696 10:59:01 77980 1451948 1962652 96.18 62716 1400532 696392 22.54 505352 1313648 139060 11:00:01 134656 1541252 1905976 93.40 76028 1412424 543060 17.58 424460 1324616 32420 Average: 138868 1521216 1901764 93.19 61732 1407995 588415 19.05 436093 1319292 87059 10:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:58:01 ens3 363.84 226.22 1359.67 64.65 0.00 0.00 0.00 0.00 10:58:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 10:59:01 ens3 71.13 65.38 904.83 10.24 0.00 0.00 0.00 0.00 10:59:01 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 11:00:01 ens3 19.88 21.21 15.20 12.81 0.00 0.00 0.00 0.00 11:00:01 lo 1.30 1.30 0.12 0.12 0.00 0.00 0.00 0.00 Average: ens3 151.65 104.29 760.00 29.24 0.00 0.00 0.00 0.00 Average: lo 1.10 1.10 0.10 0.10 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3780) 03/06/24 _x86_64_ (2 CPU) 10:56:52 LINUX RESTART (2 CPU) 10:57:01 CPU %user %nice %system %iowait %steal %idle 10:58:01 all 39.06 0.00 4.67 8.62 0.10 47.55 10:58:01 0 26.80 0.00 4.12 4.79 0.10 64.20 10:58:01 1 51.37 0.00 5.21 12.49 0.10 30.83 10:59:01 all 41.33 0.00 2.94 5.48 0.09 50.15 10:59:01 0 35.34 0.00 2.65 3.20 0.10 58.72 10:59:01 1 47.30 0.00 3.27 7.75 0.08 41.59 11:00:01 all 41.02 0.00 2.23 4.47 0.09 52.19 11:00:01 0 33.78 0.00 2.31 6.25 0.08 57.58 11:00:01 1 48.26 0.00 2.14 2.67 0.08 46.84 Average: all 40.47 0.00 3.29 6.19 0.09 49.96 Average: 0 31.96 0.00 3.03 4.74 0.09 60.17 Average: 1 48.98 0.00 3.54 7.64 0.09 39.75