02:38:47 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/aiml-fw/awmf/tm/+/12225 02:38:47 Running as SYSTEM 02:38:47 [EnvInject] - Loading node environment variables. 02:38:47 Building remotely on prd-ubuntu1804-builder-2c-2g-28 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/aiml-fw-awmf-tm-tox-sonarqube 02:38:47 [ssh-agent] Looking for ssh-agent implementation... 02:38:47 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:47 $ ssh-agent 02:38:47 SSH_AUTH_SOCK=/tmp/ssh-d4YFDb9iLbf5/agent.5644 02:38:47 SSH_AGENT_PID=5646 02:38:47 [ssh-agent] Started. 02:38:47 Running ssh-add (command line suppressed) 02:38:47 Identity added: /w/workspace/aiml-fw-awmf-tm-tox-sonarqube@tmp/private_key_6985281815280509614.key (jenkins-ssh) 02:38:47 [ssh-agent] Using credentials jenkins (jenkins) 02:38:47 The recommended git tool is: NONE 02:38:49 using credential jenkins 02:38:49 Wiping out workspace first. 02:38:49 Cloning the remote Git repository 02:38:49 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm 02:38:49 > git init /w/workspace/aiml-fw-awmf-tm-tox-sonarqube # timeout=10 02:38:49 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm 02:38:49 > git --version # timeout=10 02:38:49 > git --version # 'git version 2.25.1' 02:38:49 using GIT_SSH to set credentials jenkins 02:38:49 > 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 02:38:50 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm # timeout=10 02:38:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:38:50 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm # timeout=10 02:38:50 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm 02:38:50 using GIT_SSH to set credentials jenkins 02:38:50 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/awmf/tm refs/changes/25/12225/1 # timeout=10 02:38:51 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 02:38:51 Checking out Revision 9490255ee80fdf933eccc7688a9526dbc051d9a3 (refs/remotes/origin/master) 02:38:51 > git config core.sparsecheckout # timeout=10 02:38:51 > git checkout -f 9490255ee80fdf933eccc7688a9526dbc051d9a3 # timeout=10 02:38:51 Commit message: "adding test cases" 02:38:51 > git rev-list --no-walk 24d87df15755ddb08f2fed1959fa3945134643e5 # timeout=10 02:38:51 provisioning config files... 02:38:51 copy managed file [npmrc] to file:/home/jenkins/.npmrc 02:38:51 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 02:38:51 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins1194287692625896732.sh 02:38:51 ---> python-tools-install.sh 02:38:51 Setup pyenv: 02:38:51 * system (set by /opt/pyenv/version) 02:38:51 * 3.8.13 (set by /opt/pyenv/version) 02:38:51 * 3.9.13 (set by /opt/pyenv/version) 02:38:51 * 3.10.6 (set by /opt/pyenv/version) 02:38:57 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Q2ie 02:38:57 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 02:39:00 lf-activate-venv(): INFO: Installing: lftools 02:39:38 lf-activate-venv(): INFO: Adding /tmp/venv-Q2ie/bin to PATH 02:39:38 Generating Requirements File 02:40:14 Python 3.10.6 02:40:14 pip 23.3.1 from /tmp/venv-Q2ie/lib/python3.10/site-packages/pip (python 3.10) 02:40:15 appdirs==1.4.4 02:40:15 argcomplete==3.2.1 02:40:15 aspy.yaml==1.3.0 02:40:15 attrs==23.1.0 02:40:15 autopage==0.5.2 02:40:15 Babel==2.13.1 02:40:15 beautifulsoup4==4.12.2 02:40:15 boto3==1.33.11 02:40:15 botocore==1.33.11 02:40:15 bs4==0.0.1 02:40:15 cachetools==5.3.2 02:40:15 certifi==2023.11.17 02:40:15 cffi==1.16.0 02:40:15 cfgv==3.4.0 02:40:15 chardet==5.2.0 02:40:15 charset-normalizer==3.3.2 02:40:15 click==8.1.7 02:40:15 cliff==4.4.0 02:40:15 cmd2==2.4.3 02:40:15 cryptography==3.3.2 02:40:15 debtcollector==2.5.0 02:40:15 decorator==5.1.1 02:40:15 defusedxml==0.7.1 02:40:15 Deprecated==1.2.14 02:40:15 distlib==0.3.7 02:40:15 dnspython==2.4.2 02:40:15 docker==4.2.2 02:40:15 dogpile.cache==1.2.2 02:40:15 email-validator==2.1.0.post1 02:40:15 filelock==3.13.1 02:40:15 future==0.18.3 02:40:15 gitdb==4.0.11 02:40:15 GitPython==3.1.40 02:40:15 google-auth==2.25.2 02:40:15 httplib2==0.22.0 02:40:15 identify==2.5.33 02:40:15 idna==3.6 02:40:15 importlib-metadata==7.0.0 02:40:15 importlib-resources==1.5.0 02:40:15 iso8601==2.1.0 02:40:15 Jinja2==3.1.2 02:40:15 jmespath==1.0.1 02:40:15 jsonpatch==1.33 02:40:15 jsonpointer==2.4 02:40:15 jsonschema==4.20.0 02:40:15 jsonschema-specifications==2023.11.2 02:40:15 keystoneauth1==5.4.0 02:40:15 kubernetes==28.1.0 02:40:15 lftools==0.37.8 02:40:15 lxml==4.9.3 02:40:15 MarkupSafe==2.1.3 02:40:15 msgpack==1.0.7 02:40:15 multi-key-dict==2.0.3 02:40:15 munch==4.0.0 02:40:15 netaddr==0.9.0 02:40:15 netifaces==0.11.0 02:40:15 niet==1.4.2 02:40:15 nodeenv==1.8.0 02:40:15 oauth2client==4.1.3 02:40:15 oauthlib==3.2.2 02:40:15 openstacksdk==0.62.0 02:40:15 os-client-config==2.1.0 02:40:15 os-service-types==1.7.0 02:40:15 osc-lib==2.9.0 02:40:15 oslo.config==9.2.0 02:40:15 oslo.context==5.3.0 02:40:15 oslo.i18n==6.2.0 02:40:15 oslo.log==5.4.0 02:40:15 oslo.serialization==5.2.0 02:40:15 oslo.utils==6.3.0 02:40:15 packaging==23.2 02:40:15 pbr==6.0.0 02:40:15 platformdirs==4.1.0 02:40:15 prettytable==3.9.0 02:40:15 pyasn1==0.5.1 02:40:15 pyasn1-modules==0.3.0 02:40:15 pycparser==2.21 02:40:15 pygerrit2==2.0.15 02:40:15 PyGithub==2.1.1 02:40:15 pyinotify==0.9.6 02:40:15 PyJWT==2.8.0 02:40:15 PyNaCl==1.5.0 02:40:15 pyparsing==2.4.7 02:40:15 pyperclip==1.8.2 02:40:15 pyrsistent==0.20.0 02:40:15 python-cinderclient==9.4.0 02:40:15 python-dateutil==2.8.2 02:40:15 python-heatclient==3.3.0 02:40:15 python-jenkins==1.8.2 02:40:15 python-keystoneclient==5.2.0 02:40:15 python-magnumclient==4.3.0 02:40:15 python-novaclient==18.4.0 02:40:15 python-openstackclient==6.0.0 02:40:15 python-swiftclient==4.4.0 02:40:15 pytz==2023.3.post1 02:40:15 PyYAML==6.0.1 02:40:15 referencing==0.32.0 02:40:15 requests==2.31.0 02:40:15 requests-oauthlib==1.3.1 02:40:15 requestsexceptions==1.4.0 02:40:15 rfc3986==2.0.0 02:40:15 rpds-py==0.13.2 02:40:15 rsa==4.9 02:40:15 ruamel.yaml==0.18.5 02:40:15 ruamel.yaml.clib==0.2.8 02:40:15 s3transfer==0.8.2 02:40:15 simplejson==3.19.2 02:40:15 six==1.16.0 02:40:15 smmap==5.0.1 02:40:15 soupsieve==2.5 02:40:15 stevedore==5.1.0 02:40:15 tabulate==0.9.0 02:40:15 toml==0.10.2 02:40:15 tomlkit==0.12.3 02:40:15 tqdm==4.66.1 02:40:15 typing_extensions==4.9.0 02:40:15 tzdata==2023.3 02:40:15 urllib3==1.26.18 02:40:15 virtualenv==20.25.0 02:40:15 wcwidth==0.2.12 02:40:15 websocket-client==1.7.0 02:40:15 wrapt==1.16.0 02:40:15 xdg==6.0.0 02:40:15 xmltodict==0.13.0 02:40:15 yq==3.2.3 02:40:15 zipp==3.17.0 02:40:15 [EnvInject] - Injecting environment variables from a build step. 02:40:15 [EnvInject] - Injecting as environment variables the properties content 02:40:15 PYTHON=python3 02:40:15 02:40:15 [EnvInject] - Variables injected successfully. 02:40:15 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash -l /tmp/jenkins4803576479133287668.sh 02:40:15 ---> tox-install.sh 02:40:15 + source /home/jenkins/lf-env.sh 02:40:15 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 02:40:15 ++ mktemp -d /tmp/venv-XXXX 02:40:15 + lf_venv=/tmp/venv-zimU 02:40:15 + local venv_file=/tmp/.os_lf_venv 02:40:15 + local python=python3 02:40:15 + local options 02:40:15 + local set_path=true 02:40:15 + local install_args= 02:40:15 ++ 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 02:40:15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:40:15 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:40:15 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 02:40:15 + true 02:40:15 + case $1 in 02:40:15 + venv_file=/tmp/.toxenv 02:40:15 + shift 2 02:40:15 + true 02:40:15 + case $1 in 02:40:15 + shift 02:40:15 + break 02:40:15 + case $python in 02:40:15 + local pkg_list= 02:40:15 + [[ -d /opt/pyenv ]] 02:40:15 + echo 'Setup pyenv:' 02:40:15 Setup pyenv: 02:40:15 + export PYENV_ROOT=/opt/pyenv 02:40:15 + PYENV_ROOT=/opt/pyenv 02:40:15 + 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 02:40:15 + 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 02:40:15 + pyenv versions 02:40:15 system 02:40:15 3.8.13 02:40:15 3.9.13 02:40:15 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 02:40:15 + command -v pyenv 02:40:15 ++ pyenv init - --no-rehash 02:40:15 + 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[*]}"'\'')" 02:40:15 export PATH="/opt/pyenv/shims:${PATH}" 02:40:15 export PYENV_SHELL=bash 02:40:15 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 02:40:15 pyenv() { 02:40:15 local command 02:40:15 command="${1:-}" 02:40:15 if [ "$#" -gt 0 ]; then 02:40:15 shift 02:40:15 fi 02:40:15 02:40:15 case "$command" in 02:40:15 rehash|shell) 02:40:15 eval "$(pyenv "sh-$command" "$@")" 02:40:15 ;; 02:40:15 *) 02:40:15 command pyenv "$command" "$@" 02:40:15 ;; 02:40:15 esac 02:40:15 }' 02:40:15 +++ 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[*]}"' 02:40:15 ++ 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 02:40:15 ++ 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 02:40:15 ++ 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 02:40:15 ++ export PYENV_SHELL=bash 02:40:15 ++ PYENV_SHELL=bash 02:40:15 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 02:40:15 +++ complete -F _pyenv pyenv 02:40:15 ++ lf-pyver python3 02:40:15 ++ local py_version_xy=python3 02:40:15 ++ local py_version_xyz= 02:40:15 ++ grep -E '^[0-9.]*[0-9]$' 02:40:15 ++ sed 's/^[ *]* //' 02:40:15 ++ pyenv versions 02:40:15 ++ local command 02:40:15 ++ command=versions 02:40:15 ++ '[' 1 -gt 0 ']' 02:40:15 ++ shift 02:40:15 ++ case "$command" in 02:40:15 ++ awk '{ print $1 }' 02:40:15 ++ command pyenv versions 02:40:15 ++ pyenv versions 02:40:15 ++ [[ ! -s /tmp/.pyenv_versions ]] 02:40:15 +++ grep '^3' /tmp/.pyenv_versions 02:40:15 +++ tail -n 1 02:40:15 +++ sort -V 02:40:15 ++ py_version_xyz=3.10.6 02:40:15 ++ [[ -z 3.10.6 ]] 02:40:15 ++ echo 3.10.6 02:40:15 ++ return 0 02:40:15 + pyenv local 3.10.6 02:40:15 + local command 02:40:15 + command=local 02:40:15 + '[' 2 -gt 0 ']' 02:40:15 + shift 02:40:15 + case "$command" in 02:40:15 + command pyenv local 3.10.6 02:40:15 + pyenv local 3.10.6 02:40:15 + for arg in "$@" 02:40:15 + case $arg in 02:40:15 + pkg_list+='tox ' 02:40:15 + for arg in "$@" 02:40:15 + case $arg in 02:40:15 + pkg_list+='virtualenv ' 02:40:15 + for arg in "$@" 02:40:15 + case $arg in 02:40:15 + pkg_list+='urllib3~=1.26.15 ' 02:40:15 + [[ -f /tmp/.toxenv ]] 02:40:15 + [[ ! -f /tmp/.toxenv ]] 02:40:15 + [[ -n '' ]] 02:40:15 + python3 -m venv /tmp/venv-zimU 02:40:19 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zimU' 02:40:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zimU 02:40:19 + echo /tmp/venv-zimU 02:40:19 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 02:40:19 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 02:40:19 + /tmp/venv-zimU/bin/python3 -m pip install --upgrade --quiet pip virtualenv 02:40:22 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 02:40:22 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 02:40:22 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 02:40:22 + /tmp/venv-zimU/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 02:40:24 + type python3 02:40:24 + true 02:40:24 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-zimU/bin to PATH' 02:40:24 lf-activate-venv(): INFO: Adding /tmp/venv-zimU/bin to PATH 02:40:24 + PATH=/tmp/venv-zimU/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 02:40:24 + return 0 02:40:24 + python3 --version 02:40:24 Python 3.10.6 02:40:24 + python3 -m pip --version 02:40:24 pip 23.3.1 from /tmp/venv-zimU/lib/python3.10/site-packages/pip (python 3.10) 02:40:24 + python3 -m pip freeze 02:40:25 cachetools==5.3.2 02:40:25 chardet==5.2.0 02:40:25 colorama==0.4.6 02:40:25 distlib==0.3.7 02:40:25 filelock==3.13.1 02:40:25 packaging==23.2 02:40:25 platformdirs==4.1.0 02:40:25 pluggy==1.3.0 02:40:25 pyproject-api==1.6.1 02:40:25 tomli==2.0.1 02:40:25 tox==4.11.4 02:40:25 urllib3==1.26.18 02:40:25 virtualenv==20.25.0 02:40:25 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins16695846684133697700.sh 02:40:25 [EnvInject] - Injecting environment variables from a build step. 02:40:25 [EnvInject] - Injecting as environment variables the properties content 02:40:25 PARALLEL=False 02:40:25 02:40:25 [EnvInject] - Variables injected successfully. 02:40:25 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12564281234221598512.sh 02:40:25 ---> tox-run.sh 02:40:25 + 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 02:40:25 + ARCHIVE_TOX_DIR=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox 02:40:25 + ARCHIVE_DOC_DIR=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/docs 02:40:25 + mkdir -p /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox 02:40:25 + cd /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/. 02:40:25 + source /home/jenkins/lf-env.sh 02:40:25 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 02:40:25 ++ mktemp -d /tmp/venv-XXXX 02:40:25 + lf_venv=/tmp/venv-tx4A 02:40:25 + local venv_file=/tmp/.os_lf_venv 02:40:25 + local python=python3 02:40:25 + local options 02:40:25 + local set_path=true 02:40:25 + local install_args= 02:40:25 ++ 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 02:40:25 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:40:25 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:40:25 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 02:40:25 + true 02:40:25 + case $1 in 02:40:25 + venv_file=/tmp/.toxenv 02:40:25 + shift 2 02:40:25 + true 02:40:25 + case $1 in 02:40:25 + shift 02:40:25 + break 02:40:25 + case $python in 02:40:25 + local pkg_list= 02:40:25 + [[ -d /opt/pyenv ]] 02:40:25 + echo 'Setup pyenv:' 02:40:25 Setup pyenv: 02:40:25 + export PYENV_ROOT=/opt/pyenv 02:40:25 + PYENV_ROOT=/opt/pyenv 02:40:25 + 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 02:40:25 + 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 02:40:25 + pyenv versions 02:40:25 system 02:40:25 3.8.13 02:40:25 3.9.13 02:40:25 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 02:40:25 + command -v pyenv 02:40:25 ++ pyenv init - --no-rehash 02:40:25 + 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[*]}"'\'')" 02:40:25 export PATH="/opt/pyenv/shims:${PATH}" 02:40:25 export PYENV_SHELL=bash 02:40:25 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 02:40:25 pyenv() { 02:40:25 local command 02:40:25 command="${1:-}" 02:40:25 if [ "$#" -gt 0 ]; then 02:40:25 shift 02:40:25 fi 02:40:25 02:40:25 case "$command" in 02:40:25 rehash|shell) 02:40:25 eval "$(pyenv "sh-$command" "$@")" 02:40:25 ;; 02:40:25 *) 02:40:25 command pyenv "$command" "$@" 02:40:25 ;; 02:40:25 esac 02:40:25 }' 02:40:25 +++ 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[*]}"' 02:40:25 ++ 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 02:40:25 ++ 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 02:40:25 ++ 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 02:40:25 ++ export PYENV_SHELL=bash 02:40:25 ++ PYENV_SHELL=bash 02:40:25 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 02:40:25 +++ complete -F _pyenv pyenv 02:40:25 ++ lf-pyver python3 02:40:25 ++ local py_version_xy=python3 02:40:25 ++ local py_version_xyz= 02:40:25 ++ pyenv versions 02:40:25 ++ local command 02:40:25 ++ command=versions 02:40:25 ++ '[' 1 -gt 0 ']' 02:40:25 ++ shift 02:40:25 ++ case "$command" in 02:40:25 ++ command pyenv versions 02:40:25 ++ pyenv versions 02:40:25 ++ grep -E '^[0-9.]*[0-9]$' 02:40:25 ++ awk '{ print $1 }' 02:40:25 ++ sed 's/^[ *]* //' 02:40:25 ++ [[ ! -s /tmp/.pyenv_versions ]] 02:40:25 +++ grep '^3' /tmp/.pyenv_versions 02:40:25 +++ tail -n 1 02:40:25 +++ sort -V 02:40:25 ++ py_version_xyz=3.10.6 02:40:25 ++ [[ -z 3.10.6 ]] 02:40:25 ++ echo 3.10.6 02:40:25 ++ return 0 02:40:25 + pyenv local 3.10.6 02:40:25 + local command 02:40:25 + command=local 02:40:25 + '[' 2 -gt 0 ']' 02:40:25 + shift 02:40:25 + case "$command" in 02:40:25 + command pyenv local 3.10.6 02:40:25 + pyenv local 3.10.6 02:40:25 + for arg in "$@" 02:40:25 + case $arg in 02:40:25 + pkg_list+='tox ' 02:40:25 + for arg in "$@" 02:40:25 + case $arg in 02:40:25 + pkg_list+='virtualenv ' 02:40:25 + for arg in "$@" 02:40:25 + case $arg in 02:40:25 + pkg_list+='urllib3~=1.26.15 ' 02:40:25 + [[ -f /tmp/.toxenv ]] 02:40:25 ++ cat /tmp/.toxenv 02:40:25 + lf_venv=/tmp/venv-zimU 02:40:25 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-zimU from' file:/tmp/.toxenv 02:40:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-zimU from file:/tmp/.toxenv 02:40:25 + /tmp/venv-zimU/bin/python3 -m pip install --upgrade --quiet pip virtualenv 02:40:26 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 02:40:26 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 02:40:26 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 02:40:26 + /tmp/venv-zimU/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 02:40:28 + type python3 02:40:28 + true 02:40:28 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-zimU/bin to PATH' 02:40:28 lf-activate-venv(): INFO: Adding /tmp/venv-zimU/bin to PATH 02:40:28 + PATH=/tmp/venv-zimU/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 02:40:28 + return 0 02:40:28 + [[ -d /opt/pyenv ]] 02:40:28 + echo '---> Setting up pyenv' 02:40:28 ---> Setting up pyenv 02:40:28 + export PYENV_ROOT=/opt/pyenv 02:40:28 + PYENV_ROOT=/opt/pyenv 02:40:28 + export PATH=/opt/pyenv/bin:/tmp/venv-zimU/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 02:40:28 + PATH=/opt/pyenv/bin:/tmp/venv-zimU/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 02:40:28 ++ pwd 02:40:28 + PYTHONPATH=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube 02:40:28 + export PYTHONPATH 02:40:28 + export TOX_TESTENV_PASSENV=PYTHONPATH 02:40:28 + TOX_TESTENV_PASSENV=PYTHONPATH 02:40:28 + tox --version 02:40:28 4.11.4 from /tmp/venv-zimU/lib/python3.10/site-packages/tox/__init__.py 02:40:28 + PARALLEL=False 02:40:28 + TOX_OPTIONS_LIST= 02:40:28 + [[ -n '' ]] 02:40:28 + case ${PARALLEL,,} in 02:40:28 + tee -a /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/tox.log 02:40:28 + tox 02:40:29 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 02:40:53 code: freeze> python -m pip freeze --all 02:40:53 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 02:40:53 code: commands[0]> pip3 install -e /w/workspace/aiml-fw-awmf-tm-tox-sonarqube 02:40:53 Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple 02:40:53 Obtaining file:///w/workspace/aiml-fw-awmf-tm-tox-sonarqube 02:40:53 Preparing metadata (setup.py): started 02:40:53 Preparing metadata (setup.py): finished with status 'done' 02:40:54 Installing collected packages: trainingmgr 02:40:54 Running setup.py develop for trainingmgr 02:40:54 Successfully installed trainingmgr-0.1 02:40:54 code: commands[1]> git clone https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store /tmp/fssdk/ 02:40:54 Cloning into '/tmp/fssdk'... 02:40:55 code: commands[2]> git clone https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage /tmp/modelsdk/ 02:40:55 Cloning into '/tmp/modelsdk'... 02:40:55 code: commands[3]> pip3 install /tmp/fssdk/. 02:40:55 Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple 02:40:55 Processing /tmp/fssdk 02:40:55 Preparing metadata (setup.py): started 02:40:55 Preparing metadata (setup.py): finished with status 'done' 02:40:55 Building wheels for collected packages: featurestoresdk 02:40:55 Building wheel for featurestoresdk (setup.py): started 02:40:56 Building wheel for featurestoresdk (setup.py): finished with status 'done' 02:40:56 Created wheel for featurestoresdk: filename=featurestoresdk-0.1-py3-none-any.whl size=6071 sha256=c311fa20f45361383b47192dfbfc65604b1dce27a4b3a8bdac2f2ddcb848cb22 02:40:56 Stored in directory: /tmp/pip-ephem-wheel-cache-jkgjwvz0/wheels/8d/a9/30/4c49f9abbafe9b05df4e75a91bfaee41195fef7159433cf342 02:40:56 Successfully built featurestoresdk 02:40:56 Installing collected packages: featurestoresdk 02:40:56 Successfully installed featurestoresdk-0.1 02:40:56 code: commands[4]> pip3 install /tmp/modelsdk/. 02:40:56 Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple 02:40:56 Processing /tmp/modelsdk 02:40:56 Preparing metadata (setup.py): started 02:40:57 Preparing metadata (setup.py): finished with status 'done' 02:40:57 Building wheels for collected packages: modelmetricsdk 02:40:57 Building wheel for modelmetricsdk (setup.py): started 02:40:57 Building wheel for modelmetricsdk (setup.py): finished with status 'done' 02:40:57 Created wheel for modelmetricsdk: filename=modelmetricsdk-0.1-py3-none-any.whl size=7318 sha256=05ceec170276c007b916e48c449795028506f9812be3bf2419c6927422475ddb 02:40:57 Stored in directory: /tmp/pip-ephem-wheel-cache-1ez7bzbw/wheels/5c/a4/04/ebfb7bc8055535741ed0ecb628051efe1dbaa3fe0cf72522ce 02:40:57 Successfully built modelmetricsdk 02:40:57 Installing collected packages: modelmetricsdk 02:40:57 Successfully installed modelmetricsdk-0.1 02:40:57 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 02:40:59 collected 195 items 02:40:59 02:40:59 tests/test_common_db_fun.py ............................................ [ 22%] 02:40:59 ..... [ 25%] 02:40:59 tests/test_tm_apis.py .................................................. [ 50%] 02:40:59 ................................. [ 67%] 02:40:59 tests/test_tmgr_logger.py ... [ 69%] 02:40:59 tests/test_trainingmgr_config.py .............. [ 76%] 02:41:00 tests/test_trainingmgr_operations.py ........FF [ 81%] 02:41:00 tests/test_trainingmgr_ps_db.py ... [ 83%] 02:41:00 tests/test_trainingmgr_util.py ................................. [100%] 02:41:00 02:41:00 =================================== FAILURES =================================== 02:41:00 ___________________ Test_get_model_info.test_get_model_info ____________________ 02:41:00 02:41:00 self = 02:41:00 mock_requests_get = 02:41:00 02:41:00 @patch('trainingmgr.common.trainingmgr_operations.requests.get') 02:41:00 def test_get_model_info(self,mock_requests_get): 02:41:00 training_config_obj = DummyVariable() 02:41:00 model_name="abc" 02:41:00 mock_response=MagicMock(spec=Response) 02:41:00 mock_response.status_code=200 02:41:00 mock_response.json.return_value={'message':'{"abc":"bca"}'} 02:41:00 mock_requests_get.return_value= mock_response 02:41:00 > model_info=trainingmgr_operations.get_model_info(training_config_obj, model_name) 02:41:00 02:41:00 tests/test_trainingmgr_operations.py:202: 02:41:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:41:00 02:41:00 training_config_obj = 02:41:00 model_name = 'abc' 02:41:00 02:41:00 def get_model_info(training_config_obj, model_name): 02:41:00 logger = training_config_obj.logger 02:41:00 > model_management_service_ip = training_config_obj.model_management_service_ip 02:41:00 E AttributeError: 'DummyVariable' object has no attribute 'model_management_service_ip' 02:41:00 02:41:00 trainingmgr/common/trainingmgr_operations.py:174: AttributeError 02:41:00 _______________ Test_get_model_info.test_negative_get_model_info _______________ 02:41:00 02:41:00 self = 02:41:00 mock_requests_get = 02:41:00 02:41:00 @patch('trainingmgr.common.trainingmgr_operations.requests.get') 02:41:00 def test_negative_get_model_info(self,mock_requests_get): 02:41:00 training_config_obj = DummyVariable() 02:41:00 model_name="abc" 02:41:00 mock_response=MagicMock(spec=Response) 02:41:00 mock_response.status_code=500 02:41:00 mock_response.json.return_value={'message':'{"abc":"bca"}'} 02:41:00 mock_requests_get.return_value= mock_response 02:41:00 try: 02:41:00 > model_info=trainingmgr_operations.get_model_info(training_config_obj, model_name) 02:41:00 02:41:00 tests/test_trainingmgr_operations.py:215: 02:41:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:41:00 02:41:00 training_config_obj = 02:41:00 model_name = 'abc' 02:41:00 02:41:00 def get_model_info(training_config_obj, model_name): 02:41:00 logger = training_config_obj.logger 02:41:00 > model_management_service_ip = training_config_obj.model_management_service_ip 02:41:00 E AttributeError: 'DummyVariable' object has no attribute 'model_management_service_ip' 02:41:00 02:41:00 trainingmgr/common/trainingmgr_operations.py:174: AttributeError 02:41:00 =============================== warnings summary =============================== 02:41:00 .tox/code/lib/python3.8/site-packages/flask_api/renderers.py:5 02:41:00 /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. 02:41:00 from flask.globals import _request_ctx_stack 02:41:00 02:41:00 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 02:41:00 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 02:41:00 02:41:00 ---------- coverage: platform linux, python 3.8.10-final-0 ----------- 02:41:00 Name Stmts Miss Cover Missing 02:41:00 ---------------------------------------------------------------------------- 02:41:00 trainingmgr/__init__.py 0 0 100% 02:41:00 trainingmgr/common/__init__.py 0 0 100% 02:41:00 trainingmgr/common/exceptions_utls.py 13 0 100% 02:41:00 trainingmgr/common/tmgr_logger.py 21 0 100% 02:41:00 trainingmgr/common/trainingmgr_config.py 72 3 96% 200, 212, 238 02:41:00 trainingmgr/common/trainingmgr_operations.py 88 9 90% 175-184 02:41:00 trainingmgr/common/trainingmgr_util.py 175 9 95% 119, 155, 234-235, 277-279, 282-283 02:41:00 trainingmgr/constants/__init__.py 0 0 100% 02:41:00 trainingmgr/constants/states.py 7 0 100% 02:41:00 trainingmgr/constants/steps.py 8 0 100% 02:41:00 trainingmgr/db/__init__.py 0 0 100% 02:41:00 trainingmgr/db/common_db_fun.py 427 10 98% 505-523, 552-555 02:41:00 trainingmgr/db/trainingmgr_ps_db.py 73 22 70% 46-48, 56, 61-64, 77-79, 110-113, 126-128, 148-151 02:41:00 trainingmgr/trainingmgr_main.py 759 169 78% 377-379, 416-418, 434-435, 444-457, 459-463, 470, 475, 544-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 02:41:00 ---------------------------------------------------------------------------- 02:41:00 TOTAL 1643 222 86% 02:41:00 Coverage HTML written to dir htmlcov 02:41:00 Coverage XML written to file coverage.xml 02:41:00 02:41:00 Required test coverage of 10% reached. Total coverage: 86.49% 02:41:00 =========================== short test summary info ============================ 02:41:00 FAILED tests/test_trainingmgr_operations.py::Test_get_model_info::test_get_model_info 02:41:00 FAILED tests/test_trainingmgr_operations.py::Test_get_model_info::test_negative_get_model_info 02:41:00 =================== 2 failed, 193 passed, 1 warning in 2.54s =================== 02:41:00 code: exit 1 (3.12 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=27879 02:41:01 code: FAIL ✖ in 32.22 seconds 02:41:01 docs: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' 02:41:36 docs: freeze> python -m pip freeze --all 02:41:36 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 02:41:36 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 02:41:37 Running Sphinx v7.2.6 02:41:37 making output directory... done 02:41:37 loading intersphinx inventory from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... 02:41:37 building [mo]: targets for 0 po files that are out of date 02:41:37 writing output... 02:41:37 building [html]: targets for 4 source files that are out of date 02:41:37 updating environment: [new config] 4 added, 0 changed, 0 removed 02:41:37 reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes 02:41:37 looking for now-outdated files... none found 02:41:37 pickling environment... done 02:41:37 checking consistency... done 02:41:37 preparing documents... done 02:41:37 copying assets... copying static files... done 02:41:37 copying extra files... done 02:41:37 done 02:41:38 writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes 02:41:38 generating indices... genindex done 02:41:38 highlighting module code... 02:41:38 writing additional pages... search done 02:41:38 dumping search index in English (code: en)... done 02:41:38 dumping object inventory... done 02:41:38 build succeeded. 02:41:38 02:41:38 The HTML pages are in docs/_build/html. 02:41:38 docs: commands[1]> echo 'Generated docs available in /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/docs/_build/html' 02:41:38 Generated docs available in /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/docs/_build/html 02:41:38 docs: OK ✔ in 37.34 seconds 02:41:38 docs-linkcheck: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' 02:41:57 docs-linkcheck: freeze> python -m pip freeze --all 02:41:57 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 02:41:57 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 02:41:57 Running Sphinx v7.2.6 02:41:57 making output directory... done 02:41:57 loading intersphinx inventory from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... 02:41:57 building [mo]: targets for 0 po files that are out of date 02:41:57 writing output... 02:41:57 building [linkcheck]: targets for 4 source files that are out of date 02:41:57 updating environment: [new config] 4 added, 0 changed, 0 removed 02:41:58 reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes 02:41:58 looking for now-outdated files... none found 02:41:58 pickling environment... done 02:41:58 checking consistency... done 02:41:58 preparing documents... done 02:41:58 copying assets... done 02:41:58 writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes 02:41:58 02:41:58 (installation-guide: line 39) ok https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/index.html 02:41:58 build succeeded. 02:41:58 02:41:58 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 02:41:58 code: FAIL code 1 (32.22=setup[24.74]+cmd[1.31,0.37,0.23,1.24,1.21,3.12] seconds) 02:41:58 docs: OK (37.33=setup[36.08]+cmd[1.25,0.01] seconds) 02:41:58 docs-linkcheck: OK (20.20=setup[19.22]+cmd[0.98] seconds) 02:41:58 evaluation failed :( (89.90 seconds) 02:41:58 + tox_status=255 02:41:58 + echo '---> Completed tox runs' 02:41:58 ---> Completed tox runs 02:41:58 + for i in .tox/*/log 02:41:58 ++ echo .tox/code/log 02:41:58 ++ awk -F/ '{print $2}' 02:41:58 + tox_env=code 02:41:58 + cp -r .tox/code/log /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/code 02:41:58 + for i in .tox/*/log 02:41:58 ++ echo .tox/docs-linkcheck/log 02:41:58 ++ awk -F/ '{print $2}' 02:41:58 + tox_env=docs-linkcheck 02:41:58 + cp -r .tox/docs-linkcheck/log /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/docs-linkcheck 02:41:58 + for i in .tox/*/log 02:41:58 ++ echo .tox/docs/log 02:41:58 ++ awk -F/ '{print $2}' 02:41:58 + tox_env=docs 02:41:58 + cp -r .tox/docs/log /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/tox/docs 02:41:58 + DOC_DIR=docs/_build/html 02:41:58 + [[ -d docs/_build/html ]] 02:41:58 + echo '---> Archiving generated docs' 02:41:58 ---> Archiving generated docs 02:41:58 + mv docs/_build/html /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/docs 02:41:58 + echo '---> tox-run.sh ends' 02:41:58 ---> tox-run.sh ends 02:41:58 + test 255 -eq 0 02:41:58 + exit 255 02:41:58 ++ '[' 1 = 1 ']' 02:41:58 ++ '[' -x /usr/bin/clear_console ']' 02:41:58 ++ /usr/bin/clear_console -q 02:41:58 Build step 'Execute shell' marked build as failure 02:41:58 $ ssh-agent -k 02:41:58 unset SSH_AUTH_SOCK; 02:41:58 unset SSH_AGENT_PID; 02:41:58 echo Agent pid 5646 killed; 02:41:58 [ssh-agent] Stopped. 02:41:58 [PostBuildScript] - [INFO] Executing post build scripts. 02:41:58 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins12663092927059698396.sh 02:41:58 ---> sysstat.sh 02:41:59 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5806370829863921754.sh 02:41:59 ---> package-listing.sh 02:41:59 ++ tr '[:upper:]' '[:lower:]' 02:41:59 ++ facter osfamily 02:41:59 + OS_FAMILY=debian 02:41:59 + workspace=/w/workspace/aiml-fw-awmf-tm-tox-sonarqube 02:41:59 + START_PACKAGES=/tmp/packages_start.txt 02:41:59 + END_PACKAGES=/tmp/packages_end.txt 02:41:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:41:59 + PACKAGES=/tmp/packages_start.txt 02:41:59 + '[' /w/workspace/aiml-fw-awmf-tm-tox-sonarqube ']' 02:41:59 + PACKAGES=/tmp/packages_end.txt 02:41:59 + case "${OS_FAMILY}" in 02:41:59 + grep '^ii' 02:41:59 + dpkg -l 02:41:59 + '[' -f /tmp/packages_start.txt ']' 02:41:59 + '[' -f /tmp/packages_end.txt ']' 02:41:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:41:59 + '[' /w/workspace/aiml-fw-awmf-tm-tox-sonarqube ']' 02:41:59 + mkdir -p /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/ 02:41:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/archives/ 02:41:59 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins10935906543935711062.sh 02:41:59 ---> capture-instance-metadata.sh 02:41:59 Setup pyenv: 02:41:59 system 02:41:59 3.8.13 02:41:59 3.9.13 02:41:59 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 02:41:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Q2ie from file:/tmp/.os_lf_venv 02:42:01 lf-activate-venv(): INFO: Installing: lftools 02:42:15 lf-activate-venv(): INFO: Adding /tmp/venv-Q2ie/bin to PATH 02:42:15 INFO: Running in OpenStack, capturing instance metadata 02:42:16 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins16451275984411949309.sh 02:42:16 provisioning config files... 02:42:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-awmf-tm-tox-sonarqube@tmp/config1031478778675873782tmp 02:42:16 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 02:42:16 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 02:42:16 [EnvInject] - Injecting environment variables from a build step. 02:42:16 [EnvInject] - Injecting as environment variables the properties content 02:42:16 SERVER_ID=logs 02:42:16 02:42:16 [EnvInject] - Variables injected successfully. 02:42:16 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins16707861536667648318.sh 02:42:16 ---> create-netrc.sh 02:42:16 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins5023140288357198625.sh 02:42:16 ---> python-tools-install.sh 02:42:16 Setup pyenv: 02:42:16 system 02:42:16 3.8.13 02:42:16 3.9.13 02:42:16 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 02:42:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Q2ie from file:/tmp/.os_lf_venv 02:42:18 lf-activate-venv(): INFO: Installing: lftools 02:42:29 lf-activate-venv(): INFO: Adding /tmp/venv-Q2ie/bin to PATH 02:42:29 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins1260927464637935540.sh 02:42:29 ---> sudo-logs.sh 02:42:29 Archiving 'sudo' log.. 02:42:29 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash /tmp/jenkins2394256697317401742.sh 02:42:29 ---> job-cost.sh 02:42:29 Setup pyenv: 02:42:29 system 02:42:29 3.8.13 02:42:29 3.9.13 02:42:29 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 02:42:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Q2ie from file:/tmp/.os_lf_venv 02:42:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 02:42:39 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. 02:42:39 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 02:42:39 lf-activate-venv(): INFO: Adding /tmp/venv-Q2ie/bin to PATH 02:42:39 INFO: No Stack... 02:42:40 INFO: Retrieving Pricing Info for: v2-highcpu-2 02:42:40 INFO: Archiving Costs 02:42:40 [aiml-fw-awmf-tm-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6159212870444310050.sh 02:42:40 ---> logs-deploy.sh 02:42:40 Setup pyenv: 02:42:40 system 02:42:40 3.8.13 02:42:40 3.9.13 02:42:40 * 3.10.6 (set by /w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.python-version) 02:42:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Q2ie from file:/tmp/.os_lf_venv 02:42:42 lf-activate-venv(): INFO: Installing: lftools 02:42:54 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. 02:42:54 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 02:42:54 lf-activate-venv(): INFO: Adding /tmp/venv-Q2ie/bin to PATH 02:42:54 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/aiml-fw-awmf-tm-tox-sonarqube/94 02:42:54 INFO: archiving workspace using pattern(s): -p **/*.log 02:42:57 Archives upload complete. 02:42:57 INFO: archiving logs to Nexus 02:42:58 ---> uname -a: 02:42:58 Linux prd-ubuntu1804-builder-2c-2g-28 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 02:42:58 02:42:58 02:42:58 ---> lscpu: 02:42:58 Architecture: x86_64 02:42:58 CPU op-mode(s): 32-bit, 64-bit 02:42:58 Byte Order: Little Endian 02:42:58 Address sizes: 40 bits physical, 48 bits virtual 02:42:58 CPU(s): 2 02:42:58 On-line CPU(s) list: 0,1 02:42:58 Thread(s) per core: 1 02:42:58 Core(s) per socket: 1 02:42:58 Socket(s): 2 02:42:58 NUMA node(s): 1 02:42:58 Vendor ID: AuthenticAMD 02:42:58 CPU family: 23 02:42:58 Model: 49 02:42:58 Model name: AMD EPYC-Rome Processor 02:42:58 Stepping: 0 02:42:58 CPU MHz: 2800.022 02:42:58 BogoMIPS: 5600.04 02:42:58 Virtualization: AMD-V 02:42:58 Hypervisor vendor: KVM 02:42:58 Virtualization type: full 02:42:58 L1d cache: 64 KiB 02:42:58 L1i cache: 64 KiB 02:42:58 L2 cache: 1 MiB 02:42:58 L3 cache: 32 MiB 02:42:58 NUMA node0 CPU(s): 0,1 02:42:58 Vulnerability Itlb multihit: Not affected 02:42:58 Vulnerability L1tf: Not affected 02:42:58 Vulnerability Mds: Not affected 02:42:58 Vulnerability Meltdown: Not affected 02:42:58 Vulnerability Mmio stale data: Not affected 02:42:58 Vulnerability Retbleed: Vulnerable 02:42:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:42:58 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:42:58 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 02:42:58 Vulnerability Srbds: Not affected 02:42:58 Vulnerability Tsx async abort: Not affected 02:42:58 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 02:42:58 02:42:58 02:42:58 ---> nproc: 02:42:58 2 02:42:58 02:42:58 02:42:58 ---> df -h: 02:42:58 Filesystem Size Used Avail Use% Mounted on 02:42:58 udev 975M 0 975M 0% /dev 02:42:58 tmpfs 199M 1008K 198M 1% /run 02:42:58 /dev/vda1 20G 9.3G 10G 48% / 02:42:58 tmpfs 992M 0 992M 0% /dev/shm 02:42:58 tmpfs 5.0M 0 5.0M 0% /run/lock 02:42:58 tmpfs 992M 0 992M 0% /sys/fs/cgroup 02:42:58 /dev/loop0 68M 68M 0 100% /snap/lxd/22753 02:42:58 /dev/loop1 62M 62M 0 100% /snap/core20/1405 02:42:58 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 02:42:58 /dev/vda15 105M 6.1M 99M 6% /boot/efi 02:42:58 tmpfs 199M 0 199M 0% /run/user/1001 02:42:58 02:42:58 02:42:58 ---> free -m: 02:42:58 total used free shared buff/cache available 02:42:58 Mem: 1983 387 122 2 1472 1405 02:42:58 Swap: 1023 0 1023 02:42:58 02:42:58 02:42:58 ---> ip addr: 02:42:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 02:42:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:42:58 inet 127.0.0.1/8 scope host lo 02:42:58 valid_lft forever preferred_lft forever 02:42:58 inet6 ::1/128 scope host 02:42:58 valid_lft forever preferred_lft forever 02:42:58 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 02:42:58 link/ether fa:16:3e:db:5e:ce brd ff:ff:ff:ff:ff:ff 02:42:58 inet 10.32.7.222/23 brd 10.32.7.255 scope global dynamic ens3 02:42:58 valid_lft 86129sec preferred_lft 86129sec 02:42:58 inet6 fe80::f816:3eff:fedb:5ece/64 scope link 02:42:58 valid_lft forever preferred_lft forever 02:42:58 02:42:58 02:42:58 ---> sar -b -r -n DEV: 02:42:58 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-28) 12/12/23 _x86_64_ (2 CPU) 02:42:58 02:42:58 02:38:30 LINUX RESTART (2 CPU) 02:42:58 02:42:58 02:39:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:42:58 02:40:01 186.83 81.24 105.59 0.00 1860.16 12622.00 0.00 02:42:58 02:41:01 90.10 9.67 80.44 0.00 618.56 21874.49 0.00 02:42:58 02:42:01 109.82 15.13 94.68 0.00 978.64 31966.27 0.00 02:42:58 Average: 128.59 35.09 93.50 0.00 1148.50 22207.50 0.00 02:42:58 02:42:58 02:39:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:42:58 02:40:01 69124 1400664 395764 19.49 59644 1351912 871380 28.30 485388 1278416 73500 02:42:58 02:41:01 240720 1471440 320388 15.78 80232 1198580 848168 27.54 379124 1177372 36584 02:42:58 02:42:01 230992 1465568 318684 15.69 102040 1177348 799488 25.96 340804 1215384 95444 02:42:58 Average: 180279 1445891 344945 16.99 80639 1242613 839679 27.27 401772 1223724 68509 02:42:58 02:42:58 02:39:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:42:58 02:40:01 ens3 83.04 75.89 1115.85 8.55 0.00 0.00 0.00 0.00 02:42:58 02:40:01 lo 0.75 0.75 0.07 0.07 0.00 0.00 0.00 0.00 02:42:58 02:41:01 ens3 45.68 42.58 595.00 12.09 0.00 0.00 0.00 0.00 02:42:58 02:41:01 lo 1.10 1.10 0.10 0.10 0.00 0.00 0.00 0.00 02:42:58 02:42:01 ens3 77.64 70.34 1272.12 10.10 0.00 0.00 0.00 0.00 02:42:58 02:42:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 02:42:58 Average: ens3 68.70 62.86 993.64 10.26 0.00 0.00 0.00 0.00 02:42:58 Average: lo 0.84 0.84 0.08 0.08 0.00 0.00 0.00 0.00 02:42:58 02:42:58 02:42:58 ---> sar -P ALL: 02:42:58 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-28) 12/12/23 _x86_64_ (2 CPU) 02:42:58 02:42:58 02:38:30 LINUX RESTART (2 CPU) 02:42:58 02:42:58 02:39:02 CPU %user %nice %system %iowait %steal %idle 02:42:58 02:40:01 all 35.64 18.43 13.86 8.37 0.09 23.61 02:42:58 02:40:01 0 33.47 17.32 13.21 5.94 0.10 29.95 02:42:58 02:40:01 1 37.83 19.54 14.51 10.80 0.09 17.23 02:42:58 02:41:01 all 39.62 0.00 3.77 5.88 0.09 50.63 02:42:58 02:41:01 0 26.46 0.00 3.66 7.18 0.08 62.61 02:42:58 02:41:01 1 52.89 0.00 3.88 4.58 0.10 38.56 02:42:58 02:42:01 all 37.87 0.00 3.27 6.85 0.09 51.91 02:42:58 02:42:01 0 53.58 0.00 3.90 9.54 0.10 32.87 02:42:58 02:42:01 1 22.23 0.00 2.64 4.17 0.08 70.87 02:42:58 Average: all 37.73 6.04 6.91 7.02 0.09 42.21 02:42:58 Average: 0 37.82 5.69 6.88 7.56 0.09 41.96 02:42:58 Average: 1 37.64 6.39 6.94 6.48 0.09 42.46 02:42:58 02:42:58 02:42:58