04:28:30 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/tm/+/12232 04:28:30 Running as SYSTEM 04:28:30 [EnvInject] - Loading node environment variables. 04:28:30 Building remotely on prd-ubuntu1804-builder-2c-2g-37 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/aiml-fw-awmf-tm-tox-sonarqube 04:28:30 [ssh-agent] Looking for ssh-agent implementation... 04:28:30 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:30 $ ssh-agent 04:28:30 SSH_AUTH_SOCK=/tmp/ssh-p3QzkJDspGp8/agent.5962 04:28:30 SSH_AGENT_PID=5964 04:28:30 [ssh-agent] Started. 04:28:30 Running ssh-add (command line suppressed) 04:28:31 Identity added: /w/workspace/aiml-fw-awmf-tm-tox-sonarqube@tmp/private_key_5842514715348520453.key (jenkins-ssh) 04:28:31 [ssh-agent] Using credentials jenkins (jenkins) 04:28:31 The recommended git tool is: NONE 04:28:33 using credential jenkins 04:28:33 Wiping out workspace first. 04:28:33 Cloning the remote Git repository 04:28:33 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm 04:28:33 > git init /w/workspace/aiml-fw-awmf-tm-tox-sonarqube # timeout=10 04:28:33 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm 04:28:33 > git --version # timeout=10 04:28:33 > git --version # 'git version 2.25.1' 04:28:33 using GIT_SSH to set credentials jenkins 04:28:33 > 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 04:28:34 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm # timeout=10 04:28:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:28:34 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm # timeout=10 04:28:34 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm 04:28:34 using GIT_SSH to set credentials jenkins 04:28:34 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm refs/changes/32/12232/1 # timeout=10 04:28:34 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 04:28:35 Checking out Revision 9bf111e7cb9b95ae1e67f7c5bdb67cf65ff24d23 (refs/remotes/origin/master) 04:28:35 > git config core.sparsecheckout # timeout=10 04:28:35 > git checkout -f 9bf111e7cb9b95ae1e67f7c5bdb67cf65ff24d23 # timeout=10 04:28:35 Commit message: "adding test cases for upload model to mme" 04:28:35 > git rev-list --no-walk 9490255ee80fdf933eccc7688a9526dbc051d9a3 # timeout=10 04:28:35 provisioning config files... 04:28:35 copy managed file [npmrc] to file:/home/jenkins/.npmrc 04:28:35 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 04:28:35 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5077426912236403426.sh 04:28:35 ---> python-tools-install.sh 04:28:35 Setup pyenv: 04:28:35 * system (set by /opt/pyenv/version) 04:28:35 * 3.8.13 (set by /opt/pyenv/version) 04:28:35 * 3.9.13 (set by /opt/pyenv/version) 04:28:35 * 3.10.6 (set by /opt/pyenv/version) 04:28:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dp79 04:28:41 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 04:28:45 lf-activate-venv(): INFO: Installing: lftools 04:29:25 lf-activate-venv(): INFO: Adding /tmp/venv-Dp79/bin to PATH 04:29:25 Generating Requirements File 04:30:01 Python 3.10.6 04:30:01 pip 23.3.1 from /tmp/venv-Dp79/lib/python3.10/site-packages/pip (python 3.10) 04:30:02 appdirs==1.4.4 04:30:02 argcomplete==3.2.1 04:30:02 aspy.yaml==1.3.0 04:30:02 attrs==23.1.0 04:30:02 autopage==0.5.2 04:30:02 Babel==2.13.1 04:30:02 beautifulsoup4==4.12.2 04:30:02 boto3==1.33.11 04:30:02 botocore==1.33.11 04:30:02 bs4==0.0.1 04:30:02 cachetools==5.3.2 04:30:02 certifi==2023.11.17 04:30:02 cffi==1.16.0 04:30:02 cfgv==3.4.0 04:30:02 chardet==5.2.0 04:30:02 charset-normalizer==3.3.2 04:30:02 click==8.1.7 04:30:02 cliff==4.4.0 04:30:02 cmd2==2.4.3 04:30:02 cryptography==3.3.2 04:30:02 debtcollector==2.5.0 04:30:02 decorator==5.1.1 04:30:02 defusedxml==0.7.1 04:30:02 Deprecated==1.2.14 04:30:02 distlib==0.3.7 04:30:02 dnspython==2.4.2 04:30:02 docker==4.2.2 04:30:02 dogpile.cache==1.2.2 04:30:02 email-validator==2.1.0.post1 04:30:02 filelock==3.13.1 04:30:02 future==0.18.3 04:30:02 gitdb==4.0.11 04:30:02 GitPython==3.1.40 04:30:02 google-auth==2.25.2 04:30:02 httplib2==0.22.0 04:30:02 identify==2.5.33 04:30:02 idna==3.6 04:30:02 importlib-metadata==7.0.0 04:30:02 importlib-resources==1.5.0 04:30:02 iso8601==2.1.0 04:30:02 Jinja2==3.1.2 04:30:02 jmespath==1.0.1 04:30:02 jsonpatch==1.33 04:30:02 jsonpointer==2.4 04:30:02 jsonschema==4.20.0 04:30:02 jsonschema-specifications==2023.11.2 04:30:02 keystoneauth1==5.4.0 04:30:02 kubernetes==28.1.0 04:30:02 lftools==0.37.8 04:30:02 lxml==4.9.3 04:30:02 MarkupSafe==2.1.3 04:30:02 msgpack==1.0.7 04:30:02 multi-key-dict==2.0.3 04:30:02 munch==4.0.0 04:30:02 netaddr==0.9.0 04:30:02 netifaces==0.11.0 04:30:02 niet==1.4.2 04:30:02 nodeenv==1.8.0 04:30:02 oauth2client==4.1.3 04:30:02 oauthlib==3.2.2 04:30:02 openstacksdk==0.62.0 04:30:02 os-client-config==2.1.0 04:30:02 os-service-types==1.7.0 04:30:02 osc-lib==2.9.0 04:30:02 oslo.config==9.2.0 04:30:02 oslo.context==5.3.0 04:30:02 oslo.i18n==6.2.0 04:30:02 oslo.log==5.4.0 04:30:02 oslo.serialization==5.2.0 04:30:02 oslo.utils==6.3.0 04:30:02 packaging==23.2 04:30:02 pbr==6.0.0 04:30:02 platformdirs==4.1.0 04:30:02 prettytable==3.9.0 04:30:02 pyasn1==0.5.1 04:30:02 pyasn1-modules==0.3.0 04:30:02 pycparser==2.21 04:30:02 pygerrit2==2.0.15 04:30:02 PyGithub==2.1.1 04:30:02 pyinotify==0.9.6 04:30:02 PyJWT==2.8.0 04:30:02 PyNaCl==1.5.0 04:30:02 pyparsing==2.4.7 04:30:02 pyperclip==1.8.2 04:30:02 pyrsistent==0.20.0 04:30:02 python-cinderclient==9.4.0 04:30:02 python-dateutil==2.8.2 04:30:02 python-heatclient==3.3.0 04:30:02 python-jenkins==1.8.2 04:30:02 python-keystoneclient==5.2.0 04:30:02 python-magnumclient==4.3.0 04:30:02 python-novaclient==18.4.0 04:30:02 python-openstackclient==6.0.0 04:30:02 python-swiftclient==4.4.0 04:30:02 pytz==2023.3.post1 04:30:02 PyYAML==6.0.1 04:30:02 referencing==0.32.0 04:30:02 requests==2.31.0 04:30:02 requests-oauthlib==1.3.1 04:30:02 requestsexceptions==1.4.0 04:30:02 rfc3986==2.0.0 04:30:02 rpds-py==0.13.2 04:30:02 rsa==4.9 04:30:02 ruamel.yaml==0.18.5 04:30:02 ruamel.yaml.clib==0.2.8 04:30:02 s3transfer==0.8.2 04:30:02 simplejson==3.19.2 04:30:02 six==1.16.0 04:30:02 smmap==5.0.1 04:30:02 soupsieve==2.5 04:30:02 stevedore==5.1.0 04:30:02 tabulate==0.9.0 04:30:02 toml==0.10.2 04:30:02 tomlkit==0.12.3 04:30:02 tqdm==4.66.1 04:30:02 typing_extensions==4.9.0 04:30:02 tzdata==2023.3 04:30:02 urllib3==1.26.18 04:30:02 virtualenv==20.25.0 04:30:02 wcwidth==0.2.12 04:30:02 websocket-client==1.7.0 04:30:02 wrapt==1.16.0 04:30:02 xdg==6.0.0 04:30:02 xmltodict==0.13.0 04:30:02 yq==3.2.3 04:30:02 zipp==3.17.0 04:30:02 [EnvInject] - Injecting environment variables from a build step. 04:30:02 [EnvInject] - Injecting as environment variables the properties content 04:30:02 PYTHON=python3 04:30:02 04:30:02 [EnvInject] - Variables injected successfully. 04:30:02 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17932610805214816243.sh 04:30:02 ---> tox-install.sh 04:30:02 + source /home/jenkins/lf-env.sh 04:30:02 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 04:30:02 ++ mktemp -d /tmp/venv-XXXX 04:30:02 + lf_venv=/tmp/venv-MsuO 04:30:02 + local venv_file=/tmp/.os_lf_venv 04:30:02 + local python=python3 04:30:02 + local options 04:30:02 + local set_path=true 04:30:02 + local install_args= 04:30:02 ++ 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 04:30:02 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 04:30:02 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 04:30:02 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 04:30:02 + true 04:30:02 + case $1 in 04:30:02 + venv_file=/tmp/.toxenv 04:30:02 + shift 2 04:30:02 + true 04:30:02 + case $1 in 04:30:02 + shift 04:30:02 + break 04:30:02 + case $python in 04:30:02 + local pkg_list= 04:30:02 + [[ -d /opt/pyenv ]] 04:30:02 + echo 'Setup pyenv:' 04:30:02 Setup pyenv: 04:30:02 + export PYENV_ROOT=/opt/pyenv 04:30:02 + PYENV_ROOT=/opt/pyenv 04:30:02 + 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 04:30:02 + 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 04:30:02 + pyenv versions 04:30:02 system 04:30:02 3.8.13 04:30:02 3.9.13 04:30:02 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 04:30:02 + command -v pyenv 04:30:02 ++ pyenv init - --no-rehash 04:30:02 + 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[*]}"'\'')" 04:30:02 export PATH="/opt/pyenv/shims:${PATH}" 04:30:02 export PYENV_SHELL=bash 04:30:02 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 04:30:02 pyenv() { 04:30:02 local command 04:30:02 command="${1:-}" 04:30:02 if [ "$#" -gt 0 ]; then 04:30:02 shift 04:30:02 fi 04:30:02 04:30:02 case "$command" in 04:30:02 rehash|shell) 04:30:02 eval "$(pyenv "sh-$command" "$@")" 04:30:02 ;; 04:30:02 *) 04:30:02 command pyenv "$command" "$@" 04:30:02 ;; 04:30:02 esac 04:30:02 }' 04:30:02 +++ 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[*]}"' 04:30:02 ++ 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 04:30:02 ++ 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 04:30:02 ++ 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 04:30:02 ++ export PYENV_SHELL=bash 04:30:02 ++ PYENV_SHELL=bash 04:30:02 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 04:30:02 +++ complete -F _pyenv pyenv 04:30:02 ++ lf-pyver python3 04:30:02 ++ local py_version_xy=python3 04:30:02 ++ local py_version_xyz= 04:30:02 ++ grep -E '^[0-9.]*[0-9]$' 04:30:02 ++ pyenv versions 04:30:02 ++ local command 04:30:02 ++ command=versions 04:30:02 ++ '[' 1 -gt 0 ']' 04:30:02 ++ shift 04:30:02 ++ case "$command" in 04:30:02 ++ command pyenv versions 04:30:02 ++ pyenv versions 04:30:02 ++ sed 's/^[ *]* //' 04:30:02 ++ awk '{ print $1 }' 04:30:02 ++ [[ ! -s /tmp/.pyenv_versions ]] 04:30:02 +++ tail -n 1 04:30:02 +++ sort -V 04:30:02 +++ grep '^3' /tmp/.pyenv_versions 04:30:02 ++ py_version_xyz=3.10.6 04:30:02 ++ [[ -z 3.10.6 ]] 04:30:02 ++ echo 3.10.6 04:30:02 ++ return 0 04:30:02 + pyenv local 3.10.6 04:30:02 + local command 04:30:02 + command=local 04:30:02 + '[' 2 -gt 0 ']' 04:30:02 + shift 04:30:02 + case "$command" in 04:30:02 + command pyenv local 3.10.6 04:30:02 + pyenv local 3.10.6 04:30:02 + for arg in "$@" 04:30:02 + case $arg in 04:30:02 + pkg_list+='tox ' 04:30:02 + for arg in "$@" 04:30:02 + case $arg in 04:30:02 + pkg_list+='virtualenv ' 04:30:02 + for arg in "$@" 04:30:02 + case $arg in 04:30:02 + pkg_list+='urllib3~=1.26.15 ' 04:30:02 + [[ -f /tmp/.toxenv ]] 04:30:02 + [[ ! -f /tmp/.toxenv ]] 04:30:02 + [[ -n '' ]] 04:30:02 + python3 -m venv /tmp/venv-MsuO 04:30:06 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MsuO' 04:30:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MsuO 04:30:06 + echo /tmp/venv-MsuO 04:30:06 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 04:30:06 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 04:30:06 + /tmp/venv-MsuO/bin/python3 -m pip install --upgrade --quiet pip virtualenv 04:30:09 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 04:30:09 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 04:30:09 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 04:30:09 + /tmp/venv-MsuO/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 04:30:11 + type python3 04:30:11 + true 04:30:11 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-MsuO/bin to PATH' 04:30:11 lf-activate-venv(): INFO: Adding /tmp/venv-MsuO/bin to PATH 04:30:11 + PATH=/tmp/venv-MsuO/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 04:30:11 + return 0 04:30:11 + python3 --version 04:30:11 Python 3.10.6 04:30:11 + python3 -m pip --version 04:30:12 pip 23.3.1 from /tmp/venv-MsuO/lib/python3.10/site-packages/pip (python 3.10) 04:30:12 + python3 -m pip freeze 04:30:12 cachetools==5.3.2 04:30:12 chardet==5.2.0 04:30:12 colorama==0.4.6 04:30:12 distlib==0.3.7 04:30:12 filelock==3.13.1 04:30:12 packaging==23.2 04:30:12 platformdirs==4.1.0 04:30:12 pluggy==1.3.0 04:30:12 pyproject-api==1.6.1 04:30:12 tomli==2.0.1 04:30:12 tox==4.11.4 04:30:12 urllib3==1.26.18 04:30:12 virtualenv==20.25.0 04:30:12 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins17261931165146858568.sh 04:30:12 [EnvInject] - Injecting environment variables from a build step. 04:30:12 [EnvInject] - Injecting as environment variables the properties content 04:30:12 PARALLEL=False 04:30:12 04:30:12 [EnvInject] - Variables injected successfully. 04:30:12 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15363362308642926689.sh 04:30:12 ---> tox-run.sh 04:30:12 + 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 04:30:12 + ARCHIVE_TOX_DIR=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox 04:30:12 + ARCHIVE_DOC_DIR=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/docs 04:30:12 + mkdir -p /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox 04:30:12 + cd /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/. 04:30:12 + source /home/jenkins/lf-env.sh 04:30:12 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 04:30:12 ++ mktemp -d /tmp/venv-XXXX 04:30:12 + lf_venv=/tmp/venv-aziT 04:30:12 + local venv_file=/tmp/.os_lf_venv 04:30:12 + local python=python3 04:30:12 + local options 04:30:12 + local set_path=true 04:30:12 + local install_args= 04:30:12 ++ 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 04:30:12 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 04:30:12 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 04:30:12 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 04:30:12 + true 04:30:12 + case $1 in 04:30:12 + venv_file=/tmp/.toxenv 04:30:12 + shift 2 04:30:12 + true 04:30:12 + case $1 in 04:30:12 + shift 04:30:12 + break 04:30:12 + case $python in 04:30:12 + local pkg_list= 04:30:12 + [[ -d /opt/pyenv ]] 04:30:12 + echo 'Setup pyenv:' 04:30:12 Setup pyenv: 04:30:12 + export PYENV_ROOT=/opt/pyenv 04:30:12 + PYENV_ROOT=/opt/pyenv 04:30:12 + 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 04:30:12 + 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 04:30:12 + pyenv versions 04:30:12 system 04:30:12 3.8.13 04:30:12 3.9.13 04:30:12 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 04:30:12 + command -v pyenv 04:30:12 ++ pyenv init - --no-rehash 04:30:12 + 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[*]}"'\'')" 04:30:12 export PATH="/opt/pyenv/shims:${PATH}" 04:30:12 export PYENV_SHELL=bash 04:30:12 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 04:30:12 pyenv() { 04:30:12 local command 04:30:12 command="${1:-}" 04:30:12 if [ "$#" -gt 0 ]; then 04:30:12 shift 04:30:12 fi 04:30:12 04:30:12 case "$command" in 04:30:12 rehash|shell) 04:30:12 eval "$(pyenv "sh-$command" "$@")" 04:30:12 ;; 04:30:12 *) 04:30:12 command pyenv "$command" "$@" 04:30:12 ;; 04:30:12 esac 04:30:12 }' 04:30:12 +++ 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[*]}"' 04:30:12 ++ 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 04:30:12 ++ 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 04:30:12 ++ 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 04:30:12 ++ export PYENV_SHELL=bash 04:30:12 ++ PYENV_SHELL=bash 04:30:12 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 04:30:12 +++ complete -F _pyenv pyenv 04:30:12 ++ lf-pyver python3 04:30:12 ++ local py_version_xy=python3 04:30:12 ++ local py_version_xyz= 04:30:12 ++ grep -E '^[0-9.]*[0-9]$' 04:30:12 ++ pyenv versions 04:30:12 ++ local command 04:30:12 ++ command=versions 04:30:12 ++ '[' 1 -gt 0 ']' 04:30:12 ++ shift 04:30:12 ++ case "$command" in 04:30:12 ++ command pyenv versions 04:30:12 ++ pyenv versions 04:30:12 ++ awk '{ print $1 }' 04:30:12 ++ sed 's/^[ *]* //' 04:30:12 ++ [[ ! -s /tmp/.pyenv_versions ]] 04:30:12 +++ grep '^3' /tmp/.pyenv_versions 04:30:12 +++ tail -n 1 04:30:12 +++ sort -V 04:30:12 ++ py_version_xyz=3.10.6 04:30:12 ++ [[ -z 3.10.6 ]] 04:30:12 ++ echo 3.10.6 04:30:12 ++ return 0 04:30:12 + pyenv local 3.10.6 04:30:12 + local command 04:30:12 + command=local 04:30:12 + '[' 2 -gt 0 ']' 04:30:12 + shift 04:30:12 + case "$command" in 04:30:12 + command pyenv local 3.10.6 04:30:12 + pyenv local 3.10.6 04:30:12 + for arg in "$@" 04:30:12 + case $arg in 04:30:12 + pkg_list+='tox ' 04:30:12 + for arg in "$@" 04:30:12 + case $arg in 04:30:12 + pkg_list+='virtualenv ' 04:30:12 + for arg in "$@" 04:30:12 + case $arg in 04:30:12 + pkg_list+='urllib3~=1.26.15 ' 04:30:12 + [[ -f /tmp/.toxenv ]] 04:30:12 ++ cat /tmp/.toxenv 04:30:12 + lf_venv=/tmp/venv-MsuO 04:30:12 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MsuO from' file:/tmp/.toxenv 04:30:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MsuO from file:/tmp/.toxenv 04:30:12 + /tmp/venv-MsuO/bin/python3 -m pip install --upgrade --quiet pip virtualenv 04:30:13 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 04:30:13 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 04:30:13 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 04:30:13 + /tmp/venv-MsuO/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 04:30:15 + type python3 04:30:15 + true 04:30:15 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-MsuO/bin to PATH' 04:30:15 lf-activate-venv(): INFO: Adding /tmp/venv-MsuO/bin to PATH 04:30:15 + PATH=/tmp/venv-MsuO/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 04:30:15 + return 0 04:30:15 + [[ -d /opt/pyenv ]] 04:30:15 + echo '---> Setting up pyenv' 04:30:15 ---> Setting up pyenv 04:30:15 + export PYENV_ROOT=/opt/pyenv 04:30:15 + PYENV_ROOT=/opt/pyenv 04:30:15 + export PATH=/opt/pyenv/bin:/tmp/venv-MsuO/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 04:30:15 + PATH=/opt/pyenv/bin:/tmp/venv-MsuO/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 04:30:15 ++ pwd 04:30:15 + PYTHONPATH=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube 04:30:15 + export PYTHONPATH 04:30:15 + export TOX_TESTENV_PASSENV=PYTHONPATH 04:30:15 + TOX_TESTENV_PASSENV=PYTHONPATH 04:30:15 + tox --version 04:30:15 4.11.4 from /tmp/venv-MsuO/lib/python3.10/site-packages/tox/__init__.py 04:30:15 + PARALLEL=False 04:30:15 + TOX_OPTIONS_LIST= 04:30:15 + [[ -n '' ]] 04:30:15 + case ${PARALLEL,,} in 04:30:15 + tee -a /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/tox.log 04:30:15 + tox 04:30:17 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 04:30:40 code: freeze> python -m pip freeze --all 04:30:40 code: anyio==4.1.0,asgiref==3.7.2,asn1crypto==1.5.1,attrs==23.1.0,boto3==1.33.11,botocore==1.33.11,cachetools==5.3.2,certifi==2023.11.17,charset-normalizer==3.3.2,click==8.1.7,connexion==3.0.5,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.2,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.9.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 04:30:40 code: commands[0]> pip3 install -e /w/workspace/aiml-fw-awmf-tm-tox-sonarqube 04:30:41 Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple 04:30:41 Obtaining file:///w/workspace/aiml-fw-awmf-tm-tox-sonarqube 04:30:41 Preparing metadata (setup.py): started 04:30:41 Preparing metadata (setup.py): finished with status 'done' 04:30:41 Installing collected packages: trainingmgr 04:30:41 Running setup.py develop for trainingmgr 04:30:41 Successfully installed trainingmgr-0.1 04:30:41 code: commands[1]> git clone https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store /tmp/fssdk/ 04:30:41 Cloning into '/tmp/fssdk'... 04:30:42 code: commands[2]> git clone https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage /tmp/modelsdk/ 04:30:42 Cloning into '/tmp/modelsdk'... 04:30:42 code: commands[3]> pip3 install /tmp/fssdk/. 04:30:42 Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple 04:30:42 Processing /tmp/fssdk 04:30:42 Preparing metadata (setup.py): started 04:30:43 Preparing metadata (setup.py): finished with status 'done' 04:30:43 Building wheels for collected packages: featurestoresdk 04:30:43 Building wheel for featurestoresdk (setup.py): started 04:30:43 Building wheel for featurestoresdk (setup.py): finished with status 'done' 04:30:43 Created wheel for featurestoresdk: filename=featurestoresdk-0.1-py3-none-any.whl size=6071 sha256=98d2850c7136d3eae8a08ce9ef9ddf56fd9f0b3ab63c3963ed83ca85d4e5b6e2 04:30:43 Stored in directory: /tmp/pip-ephem-wheel-cache-kd9r_q8p/wheels/8d/a9/30/4c49f9abbafe9b05df4e75a91bfaee41195fef7159433cf342 04:30:43 Successfully built featurestoresdk 04:30:43 Installing collected packages: featurestoresdk 04:30:43 Successfully installed featurestoresdk-0.1 04:30:43 code: commands[4]> pip3 install /tmp/modelsdk/. 04:30:44 Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple 04:30:44 Processing /tmp/modelsdk 04:30:44 Preparing metadata (setup.py): started 04:30:44 Preparing metadata (setup.py): finished with status 'done' 04:30:44 Building wheels for collected packages: modelmetricsdk 04:30:44 Building wheel for modelmetricsdk (setup.py): started 04:30:44 Building wheel for modelmetricsdk (setup.py): finished with status 'done' 04:30:44 Created wheel for modelmetricsdk: filename=modelmetricsdk-0.1-py3-none-any.whl size=7318 sha256=6fbeee535e9c621e3d19497644ea6d60a8f507b4b75c92ae123535757612fe23 04:30:44 Stored in directory: /tmp/pip-ephem-wheel-cache-azhjnmk8/wheels/5c/a4/04/ebfb7bc8055535741ed0ecb628051efe1dbaa3fe0cf72522ce 04:30:44 Successfully built modelmetricsdk 04:30:44 Installing collected packages: modelmetricsdk 04:30:44 Successfully installed modelmetricsdk-0.1 04:30:44 code: commands[5]> pytest --cov /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/trainingmgr --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=10 --junitxml=/tmp/tests.xml 04:30:46 collected 197 items 04:30:46 04:30:46 tests/test_common_db_fun.py ............................................ [ 22%] 04:30:46 ..... [ 24%] 04:30:47 tests/test_tm_apis.py .................................................. [ 50%] 04:30:47 ................................... [ 68%] 04:30:47 tests/test_tmgr_logger.py ... [ 69%] 04:30:47 tests/test_trainingmgr_config.py .............. [ 76%] 04:30:47 tests/test_trainingmgr_operations.py ........FF [ 81%] 04:30:47 tests/test_trainingmgr_ps_db.py ... [ 83%] 04:30:47 tests/test_trainingmgr_util.py ................................. [100%] 04:30:48 04:30:48 =================================== FAILURES =================================== 04:30:48 ___________________ Test_get_model_info.test_get_model_info ____________________ 04:30:48 04:30:48 self = 04:30:48 mock_requests_get = 04:30:48 04:30:48 @patch('trainingmgr.common.trainingmgr_operations.requests.get') 04:30:48 def test_get_model_info(self,mock_requests_get): 04:30:48 training_config_obj = DummyVariable() 04:30:48 model_name="abc" 04:30:48 mock_response=MagicMock(spec=Response) 04:30:48 mock_response.status_code=200 04:30:48 mock_response.json.return_value={'message':'{"abc":"bca"}'} 04:30:48 mock_requests_get.return_value= mock_response 04:30:48 > model_info=trainingmgr_operations.get_model_info(training_config_obj, model_name) 04:30:48 04:30:48 tests/test_trainingmgr_operations.py:202: 04:30:48 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 04:30:48 04:30:48 training_config_obj = 04:30:48 model_name = 'abc' 04:30:48 04:30:48 def get_model_info(training_config_obj, model_name): 04:30:48 logger = training_config_obj.logger 04:30:48 > model_management_service_ip = training_config_obj.model_management_service_ip 04:30:48 E AttributeError: 'DummyVariable' object has no attribute 'model_management_service_ip' 04:30:48 04:30:48 trainingmgr/common/trainingmgr_operations.py:174: AttributeError 04:30:48 _______________ Test_get_model_info.test_negative_get_model_info _______________ 04:30:48 04:30:48 self = 04:30:48 mock_requests_get = 04:30:48 04:30:48 @patch('trainingmgr.common.trainingmgr_operations.requests.get') 04:30:48 def test_negative_get_model_info(self,mock_requests_get): 04:30:48 training_config_obj = DummyVariable() 04:30:48 model_name="abc" 04:30:48 mock_response=MagicMock(spec=Response) 04:30:48 mock_response.status_code=500 04:30:48 mock_response.json.return_value={'message':'{"abc":"bca"}'} 04:30:48 mock_requests_get.return_value= mock_response 04:30:48 try: 04:30:48 > model_info=trainingmgr_operations.get_model_info(training_config_obj, model_name) 04:30:48 04:30:48 tests/test_trainingmgr_operations.py:215: 04:30:48 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 04:30:48 04:30:48 training_config_obj = 04:30:48 model_name = 'abc' 04:30:48 04:30:48 def get_model_info(training_config_obj, model_name): 04:30:48 logger = training_config_obj.logger 04:30:48 > model_management_service_ip = training_config_obj.model_management_service_ip 04:30:48 E AttributeError: 'DummyVariable' object has no attribute 'model_management_service_ip' 04:30:48 04:30:48 trainingmgr/common/trainingmgr_operations.py:174: AttributeError 04:30:48 =============================== warnings summary =============================== 04:30:48 .tox/code/lib/python3.8/site-packages/flask_api/renderers.py:5 04:30:48 /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.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. 04:30:48 from flask.globals import _request_ctx_stack 04:30:48 04:30:48 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 04:30:48 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 04:30:48 04:30:48 ---------- coverage: platform linux, python 3.8.10-final-0 ----------- 04:30:48 Name Stmts Miss Cover Missing 04:30:48 ---------------------------------------------------------------------------- 04:30:48 trainingmgr/__init__.py 0 0 100% 04:30:48 trainingmgr/common/__init__.py 0 0 100% 04:30:48 trainingmgr/common/exceptions_utls.py 13 0 100% 04:30:48 trainingmgr/common/tmgr_logger.py 21 0 100% 04:30:48 trainingmgr/common/trainingmgr_config.py 72 3 96% 200, 212, 238 04:30:48 trainingmgr/common/trainingmgr_operations.py 88 9 90% 175-184 04:30:48 trainingmgr/common/trainingmgr_util.py 175 9 95% 119, 155, 234-235, 277-279, 282-283 04:30:48 trainingmgr/constants/__init__.py 0 0 100% 04:30:48 trainingmgr/constants/states.py 7 0 100% 04:30:48 trainingmgr/constants/steps.py 8 0 100% 04:30:48 trainingmgr/db/__init__.py 0 0 100% 04:30:48 trainingmgr/db/common_db_fun.py 427 10 98% 505-523, 552-555 04:30:48 trainingmgr/db/trainingmgr_ps_db.py 73 22 70% 46-48, 56, 61-64, 77-79, 110-113, 126-128, 148-151 04:30:48 trainingmgr/trainingmgr_main.py 759 159 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, 1619-1625, 1653-1705, 1708-1723 04:30:48 ---------------------------------------------------------------------------- 04:30:48 TOTAL 1643 212 87% 04:30:48 Coverage HTML written to dir htmlcov 04:30:48 Coverage XML written to file coverage.xml 04:30:48 04:30:48 Required test coverage of 10% reached. Total coverage: 87.10% 04:30:48 =========================== short test summary info ============================ 04:30:48 FAILED tests/test_trainingmgr_operations.py::Test_get_model_info::test_get_model_info 04:30:48 FAILED tests/test_trainingmgr_operations.py::Test_get_model_info::test_negative_get_model_info 04:30:48 =================== 2 failed, 195 passed, 1 warning in 2.61s =================== 04:30:48 code: exit 1 (3.30 seconds) /w/workspace/aiml-fw-awmf-tm-tox-sonarqube> pytest --cov /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/trainingmgr --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=10 --junitxml=/tmp/tests.xml pid=27905 04:30:48 code: FAIL ✖ in 32.4 seconds 04:30:48 docs: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' 04:31:23 docs: freeze> python -m pip freeze --all 04:31:23 docs: alabaster==0.7.13,attrs==23.1.0,Babel==2.13.1,blockdiag==3.0.0,certifi==2023.11.17,charset-normalizer==3.3.2,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,docutils==0.18.1,fonttools==4.46.0,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.2,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.3,matplotlib==3.8.2,numpy==1.26.2,nwdiag==3.0.0,packaging==23.2,Pillow==10.1.0,pip==23.3.1,Pygments==2.17.2,pyparsing==3.1.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.2.6,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.4,sphinxcontrib-applehelp==1.0.7,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.5,sphinxcontrib-htmlhelp==2.0.4,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.6,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.9,sphinxcontrib-swaggerdoc==0.1.7,urllib3==1.26.18,webcolors==1.13,wheel==0.42.0 04:31:23 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/docs/_build/html 04:31:23 Running Sphinx v7.2.6 04:31:23 making output directory... done 04:31:23 loading intersphinx inventory from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... 04:31:24 building [mo]: targets for 0 po files that are out of date 04:31:24 writing output... 04:31:24 building [html]: targets for 4 source files that are out of date 04:31:24 updating environment: [new config] 4 added, 0 changed, 0 removed 04:31:24 reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes 04:31:24 looking for now-outdated files... none found 04:31:24 pickling environment... done 04:31:24 checking consistency... done 04:31:24 preparing documents... done 04:31:24 copying assets... copying static files... done 04:31:24 copying extra files... done 04:31:24 done 04:31:24 writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes 04:31:24 generating indices... genindex done 04:31:24 highlighting module code... 04:31:24 writing additional pages... search done 04:31:24 dumping search index in English (code: en)... done 04:31:24 dumping object inventory... done 04:31:24 build succeeded. 04:31:24 04:31:24 The HTML pages are in docs/_build/html. 04:31:24 docs: commands[1]> echo 'Generated docs available in /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/docs/_build/html' 04:31:24 Generated docs available in /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/docs/_build/html 04:31:24 docs: OK ✔ in 36.17 seconds 04:31:24 docs-linkcheck: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' 04:31:42 docs-linkcheck: freeze> python -m pip freeze --all 04:31:43 docs-linkcheck: alabaster==0.7.13,attrs==23.1.0,Babel==2.13.1,blockdiag==3.0.0,certifi==2023.11.17,charset-normalizer==3.3.2,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,docutils==0.18.1,fonttools==4.46.0,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.2,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.3,matplotlib==3.8.2,numpy==1.26.2,nwdiag==3.0.0,packaging==23.2,Pillow==10.1.0,pip==23.3.1,Pygments==2.17.2,pyparsing==3.1.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.2.6,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.4,sphinxcontrib-applehelp==1.0.7,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.5,sphinxcontrib-htmlhelp==2.0.4,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.6,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.9,sphinxcontrib-swaggerdoc==0.1.7,urllib3==1.26.18,webcolors==1.13,wheel==0.42.0 04:31:43 docs-linkcheck: commands[0]> sphinx-build -W -b linkcheck -d /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.tox/docs-linkcheck/tmp/doctrees ./docs/ /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/docs/_build/linkcheck 04:31:43 Running Sphinx v7.2.6 04:31:43 making output directory... done 04:31:43 loading intersphinx inventory from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... 04:31:43 building [mo]: targets for 0 po files that are out of date 04:31:43 writing output... 04:31:43 building [linkcheck]: targets for 4 source files that are out of date 04:31:43 updating environment: [new config] 4 added, 0 changed, 0 removed 04:31:43 reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes 04:31:43 looking for now-outdated files... none found 04:31:43 pickling environment... done 04:31:43 checking consistency... done 04:31:43 preparing documents... done 04:31:43 copying assets... done 04:31:43 writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes 04:31:43 04:31:44 (installation-guide: line 39) ok https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/index.html 04:31:44 build succeeded. 04:31:44 04:31:44 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 04:31:44 code: FAIL code 1 (32.39=setup[24.80]+cmd[1.29,0.38,0.25,1.17,1.20,3.30] seconds) 04:31:44 docs: OK (36.17=setup[35.17]+cmd[0.99,0.01] seconds) 04:31:44 docs-linkcheck: OK (19.89=setup[18.90]+cmd[0.98] seconds) 04:31:44 evaluation failed :( (88.60 seconds) 04:31:44 + tox_status=255 04:31:44 + echo '---> Completed tox runs' 04:31:44 ---> Completed tox runs 04:31:44 + for i in .tox/*/log 04:31:44 ++ echo .tox/code/log 04:31:44 ++ awk -F/ '{print $2}' 04:31:44 + tox_env=code 04:31:44 + cp -r .tox/code/log /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/code 04:31:44 + for i in .tox/*/log 04:31:44 ++ echo .tox/docs-linkcheck/log 04:31:44 ++ awk -F/ '{print $2}' 04:31:44 + tox_env=docs-linkcheck 04:31:44 + cp -r .tox/docs-linkcheck/log /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/docs-linkcheck 04:31:44 + for i in .tox/*/log 04:31:44 ++ echo .tox/docs/log 04:31:44 ++ awk -F/ '{print $2}' 04:31:44 + tox_env=docs 04:31:44 + cp -r .tox/docs/log /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/docs 04:31:44 + DOC_DIR=docs/_build/html 04:31:44 + [[ -d docs/_build/html ]] 04:31:44 + echo '---> Archiving generated docs' 04:31:44 ---> Archiving generated docs 04:31:44 + mv docs/_build/html /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/docs 04:31:44 + echo '---> tox-run.sh ends' 04:31:44 ---> tox-run.sh ends 04:31:44 + test 255 -eq 0 04:31:44 + exit 255 04:31:44 ++ '[' 1 = 1 ']' 04:31:44 ++ '[' -x /usr/bin/clear_console ']' 04:31:44 ++ /usr/bin/clear_console -q 04:31:44 Build step 'Execute shell' marked build as failure 04:31:44 $ ssh-agent -k 04:31:44 unset SSH_AUTH_SOCK; 04:31:44 unset SSH_AGENT_PID; 04:31:44 echo Agent pid 5964 killed; 04:31:44 [ssh-agent] Stopped. 04:31:44 [PostBuildScript] - [INFO] Executing post build scripts. 04:31:44 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins977760702233261927.sh 04:31:44 ---> sysstat.sh 04:31:45 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5330767928759511193.sh 04:31:45 ---> package-listing.sh 04:31:45 ++ tr '[:upper:]' '[:lower:]' 04:31:45 ++ facter osfamily 04:31:45 + OS_FAMILY=debian 04:31:45 + workspace=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube 04:31:45 + START_PACKAGES=/tmp/packages_start.txt 04:31:45 + END_PACKAGES=/tmp/packages_end.txt 04:31:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:31:45 + PACKAGES=/tmp/packages_start.txt 04:31:45 + '[' /w/workspace/aiml-fw-awmf-tm-tox-sonarqube ']' 04:31:45 + PACKAGES=/tmp/packages_end.txt 04:31:45 + case "${OS_FAMILY}" in 04:31:45 + dpkg -l 04:31:45 + grep '^ii' 04:31:45 + '[' -f /tmp/packages_start.txt ']' 04:31:45 + '[' -f /tmp/packages_end.txt ']' 04:31:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:31:45 + '[' /w/workspace/aiml-fw-awmf-tm-tox-sonarqube ']' 04:31:45 + mkdir -p /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/ 04:31:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/ 04:31:45 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5199604896421834386.sh 04:31:45 ---> capture-instance-metadata.sh 04:31:45 Setup pyenv: 04:31:45 system 04:31:45 3.8.13 04:31:45 3.9.13 04:31:45 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 04:31:45 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dp79 from file:/tmp/.os_lf_venv 04:31:47 lf-activate-venv(): INFO: Installing: lftools 04:32:01 lf-activate-venv(): INFO: Adding /tmp/venv-Dp79/bin to PATH 04:32:01 INFO: Running in OpenStack, capturing instance metadata 04:32:02 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins12451161766158157357.sh 04:32:02 provisioning config files... 04:32:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-tm-tox-sonarqube@tmp/config18400853793929919130tmp 04:32:02 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 04:32:02 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 04:32:02 [EnvInject] - Injecting environment variables from a build step. 04:32:02 [EnvInject] - Injecting as environment variables the properties content 04:32:02 SERVER_ID=logs 04:32:02 04:32:02 [EnvInject] - Variables injected successfully. 04:32:02 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5822052704519420336.sh 04:32:02 ---> create-netrc.sh 04:32:02 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5108367994504246618.sh 04:32:02 ---> python-tools-install.sh 04:32:02 Setup pyenv: 04:32:02 system 04:32:02 3.8.13 04:32:02 3.9.13 04:32:02 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 04:32:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dp79 from file:/tmp/.os_lf_venv 04:32:04 lf-activate-venv(): INFO: Installing: lftools 04:32:15 lf-activate-venv(): INFO: Adding /tmp/venv-Dp79/bin to PATH 04:32:15 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5777635405936223906.sh 04:32:15 ---> sudo-logs.sh 04:32:15 Archiving 'sudo' log.. 04:32:15 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins11815471491887133000.sh 04:32:15 ---> job-cost.sh 04:32:15 Setup pyenv: 04:32:15 system 04:32:15 3.8.13 04:32:15 3.9.13 04:32:15 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 04:32:15 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dp79 from file:/tmp/.os_lf_venv 04:32:17 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 04:32:26 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. 04:32:26 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 04:32:26 lf-activate-venv(): INFO: Adding /tmp/venv-Dp79/bin to PATH 04:32:26 INFO: No Stack... 04:32:26 INFO: Retrieving Pricing Info for: v2-highcpu-2 04:32:27 INFO: Archiving Costs 04:32:27 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1699545663652533837.sh 04:32:27 ---> logs-deploy.sh 04:32:27 Setup pyenv: 04:32:27 system 04:32:27 3.8.13 04:32:27 3.9.13 04:32:27 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 04:32:27 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dp79 from file:/tmp/.os_lf_venv 04:32:28 lf-activate-venv(): INFO: Installing: lftools 04:32:40 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. 04:32:40 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 04:32:41 lf-activate-venv(): INFO: Adding /tmp/venv-Dp79/bin to PATH 04:32:41 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/aiml-fw-awmf-tm-tox-sonarqube/96 04:32:41 INFO: archiving workspace using pattern(s): -p **/*.log 04:32:43 Archives upload complete. 04:32:44 INFO: archiving logs to Nexus 04:32:44 ---> uname -a: 04:32:44 Linux prd-ubuntu1804-builder-2c-2g-37 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 04:32:44 04:32:44 04:32:44 ---> lscpu: 04:32:44 Architecture: x86_64 04:32:44 CPU op-mode(s): 32-bit, 64-bit 04:32:44 Byte Order: Little Endian 04:32:44 Address sizes: 40 bits physical, 48 bits virtual 04:32:44 CPU(s): 2 04:32:44 On-line CPU(s) list: 0,1 04:32:44 Thread(s) per core: 1 04:32:44 Core(s) per socket: 1 04:32:44 Socket(s): 2 04:32:44 NUMA node(s): 1 04:32:44 Vendor ID: AuthenticAMD 04:32:44 CPU family: 23 04:32:44 Model: 49 04:32:44 Model name: AMD EPYC-Rome Processor 04:32:44 Stepping: 0 04:32:44 CPU MHz: 2800.000 04:32:44 BogoMIPS: 5600.00 04:32:44 Virtualization: AMD-V 04:32:44 Hypervisor vendor: KVM 04:32:44 Virtualization type: full 04:32:44 L1d cache: 64 KiB 04:32:44 L1i cache: 64 KiB 04:32:44 L2 cache: 1 MiB 04:32:44 L3 cache: 32 MiB 04:32:44 NUMA node0 CPU(s): 0,1 04:32:44 Vulnerability Itlb multihit: Not affected 04:32:44 Vulnerability L1tf: Not affected 04:32:44 Vulnerability Mds: Not affected 04:32:44 Vulnerability Meltdown: Not affected 04:32:44 Vulnerability Mmio stale data: Not affected 04:32:44 Vulnerability Retbleed: Vulnerable 04:32:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:32:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:32:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 04:32:44 Vulnerability Srbds: Not affected 04:32:44 Vulnerability Tsx async abort: Not affected 04:32:44 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 04:32:44 04:32:44 04:32:44 ---> nproc: 04:32:44 2 04:32:44 04:32:44 04:32:44 ---> df -h: 04:32:44 Filesystem Size Used Avail Use% Mounted on 04:32:44 udev 975M 0 975M 0% /dev 04:32:44 tmpfs 199M 1008K 198M 1% /run 04:32:44 /dev/vda1 20G 9.3G 10G 48% / 04:32:44 tmpfs 992M 0 992M 0% /dev/shm 04:32:44 tmpfs 5.0M 0 5.0M 0% /run/lock 04:32:44 tmpfs 992M 0 992M 0% /sys/fs/cgroup 04:32:44 /dev/vda15 105M 6.1M 99M 6% /boot/efi 04:32:44 /dev/loop0 62M 62M 0 100% /snap/core20/1405 04:32:44 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 04:32:44 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 04:32:44 tmpfs 199M 0 199M 0% /run/user/1001 04:32:44 04:32:44 04:32:44 ---> free -m: 04:32:44 total used free shared buff/cache available 04:32:44 Mem: 1983 415 136 2 1430 1376 04:32:44 Swap: 1023 1 1022 04:32:44 04:32:44 04:32:44 ---> ip addr: 04:32:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 04:32:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:32:44 inet 127.0.0.1/8 scope host lo 04:32:44 valid_lft forever preferred_lft forever 04:32:44 inet6 ::1/128 scope host 04:32:44 valid_lft forever preferred_lft forever 04:32:44 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 04:32:44 link/ether fa:16:3e:f1:1e:88 brd ff:ff:ff:ff:ff:ff 04:32:44 inet 10.32.7.69/23 brd 10.32.7.255 scope global dynamic ens3 04:32:44 valid_lft 86124sec preferred_lft 86124sec 04:32:44 inet6 fe80::f816:3eff:fef1:1e88/64 scope link 04:32:44 valid_lft forever preferred_lft forever 04:32:44 04:32:44 04:32:44 ---> sar -b -r -n DEV: 04:32:44 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-37) 12/12/23 _x86_64_ (2 CPU) 04:32:44 04:32:44 04:28:11 LINUX RESTART (2 CPU) 04:32:44 04:32:44 04:29:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:32:44 04:30:01 149.35 55.13 94.22 0.00 1567.06 12907.78 0.00 04:32:44 04:31:01 101.92 12.41 89.50 0.00 743.48 20873.85 0.00 04:32:44 04:32:01 100.65 18.63 82.02 0.00 987.04 30893.12 0.00 04:32:44 Average: 117.13 28.58 88.55 0.00 1096.58 21606.57 0.00 04:32:44 04:32:44 04:29:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:32:44 04:30:01 202548 1464084 330736 16.29 64336 1270872 793392 25.77 403228 1220700 124084 04:32:44 04:31:01 84760 1322696 468988 23.10 85600 1196032 1002724 32.56 506008 1200252 93712 04:32:44 04:32:01 99764 1359748 423600 20.86 104748 1196396 890996 28.94 449060 1232552 99240 04:32:44 Average: 129024 1382176 407775 20.08 84895 1221100 895704 29.09 452765 1217835 105679 04:32:44 04:32:44 04:29:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:32:44 04:30:01 lo 0.54 0.54 0.05 0.05 0.00 0.00 0.00 0.00 04:32:44 04:30:01 ens3 48.94 44.99 783.06 5.60 0.00 0.00 0.00 0.00 04:32:44 04:31:01 lo 1.30 1.30 0.12 0.12 0.00 0.00 0.00 0.00 04:32:44 04:31:01 ens3 77.00 68.47 1144.92 10.67 0.00 0.00 0.00 0.00 04:32:44 04:32:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 04:32:44 04:32:01 ens3 39.03 38.11 712.45 12.71 0.00 0.00 0.00 0.00 04:32:44 Average: lo 0.77 0.77 0.07 0.07 0.00 0.00 0.00 0.00 04:32:44 Average: ens3 55.02 50.56 880.68 9.68 0.00 0.00 0.00 0.00 04:32:44 04:32:44 04:32:44 ---> sar -P ALL: 04:32:44 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-37) 12/12/23 _x86_64_ (2 CPU) 04:32:44 04:32:44 04:28:11 LINUX RESTART (2 CPU) 04:32:44 04:32:44 04:29:02 CPU %user %nice %system %iowait %steal %idle 04:32:44 04:30:01 all 37.55 11.20 10.32 7.64 0.09 33.20 04:32:44 04:30:01 0 35.90 12.44 11.02 7.00 0.10 33.53 04:32:44 04:30:01 1 39.20 9.95 9.61 8.28 0.09 32.87 04:32:44 04:31:01 all 37.47 0.00 3.95 7.05 0.08 51.46 04:32:44 04:31:01 0 48.96 0.00 4.82 4.24 0.08 41.90 04:32:44 04:31:01 1 25.94 0.00 3.06 9.86 0.08 61.05 04:32:44 04:32:01 all 38.54 0.00 2.94 5.33 0.10 53.09 04:32:44 04:32:01 0 71.72 0.00 3.89 2.74 0.10 21.54 04:32:44 04:32:01 1 5.22 0.00 1.98 7.94 0.10 84.76 04:32:44 Average: all 37.85 3.69 5.71 6.67 0.09 45.99 04:32:44 Average: 0 52.30 4.09 6.55 4.65 0.10 32.32 04:32:44 Average: 1 23.37 3.28 4.86 8.70 0.09 59.71 04:32:44 04:32:44 04:32:44