10:38:17 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 10:38:17 Running as SYSTEM 10:38:17 [EnvInject] - Loading node environment variables. 10:38:17 Building remotely on prd-ubuntu1804-builder-2c-2g-3875 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 10:38:17 [ssh-agent] Looking for ssh-agent implementation... 10:38:18 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:38:18 $ ssh-agent 10:38:18 SSH_AUTH_SOCK=/tmp/ssh-qeFEYIKPD0Wc/agent.6461 10:38:18 SSH_AGENT_PID=6463 10:38:18 [ssh-agent] Started. 10:38:18 Running ssh-add (command line suppressed) 10:38:18 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_10041639430466853113.key (jenkins-ssh) 10:38:18 [ssh-agent] Using credentials jenkins (jenkins) 10:38:18 The recommended git tool is: NONE 10:38:19 using credential jenkins 10:38:19 Wiping out workspace first. 10:38:19 Cloning the remote Git repository 10:38:19 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 10:38:20 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 10:38:20 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 10:38:20 > git --version # timeout=10 10:38:20 > git --version # 'git version 2.25.1' 10:38:20 using GIT_SSH to set credentials jenkins 10:38:20 > 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:38:20 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 10:38:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:21 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 10:38:21 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 10:38:21 using GIT_SSH to set credentials jenkins 10:38:21 > 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:38:21 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 10:38:21 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 10:38:21 > git config core.sparsecheckout # timeout=10 10:38:21 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 10:38:21 Commit message: "Fix build failure" 10:38:21 > git rev-list --no-walk 839ca3b917396650cf5623a4bf5e88318f7cb435 # timeout=10 10:38:21 provisioning config files... 10:38:21 copy managed file [npmrc] to file:/home/jenkins/.npmrc 10:38:21 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 10:38:21 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins506834681798628805.sh 10:38:21 ---> python-tools-install.sh 10:38:21 Setup pyenv: 10:38:22 * system (set by /opt/pyenv/version) 10:38:22 * 3.8.13 (set by /opt/pyenv/version) 10:38:22 * 3.9.13 (set by /opt/pyenv/version) 10:38:22 * 3.10.6 (set by /opt/pyenv/version) 10:38:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ylpf 10:38:27 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 10:38:30 lf-activate-venv(): INFO: Installing: lftools 10:39:07 lf-activate-venv(): INFO: Adding /tmp/venv-Ylpf/bin to PATH 10:39:07 Generating Requirements File 10:39:40 Python 3.10.6 10:39:40 pip 23.3.2 from /tmp/venv-Ylpf/lib/python3.10/site-packages/pip (python 3.10) 10:39:41 appdirs==1.4.4 10:39:41 argcomplete==3.2.1 10:39:41 aspy.yaml==1.3.0 10:39:41 attrs==23.2.0 10:39:41 autopage==0.5.2 10:39:41 beautifulsoup4==4.12.2 10:39:41 boto3==1.34.19 10:39:41 botocore==1.34.19 10:39:41 bs4==0.0.1 10:39:41 cachetools==5.3.2 10:39:41 certifi==2023.11.17 10:39:41 cffi==1.16.0 10:39:41 cfgv==3.4.0 10:39:41 chardet==5.2.0 10:39:41 charset-normalizer==3.3.2 10:39:41 click==8.1.7 10:39:41 cliff==4.5.0 10:39:41 cmd2==2.4.3 10:39:41 cryptography==3.3.2 10:39:41 debtcollector==2.5.0 10:39:41 decorator==5.1.1 10:39:41 defusedxml==0.7.1 10:39:41 Deprecated==1.2.14 10:39:41 distlib==0.3.8 10:39:41 dnspython==2.4.2 10:39:41 docker==4.2.2 10:39:41 dogpile.cache==1.3.0 10:39:41 email-validator==2.1.0.post1 10:39:41 filelock==3.13.1 10:39:41 future==0.18.3 10:39:41 gitdb==4.0.11 10:39:41 GitPython==3.1.41 10:39:41 google-auth==2.26.2 10:39:41 httplib2==0.22.0 10:39:41 identify==2.5.33 10:39:41 idna==3.6 10:39:41 importlib-resources==1.5.0 10:39:41 iso8601==2.1.0 10:39:41 Jinja2==3.1.3 10:39:41 jmespath==1.0.1 10:39:41 jsonpatch==1.33 10:39:41 jsonpointer==2.4 10:39:41 jsonschema==4.20.0 10:39:41 jsonschema-specifications==2023.12.1 10:39:41 keystoneauth1==5.5.0 10:39:41 kubernetes==29.0.0 10:39:41 lftools==0.37.8 10:39:41 lxml==5.1.0 10:39:41 MarkupSafe==2.1.3 10:39:41 msgpack==1.0.7 10:39:41 multi_key_dict==2.0.3 10:39:41 munch==4.0.0 10:39:41 netaddr==0.10.1 10:39:41 netifaces==0.11.0 10:39:41 niet==1.4.2 10:39:41 nodeenv==1.8.0 10:39:41 oauth2client==4.1.3 10:39:41 oauthlib==3.2.2 10:39:41 openstacksdk==0.62.0 10:39:41 os-client-config==2.1.0 10:39:41 os-service-types==1.7.0 10:39:41 osc-lib==3.0.0 10:39:41 oslo.config==9.3.0 10:39:41 oslo.context==5.3.0 10:39:41 oslo.i18n==6.2.0 10:39:41 oslo.log==5.4.0 10:39:41 oslo.serialization==5.3.0 10:39:41 oslo.utils==6.3.0 10:39:41 packaging==23.2 10:39:41 pbr==6.0.0 10:39:41 platformdirs==4.1.0 10:39:41 prettytable==3.9.0 10:39:41 pyasn1==0.5.1 10:39:41 pyasn1-modules==0.3.0 10:39:41 pycparser==2.21 10:39:41 pygerrit2==2.0.15 10:39:41 PyGithub==2.1.1 10:39:41 pyinotify==0.9.6 10:39:41 PyJWT==2.8.0 10:39:41 PyNaCl==1.5.0 10:39:41 pyparsing==2.4.7 10:39:41 pyperclip==1.8.2 10:39:41 pyrsistent==0.20.0 10:39:41 python-cinderclient==9.4.0 10:39:41 python-dateutil==2.8.2 10:39:41 python-heatclient==3.4.0 10:39:41 python-jenkins==1.8.2 10:39:41 python-keystoneclient==5.3.0 10:39:41 python-magnumclient==4.3.0 10:39:41 python-novaclient==18.4.0 10:39:41 python-openstackclient==6.0.0 10:39:41 python-swiftclient==4.4.0 10:39:41 pytz==2023.3.post1 10:39:41 PyYAML==6.0.1 10:39:41 referencing==0.32.1 10:39:41 requests==2.31.0 10:39:41 requests-oauthlib==1.3.1 10:39:41 requestsexceptions==1.4.0 10:39:41 rfc3986==2.0.0 10:39:41 rpds-py==0.17.1 10:39:41 rsa==4.9 10:39:41 ruamel.yaml==0.18.5 10:39:41 ruamel.yaml.clib==0.2.8 10:39:41 s3transfer==0.10.0 10:39:41 simplejson==3.19.2 10:39:41 six==1.16.0 10:39:41 smmap==5.0.1 10:39:41 soupsieve==2.5 10:39:41 stevedore==5.1.0 10:39:41 tabulate==0.9.0 10:39:41 toml==0.10.2 10:39:41 tomlkit==0.12.3 10:39:41 tqdm==4.66.1 10:39:41 typing_extensions==4.9.0 10:39:41 tzdata==2023.4 10:39:41 urllib3==1.26.18 10:39:41 virtualenv==20.25.0 10:39:41 wcwidth==0.2.13 10:39:41 websocket-client==1.7.0 10:39:41 wrapt==1.16.0 10:39:41 xdg==6.0.0 10:39:41 xmltodict==0.13.0 10:39:41 yq==3.2.3 10:39:41 [EnvInject] - Injecting environment variables from a build step. 10:39:41 [EnvInject] - Injecting as environment variables the properties content 10:39:41 PYTHON=python3 10:39:41 10:39:41 [EnvInject] - Variables injected successfully. 10:39:41 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1110760750876032523.sh 10:39:41 ---> tox-install.sh 10:39:41 + source /home/jenkins/lf-env.sh 10:39:41 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:39:41 ++ mktemp -d /tmp/venv-XXXX 10:39:41 + lf_venv=/tmp/venv-mYpY 10:39:41 + local venv_file=/tmp/.os_lf_venv 10:39:41 + local python=python3 10:39:41 + local options 10:39:41 + local set_path=true 10:39:41 + local install_args= 10:39:41 ++ 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:39:41 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:39:41 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:39:41 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:39:41 + true 10:39:41 + case $1 in 10:39:41 + venv_file=/tmp/.toxenv 10:39:41 + shift 2 10:39:41 + true 10:39:41 + case $1 in 10:39:41 + shift 10:39:41 + break 10:39:41 + case $python in 10:39:41 + local pkg_list= 10:39:41 + [[ -d /opt/pyenv ]] 10:39:41 + echo 'Setup pyenv:' 10:39:41 Setup pyenv: 10:39:41 + export PYENV_ROOT=/opt/pyenv 10:39:41 + PYENV_ROOT=/opt/pyenv 10:39:41 + 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:39:41 + 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:39:41 + pyenv versions 10:39:41 system 10:39:41 3.8.13 10:39:41 3.9.13 10:39:41 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:39:41 + command -v pyenv 10:39:41 ++ pyenv init - --no-rehash 10:39:41 + 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:39:41 export PATH="/opt/pyenv/shims:${PATH}" 10:39:41 export PYENV_SHELL=bash 10:39:41 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:39:41 pyenv() { 10:39:41 local command 10:39:41 command="${1:-}" 10:39:41 if [ "$#" -gt 0 ]; then 10:39:41 shift 10:39:41 fi 10:39:41 10:39:41 case "$command" in 10:39:41 rehash|shell) 10:39:41 eval "$(pyenv "sh-$command" "$@")" 10:39:41 ;; 10:39:41 *) 10:39:41 command pyenv "$command" "$@" 10:39:41 ;; 10:39:41 esac 10:39:41 }' 10:39:41 +++ 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:39:41 ++ 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:39:41 ++ 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:39:41 ++ 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:39:41 ++ export PYENV_SHELL=bash 10:39:41 ++ PYENV_SHELL=bash 10:39:41 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:39:41 +++ complete -F _pyenv pyenv 10:39:41 ++ lf-pyver python3 10:39:41 ++ local py_version_xy=python3 10:39:41 ++ local py_version_xyz= 10:39:41 ++ grep -E '^[0-9.]*[0-9]$' 10:39:41 ++ awk '{ print $1 }' 10:39:41 ++ sed 's/^[ *]* //' 10:39:41 ++ pyenv versions 10:39:41 ++ local command 10:39:41 ++ command=versions 10:39:41 ++ '[' 1 -gt 0 ']' 10:39:41 ++ shift 10:39:41 ++ case "$command" in 10:39:41 ++ command pyenv versions 10:39:41 ++ pyenv versions 10:39:41 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:39:41 +++ grep '^3' /tmp/.pyenv_versions 10:39:41 +++ sort -V 10:39:41 +++ tail -n 1 10:39:41 ++ py_version_xyz=3.10.6 10:39:41 ++ [[ -z 3.10.6 ]] 10:39:41 ++ echo 3.10.6 10:39:41 ++ return 0 10:39:41 + pyenv local 3.10.6 10:39:41 + local command 10:39:41 + command=local 10:39:41 + '[' 2 -gt 0 ']' 10:39:41 + shift 10:39:41 + case "$command" in 10:39:41 + command pyenv local 3.10.6 10:39:41 + pyenv local 3.10.6 10:39:41 + for arg in "$@" 10:39:41 + case $arg in 10:39:41 + pkg_list+='tox ' 10:39:41 + for arg in "$@" 10:39:41 + case $arg in 10:39:41 + pkg_list+='virtualenv ' 10:39:41 + for arg in "$@" 10:39:41 + case $arg in 10:39:41 + pkg_list+='urllib3~=1.26.15 ' 10:39:41 + [[ -f /tmp/.toxenv ]] 10:39:41 + [[ ! -f /tmp/.toxenv ]] 10:39:41 + [[ -n '' ]] 10:39:41 + python3 -m venv /tmp/venv-mYpY 10:39:45 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mYpY' 10:39:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mYpY 10:39:45 + echo /tmp/venv-mYpY 10:39:45 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 10:39:45 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 10:39:45 + /tmp/venv-mYpY/bin/python3 -m pip install --upgrade --quiet pip virtualenv 10:39:48 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:39:48 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 10:39:48 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 10:39:48 + /tmp/venv-mYpY/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 10:39:51 + type python3 10:39:51 + true 10:39:51 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-mYpY/bin to PATH' 10:39:51 lf-activate-venv(): INFO: Adding /tmp/venv-mYpY/bin to PATH 10:39:51 + PATH=/tmp/venv-mYpY/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:39:51 + return 0 10:39:51 + python3 --version 10:39:51 Python 3.10.6 10:39:51 + python3 -m pip --version 10:39:51 pip 23.3.2 from /tmp/venv-mYpY/lib/python3.10/site-packages/pip (python 3.10) 10:39:51 + python3 -m pip freeze 10:39:52 cachetools==5.3.2 10:39:52 chardet==5.2.0 10:39:52 colorama==0.4.6 10:39:52 distlib==0.3.8 10:39:52 filelock==3.13.1 10:39:52 packaging==23.2 10:39:52 platformdirs==4.1.0 10:39:52 pluggy==1.3.0 10:39:52 pyproject-api==1.6.1 10:39:52 tomli==2.0.1 10:39:52 tox==4.12.0 10:39:52 urllib3==1.26.18 10:39:52 virtualenv==20.25.0 10:39:52 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins1191671980251987691.sh 10:39:52 [EnvInject] - Injecting environment variables from a build step. 10:39:52 [EnvInject] - Injecting as environment variables the properties content 10:39:52 PARALLEL=False 10:39:52 10:39:52 [EnvInject] - Variables injected successfully. 10:39:52 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15262405038820137190.sh 10:39:52 ---> tox-run.sh 10:39:52 + 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:39:52 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 10:39:52 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 10:39:52 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 10:39:52 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 10:39:52 + source /home/jenkins/lf-env.sh 10:39:52 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:39:52 ++ mktemp -d /tmp/venv-XXXX 10:39:52 + lf_venv=/tmp/venv-hRQH 10:39:52 + local venv_file=/tmp/.os_lf_venv 10:39:52 + local python=python3 10:39:52 + local options 10:39:52 + local set_path=true 10:39:52 + local install_args= 10:39:52 ++ 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:39:52 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:39:52 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:39:52 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:39:52 + true 10:39:52 + case $1 in 10:39:52 + venv_file=/tmp/.toxenv 10:39:52 + shift 2 10:39:52 + true 10:39:52 + case $1 in 10:39:52 + shift 10:39:52 + break 10:39:52 + case $python in 10:39:52 + local pkg_list= 10:39:52 + [[ -d /opt/pyenv ]] 10:39:52 + echo 'Setup pyenv:' 10:39:52 Setup pyenv: 10:39:52 + export PYENV_ROOT=/opt/pyenv 10:39:52 + PYENV_ROOT=/opt/pyenv 10:39:52 + 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:39:52 + 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:39:52 + pyenv versions 10:39:52 system 10:39:52 3.8.13 10:39:52 3.9.13 10:39:52 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:39:52 + command -v pyenv 10:39:52 ++ pyenv init - --no-rehash 10:39:52 + 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:39:52 export PATH="/opt/pyenv/shims:${PATH}" 10:39:52 export PYENV_SHELL=bash 10:39:52 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:39:52 pyenv() { 10:39:52 local command 10:39:52 command="${1:-}" 10:39:52 if [ "$#" -gt 0 ]; then 10:39:52 shift 10:39:52 fi 10:39:52 10:39:52 case "$command" in 10:39:52 rehash|shell) 10:39:52 eval "$(pyenv "sh-$command" "$@")" 10:39:52 ;; 10:39:52 *) 10:39:52 command pyenv "$command" "$@" 10:39:52 ;; 10:39:52 esac 10:39:52 }' 10:39:52 +++ 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:39:52 ++ 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:39:52 ++ 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:39:52 ++ 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:39:52 ++ export PYENV_SHELL=bash 10:39:52 ++ PYENV_SHELL=bash 10:39:52 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:39:52 +++ complete -F _pyenv pyenv 10:39:52 ++ lf-pyver python3 10:39:52 ++ local py_version_xy=python3 10:39:52 ++ local py_version_xyz= 10:39:52 ++ pyenv versions 10:39:52 ++ local command 10:39:52 ++ command=versions 10:39:52 ++ '[' 1 -gt 0 ']' 10:39:52 ++ shift 10:39:52 ++ case "$command" in 10:39:52 ++ command pyenv versions 10:39:52 ++ pyenv versions 10:39:52 ++ awk '{ print $1 }' 10:39:52 ++ grep -E '^[0-9.]*[0-9]$' 10:39:52 ++ sed 's/^[ *]* //' 10:39:52 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:39:52 +++ grep '^3' /tmp/.pyenv_versions 10:39:52 +++ tail -n 1 10:39:52 +++ sort -V 10:39:52 ++ py_version_xyz=3.10.6 10:39:52 ++ [[ -z 3.10.6 ]] 10:39:52 ++ echo 3.10.6 10:39:52 ++ return 0 10:39:52 + pyenv local 3.10.6 10:39:52 + local command 10:39:52 + command=local 10:39:52 + '[' 2 -gt 0 ']' 10:39:52 + shift 10:39:52 + case "$command" in 10:39:52 + command pyenv local 3.10.6 10:39:52 + pyenv local 3.10.6 10:39:52 + for arg in "$@" 10:39:52 + case $arg in 10:39:52 + pkg_list+='tox ' 10:39:52 + for arg in "$@" 10:39:52 + case $arg in 10:39:52 + pkg_list+='virtualenv ' 10:39:52 + for arg in "$@" 10:39:52 + case $arg in 10:39:52 + pkg_list+='urllib3~=1.26.15 ' 10:39:52 + [[ -f /tmp/.toxenv ]] 10:39:52 ++ cat /tmp/.toxenv 10:39:52 + lf_venv=/tmp/venv-mYpY 10:39:52 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mYpY from' file:/tmp/.toxenv 10:39:52 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mYpY from file:/tmp/.toxenv 10:39:52 + /tmp/venv-mYpY/bin/python3 -m pip install --upgrade --quiet pip virtualenv 10:39:53 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:39:53 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 10:39:53 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 10:39:53 + /tmp/venv-mYpY/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 10:39:54 + type python3 10:39:54 + true 10:39:54 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-mYpY/bin to PATH' 10:39:54 lf-activate-venv(): INFO: Adding /tmp/venv-mYpY/bin to PATH 10:39:54 + PATH=/tmp/venv-mYpY/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:39:54 + return 0 10:39:54 + [[ -d /opt/pyenv ]] 10:39:54 + echo '---> Setting up pyenv' 10:39:54 ---> Setting up pyenv 10:39:54 + export PYENV_ROOT=/opt/pyenv 10:39:54 + PYENV_ROOT=/opt/pyenv 10:39:54 + export PATH=/opt/pyenv/bin:/tmp/venv-mYpY/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:39:54 + PATH=/opt/pyenv/bin:/tmp/venv-mYpY/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:39:54 ++ pwd 10:39:54 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 10:39:54 + export PYTHONPATH 10:39:54 + export TOX_TESTENV_PASSENV=PYTHONPATH 10:39:54 + TOX_TESTENV_PASSENV=PYTHONPATH 10:39:54 + tox --version 10:39:55 4.12.0 from /tmp/venv-mYpY/lib/python3.10/site-packages/tox/__init__.py 10:39:55 + PARALLEL=False 10:39:55 + TOX_OPTIONS_LIST= 10:39:55 + [[ -n '' ]] 10:39:55 + case ${PARALLEL,,} in 10:39:55 + tox 10:39:55 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 10:39:56 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 10:40:04 code: freeze> python -m pip freeze --all 10:40:05 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.0,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.20.0,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.3,packaging==23.2,pip==23.3.1,pluggy==1.3.0,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,referencing==0.32.1,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:40:05 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:40:05 ============================= test session starts ============================== 10:40:05 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 10:40:05 cachedir: .tox/code/.pytest_cache 10:40:05 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 10:40:05 plugins: cov-4.1.0 10:40:05 collected 4 items 10:40:05 10:40:05 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:40:06 -------------------------------- live log setup -------------------------------- 10:40:06 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:40:06 Please install connexion with extra install: pip install connexion[swagger-ui] 10:40:06 or provide the path to your local installation by passing swagger_path= 10:40:06 10:40:06 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:40:06 Please install connexion with extra install: pip install connexion[swagger-ui] 10:40:06 or provide the path to your local installation by passing swagger_path= 10:40:06 10:40:06 PASSED [ 25%] 10:40:06 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 10:40:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 10:40:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 10:40:16 -------------------------------- live log call --------------------------------- 10:40:16 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:40:16 * Running on http://127.0.0.1:8086 10:40:16 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 10:40:26 INFO werkzeug:_internal.py:224 127.0.0.1 - - [16/Jan/2024 10:40:26] "POST /statustest HTTP/1.1" 201 - 10:40:26 PASSED [100%] 10:40:26 10:40:26 =============================== warnings summary =============================== 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:40:26 /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:40:26 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 10:40:26 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:40:26 /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:40:26 from jsonschema import Draft4Validator, RefResolver 10:40:26 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:40:26 /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:40:26 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 10:40:26 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 10:40:26 /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:40:26 app.json_encoder = FlaskJSONEncoder 10:40:26 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 10:40:26 /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:40:26 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:40:26 10:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 10:40:26 /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:40:26 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:40:26 10:40:26 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 10:40:26 10:40:26 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 10:40:26 Name Stmts Miss Cover Missing 10:40:26 --------------------------------------------------------------------------------------------------------- 10:40:26 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 10:40:26 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:40:26 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:40:26 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 10:40:26 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 10:40:26 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 10:40:26 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 10:40:26 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 10:40:26 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 10:40:26 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:40:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 10:40:26 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 10:40:26 --------------------------------------------------------------------------------------------------------- 10:40:26 TOTAL 973 113 88% 10:40:26 Coverage HTML written to dir htmlcov 10:40:26 Coverage XML written to file coverage.xml 10:40:26 10:40:26 Required test coverage of 70% reached. Total coverage: 88.39% 10:40:26 ======================= 4 passed, 118 warnings in 21.39s ======================= 10:40:26 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:40:27 ============================= test session starts ============================== 10:40:27 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 10:40:27 cachedir: .tox/code/.pytest_cache 10:40:27 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 10:40:27 plugins: cov-4.1.0 10:40:27 collected 1 item 10:40:27 10:40:27 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:27 -------------------------------- live log setup -------------------------------- 10:40:27 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:40:27 Please install connexion with extra install: pip install connexion[swagger-ui] 10:40:27 or provide the path to your local installation by passing swagger_path= 10:40:27 10:40:27 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:40:27 Please install connexion with extra install: pip install connexion[swagger-ui] 10:40:27 or provide the path to your local installation by passing swagger_path= 10:40:27 10:40:37 PASSED [100%] 10:40:38 10:40:38 =============================== warnings summary =============================== 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 /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:40:38 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 /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:40:38 from jsonschema import Draft4Validator, RefResolver 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 /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:40:38 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 /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:40:38 app.json_encoder = FlaskJSONEncoder 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 /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:40:38 for error in instance_validator.iter_errors(instance['default'], instance): 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 10:40:38 /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:40:38 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 10:40:38 /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:40:38 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 /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:40:38 warnings.warn( 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 10:40:38 /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:40:38 return json.dumps(obj, **kwargs) 10:40:38 10:40:38 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 10:40:38 10:40:38 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 10:40:38 Name Stmts Miss Cover Missing 10:40:38 --------------------------------------------------------------------------------------------------------- 10:40:38 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 10:40:38 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:40:38 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:40:38 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 10:40:38 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 10:40:38 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 10:40:38 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:40:38 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:40:38 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 10:40:38 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 10:40:38 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 10:40:38 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 10:40:38 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:40:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 10:40:38 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 10:40:38 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 10:40:38 --------------------------------------------------------------------------------------------------------- 10:40:38 TOTAL 1440 152 89% 10:40:38 Coverage HTML written to dir htmlcov 10:40:38 Coverage XML written to file coverage.xml 10:40:38 10:40:38 Required test coverage of 70% reached. Total coverage: 89.44% 10:40:38 ======================= 1 passed, 65 warnings in 11.12s ======================== 10:40:38 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:40:38 ============================= test session starts ============================== 10:40:38 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 10:40:38 cachedir: .tox/code/.pytest_cache 10:40:38 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 10:40:38 plugins: cov-4.1.0 10:40:38 collected 4 items 10:40:38 10:40:38 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:40:39 -------------------------------- live log setup -------------------------------- 10:40:39 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:40:39 Please install connexion with extra install: pip install connexion[swagger-ui] 10:40:39 or provide the path to your local installation by passing swagger_path= 10:40:39 10:40:39 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 10:40:39 Please install connexion with extra install: pip install connexion[swagger-ui] 10:40:39 or provide the path to your local installation by passing swagger_path= 10:40:39 10:40:39 PASSED [ 25%] 10:40:39 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 10:40:49 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 10:40:49 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 10:40:49 -------------------------------- live log call --------------------------------- 10:40:49 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:40:49 * Running on http://127.0.0.1:8086 10:40:49 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 10:40:59 INFO werkzeug:_internal.py:224 127.0.0.1 - - [16/Jan/2024 10:40:59] "POST /statustest HTTP/1.1" 200 - 10:40:59 PASSED [100%] 10:41:00 10:41:00 =============================== warnings summary =============================== 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:41:00 /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:41:00 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 10:41:00 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:41:00 /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:41:00 from jsonschema import Draft4Validator, RefResolver 10:41:00 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:41:00 /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:41:00 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 10:41:00 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:41:00 /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:41:00 app.json_encoder = FlaskJSONEncoder 10:41:00 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 10:41:00 /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:41:00 for error in instance_validator.iter_errors(instance['default'], instance): 10:41:00 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 10:41:00 /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:41:00 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:41:00 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 10:41:00 /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:41:00 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 10:41:00 10:41:00 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 10:41:00 10:41:00 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 10:41:00 Name Stmts Miss Cover Missing 10:41:00 --------------------------------------------------------------------------------------------------------- 10:41:00 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 10:41:00 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:41:00 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:41:00 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 10:41:00 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 10:41:00 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 10:41:00 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:41:00 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:41:00 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 10:41:00 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:41:00 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:41:00 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 10:41:00 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 10:41:00 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 10:41:00 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 10:41:00 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 10:41:00 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 10:41:00 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:41:00 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 10:41:00 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 10:41:00 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 10:41:00 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 10:41:00 --------------------------------------------------------------------------------------------------------- 10:41:00 TOTAL 2219 282 87% 10:41:00 Coverage HTML written to dir htmlcov 10:41:00 Coverage XML written to file coverage.xml 10:41:00 10:41:00 Required test coverage of 70% reached. Total coverage: 87.29% 10:41:00 ======================= 4 passed, 65 warnings in 21.50s ======================== 10:41:00 code: commands[3]> coverage xml -i 10:41:00 Wrote XML report to coverage.xml 10:41:00 code: OK ✔ in 1 minute 5.03 seconds 10:41:00 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 10:41:50 docs: freeze> python -m pip freeze --all 10:41:50 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.3,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.3.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.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==1.1.13,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.0,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 10:41:50 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:41:51 Running Sphinx v5.3.0 10:41:51 making output directory... done 10:41:51 building [mo]: targets for 0 po files that are out of date 10:41:51 building [html]: targets for 6 source files that are out of date 10:41:51 updating environment: [new config] 6 added, 0 changed, 0 removed 10:41:51 reading sources... [ 16%] callout-server 10:41:51 reading sources... [ 33%] index 10:41:51 reading sources... [ 50%] kafka-message-dispatcher 10:41:51 reading sources... [ 66%] overview 10:41:51 reading sources... [ 83%] release-notes 10:41:51 reading sources... [100%] simulator-api 10:41:51 10:41:51 looking for now-outdated files... none found 10:41:51 pickling environment... done 10:41:51 checking consistency... done 10:41:51 preparing documents... done 10:41:51 writing output... [ 16%] callout-server 10:41:51 writing output... [ 33%] index 10:41:51 writing output... [ 50%] kafka-message-dispatcher 10:41:51 writing output... [ 66%] overview 10:41:51 writing output... [ 83%] release-notes 10:41:51 writing output... [100%] simulator-api 10:41:51 10:41:51 generating indices... genindex done 10:41:52 writing additional pages... search done 10:41:52 copying images... [100%] images/yaml_logo.png 10:41:52 10:41:52 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 10:41:52 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 10:41:52 10:41:52 copying static files... done 10:41:52 copying extra files... done 10:41:52 dumping search index in English (code: en)... done 10:41:52 dumping object inventory... done 10:41:52 build succeeded. 10:41:52 10:41:52 The HTML pages are in docs/_build/html. 10:41:52 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 10:41:52 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 10:41:52 docs: OK ✔ in 51.81 seconds 10:41:52 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 10:42:15 docs-linkcheck: freeze> python -m pip freeze --all 10:42:15 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.3,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.3.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.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==1.1.13,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.0,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 10:42:15 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:42:16 Running Sphinx v5.3.0 10:42:16 making output directory... done 10:42:16 building [mo]: targets for 0 po files that are out of date 10:42:16 building [linkcheck]: targets for 6 source files that are out of date 10:42:16 updating environment: [new config] 6 added, 0 changed, 0 removed 10:42:16 reading sources... [ 16%] callout-server 10:42:16 reading sources... [ 33%] index 10:42:16 reading sources... [ 50%] kafka-message-dispatcher 10:42:16 reading sources... [ 66%] overview 10:42:16 reading sources... [ 83%] release-notes 10:42:16 reading sources... [100%] simulator-api 10:42:16 10:42:16 looking for now-outdated files... none found 10:42:16 pickling environment... done 10:42:16 checking consistency... done 10:42:16 preparing documents... done 10:42:16 writing output... [ 16%] callout-server 10:42:16 writing output... [ 33%] index 10:42:16 writing output... [ 50%] kafka-message-dispatcher 10:42:16 writing output... [ 66%] overview 10:42:16 writing output... [ 83%] release-notes 10:42:16 writing output... [100%] simulator-api 10:42:16 10:42:16 10:42:16 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 10:42:16 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 10:42:16 ( 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:42:16 ( 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:42:16 ( 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:42:16 build succeeded. 10:42:16 10:42:16 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 10:42:16 code: OK (65.03=setup[9.65]+cmd[21.80,11.44,21.83,0.30] seconds) 10:42:16 docs: OK (51.81=setup[50.33]+cmd[1.48,0.01] seconds) 10:42:16 docs-linkcheck: OK (24.61=setup[23.39]+cmd[1.22] seconds) 10:42:16 congratulations :) (141.60 seconds) 10:42:16 + tox_status=0 10:42:16 + echo '---> Completed tox runs' 10:42:16 ---> Completed tox runs 10:42:16 + for i in .tox/*/log 10:42:16 ++ echo .tox/code/log 10:42:16 ++ awk -F/ '{print $2}' 10:42:16 + tox_env=code 10:42:16 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 10:42:16 + for i in .tox/*/log 10:42:16 ++ echo .tox/docs-linkcheck/log 10:42:16 ++ awk -F/ '{print $2}' 10:42:16 + tox_env=docs-linkcheck 10:42:16 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 10:42:16 + for i in .tox/*/log 10:42:16 ++ echo .tox/docs/log 10:42:16 ++ awk -F/ '{print $2}' 10:42:16 + tox_env=docs 10:42:16 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 10:42:16 + DOC_DIR=docs/_build/html 10:42:16 + [[ -d docs/_build/html ]] 10:42:16 + echo '---> Archiving generated docs' 10:42:16 ---> Archiving generated docs 10:42:16 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 10:42:16 + echo '---> tox-run.sh ends' 10:42:16 ---> tox-run.sh ends 10:42:16 + test 0 -eq 0 10:42:17 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-ubuntu1804-builder-2c-2g-3875 10:42:18 [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:42:18 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 10:42:18 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 10:42:18 INFO: Project root configuration file: NONE 10:42:18 INFO: SonarScanner 4.6.2.2472 10:42:18 INFO: Java 11.0.18 Ubuntu (64-bit) 10:42:18 INFO: Linux 5.4.0-146-generic amd64 10:42:18 INFO: User cache: /home/jenkins/.sonar/cache 10:42:20 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 10:42:20 INFO: Project root configuration file: NONE 10:42:20 INFO: Analyzing on SonarCloud 10:42:20 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 10:42:21 INFO: Load global settings 10:42:21 INFO: Load global settings (done) | time=298ms 10:42:21 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 10:42:21 INFO: User cache: /home/jenkins/.sonar/cache 10:42:21 INFO: Loading required plugins 10:42:21 INFO: Load plugins index 10:42:21 INFO: Load plugins index (done) | time=307ms 10:42:21 INFO: Load/download plugins 10:42:22 INFO: Load/download plugins (done) | time=1265ms 10:42:24 INFO: Found an active CI vendor: 'Jenkins' 10:42:24 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 10:42:24 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=248ms 10:42:24 INFO: Process project properties 10:42:24 INFO: Project key: o-ran-sc_sim-a1-interface 10:42:24 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 10:42:24 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 10:42:24 INFO: Load project branches 10:42:24 INFO: Load project branches (done) | time=219ms 10:42:24 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 10:42:24 INFO: Detected project binding: NOT_BOUND 10:42:24 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=237ms 10:42:24 INFO: Load project pull requests 10:42:25 INFO: Load project pull requests (done) | time=188ms 10:42:25 INFO: Load branch configuration 10:42:25 INFO: Load branch configuration (done) | time=1ms 10:42:25 INFO: Load quality profiles 10:42:25 INFO: Load quality profiles (done) | time=611ms 10:42:25 INFO: Load active rules 10:42:38 INFO: Load active rules (done) | time=12548ms 10:42:38 INFO: Organization key: o-ran-sc 10:42:38 WARN: The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. 10:42:38 INFO: Preprocessing files... 10:42:38 INFO: 4 languages detected in 112 preprocessed files 10:42:38 INFO: 0 files ignored because of inclusion/exclusion patterns 10:42:38 INFO: 22 files ignored because of scm ignore settings 10:42:39 WARN: The version of Java (11.0.18) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. 10:42:39 INFO: ------------------------------------------------------------------------ 10:42:39 INFO: EXECUTION FAILURE 10:42:39 INFO: ------------------------------------------------------------------------ 10:42:39 INFO: Total time: 20.739s 10:42:39 INFO: Final Memory: 10M/37M 10:42:39 INFO: ------------------------------------------------------------------------ 10:42:39 ERROR: Error during SonarScanner execution 10:42:39 ERROR: 10:42:39 10:42:39 The version of Java (11.0.18) used to run this analysis is deprecated, and SonarCloud no longer supports it. Please upgrade to Java 17 or later. 10:42:39 As a temporary measure, you can set the property 'sonar.scanner.force-deprecated-java-version' to 'true' to continue using Java 11.0.18 10:42:39 This workaround will only be effective until January 28, 2024. After this date, all scans using the deprecated Java 11 will fail. 10:42:39 10:42:39 ERROR: 10:42:39 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 10:42:40 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 10:42:40 $ ssh-agent -k 10:42:40 unset SSH_AUTH_SOCK; 10:42:40 unset SSH_AGENT_PID; 10:42:40 echo Agent pid 6463 killed; 10:42:40 [ssh-agent] Stopped. 10:42:40 ERROR: SonarQube scanner exited with non-zero code: 2 10:42:40 [PostBuildScript] - [INFO] Executing post build scripts. 10:42:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9072994378835181349.sh 10:42:40 ---> sysstat.sh 10:42:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13214234922850944735.sh 10:42:40 ---> package-listing.sh 10:42:40 ++ tr '[:upper:]' '[:lower:]' 10:42:40 ++ facter osfamily 10:42:40 + OS_FAMILY=debian 10:42:40 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 10:42:40 + START_PACKAGES=/tmp/packages_start.txt 10:42:40 + END_PACKAGES=/tmp/packages_end.txt 10:42:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:42:40 + PACKAGES=/tmp/packages_start.txt 10:42:40 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 10:42:40 + PACKAGES=/tmp/packages_end.txt 10:42:40 + case "${OS_FAMILY}" in 10:42:40 + dpkg -l 10:42:40 + grep '^ii' 10:42:40 + '[' -f /tmp/packages_start.txt ']' 10:42:40 + '[' -f /tmp/packages_end.txt ']' 10:42:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:42:41 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 10:42:41 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 10:42:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 10:42:41 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6079240159372634640.sh 10:42:41 ---> capture-instance-metadata.sh 10:42:41 Setup pyenv: 10:42:41 system 10:42:41 3.8.13 10:42:41 3.9.13 10:42:41 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:42:41 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ylpf from file:/tmp/.os_lf_venv 10:42:43 lf-activate-venv(): INFO: Installing: lftools 10:42:56 lf-activate-venv(): INFO: Adding /tmp/venv-Ylpf/bin to PATH 10:42:56 INFO: Running in OpenStack, capturing instance metadata 10:42:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins805800032438394537.sh 10:42:58 provisioning config files... 10:42:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config82540400236725888tmp 10:42:58 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 10:42:58 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 10:42:58 [EnvInject] - Injecting environment variables from a build step. 10:42:58 [EnvInject] - Injecting as environment variables the properties content 10:42:58 SERVER_ID=logs 10:42:58 10:42:58 [EnvInject] - Variables injected successfully. 10:42:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16042484324496065182.sh 10:42:58 ---> create-netrc.sh 10:42:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16474980367929403896.sh 10:42:58 ---> python-tools-install.sh 10:42:58 Setup pyenv: 10:42:58 system 10:42:58 3.8.13 10:42:58 3.9.13 10:42:58 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:42:58 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ylpf from file:/tmp/.os_lf_venv 10:43:00 lf-activate-venv(): INFO: Installing: lftools 10:43:11 lf-activate-venv(): INFO: Adding /tmp/venv-Ylpf/bin to PATH 10:43:11 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5585171045580559696.sh 10:43:11 ---> sudo-logs.sh 10:43:11 Archiving 'sudo' log.. 10:43:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10261925375391961755.sh 10:43:12 ---> job-cost.sh 10:43:12 Setup pyenv: 10:43:12 system 10:43:12 3.8.13 10:43:12 3.9.13 10:43:12 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:43:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ylpf from file:/tmp/.os_lf_venv 10:43:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 10:43:24 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:43:24 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 10:43:24 lf-activate-venv(): INFO: Adding /tmp/venv-Ylpf/bin to PATH 10:43:24 INFO: No Stack... 10:43:25 INFO: Retrieving Pricing Info for: v2-highcpu-2 10:43:25 INFO: Archiving Costs 10:43:25 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7270435782053884777.sh 10:43:25 ---> logs-deploy.sh 10:43:25 Setup pyenv: 10:43:25 system 10:43:25 3.8.13 10:43:25 3.9.13 10:43:25 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 10:43:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ylpf from file:/tmp/.os_lf_venv 10:43:27 lf-activate-venv(): INFO: Installing: lftools 10:43:40 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 10:43:40 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 10:43:41 lf-activate-venv(): INFO: Adding /tmp/venv-Ylpf/bin to PATH 10:43:41 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/217 10:43:41 INFO: archiving workspace using pattern(s): -p **/*.log 10:43:43 Archives upload complete. 10:43:43 INFO: archiving logs to Nexus 10:43:44 ---> uname -a: 10:43:44 Linux prd-ubuntu1804-builder-2c-2g-3875 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 10:43:44 10:43:44 10:43:44 ---> lscpu: 10:43:44 Architecture: x86_64 10:43:44 CPU op-mode(s): 32-bit, 64-bit 10:43:44 Byte Order: Little Endian 10:43:44 Address sizes: 40 bits physical, 48 bits virtual 10:43:44 CPU(s): 2 10:43:44 On-line CPU(s) list: 0,1 10:43:44 Thread(s) per core: 1 10:43:44 Core(s) per socket: 1 10:43:44 Socket(s): 2 10:43:44 NUMA node(s): 1 10:43:44 Vendor ID: AuthenticAMD 10:43:44 CPU family: 23 10:43:44 Model: 49 10:43:44 Model name: AMD EPYC-Rome Processor 10:43:44 Stepping: 0 10:43:44 CPU MHz: 2799.998 10:43:44 BogoMIPS: 5599.99 10:43:44 Virtualization: AMD-V 10:43:44 Hypervisor vendor: KVM 10:43:44 Virtualization type: full 10:43:44 L1d cache: 64 KiB 10:43:44 L1i cache: 64 KiB 10:43:44 L2 cache: 1 MiB 10:43:44 L3 cache: 32 MiB 10:43:44 NUMA node0 CPU(s): 0,1 10:43:44 Vulnerability Itlb multihit: Not affected 10:43:44 Vulnerability L1tf: Not affected 10:43:44 Vulnerability Mds: Not affected 10:43:44 Vulnerability Meltdown: Not affected 10:43:44 Vulnerability Mmio stale data: Not affected 10:43:44 Vulnerability Retbleed: Vulnerable 10:43:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:43:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:43:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 10:43:44 Vulnerability Srbds: Not affected 10:43:44 Vulnerability Tsx async abort: Not affected 10:43:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:43:44 10:43:44 10:43:44 ---> nproc: 10:43:44 2 10:43:44 10:43:44 10:43:44 ---> df -h: 10:43:44 Filesystem Size Used Avail Use% Mounted on 10:43:44 udev 975M 0 975M 0% /dev 10:43:44 tmpfs 199M 1012K 198M 1% /run 10:43:44 /dev/vda1 20G 9.4G 9.9G 49% / 10:43:44 tmpfs 992M 0 992M 0% /dev/shm 10:43:44 tmpfs 5.0M 0 5.0M 0% /run/lock 10:43:44 tmpfs 992M 0 992M 0% /sys/fs/cgroup 10:43:44 /dev/loop1 62M 62M 0 100% /snap/core20/1405 10:43:44 /dev/loop0 68M 68M 0 100% /snap/lxd/22753 10:43:44 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 10:43:44 /dev/vda15 105M 6.1M 99M 6% /boot/efi 10:43:44 tmpfs 199M 0 199M 0% /run/user/1001 10:43:44 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 10:43:44 /dev/loop4 64M 64M 0 100% /snap/core20/2105 10:43:44 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 10:43:44 10:43:44 10:43:44 ---> free -m: 10:43:44 total used free shared buff/cache available 10:43:44 Mem: 1983 407 180 2 1395 1381 10:43:44 Swap: 1023 3 1020 10:43:44 10:43:44 10:43:44 ---> ip addr: 10:43:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 10:43:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:43:44 inet 127.0.0.1/8 scope host lo 10:43:44 valid_lft forever preferred_lft forever 10:43:44 inet6 ::1/128 scope host 10:43:44 valid_lft forever preferred_lft forever 10:43:44 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 10:43:44 link/ether fa:16:3e:b4:80:e6 brd ff:ff:ff:ff:ff:ff 10:43:44 inet 10.32.6.61/23 brd 10.32.7.255 scope global dynamic ens3 10:43:44 valid_lft 86052sec preferred_lft 86052sec 10:43:44 inet6 fe80::f816:3eff:feb4:80e6/64 scope link 10:43:44 valid_lft forever preferred_lft forever 10:43:44 10:43:44 10:43:44 ---> sar -b -r -n DEV: 10:43:44 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3875) 01/16/24 _x86_64_ (2 CPU) 10:43:44 10:43:44 10:37:58 LINUX RESTART (2 CPU) 10:43:44 10:43:44 10:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:43:44 10:39:02 317.94 192.60 118.27 7.06 7320.47 46433.87 372641.95 10:43:44 10:40:01 98.31 18.59 79.72 0.00 472.19 11910.12 0.00 10:43:44 10:41:01 22.23 3.03 19.20 0.00 172.90 3936.94 0.00 10:43:44 10:42:01 92.60 3.93 88.67 0.00 334.88 30185.50 0.00 10:43:44 10:43:01 83.49 37.06 46.43 0.00 2208.70 17512.81 0.00 10:43:44 Average: 123.01 51.16 70.43 1.42 2107.63 22031.21 74797.53 10:43:44 10:43:44 10:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:43:44 10:39:02 88352 1385528 419108 20.64 42820 1343148 884520 28.73 512512 1247800 28556 10:43:44 10:40:01 68124 1400244 392228 19.32 65120 1336700 905496 29.41 480600 1270220 85140 10:43:44 10:41:01 78224 1425680 369712 18.21 67568 1342100 882616 28.66 475108 1261588 17456 10:43:44 10:42:01 176504 1389356 403716 19.88 87948 1181108 922828 29.97 423144 1206756 26112 10:43:44 10:43:01 144108 1442712 344944 16.99 96416 1251608 822636 26.72 372868 1278552 38612 10:43:44 Average: 111062 1408704 385942 19.01 71974 1290933 883619 28.70 452846 1252983 39175 10:43:44 10:43:44 10:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:43:44 10:39:02 lo 2.20 2.20 0.20 0.20 0.00 0.00 0.00 0.00 10:43:44 10:39:02 ens3 290.47 178.73 1380.22 59.41 0.00 0.00 0.00 0.00 10:43:44 10:40:01 lo 0.88 0.88 0.08 0.08 0.00 0.00 0.00 0.00 10:43:44 10:40:01 ens3 40.94 40.15 376.58 7.77 0.00 0.00 0.00 0.00 10:43:44 10:41:01 lo 0.67 0.67 0.05 0.05 0.00 0.00 0.00 0.00 10:43:44 10:41:01 ens3 2.23 2.05 0.45 0.82 0.00 0.00 0.00 0.00 10:43:44 10:42:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 10:43:44 10:42:01 ens3 126.00 106.92 2511.88 12.18 0.00 0.00 0.00 0.00 10:43:44 10:43:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 10:43:44 10:43:01 ens3 251.66 152.06 1977.76 19.93 0.00 0.00 0.00 0.00 10:43:44 Average: lo 1.04 1.04 0.09 0.09 0.00 0.00 0.00 0.00 10:43:44 Average: ens3 142.61 96.17 1252.30 20.06 0.00 0.00 0.00 0.00 10:43:44 10:43:44 10:43:44 ---> sar -P ALL: 10:43:44 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3875) 01/16/24 _x86_64_ (2 CPU) 10:43:44 10:43:44 10:37:58 LINUX RESTART (2 CPU) 10:43:44 10:43:44 10:38:01 CPU %user %nice %system %iowait %steal %idle 10:43:44 10:39:02 all 33.96 26.68 20.33 11.17 0.08 7.78 10:43:44 10:39:02 0 32.16 27.76 20.81 11.45 0.08 7.74 10:43:44 10:39:02 1 35.77 25.60 19.85 10.90 0.07 7.82 10:43:44 10:40:01 all 39.08 3.33 5.03 6.77 0.08 45.71 10:43:44 10:40:01 0 30.32 2.89 4.42 4.91 0.07 57.40 10:43:44 10:40:01 1 47.81 3.78 5.65 8.63 0.08 34.05 10:43:44 10:41:01 all 7.03 0.00 0.54 2.10 0.08 90.24 10:43:44 10:41:01 0 3.84 0.00 0.50 1.76 0.10 93.79 10:43:44 10:41:01 1 10.21 0.00 0.57 2.44 0.07 86.71 10:43:44 10:42:01 all 33.62 0.00 3.11 5.12 0.08 58.07 10:43:44 10:42:01 0 43.46 0.00 3.38 1.45 0.07 51.64 10:43:44 10:42:01 1 23.75 0.00 2.83 8.80 0.10 64.51 10:43:44 10:43:01 all 32.59 0.00 2.59 3.83 0.06 60.93 10:43:44 10:43:01 0 35.76 0.00 2.54 3.50 0.05 58.14 10:43:44 10:43:01 1 29.42 0.00 2.64 4.15 0.07 63.72 10:43:44 Average: all 29.22 5.96 6.29 5.79 0.08 52.66 10:43:44 Average: 0 29.12 6.09 6.31 4.60 0.07 53.81 10:43:44 Average: 1 29.33 5.84 6.28 6.97 0.08 51.51 10:43:44 10:43:44 10:43:44