10:30:07 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 10:30:07 Running as SYSTEM 10:30:07 [EnvInject] - Loading node environment variables. 10:30:07 Building remotely on prd-ubuntu2004-builder-2c-2g-236 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 10:30:07 [ssh-agent] Looking for ssh-agent implementation... 10:30:08 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:30:08 $ ssh-agent 10:30:08 SSH_AUTH_SOCK=/tmp/ssh-N7noDPycQ4Pn/agent.6690 10:30:08 SSH_AGENT_PID=6696 10:30:08 [ssh-agent] Started. 10:30:08 Running ssh-add (command line suppressed) 10:30:08 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_10487666189549058779.key (jenkins-ssh) 10:30:08 [ssh-agent] Using credentials jenkins (jenkins) 10:30:08 The recommended git tool is: NONE 10:30:10 using credential jenkins 10:30:10 Wiping out workspace first. 10:30:10 Cloning the remote Git repository 10:30:10 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 10:30:10 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 10:30:10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 10:30:10 > git --version # timeout=10 10:30:10 > git --version # 'git version 2.25.1' 10:30:10 using GIT_SSH to set credentials jenkins 10:30:10 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 10:30:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 10:30:11 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 10:30:11 using GIT_SSH to set credentials jenkins 10:30:11 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface refs/changes/34/12434/21 # timeout=10 10:30:12 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 10:30:12 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 10:30:12 > git config core.sparsecheckout # timeout=10 10:30:12 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 10:30:12 Commit message: "Fix build failure" 10:30:12 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 10:30:12 provisioning config files... 10:30:12 copy managed file [npmrc] to file:/home/jenkins/.npmrc 10:30:12 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 10:30:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins3746707174477785328.sh 10:30:12 ---> python-tools-install.sh 10:30:12 Setup pyenv: 10:30:12 * system (set by /opt/pyenv/version) 10:30:12 * 3.8.13 (set by /opt/pyenv/version) 10:30:12 * 3.9.13 (set by /opt/pyenv/version) 10:30:12 * 3.10.6 (set by /opt/pyenv/version) 10:30:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HbYY 10:30:18 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 10:30:21 lf-activate-venv(): INFO: Installing: lftools 10:30:57 lf-activate-venv(): INFO: Adding /tmp/venv-HbYY/bin to PATH 10:30:57 Generating Requirements File 10:31:31 Python 3.10.6 10:31:31 pip 23.3.2 from /tmp/venv-HbYY/lib/python3.10/site-packages/pip (python 3.10) 10:31:32 appdirs==1.4.4 10:31:32 argcomplete==3.2.2 10:31:32 aspy.yaml==1.3.0 10:31:32 attrs==23.2.0 10:31:32 autopage==0.5.2 10:31:32 beautifulsoup4==4.12.3 10:31:32 boto3==1.34.29 10:31:32 botocore==1.34.29 10:31:32 bs4==0.0.2 10:31:32 cachetools==5.3.2 10:31:32 certifi==2023.11.17 10:31:32 cffi==1.16.0 10:31:32 cfgv==3.4.0 10:31:32 chardet==5.2.0 10:31:32 charset-normalizer==3.3.2 10:31:32 click==8.1.7 10:31:32 cliff==4.5.0 10:31:32 cmd2==2.4.3 10:31:32 cryptography==3.3.2 10:31:32 debtcollector==2.5.0 10:31:32 decorator==5.1.1 10:31:32 defusedxml==0.7.1 10:31:32 Deprecated==1.2.14 10:31:32 distlib==0.3.8 10:31:32 dnspython==2.5.0 10:31:32 docker==4.2.2 10:31:32 dogpile.cache==1.3.0 10:31:32 email-validator==2.1.0.post1 10:31:32 filelock==3.13.1 10:31:32 future==0.18.3 10:31:32 gitdb==4.0.11 10:31:32 GitPython==3.1.41 10:31:32 google-auth==2.27.0 10:31:32 httplib2==0.22.0 10:31:32 identify==2.5.33 10:31:32 idna==3.6 10:31:32 importlib-resources==1.5.0 10:31:32 iso8601==2.1.0 10:31:32 Jinja2==3.1.3 10:31:32 jmespath==1.0.1 10:31:32 jsonpatch==1.33 10:31:32 jsonpointer==2.4 10:31:32 jsonschema==4.21.1 10:31:32 jsonschema-specifications==2023.12.1 10:31:32 keystoneauth1==5.5.0 10:31:32 kubernetes==29.0.0 10:31:32 lftools==0.37.8 10:31:32 lxml==5.1.0 10:31:32 MarkupSafe==2.1.4 10:31:32 msgpack==1.0.7 10:31:32 multi_key_dict==2.0.3 10:31:32 munch==4.0.0 10:31:32 netaddr==0.10.1 10:31:32 netifaces==0.11.0 10:31:32 niet==1.4.2 10:31:32 nodeenv==1.8.0 10:31:32 oauth2client==4.1.3 10:31:32 oauthlib==3.2.2 10:31:32 openstacksdk==0.62.0 10:31:32 os-client-config==2.1.0 10:31:32 os-service-types==1.7.0 10:31:32 osc-lib==3.0.0 10:31:32 oslo.config==9.3.0 10:31:32 oslo.context==5.3.0 10:31:32 oslo.i18n==6.2.0 10:31:32 oslo.log==5.4.0 10:31:32 oslo.serialization==5.3.0 10:31:32 oslo.utils==7.0.0 10:31:32 packaging==23.2 10:31:32 pbr==6.0.0 10:31:32 platformdirs==4.1.0 10:31:32 prettytable==3.9.0 10:31:32 pyasn1==0.5.1 10:31:32 pyasn1-modules==0.3.0 10:31:32 pycparser==2.21 10:31:32 pygerrit2==2.0.15 10:31:32 PyGithub==2.1.1 10:31:32 pyinotify==0.9.6 10:31:32 PyJWT==2.8.0 10:31:32 PyNaCl==1.5.0 10:31:32 pyparsing==2.4.7 10:31:32 pyperclip==1.8.2 10:31:32 pyrsistent==0.20.0 10:31:32 python-cinderclient==9.4.0 10:31:32 python-dateutil==2.8.2 10:31:32 python-heatclient==3.4.0 10:31:32 python-jenkins==1.8.2 10:31:32 python-keystoneclient==5.3.0 10:31:32 python-magnumclient==4.3.0 10:31:32 python-novaclient==18.4.0 10:31:32 python-openstackclient==6.0.0 10:31:32 python-swiftclient==4.4.0 10:31:32 pytz==2023.3.post1 10:31:32 PyYAML==6.0.1 10:31:32 referencing==0.33.0 10:31:32 requests==2.31.0 10:31:32 requests-oauthlib==1.3.1 10:31:32 requestsexceptions==1.4.0 10:31:32 rfc3986==2.0.0 10:31:32 rpds-py==0.17.1 10:31:32 rsa==4.9 10:31:32 ruamel.yaml==0.18.5 10:31:32 ruamel.yaml.clib==0.2.8 10:31:32 s3transfer==0.10.0 10:31:32 simplejson==3.19.2 10:31:32 six==1.16.0 10:31:32 smmap==5.0.1 10:31:32 soupsieve==2.5 10:31:32 stevedore==5.1.0 10:31:32 tabulate==0.9.0 10:31:32 toml==0.10.2 10:31:32 tomlkit==0.12.3 10:31:32 tqdm==4.66.1 10:31:32 typing_extensions==4.9.0 10:31:32 tzdata==2023.4 10:31:32 urllib3==1.26.18 10:31:32 virtualenv==20.25.0 10:31:32 wcwidth==0.2.13 10:31:32 websocket-client==1.7.0 10:31:32 wrapt==1.16.0 10:31:32 xdg==6.0.0 10:31:32 xmltodict==0.13.0 10:31:32 yq==3.2.3 10:31:32 [EnvInject] - Injecting environment variables from a build step. 10:31:32 [EnvInject] - Injecting as environment variables the properties content 10:31:32 PYTHON=python3 10:31:32 10:31:32 [EnvInject] - Variables injected successfully. 10:31:32 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13753626037592614816.sh 10:31:32 ---> tox-install.sh 10:31:32 + source /home/jenkins/lf-env.sh 10:31:32 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:31:32 ++ mktemp -d /tmp/venv-XXXX 10:31:32 + lf_venv=/tmp/venv-1LEu 10:31:32 + local venv_file=/tmp/.os_lf_venv 10:31:32 + local python=python3 10:31:32 + local options 10:31:32 + local set_path=true 10:31:32 + local install_args= 10:31:32 ++ 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 10:31:32 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:31:32 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:31:32 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:31:32 + true 10:31:32 + case $1 in 10:31:32 + venv_file=/tmp/.toxenv 10:31:32 + shift 2 10:31:32 + true 10:31:32 + case $1 in 10:31:32 + shift 10:31:32 + break 10:31:32 + case $python in 10:31:32 + local pkg_list= 10:31:32 + [[ -d /opt/pyenv ]] 10:31:32 + echo 'Setup pyenv:' 10:31:32 Setup pyenv: 10:31:32 + export PYENV_ROOT=/opt/pyenv 10:31:32 + PYENV_ROOT=/opt/pyenv 10:31:32 + 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 10:31:32 + 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 10:31:32 + pyenv versions 10:31:32 system 10:31:32 3.8.13 10:31:32 3.9.13 10:31:32 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:31:32 + command -v pyenv 10:31:32 ++ pyenv init - --no-rehash 10:31:32 + 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[*]}"'\'')" 10:31:32 export PATH="/opt/pyenv/shims:${PATH}" 10:31:32 export PYENV_SHELL=bash 10:31:32 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:31:32 pyenv() { 10:31:32 local command 10:31:32 command="${1:-}" 10:31:32 if [ "$#" -gt 0 ]; then 10:31:32 shift 10:31:32 fi 10:31:32 10:31:32 case "$command" in 10:31:32 rehash|shell) 10:31:32 eval "$(pyenv "sh-$command" "$@")" 10:31:32 ;; 10:31:32 *) 10:31:32 command pyenv "$command" "$@" 10:31:32 ;; 10:31:32 esac 10:31:32 }' 10:31:32 +++ 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[*]}"' 10:31:32 ++ 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 10:31:32 ++ 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 10:31:32 ++ 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 10:31:32 ++ export PYENV_SHELL=bash 10:31:32 ++ PYENV_SHELL=bash 10:31:32 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:31:32 +++ complete -F _pyenv pyenv 10:31:32 ++ lf-pyver python3 10:31:32 ++ local py_version_xy=python3 10:31:32 ++ local py_version_xyz= 10:31:32 ++ pyenv versions 10:31:32 ++ local command 10:31:32 ++ grep -E '^[0-9.]*[0-9]$' 10:31:32 ++ command=versions 10:31:32 ++ '[' 1 -gt 0 ']' 10:31:32 ++ shift 10:31:32 ++ case "$command" in 10:31:32 ++ command pyenv versions 10:31:32 ++ pyenv versions 10:31:32 ++ sed 's/^[ *]* //' 10:31:32 ++ awk '{ print $1 }' 10:31:32 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:31:32 +++ grep '^3' /tmp/.pyenv_versions 10:31:32 +++ tail -n 1 10:31:32 +++ sort -V 10:31:32 ++ py_version_xyz=3.10.6 10:31:32 ++ [[ -z 3.10.6 ]] 10:31:32 ++ echo 3.10.6 10:31:32 ++ return 0 10:31:32 + pyenv local 3.10.6 10:31:32 + local command 10:31:32 + command=local 10:31:32 + '[' 2 -gt 0 ']' 10:31:32 + shift 10:31:32 + case "$command" in 10:31:32 + command pyenv local 3.10.6 10:31:32 + pyenv local 3.10.6 10:31:32 + for arg in "$@" 10:31:32 + case $arg in 10:31:32 + pkg_list+='tox ' 10:31:32 + for arg in "$@" 10:31:32 + case $arg in 10:31:32 + pkg_list+='virtualenv ' 10:31:32 + for arg in "$@" 10:31:32 + case $arg in 10:31:32 + pkg_list+='urllib3~=1.26.15 ' 10:31:32 + [[ -f /tmp/.toxenv ]] 10:31:32 + [[ ! -f /tmp/.toxenv ]] 10:31:32 + [[ -n '' ]] 10:31:32 + python3 -m venv /tmp/venv-1LEu 10:31:36 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1LEu' 10:31:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1LEu 10:31:36 + echo /tmp/venv-1LEu 10:31:36 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 10:31:36 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 10:31:36 + /tmp/venv-1LEu/bin/python3 -m pip install --upgrade --quiet pip virtualenv 10:31:39 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:31:39 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 10:31:39 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 10:31:39 + /tmp/venv-1LEu/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 10:31:42 + type python3 10:31:42 + true 10:31:42 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-1LEu/bin to PATH' 10:31:42 lf-activate-venv(): INFO: Adding /tmp/venv-1LEu/bin to PATH 10:31:42 + PATH=/tmp/venv-1LEu/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 10:31:42 + return 0 10:31:42 + python3 --version 10:31:42 Python 3.10.6 10:31:42 + python3 -m pip --version 10:31:42 pip 23.3.2 from /tmp/venv-1LEu/lib/python3.10/site-packages/pip (python 3.10) 10:31:42 + python3 -m pip freeze 10:31:42 cachetools==5.3.2 10:31:42 chardet==5.2.0 10:31:42 colorama==0.4.6 10:31:42 distlib==0.3.8 10:31:42 filelock==3.13.1 10:31:42 packaging==23.2 10:31:42 platformdirs==4.1.0 10:31:42 pluggy==1.4.0 10:31:42 pyproject-api==1.6.1 10:31:42 tomli==2.0.1 10:31:42 tox==4.12.1 10:31:42 urllib3==1.26.18 10:31:42 virtualenv==20.25.0 10:31:42 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins9638770298571505530.sh 10:31:42 [EnvInject] - Injecting environment variables from a build step. 10:31:42 [EnvInject] - Injecting as environment variables the properties content 10:31:42 PARALLEL=False 10:31:42 10:31:42 [EnvInject] - Variables injected successfully. 10:31:42 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8849283380079876847.sh 10:31:42 ---> tox-run.sh 10:31:42 + 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 10:31:42 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 10:31:42 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 10:31:42 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 10:31:42 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 10:31:42 + source /home/jenkins/lf-env.sh 10:31:42 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:31:42 ++ mktemp -d /tmp/venv-XXXX 10:31:42 + lf_venv=/tmp/venv-TMdl 10:31:42 + local venv_file=/tmp/.os_lf_venv 10:31:42 + local python=python3 10:31:42 + local options 10:31:42 + local set_path=true 10:31:42 + local install_args= 10:31:42 ++ 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 10:31:42 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:31:42 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:31:42 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:31:42 + true 10:31:42 + case $1 in 10:31:42 + venv_file=/tmp/.toxenv 10:31:42 + shift 2 10:31:42 + true 10:31:42 + case $1 in 10:31:42 + shift 10:31:42 + break 10:31:42 + case $python in 10:31:42 + local pkg_list= 10:31:42 + [[ -d /opt/pyenv ]] 10:31:42 + echo 'Setup pyenv:' 10:31:42 Setup pyenv: 10:31:42 + export PYENV_ROOT=/opt/pyenv 10:31:42 + PYENV_ROOT=/opt/pyenv 10:31:42 + 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 10:31:42 + 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 10:31:42 + pyenv versions 10:31:42 system 10:31:42 3.8.13 10:31:42 3.9.13 10:31:42 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:31:42 + command -v pyenv 10:31:42 ++ pyenv init - --no-rehash 10:31:43 + 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[*]}"'\'')" 10:31:43 export PATH="/opt/pyenv/shims:${PATH}" 10:31:43 export PYENV_SHELL=bash 10:31:43 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:31:43 pyenv() { 10:31:43 local command 10:31:43 command="${1:-}" 10:31:43 if [ "$#" -gt 0 ]; then 10:31:43 shift 10:31:43 fi 10:31:43 10:31:43 case "$command" in 10:31:43 rehash|shell) 10:31:43 eval "$(pyenv "sh-$command" "$@")" 10:31:43 ;; 10:31:43 *) 10:31:43 command pyenv "$command" "$@" 10:31:43 ;; 10:31:43 esac 10:31:43 }' 10:31:43 +++ 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[*]}"' 10:31:43 ++ 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 10:31:43 ++ 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 10:31:43 ++ 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 10:31:43 ++ export PYENV_SHELL=bash 10:31:43 ++ PYENV_SHELL=bash 10:31:43 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:31:43 +++ complete -F _pyenv pyenv 10:31:43 ++ lf-pyver python3 10:31:43 ++ local py_version_xy=python3 10:31:43 ++ local py_version_xyz= 10:31:43 ++ pyenv versions 10:31:43 ++ local command 10:31:43 ++ command=versions 10:31:43 ++ '[' 1 -gt 0 ']' 10:31:43 ++ shift 10:31:43 ++ case "$command" in 10:31:43 ++ command pyenv versions 10:31:43 ++ pyenv versions 10:31:43 ++ sed 's/^[ *]* //' 10:31:43 ++ grep -E '^[0-9.]*[0-9]$' 10:31:43 ++ awk '{ print $1 }' 10:31:43 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:31:43 +++ grep '^3' /tmp/.pyenv_versions 10:31:43 +++ sort -V 10:31:43 +++ tail -n 1 10:31:43 ++ py_version_xyz=3.10.6 10:31:43 ++ [[ -z 3.10.6 ]] 10:31:43 ++ echo 3.10.6 10:31:43 ++ return 0 10:31:43 + pyenv local 3.10.6 10:31:43 + local command 10:31:43 + command=local 10:31:43 + '[' 2 -gt 0 ']' 10:31:43 + shift 10:31:43 + case "$command" in 10:31:43 + command pyenv local 3.10.6 10:31:43 + pyenv local 3.10.6 10:31:43 + for arg in "$@" 10:31:43 + case $arg in 10:31:43 + pkg_list+='tox ' 10:31:43 + for arg in "$@" 10:31:43 + case $arg in 10:31:43 + pkg_list+='virtualenv ' 10:31:43 + for arg in "$@" 10:31:43 + case $arg in 10:31:43 + pkg_list+='urllib3~=1.26.15 ' 10:31:43 + [[ -f /tmp/.toxenv ]] 10:31:43 ++ cat /tmp/.toxenv 10:31:43 + lf_venv=/tmp/venv-1LEu 10:31:43 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1LEu from' file:/tmp/.toxenv 10:31:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1LEu from file:/tmp/.toxenv 10:31:43 + /tmp/venv-1LEu/bin/python3 -m pip install --upgrade --quiet pip virtualenv 10:31:44 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:31:44 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 10:31:44 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 10:31:44 + /tmp/venv-1LEu/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 10:31:45 + type python3 10:31:45 + true 10:31:45 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-1LEu/bin to PATH' 10:31:45 lf-activate-venv(): INFO: Adding /tmp/venv-1LEu/bin to PATH 10:31:45 + PATH=/tmp/venv-1LEu/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 10:31:45 + return 0 10:31:45 + [[ -d /opt/pyenv ]] 10:31:45 + echo '---> Setting up pyenv' 10:31:45 ---> Setting up pyenv 10:31:45 + export PYENV_ROOT=/opt/pyenv 10:31:45 + PYENV_ROOT=/opt/pyenv 10:31:45 + export PATH=/opt/pyenv/bin:/tmp/venv-1LEu/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 10:31:45 + PATH=/opt/pyenv/bin:/tmp/venv-1LEu/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 10:31:45 ++ pwd 10:31:45 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 10:31:45 + export PYTHONPATH 10:31:45 + export TOX_TESTENV_PASSENV=PYTHONPATH 10:31:45 + TOX_TESTENV_PASSENV=PYTHONPATH 10:31:45 + tox --version 10:31:45 4.12.1 from /tmp/venv-1LEu/lib/python3.10/site-packages/tox/__init__.py 10:31:45 + PARALLEL=False 10:31:45 + TOX_OPTIONS_LIST= 10:31:45 + [[ -n '' ]] 10:31:45 + case ${PARALLEL,,} in 10:31:45 + tox 10:31:45 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 10:31:47 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 10:31:55 code: freeze> python -m pip freeze --all 10:31:55 code: attrs==23.2.0,certifi==2023.11.17,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.4.1,exceptiongroup==1.2.0,Flask==2.2.5,idna==3.6,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.1.2,Jinja2==3.1.3,jsonschema==4.21.1,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.4,packaging==23.2,pip==23.3.1,pluggy==1.4.0,pytest==8.0.0,pytest-cov==4.1.0,PyYAML==6.0.1,referencing==0.33.0,requests==2.31.0,rpds-py==0.17.1,setuptools==69.0.2,tomli==2.0.1,urllib3==2.1.0,Werkzeug==2.2.3,wheel==0.42.0 10:31:55 code: commands[0]> pytest -o log_cli=true --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_osc_2_1_0.py 10:31:56 ============================= test session starts ============================== 10:31:56 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 10:31:56 cachedir: .tox/code/.pytest_cache 10:31:56 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 10:31:56 plugins: cov-4.1.0 10:31:56 collected 4 items 10:31:56 10:31:56 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:31:56 -------------------------------- live log setup -------------------------------- 10:31:56 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:31:56 Please install connexion with extra install: pip install connexion[swagger-ui] 10:31:56 or provide the path to your local installation by passing swagger_path= 10:31:56 10:31:56 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:31:56 Please install connexion with extra install: pip install connexion[swagger-ui] 10:31:56 or provide the path to your local installation by passing swagger_path= 10:31:56 10:31:56 PASSED [ 25%] 10:31:56 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 10:32:06 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 10:32:06 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 10:32:06 -------------------------------- live log call --------------------------------- 10:32:06 INFO werkzeug:_internal.py:224 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. 10:32:06 * Running on http://127.0.0.1:8086 10:32:06 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 10:32:16 INFO werkzeug:_internal.py:224 127.0.0.1 - - [29/Jan/2024 10:32:16] "POST /statustest HTTP/1.1" 201 - 10:32:16 PASSED [100%] 10:32:17 10:32:17 =============================== warnings summary =============================== 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:32:17 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 10:32:17 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 10:32:17 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:32:17 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 10:32:17 from jsonschema import Draft4Validator, RefResolver 10:32:17 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:32:17 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 10:32:17 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 10:32:17 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:32:17 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 10:32:17 app.json_encoder = FlaskJSONEncoder 10:32:17 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 10:32:17 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 10:32:17 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:32:17 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 10:32:17 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 10:32:17 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:32:17 10:32:17 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 10:32:17 10:32:17 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 10:32:17 Name Stmts Miss Cover Missing 10:32:17 --------------------------------------------------------------------------------------------------------- 10:32:17 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 10:32:17 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 10:32:17 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 10:32:17 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 10:32:17 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 10:32:17 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 10:32:17 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 10:32:17 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 10:32:17 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 10:32:17 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 10:32:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 10:32:17 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 10:32:17 --------------------------------------------------------------------------------------------------------- 10:32:17 TOTAL 973 113 88% 10:32:17 Coverage HTML written to dir htmlcov 10:32:17 Coverage XML written to file coverage.xml 10:32:17 10:32:17 Required test coverage of 70% reached. Total coverage: 88.39% 10:32:17 ======================= 4 passed, 118 warnings in 21.41s ======================= 10:32:17 code: commands[1]> pytest -o log_cli=true --cov-append --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_std_1_1_3.py 10:32:17 ============================= test session starts ============================== 10:32:17 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 10:32:17 cachedir: .tox/code/.pytest_cache 10:32:17 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 10:32:17 plugins: cov-4.1.0 10:32:17 collected 1 item 10:32:17 10:32:17 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:18 -------------------------------- live log setup -------------------------------- 10:32:18 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:32:18 Please install connexion with extra install: pip install connexion[swagger-ui] 10:32:18 or provide the path to your local installation by passing swagger_path= 10:32:18 10:32:18 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:32:18 Please install connexion with extra install: pip install connexion[swagger-ui] 10:32:18 or provide the path to your local installation by passing swagger_path= 10:32:18 10:32:28 PASSED [100%] 10:32:28 10:32:28 =============================== warnings summary =============================== 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 10:32:28 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 10:32:28 from jsonschema import Draft4Validator, RefResolver 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 10:32:28 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 10:32:28 app.json_encoder = FlaskJSONEncoder 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. 10:32:28 for error in instance_validator.iter_errors(instance['default'], instance): 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 10:32:28 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 10:32:28 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:188: DeprecationWarning: Setting 'json_encoder' on the app or a blueprint is deprecated and will be removed in Flask 2.3. Customize 'app.json' instead. 10:32:28 warnings.warn( 10:32:28 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:32:28 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:230: DeprecationWarning: 'JSONEncoder' is deprecated and will be removed in Flask 2.3. Use 'Flask.json' to provide an alternate JSON implementation instead. 10:32:28 return json.dumps(obj, **kwargs) 10:32:28 10:32:28 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 10:32:28 10:32:28 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 10:32:28 Name Stmts Miss Cover Missing 10:32:28 --------------------------------------------------------------------------------------------------------- 10:32:28 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 10:32:28 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 10:32:28 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 10:32:28 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 10:32:28 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 10:32:28 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 10:32:28 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 10:32:28 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 10:32:28 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 10:32:28 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 10:32:28 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 10:32:28 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 10:32:28 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 10:32:28 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 10:32:28 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 10:32:28 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 10:32:28 --------------------------------------------------------------------------------------------------------- 10:32:28 TOTAL 1440 152 89% 10:32:28 Coverage HTML written to dir htmlcov 10:32:28 Coverage XML written to file coverage.xml 10:32:28 10:32:28 Required test coverage of 70% reached. Total coverage: 89.44% 10:32:28 ======================= 1 passed, 65 warnings in 11.16s ======================== 10:32:28 code: commands[2]> pytest -o log_cli=true --cov-append --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_std_2_0_0.py 10:32:29 ============================= test session starts ============================== 10:32:29 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 10:32:29 cachedir: .tox/code/.pytest_cache 10:32:29 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 10:32:29 plugins: cov-4.1.0 10:32:29 collected 4 items 10:32:29 10:32:29 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:29 -------------------------------- live log setup -------------------------------- 10:32:29 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:32:29 Please install connexion with extra install: pip install connexion[swagger-ui] 10:32:29 or provide the path to your local installation by passing swagger_path= 10:32:29 10:32:29 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:32:29 Please install connexion with extra install: pip install connexion[swagger-ui] 10:32:29 or provide the path to your local installation by passing swagger_path= 10:32:29 10:32:29 PASSED [ 25%] 10:32:29 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 10:32:39 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 10:32:39 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 10:32:39 -------------------------------- live log call --------------------------------- 10:32:39 INFO werkzeug:_internal.py:224 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. 10:32:39 * Running on http://127.0.0.1:8086 10:32:39 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 10:32:50 INFO werkzeug:_internal.py:224 127.0.0.1 - - [29/Jan/2024 10:32:49] "POST /statustest HTTP/1.1" 200 - 10:32:50 PASSED [100%] 10:32:50 10:32:50 =============================== warnings summary =============================== 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 10:32:50 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 10:32:50 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 10:32:50 from jsonschema import Draft4Validator, RefResolver 10:32:50 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 10:32:50 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 10:32:50 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 10:32:50 app.json_encoder = FlaskJSONEncoder 10:32:50 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:32:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. 10:32:50 for error in instance_validator.iter_errors(instance['default'], instance): 10:32:50 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 10:32:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 10:32:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:32:50 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 10:32:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 10:32:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:32:50 10:32:50 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 10:32:50 10:32:50 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 10:32:50 Name Stmts Miss Cover Missing 10:32:50 --------------------------------------------------------------------------------------------------------- 10:32:50 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 10:32:50 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 10:32:50 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 10:32:50 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 10:32:50 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 10:32:50 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 10:32:50 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 10:32:50 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 10:32:50 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 10:32:50 near-rt-ric-simulator/src/STD_2.0.0/a1.py 244 99 59% 48, 59, 64-65, 92, 98-99, 104-106, 110-111, 118, 123-124, 127, 132-135, 139-142, 147-150, 179, 185-186, 189-190, 200, 206-207, 210-211, 215-218, 223-226, 229, 245, 251-252, 255-256, 260-263, 271-294, 301-313, 332-333, 346, 361, 363, 365, 368-377 10:32:50 near-rt-ric-simulator/src/STD_2.0.0/main.py 165 31 81% 59, 88, 93-94, 97, 103, 115, 119, 125, 132, 142-143, 153-154, 165, 167, 170, 197-198, 200, 208-214, 224-225, 248, 253, 258 10:32:50 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 10:32:50 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 10:32:50 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 10:32:50 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 10:32:50 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 10:32:50 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 10:32:50 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 10:32:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 10:32:50 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 10:32:50 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 10:32:50 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 10:32:50 --------------------------------------------------------------------------------------------------------- 10:32:50 TOTAL 2219 282 87% 10:32:50 Coverage HTML written to dir htmlcov 10:32:50 Coverage XML written to file coverage.xml 10:32:50 10:32:50 Required test coverage of 70% reached. Total coverage: 87.29% 10:32:50 ======================= 4 passed, 65 warnings in 21.55s ======================== 10:32:50 code: commands[3]> coverage xml -i 10:32:51 Wrote XML report to coverage.xml 10:32:51 code: OK ✔ in 1 minute 4.78 seconds 10:32:51 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 10:33:30 docs: freeze> python -m pip freeze --all 10:33:30 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.4,matplotlib==3.8.2,numpy==1.26.3,nwdiag==3.0.0,packaging==23.2,pbr==6.0.0,pillow==10.2.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.4.0,Pygments==2.17.2,pyparsing==3.1.1,pyproject-api==1.6.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,restructuredtext-lint==1.4.0,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,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.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.1.0,tomli==2.0.1,tox==4.12.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 10:33:30 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 10:33:31 Running Sphinx v5.3.0 10:33:31 making output directory... done 10:33:31 building [mo]: targets for 0 po files that are out of date 10:33:31 building [html]: targets for 6 source files that are out of date 10:33:31 updating environment: [new config] 6 added, 0 changed, 0 removed 10:33:31 reading sources... [ 16%] callout-server 10:33:31 reading sources... [ 33%] index 10:33:31 reading sources... [ 50%] kafka-message-dispatcher 10:33:31 reading sources... [ 66%] overview 10:33:31 reading sources... [ 83%] release-notes 10:33:31 reading sources... [100%] simulator-api 10:33:31 10:33:31 looking for now-outdated files... none found 10:33:31 pickling environment... done 10:33:31 checking consistency... done 10:33:31 preparing documents... done 10:33:31 writing output... [ 16%] callout-server 10:33:31 writing output... [ 33%] index 10:33:31 writing output... [ 50%] kafka-message-dispatcher 10:33:31 writing output... [ 66%] overview 10:33:31 writing output... [ 83%] release-notes 10:33:31 writing output... [100%] simulator-api 10:33:31 10:33:32 generating indices... genindex done 10:33:32 writing additional pages... search done 10:33:32 copying images... [100%] images/yaml_logo.png 10:33:32 10:33:32 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 10:33:32 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 10:33:32 10:33:32 copying static files... done 10:33:32 copying extra files... done 10:33:32 dumping search index in English (code: en)... done 10:33:32 dumping object inventory... done 10:33:32 build succeeded. 10:33:32 10:33:32 The HTML pages are in docs/_build/html. 10:33:32 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 10:33:32 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 10:33:32 docs: OK ✔ in 41.32 seconds 10:33:32 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 10:33:56 docs-linkcheck: freeze> python -m pip freeze --all 10:33:56 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.4,matplotlib==3.8.2,numpy==1.26.3,nwdiag==3.0.0,packaging==23.2,pbr==6.0.0,pillow==10.2.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.4.0,Pygments==2.17.2,pyparsing==3.1.1,pyproject-api==1.6.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,restructuredtext-lint==1.4.0,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,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.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.1.0,tomli==2.0.1,tox==4.12.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 10:33:56 docs-linkcheck: commands[0]> sphinx-build -W -b linkcheck -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs-linkcheck/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/linkcheck 10:33:56 Running Sphinx v5.3.0 10:33:57 making output directory... done 10:33:57 building [mo]: targets for 0 po files that are out of date 10:33:57 building [linkcheck]: targets for 6 source files that are out of date 10:33:57 updating environment: [new config] 6 added, 0 changed, 0 removed 10:33:57 reading sources... [ 16%] callout-server 10:33:57 reading sources... [ 33%] index 10:33:57 reading sources... [ 50%] kafka-message-dispatcher 10:33:57 reading sources... [ 66%] overview 10:33:57 reading sources... [ 83%] release-notes 10:33:57 reading sources... [100%] simulator-api 10:33:57 10:33:57 looking for now-outdated files... none found 10:33:57 pickling environment... done 10:33:57 checking consistency... done 10:33:57 preparing documents... done 10:33:57 writing output... [ 16%] callout-server 10:33:57 writing output... [ 33%] index 10:33:57 writing output... [ 50%] kafka-message-dispatcher 10:33:57 writing output... [ 66%] overview 10:33:57 writing output... [ 83%] release-notes 10:33:57 writing output... [100%] simulator-api 10:33:57 10:33:57 10:33:57 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 10:33:57 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 10:33:57 ( simulator-api: line 337) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/OSC_2.1.0/openapi.yaml 10:33:57 ( simulator-api: line 550) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_1.1.3/STD_A1.yaml 10:33:57 ( simulator-api: line 639) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_2.0.0/ORAN_A1-p_V2.0.0_api.yaml 10:33:57 build succeeded. 10:33:57 10:33:57 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 10:33:57 code: OK (64.78=setup[9.23]+cmd[21.82,11.50,21.89,0.33] seconds) 10:33:57 docs: OK (41.32=setup[39.69]+cmd[1.63,0.01] seconds) 10:33:57 docs-linkcheck: OK (25.16=setup[24.08]+cmd[1.08] seconds) 10:33:57 congratulations :) (131.41 seconds) 10:33:57 + tox_status=0 10:33:57 + echo '---> Completed tox runs' 10:33:57 ---> Completed tox runs 10:33:57 + for i in .tox/*/log 10:33:57 ++ echo .tox/code/log 10:33:57 ++ awk -F/ '{print $2}' 10:33:57 + tox_env=code 10:33:57 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 10:33:57 + for i in .tox/*/log 10:33:57 ++ echo .tox/docs-linkcheck/log 10:33:57 ++ awk -F/ '{print $2}' 10:33:57 + tox_env=docs-linkcheck 10:33:57 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 10:33:57 + for i in .tox/*/log 10:33:57 ++ echo .tox/docs/log 10:33:57 ++ awk -F/ '{print $2}' 10:33:57 + tox_env=docs 10:33:57 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 10:33:57 + DOC_DIR=docs/_build/html 10:33:57 + [[ -d docs/_build/html ]] 10:33:57 + echo '---> Archiving generated docs' 10:33:57 ---> Archiving generated docs 10:33:57 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 10:33:57 + echo '---> tox-run.sh ends' 10:33:57 ---> tox-run.sh ends 10:33:57 + test 0 -eq 0 10:33:57 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu2004-builder-2c-2g-236 10:33:58 [sim-a1-interface-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_sim-a1-interface -Dsonar.projectName=sim-a1-interface -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=near-rt-ric-simulator -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/sim-a1-interface-tox-sonarqube 10:33:58 Could not find 'java' executable in JAVA_HOME or PATH. 10:33:59 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 10:33:59 $ ssh-agent -k 10:33:59 unset SSH_AUTH_SOCK; 10:33:59 unset SSH_AGENT_PID; 10:33:59 echo Agent pid 6696 killed; 10:33:59 [ssh-agent] Stopped. 10:33:59 ERROR: SonarQube scanner exited with non-zero code: 1 10:33:59 [PostBuildScript] - [INFO] Executing post build scripts. 10:33:59 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14216662305842011786.sh 10:33:59 ---> sysstat.sh 10:34:00 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16822153295378515908.sh 10:34:00 ---> package-listing.sh 10:34:00 ++ facter osfamily 10:34:00 ++ tr '[:upper:]' '[:lower:]' 10:34:00 + OS_FAMILY=debian 10:34:00 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 10:34:00 + START_PACKAGES=/tmp/packages_start.txt 10:34:00 + END_PACKAGES=/tmp/packages_end.txt 10:34:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:34:00 + PACKAGES=/tmp/packages_start.txt 10:34:00 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 10:34:00 + PACKAGES=/tmp/packages_end.txt 10:34:00 + case "${OS_FAMILY}" in 10:34:00 + grep '^ii' 10:34:00 + dpkg -l 10:34:00 + '[' -f /tmp/packages_start.txt ']' 10:34:00 + '[' -f /tmp/packages_end.txt ']' 10:34:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:34:00 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 10:34:00 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 10:34:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 10:34:00 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10761444415049509407.sh 10:34:00 ---> capture-instance-metadata.sh 10:34:00 Setup pyenv: 10:34:00 system 10:34:00 3.8.13 10:34:00 3.9.13 10:34:00 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:34:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HbYY from file:/tmp/.os_lf_venv 10:34:02 lf-activate-venv(): INFO: Installing: lftools 10:34:16 lf-activate-venv(): INFO: Adding /tmp/venv-HbYY/bin to PATH 10:34:16 INFO: Running in OpenStack, capturing instance metadata 10:34:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1967692597354968665.sh 10:34:17 provisioning config files... 10:34:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config15881100549313768313tmp 10:34:17 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 10:34:17 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 10:34:17 [EnvInject] - Injecting environment variables from a build step. 10:34:17 [EnvInject] - Injecting as environment variables the properties content 10:34:17 SERVER_ID=logs 10:34:17 10:34:17 [EnvInject] - Variables injected successfully. 10:34:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1769613876075976267.sh 10:34:17 ---> create-netrc.sh 10:34:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12677705601117672353.sh 10:34:17 ---> python-tools-install.sh 10:34:17 Setup pyenv: 10:34:17 system 10:34:17 3.8.13 10:34:17 3.9.13 10:34:17 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:34:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HbYY from file:/tmp/.os_lf_venv 10:34:19 lf-activate-venv(): INFO: Installing: lftools 10:34:30 lf-activate-venv(): INFO: Adding /tmp/venv-HbYY/bin to PATH 10:34:30 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6710388383134123321.sh 10:34:30 ---> sudo-logs.sh 10:34:30 Archiving 'sudo' log.. 10:34:31 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins3155215459455465809.sh 10:34:31 ---> job-cost.sh 10:34:31 Setup pyenv: 10:34:31 system 10:34:31 3.8.13 10:34:31 3.9.13 10:34:31 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:34:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HbYY from file:/tmp/.os_lf_venv 10:34:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 10:34:41 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. 10:34:41 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 10:34:41 lf-activate-venv(): INFO: Adding /tmp/venv-HbYY/bin to PATH 10:34:41 INFO: No Stack... 10:34:42 INFO: Retrieving Pricing Info for: v2-highcpu-2 10:34:42 INFO: Archiving Costs 10:34:42 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16990531711685286534.sh 10:34:42 ---> logs-deploy.sh 10:34:42 Setup pyenv: 10:34:42 system 10:34:42 3.8.13 10:34:42 3.9.13 10:34:42 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:34:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-HbYY from file:/tmp/.os_lf_venv 10:34:43 lf-activate-venv(): INFO: Installing: lftools 10:34:56 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. 10:34:56 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 10:34:56 lf-activate-venv(): INFO: Adding /tmp/venv-HbYY/bin to PATH 10:34:56 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/232 10:34:56 INFO: archiving workspace using pattern(s): -p **/*.log 10:35:00 Archives upload complete. 10:35:00 INFO: archiving logs to Nexus 10:35:01 ---> uname -a: 10:35:01 Linux prd-ubuntu2004-builder-2c-2g-236 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 10:35:01 10:35:01 10:35:01 ---> lscpu: 10:35:01 Architecture: x86_64 10:35:01 CPU op-mode(s): 32-bit, 64-bit 10:35:01 Byte Order: Little Endian 10:35:01 Address sizes: 40 bits physical, 48 bits virtual 10:35:01 CPU(s): 2 10:35:01 On-line CPU(s) list: 0,1 10:35:01 Thread(s) per core: 1 10:35:01 Core(s) per socket: 1 10:35:01 Socket(s): 2 10:35:01 NUMA node(s): 1 10:35:01 Vendor ID: AuthenticAMD 10:35:01 CPU family: 23 10:35:01 Model: 49 10:35:01 Model name: AMD EPYC-Rome Processor 10:35:01 Stepping: 0 10:35:01 CPU MHz: 2799.996 10:35:01 BogoMIPS: 5599.99 10:35:01 Virtualization: AMD-V 10:35:01 Hypervisor vendor: KVM 10:35:01 Virtualization type: full 10:35:01 L1d cache: 64 KiB 10:35:01 L1i cache: 64 KiB 10:35:01 L2 cache: 1 MiB 10:35:01 L3 cache: 32 MiB 10:35:01 NUMA node0 CPU(s): 0,1 10:35:01 Vulnerability Gather data sampling: Not affected 10:35:01 Vulnerability Itlb multihit: Not affected 10:35:01 Vulnerability L1tf: Not affected 10:35:01 Vulnerability Mds: Not affected 10:35:01 Vulnerability Meltdown: Not affected 10:35:01 Vulnerability Mmio stale data: Not affected 10:35:01 Vulnerability Retbleed: Vulnerable 10:35:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:35:01 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:35:01 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 10:35:01 Vulnerability Srbds: Not affected 10:35:01 Vulnerability Tsx async abort: Not affected 10:35:01 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 10:35:01 10:35:01 10:35:01 ---> nproc: 10:35:01 2 10:35:01 10:35:01 10:35:01 ---> df -h: 10:35:01 Filesystem Size Used Avail Use% Mounted on 10:35:01 udev 969M 0 969M 0% /dev 10:35:01 tmpfs 198M 1.0M 197M 1% /run 10:35:01 /dev/vda1 20G 8.6G 11G 45% / 10:35:01 tmpfs 986M 0 986M 0% /dev/shm 10:35:01 tmpfs 5.0M 0 5.0M 0% /run/lock 10:35:01 tmpfs 986M 0 986M 0% /sys/fs/cgroup 10:35:01 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 10:35:01 /dev/loop1 62M 62M 0 100% /snap/core20/1405 10:35:01 /dev/loop0 44M 44M 0 100% /snap/snapd/15177 10:35:01 /dev/vda15 105M 6.1M 99M 6% /boot/efi 10:35:01 tmpfs 198M 0 198M 0% /run/user/1001 10:35:01 10:35:01 10:35:01 ---> free -m: 10:35:01 total used free shared buff/cache available 10:35:01 Mem: 1971 399 285 2 1286 1380 10:35:01 Swap: 1023 2 1021 10:35:01 10:35:01 10:35:01 ---> ip addr: 10:35:01 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 10:35:01 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:35:01 inet 127.0.0.1/8 scope host lo 10:35:01 valid_lft forever preferred_lft forever 10:35:01 inet6 ::1/128 scope host 10:35:01 valid_lft forever preferred_lft forever 10:35:01 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 10:35:01 link/ether fa:16:3e:59:45:1c brd ff:ff:ff:ff:ff:ff 10:35:01 inet 10.32.7.203/23 brd 10.32.7.255 scope global dynamic ens3 10:35:01 valid_lft 86083sec preferred_lft 86083sec 10:35:01 inet6 fe80::f816:3eff:fe59:451c/64 scope link 10:35:01 valid_lft forever preferred_lft forever 10:35:01 10:35:01 10:35:01 ---> sar -b -r -n DEV: 10:35:01 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-236) 01/29/24 _x86_64_ (2 CPU) 10:35:01 10:35:01 10:29:46 LINUX RESTART (2 CPU) 10:35:01 10:35:01 10:30:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:35:01 10:31:02 223.21 144.28 78.93 0.00 6225.82 14657.74 0.00 10:35:01 10:32:01 66.36 4.69 61.66 0.00 197.02 11078.51 0.00 10:35:01 10:33:01 19.26 1.65 17.61 0.00 137.31 4128.91 0.00 10:35:01 10:34:01 102.72 22.19 80.52 0.00 1008.33 33842.72 0.00 10:35:01 10:35:01 84.22 33.23 50.99 0.00 3828.70 11219.46 0.00 10:35:01 Average: 99.27 41.34 57.93 0.00 2286.69 14999.27 0.00 10:35:01 10:35:01 10:30:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:35:01 10:31:02 196596 1454444 336412 16.67 51612 1286824 826328 26.94 414688 1217424 18776 10:35:01 10:32:01 107388 1423212 359524 17.81 65228 1315216 882104 28.76 446356 1251412 14004 10:35:01 10:33:01 81100 1419000 363676 18.02 67200 1331468 893880 29.14 464176 1255456 128 10:35:01 10:34:01 288836 1451268 324240 16.06 89348 1127088 787700 25.68 319028 1180796 85236 10:35:01 10:35:01 301640 1422036 349964 17.34 90692 1085176 829060 27.03 458804 1025776 636 10:35:01 Average: 195112 1433992 346763 17.18 72816 1229154 843814 27.51 420610 1186173 23756 10:35:01 10:35:01 10:30:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:35:01 10:31:02 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 10:35:01 10:31:02 ens3 279.76 181.64 1348.16 60.69 0.00 0.00 0.00 0.00 10:35:01 10:32:01 lo 0.88 0.88 0.07 0.07 0.00 0.00 0.00 0.00 10:35:01 10:32:01 ens3 41.98 39.29 354.67 7.87 0.00 0.00 0.00 0.00 10:35:01 10:33:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 10:35:01 10:33:01 ens3 28.31 23.38 586.21 3.04 0.00 0.00 0.00 0.00 10:35:01 10:34:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 10:35:01 10:34:01 ens3 105.50 85.55 1853.68 17.56 0.00 0.00 0.00 0.00 10:35:01 10:35:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 10:35:01 10:35:01 ens3 201.92 117.01 1419.49 70.53 0.00 0.00 0.00 0.00 10:35:01 Average: lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 10:35:01 Average: ens3 131.81 89.55 1115.04 32.02 0.00 0.00 0.00 0.00 10:35:01 10:35:01 10:35:01 ---> sar -P ALL: 10:35:01 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-236) 01/29/24 _x86_64_ (2 CPU) 10:35:01 10:35:01 10:29:46 LINUX RESTART (2 CPU) 10:35:01 10:35:01 10:30:01 CPU %user %nice %system %iowait %steal %idle 10:35:01 10:31:02 all 37.47 25.98 19.62 7.64 0.15 9.14 10:35:01 10:31:02 0 41.87 23.66 18.58 7.76 0.15 7.97 10:35:01 10:31:02 1 33.04 28.31 20.66 7.51 0.15 10.31 10:35:01 10:32:01 all 36.26 0.00 3.15 4.11 0.09 56.38 10:35:01 10:32:01 0 25.67 0.00 3.00 7.28 0.08 63.97 10:35:01 10:32:01 1 46.86 0.00 3.29 0.95 0.10 48.80 10:35:01 10:33:01 all 8.43 0.00 0.88 1.26 0.06 89.38 10:35:01 10:33:01 0 3.97 0.00 0.71 1.75 0.07 93.51 10:35:01 10:33:01 1 12.85 0.00 1.05 0.77 0.05 85.28 10:35:01 10:34:01 all 37.39 0.00 3.91 4.62 0.10 53.98 10:35:01 10:34:01 0 22.62 0.00 3.25 7.59 0.10 66.44 10:35:01 10:34:01 1 52.28 0.00 4.58 1.62 0.10 41.42 10:35:01 10:35:01 all 36.98 0.00 2.67 4.64 0.08 55.63 10:35:01 10:35:01 0 55.09 0.00 2.65 6.04 0.08 36.14 10:35:01 10:35:01 1 18.74 0.00 2.70 3.24 0.07 75.26 10:35:01 Average: all 31.29 5.16 6.02 4.45 0.10 52.98 10:35:01 Average: 0 29.87 4.70 5.62 6.09 0.10 53.62 10:35:01 Average: 1 32.72 5.61 6.42 2.81 0.09 52.34 10:35:01 10:35:01 10:35:01