17:18:52 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 17:18:52 Running as SYSTEM 17:18:52 [EnvInject] - Loading node environment variables. 17:18:52 Building remotely on prd-ubuntu1804-builder-2c-2g-3987 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 17:18:52 [ssh-agent] Looking for ssh-agent implementation... 17:18:52 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:52 $ ssh-agent 17:18:52 SSH_AUTH_SOCK=/tmp/ssh-3O1FvuwZCv8m/agent.5732 17:18:52 SSH_AGENT_PID=5734 17:18:52 [ssh-agent] Started. 17:18:52 Running ssh-add (command line suppressed) 17:18:52 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_17377451778923875402.key (jenkins-ssh) 17:18:52 [ssh-agent] Using credentials jenkins (jenkins) 17:18:52 The recommended git tool is: NONE 17:18:54 using credential jenkins 17:18:54 Wiping out workspace first. 17:18:54 Cloning the remote Git repository 17:18:54 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 17:18:54 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 17:18:54 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 17:18:54 > git --version # timeout=10 17:18:54 > git --version # 'git version 2.25.1' 17:18:54 using GIT_SSH to set credentials jenkins 17:18:54 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 17:18:55 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 17:18:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:18:55 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 17:18:55 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 17:18:55 using GIT_SSH to set credentials jenkins 17:18:55 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface refs/changes/34/12434/21 # timeout=10 17:18:55 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 17:18:55 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 17:18:55 > git config core.sparsecheckout # timeout=10 17:18:55 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 17:18:56 Commit message: "Fix build failure" 17:18:56 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 17:18:56 provisioning config files... 17:18:56 copy managed file [npmrc] to file:/home/jenkins/.npmrc 17:18:56 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 17:18:56 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16276889496849286252.sh 17:18:56 ---> python-tools-install.sh 17:18:56 Setup pyenv: 17:18:56 * system (set by /opt/pyenv/version) 17:18:56 * 3.8.13 (set by /opt/pyenv/version) 17:18:56 * 3.9.13 (set by /opt/pyenv/version) 17:18:56 * 3.10.6 (set by /opt/pyenv/version) 17:19:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ON5f 17:19:01 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 17:19:05 lf-activate-venv(): INFO: Installing: lftools 17:19:43 lf-activate-venv(): INFO: Adding /tmp/venv-ON5f/bin to PATH 17:19:43 Generating Requirements File 17:20:17 Python 3.10.6 17:20:17 pip 23.3.2 from /tmp/venv-ON5f/lib/python3.10/site-packages/pip (python 3.10) 17:20:17 appdirs==1.4.4 17:20:17 argcomplete==3.2.1 17:20:17 aspy.yaml==1.3.0 17:20:17 attrs==23.2.0 17:20:17 autopage==0.5.2 17:20:17 beautifulsoup4==4.12.2 17:20:17 boto3==1.34.19 17:20:17 botocore==1.34.19 17:20:17 bs4==0.0.1 17:20:17 cachetools==5.3.2 17:20:17 certifi==2023.11.17 17:20:17 cffi==1.16.0 17:20:17 cfgv==3.4.0 17:20:17 chardet==5.2.0 17:20:17 charset-normalizer==3.3.2 17:20:17 click==8.1.7 17:20:17 cliff==4.5.0 17:20:17 cmd2==2.4.3 17:20:17 cryptography==3.3.2 17:20:17 debtcollector==2.5.0 17:20:17 decorator==5.1.1 17:20:17 defusedxml==0.7.1 17:20:17 Deprecated==1.2.14 17:20:17 distlib==0.3.8 17:20:17 dnspython==2.4.2 17:20:17 docker==4.2.2 17:20:17 dogpile.cache==1.3.0 17:20:17 email-validator==2.1.0.post1 17:20:17 filelock==3.13.1 17:20:17 future==0.18.3 17:20:17 gitdb==4.0.11 17:20:17 GitPython==3.1.41 17:20:17 google-auth==2.26.2 17:20:17 httplib2==0.22.0 17:20:17 identify==2.5.33 17:20:17 idna==3.6 17:20:17 importlib-resources==1.5.0 17:20:17 iso8601==2.1.0 17:20:17 Jinja2==3.1.3 17:20:17 jmespath==1.0.1 17:20:17 jsonpatch==1.33 17:20:17 jsonpointer==2.4 17:20:17 jsonschema==4.21.0 17:20:17 jsonschema-specifications==2023.12.1 17:20:17 keystoneauth1==5.5.0 17:20:17 kubernetes==29.0.0 17:20:17 lftools==0.37.8 17:20:17 lxml==5.1.0 17:20:17 MarkupSafe==2.1.3 17:20:17 msgpack==1.0.7 17:20:17 multi_key_dict==2.0.3 17:20:17 munch==4.0.0 17:20:17 netaddr==0.10.1 17:20:17 netifaces==0.11.0 17:20:17 niet==1.4.2 17:20:17 nodeenv==1.8.0 17:20:17 oauth2client==4.1.3 17:20:17 oauthlib==3.2.2 17:20:17 openstacksdk==0.62.0 17:20:17 os-client-config==2.1.0 17:20:17 os-service-types==1.7.0 17:20:17 osc-lib==3.0.0 17:20:17 oslo.config==9.3.0 17:20:17 oslo.context==5.3.0 17:20:17 oslo.i18n==6.2.0 17:20:17 oslo.log==5.4.0 17:20:17 oslo.serialization==5.3.0 17:20:17 oslo.utils==6.3.0 17:20:17 packaging==23.2 17:20:17 pbr==6.0.0 17:20:17 platformdirs==4.1.0 17:20:17 prettytable==3.9.0 17:20:17 pyasn1==0.5.1 17:20:17 pyasn1-modules==0.3.0 17:20:17 pycparser==2.21 17:20:17 pygerrit2==2.0.15 17:20:17 PyGithub==2.1.1 17:20:17 pyinotify==0.9.6 17:20:17 PyJWT==2.8.0 17:20:17 PyNaCl==1.5.0 17:20:17 pyparsing==2.4.7 17:20:17 pyperclip==1.8.2 17:20:17 pyrsistent==0.20.0 17:20:17 python-cinderclient==9.4.0 17:20:17 python-dateutil==2.8.2 17:20:17 python-heatclient==3.4.0 17:20:17 python-jenkins==1.8.2 17:20:17 python-keystoneclient==5.3.0 17:20:17 python-magnumclient==4.3.0 17:20:17 python-novaclient==18.4.0 17:20:17 python-openstackclient==6.0.0 17:20:17 python-swiftclient==4.4.0 17:20:17 pytz==2023.3.post1 17:20:17 PyYAML==6.0.1 17:20:17 referencing==0.32.1 17:20:17 requests==2.31.0 17:20:17 requests-oauthlib==1.3.1 17:20:17 requestsexceptions==1.4.0 17:20:17 rfc3986==2.0.0 17:20:17 rpds-py==0.17.1 17:20:17 rsa==4.9 17:20:17 ruamel.yaml==0.18.5 17:20:17 ruamel.yaml.clib==0.2.8 17:20:17 s3transfer==0.10.0 17:20:17 simplejson==3.19.2 17:20:17 six==1.16.0 17:20:17 smmap==5.0.1 17:20:17 soupsieve==2.5 17:20:17 stevedore==5.1.0 17:20:17 tabulate==0.9.0 17:20:17 toml==0.10.2 17:20:17 tomlkit==0.12.3 17:20:17 tqdm==4.66.1 17:20:17 typing_extensions==4.9.0 17:20:17 tzdata==2023.4 17:20:17 urllib3==1.26.18 17:20:17 virtualenv==20.25.0 17:20:17 wcwidth==0.2.13 17:20:17 websocket-client==1.7.0 17:20:17 wrapt==1.16.0 17:20:17 xdg==6.0.0 17:20:17 xmltodict==0.13.0 17:20:17 yq==3.2.3 17:20:17 [EnvInject] - Injecting environment variables from a build step. 17:20:17 [EnvInject] - Injecting as environment variables the properties content 17:20:17 PYTHON=python3 17:20:17 17:20:17 [EnvInject] - Variables injected successfully. 17:20:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11851178922993516065.sh 17:20:18 ---> tox-install.sh 17:20:18 + source /home/jenkins/lf-env.sh 17:20:18 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:20:18 ++ mktemp -d /tmp/venv-XXXX 17:20:18 + lf_venv=/tmp/venv-c1Co 17:20:18 + local venv_file=/tmp/.os_lf_venv 17:20:18 + local python=python3 17:20:18 + local options 17:20:18 + local set_path=true 17:20:18 + local install_args= 17:20:18 ++ 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 17:20:18 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:20:18 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:20:18 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:20:18 + true 17:20:18 + case $1 in 17:20:18 + venv_file=/tmp/.toxenv 17:20:18 + shift 2 17:20:18 + true 17:20:18 + case $1 in 17:20:18 + shift 17:20:18 + break 17:20:18 + case $python in 17:20:18 + local pkg_list= 17:20:18 + [[ -d /opt/pyenv ]] 17:20:18 + echo 'Setup pyenv:' 17:20:18 Setup pyenv: 17:20:18 + export PYENV_ROOT=/opt/pyenv 17:20:18 + PYENV_ROOT=/opt/pyenv 17:20:18 + 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 17:20:18 + 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 17:20:18 + pyenv versions 17:20:18 system 17:20:18 3.8.13 17:20:18 3.9.13 17:20:18 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 17:20:18 + command -v pyenv 17:20:18 ++ pyenv init - --no-rehash 17:20:18 + 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[*]}"'\'')" 17:20:18 export PATH="/opt/pyenv/shims:${PATH}" 17:20:18 export PYENV_SHELL=bash 17:20:18 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:20:18 pyenv() { 17:20:18 local command 17:20:18 command="${1:-}" 17:20:18 if [ "$#" -gt 0 ]; then 17:20:18 shift 17:20:18 fi 17:20:18 17:20:18 case "$command" in 17:20:18 rehash|shell) 17:20:18 eval "$(pyenv "sh-$command" "$@")" 17:20:18 ;; 17:20:18 *) 17:20:18 command pyenv "$command" "$@" 17:20:18 ;; 17:20:18 esac 17:20:18 }' 17:20:18 +++ 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[*]}"' 17:20:18 ++ 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 17:20:18 ++ 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 17:20:18 ++ 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 17:20:18 ++ export PYENV_SHELL=bash 17:20:18 ++ PYENV_SHELL=bash 17:20:18 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:20:18 +++ complete -F _pyenv pyenv 17:20:18 ++ lf-pyver python3 17:20:18 ++ local py_version_xy=python3 17:20:18 ++ local py_version_xyz= 17:20:18 ++ pyenv versions 17:20:18 ++ local command 17:20:18 ++ command=versions 17:20:18 ++ '[' 1 -gt 0 ']' 17:20:18 ++ shift 17:20:18 ++ case "$command" in 17:20:18 ++ command pyenv versions 17:20:18 ++ pyenv versions 17:20:18 ++ awk '{ print $1 }' 17:20:18 ++ sed 's/^[ *]* //' 17:20:18 ++ grep -E '^[0-9.]*[0-9]$' 17:20:18 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:20:18 +++ grep '^3' /tmp/.pyenv_versions 17:20:18 +++ sort -V 17:20:18 +++ tail -n 1 17:20:18 ++ py_version_xyz=3.10.6 17:20:18 ++ [[ -z 3.10.6 ]] 17:20:18 ++ echo 3.10.6 17:20:18 ++ return 0 17:20:18 + pyenv local 3.10.6 17:20:18 + local command 17:20:18 + command=local 17:20:18 + '[' 2 -gt 0 ']' 17:20:18 + shift 17:20:18 + case "$command" in 17:20:18 + command pyenv local 3.10.6 17:20:18 + pyenv local 3.10.6 17:20:18 + for arg in "$@" 17:20:18 + case $arg in 17:20:18 + pkg_list+='tox ' 17:20:18 + for arg in "$@" 17:20:18 + case $arg in 17:20:18 + pkg_list+='virtualenv ' 17:20:18 + for arg in "$@" 17:20:18 + case $arg in 17:20:18 + pkg_list+='urllib3~=1.26.15 ' 17:20:18 + [[ -f /tmp/.toxenv ]] 17:20:18 + [[ ! -f /tmp/.toxenv ]] 17:20:18 + [[ -n '' ]] 17:20:18 + python3 -m venv /tmp/venv-c1Co 17:20:22 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c1Co' 17:20:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c1Co 17:20:22 + echo /tmp/venv-c1Co 17:20:22 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 17:20:22 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 17:20:22 + /tmp/venv-c1Co/bin/python3 -m pip install --upgrade --quiet pip virtualenv 17:20:25 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:20:25 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 17:20:25 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 17:20:25 + /tmp/venv-c1Co/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 17:20:27 + type python3 17:20:27 + true 17:20:27 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-c1Co/bin to PATH' 17:20:27 lf-activate-venv(): INFO: Adding /tmp/venv-c1Co/bin to PATH 17:20:27 + PATH=/tmp/venv-c1Co/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 17:20:27 + return 0 17:20:27 + python3 --version 17:20:27 Python 3.10.6 17:20:27 + python3 -m pip --version 17:20:28 pip 23.3.2 from /tmp/venv-c1Co/lib/python3.10/site-packages/pip (python 3.10) 17:20:28 + python3 -m pip freeze 17:20:28 cachetools==5.3.2 17:20:28 chardet==5.2.0 17:20:28 colorama==0.4.6 17:20:28 distlib==0.3.8 17:20:28 filelock==3.13.1 17:20:28 packaging==23.2 17:20:28 platformdirs==4.1.0 17:20:28 pluggy==1.3.0 17:20:28 pyproject-api==1.6.1 17:20:28 tomli==2.0.1 17:20:28 tox==4.12.1 17:20:28 urllib3==1.26.18 17:20:28 virtualenv==20.25.0 17:20:28 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins15516295797775913502.sh 17:20:28 [EnvInject] - Injecting environment variables from a build step. 17:20:28 [EnvInject] - Injecting as environment variables the properties content 17:20:28 PARALLEL=False 17:20:28 17:20:28 [EnvInject] - Variables injected successfully. 17:20:28 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins18429473347874742732.sh 17:20:28 ---> tox-run.sh 17:20:28 + 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 17:20:28 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 17:20:28 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 17:20:28 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 17:20:28 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 17:20:28 + source /home/jenkins/lf-env.sh 17:20:28 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:20:28 ++ mktemp -d /tmp/venv-XXXX 17:20:28 + lf_venv=/tmp/venv-d3tZ 17:20:28 + local venv_file=/tmp/.os_lf_venv 17:20:28 + local python=python3 17:20:28 + local options 17:20:28 + local set_path=true 17:20:28 + local install_args= 17:20:28 ++ 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 17:20:28 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:20:28 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:20:28 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:20:28 + true 17:20:28 + case $1 in 17:20:28 + venv_file=/tmp/.toxenv 17:20:28 + shift 2 17:20:28 + true 17:20:28 + case $1 in 17:20:28 + shift 17:20:28 + break 17:20:28 + case $python in 17:20:28 + local pkg_list= 17:20:28 + [[ -d /opt/pyenv ]] 17:20:28 + echo 'Setup pyenv:' 17:20:28 Setup pyenv: 17:20:28 + export PYENV_ROOT=/opt/pyenv 17:20:28 + PYENV_ROOT=/opt/pyenv 17:20:28 + 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 17:20:28 + 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 17:20:28 + pyenv versions 17:20:28 system 17:20:28 3.8.13 17:20:28 3.9.13 17:20:28 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 17:20:28 + command -v pyenv 17:20:28 ++ pyenv init - --no-rehash 17:20:28 + 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[*]}"'\'')" 17:20:28 export PATH="/opt/pyenv/shims:${PATH}" 17:20:28 export PYENV_SHELL=bash 17:20:28 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:20:28 pyenv() { 17:20:28 local command 17:20:28 command="${1:-}" 17:20:28 if [ "$#" -gt 0 ]; then 17:20:28 shift 17:20:28 fi 17:20:28 17:20:28 case "$command" in 17:20:28 rehash|shell) 17:20:28 eval "$(pyenv "sh-$command" "$@")" 17:20:28 ;; 17:20:28 *) 17:20:28 command pyenv "$command" "$@" 17:20:28 ;; 17:20:28 esac 17:20:28 }' 17:20:28 +++ 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[*]}"' 17:20:28 ++ 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 17:20:28 ++ 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 17:20:28 ++ 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 17:20:28 ++ export PYENV_SHELL=bash 17:20:28 ++ PYENV_SHELL=bash 17:20:28 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:20:28 +++ complete -F _pyenv pyenv 17:20:28 ++ lf-pyver python3 17:20:28 ++ local py_version_xy=python3 17:20:28 ++ local py_version_xyz= 17:20:28 ++ pyenv versions 17:20:28 ++ local command 17:20:28 ++ command=versions 17:20:28 ++ '[' 1 -gt 0 ']' 17:20:28 ++ grep -E '^[0-9.]*[0-9]$' 17:20:28 ++ shift 17:20:28 ++ case "$command" in 17:20:28 ++ command pyenv versions 17:20:28 ++ pyenv versions 17:20:28 ++ awk '{ print $1 }' 17:20:28 ++ sed 's/^[ *]* //' 17:20:28 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:20:28 +++ grep '^3' /tmp/.pyenv_versions 17:20:28 +++ tail -n 1 17:20:28 +++ sort -V 17:20:28 ++ py_version_xyz=3.10.6 17:20:28 ++ [[ -z 3.10.6 ]] 17:20:28 ++ echo 3.10.6 17:20:28 ++ return 0 17:20:28 + pyenv local 3.10.6 17:20:28 + local command 17:20:28 + command=local 17:20:28 + '[' 2 -gt 0 ']' 17:20:28 + shift 17:20:28 + case "$command" in 17:20:28 + command pyenv local 3.10.6 17:20:28 + pyenv local 3.10.6 17:20:28 + for arg in "$@" 17:20:28 + case $arg in 17:20:28 + pkg_list+='tox ' 17:20:28 + for arg in "$@" 17:20:28 + case $arg in 17:20:28 + pkg_list+='virtualenv ' 17:20:28 + for arg in "$@" 17:20:28 + case $arg in 17:20:28 + pkg_list+='urllib3~=1.26.15 ' 17:20:28 + [[ -f /tmp/.toxenv ]] 17:20:28 ++ cat /tmp/.toxenv 17:20:28 + lf_venv=/tmp/venv-c1Co 17:20:28 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c1Co from' file:/tmp/.toxenv 17:20:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-c1Co from file:/tmp/.toxenv 17:20:28 + /tmp/venv-c1Co/bin/python3 -m pip install --upgrade --quiet pip virtualenv 17:20:29 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:20:29 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 17:20:29 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 17:20:29 + /tmp/venv-c1Co/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 17:20:31 + type python3 17:20:31 + true 17:20:31 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-c1Co/bin to PATH' 17:20:31 lf-activate-venv(): INFO: Adding /tmp/venv-c1Co/bin to PATH 17:20:31 + PATH=/tmp/venv-c1Co/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 17:20:31 + return 0 17:20:31 + [[ -d /opt/pyenv ]] 17:20:31 + echo '---> Setting up pyenv' 17:20:31 ---> Setting up pyenv 17:20:31 + export PYENV_ROOT=/opt/pyenv 17:20:31 + PYENV_ROOT=/opt/pyenv 17:20:31 + export PATH=/opt/pyenv/bin:/tmp/venv-c1Co/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 17:20:31 + PATH=/opt/pyenv/bin:/tmp/venv-c1Co/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 17:20:31 ++ pwd 17:20:31 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 17:20:31 + export PYTHONPATH 17:20:31 + export TOX_TESTENV_PASSENV=PYTHONPATH 17:20:31 + TOX_TESTENV_PASSENV=PYTHONPATH 17:20:31 + tox --version 17:20:31 4.12.1 from /tmp/venv-c1Co/lib/python3.10/site-packages/tox/__init__.py 17:20:31 + PARALLEL=False 17:20:31 + TOX_OPTIONS_LIST= 17:20:31 + [[ -n '' ]] 17:20:31 + case ${PARALLEL,,} in 17:20:31 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 17:20:31 + tox 17:20:32 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 17:20:39 code: freeze> python -m pip freeze --all 17:20:40 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.21.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 17:20:40 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 17:20:40 ============================= test session starts ============================== 17:20:40 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 17:20:40 cachedir: .tox/code/.pytest_cache 17:20:40 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 17:20:40 plugins: cov-4.1.0 17:20:40 collected 4 items 17:20:40 17:20:40 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 17:20:41 -------------------------------- live log setup -------------------------------- 17:20:41 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 17:20:41 Please install connexion with extra install: pip install connexion[swagger-ui] 17:20:41 or provide the path to your local installation by passing swagger_path= 17:20:41 17:20:41 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 17:20:41 Please install connexion with extra install: pip install connexion[swagger-ui] 17:20:41 or provide the path to your local installation by passing swagger_path= 17:20:41 17:20:41 PASSED [ 25%] 17:20:41 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 17:20:51 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 17:20:51 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 17:20:51 -------------------------------- live log call --------------------------------- 17:20:51 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. 17:20:51 * Running on http://127.0.0.1:8086 17:20:51 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 17:21:01 INFO werkzeug:_internal.py:224 127.0.0.1 - - [17/Jan/2024 17:21:01] "POST /statustest HTTP/1.1" 201 - 17:21:01 PASSED [100%] 17:21:01 17:21:01 =============================== warnings summary =============================== 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 17:21:01 /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. 17:21:01 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 17:21:01 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 17:21:01 /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. 17:21:01 from jsonschema import Draft4Validator, RefResolver 17:21:01 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 17:21:01 /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. 17:21:01 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 17:21:01 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 17:21:01 /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. 17:21:01 app.json_encoder = FlaskJSONEncoder 17:21:01 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 17:21:01 /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. 17:21:01 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 17:21:01 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 17:21:01 /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. 17:21:01 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 17:21:01 17:21:01 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 17:21:01 17:21:01 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 17:21:01 Name Stmts Miss Cover Missing 17:21:01 --------------------------------------------------------------------------------------------------------- 17:21:01 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 17:21:01 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 17:21:01 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 17:21:01 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 17:21:01 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 17:21:01 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 17:21:01 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 17:21:01 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 17:21:01 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 17:21:01 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 17:21:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 17:21:01 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 17:21:01 --------------------------------------------------------------------------------------------------------- 17:21:01 TOTAL 973 113 88% 17:21:01 Coverage HTML written to dir htmlcov 17:21:01 Coverage XML written to file coverage.xml 17:21:01 17:21:01 Required test coverage of 70% reached. Total coverage: 88.39% 17:21:01 ======================= 4 passed, 118 warnings in 21.37s ======================= 17:21:02 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 17:21:02 ============================= test session starts ============================== 17:21:02 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 17:21:02 cachedir: .tox/code/.pytest_cache 17:21:02 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 17:21:02 plugins: cov-4.1.0 17:21:02 collected 1 item 17:21:02 17:21:02 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:02 -------------------------------- live log setup -------------------------------- 17:21:02 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 17:21:02 Please install connexion with extra install: pip install connexion[swagger-ui] 17:21:02 or provide the path to your local installation by passing swagger_path= 17:21:02 17:21:02 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 17:21:02 Please install connexion with extra install: pip install connexion[swagger-ui] 17:21:02 or provide the path to your local installation by passing swagger_path= 17:21:02 17:21:13 PASSED [100%] 17:21:13 17:21:13 =============================== warnings summary =============================== 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 /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. 17:21:13 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 /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. 17:21:13 from jsonschema import Draft4Validator, RefResolver 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 /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. 17:21:13 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 /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. 17:21:13 app.json_encoder = FlaskJSONEncoder 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 /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. 17:21:13 for error in instance_validator.iter_errors(instance['default'], instance): 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 17:21:13 /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. 17:21:13 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 17:21:13 /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. 17:21:13 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 /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. 17:21:13 warnings.warn( 17:21:13 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 17:21:13 /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. 17:21:13 return json.dumps(obj, **kwargs) 17:21:13 17:21:13 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 17:21:13 17:21:13 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 17:21:13 Name Stmts Miss Cover Missing 17:21:13 --------------------------------------------------------------------------------------------------------- 17:21:13 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 17:21:13 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 17:21:13 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 17:21:13 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 17:21:13 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 17:21:13 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 17:21:13 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 17:21:13 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 17:21:13 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 17:21:13 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 17:21:13 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 17:21:13 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 17:21:13 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 17:21:13 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 17:21:13 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 17:21:13 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 17:21:13 --------------------------------------------------------------------------------------------------------- 17:21:13 TOTAL 1440 152 89% 17:21:13 Coverage HTML written to dir htmlcov 17:21:13 Coverage XML written to file coverage.xml 17:21:13 17:21:13 Required test coverage of 70% reached. Total coverage: 89.44% 17:21:13 ======================= 1 passed, 65 warnings in 11.13s ======================== 17:21:13 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 17:21:13 ============================= test session starts ============================== 17:21:13 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 17:21:13 cachedir: .tox/code/.pytest_cache 17:21:13 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 17:21:13 plugins: cov-4.1.0 17:21:13 collected 4 items 17:21:13 17:21:14 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:14 -------------------------------- live log setup -------------------------------- 17:21:14 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 17:21:14 Please install connexion with extra install: pip install connexion[swagger-ui] 17:21:14 or provide the path to your local installation by passing swagger_path= 17:21:14 17:21:14 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 17:21:14 Please install connexion with extra install: pip install connexion[swagger-ui] 17:21:14 or provide the path to your local installation by passing swagger_path= 17:21:14 17:21:14 PASSED [ 25%] 17:21:14 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 17:21:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 17:21:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 17:21:24 -------------------------------- live log call --------------------------------- 17:21:24 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. 17:21:24 * Running on http://127.0.0.1:8086 17:21:24 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 17:21:34 INFO werkzeug:_internal.py:224 127.0.0.1 - - [17/Jan/2024 17:21:34] "POST /statustest HTTP/1.1" 200 - 17:21:34 PASSED [100%] 17:21:35 17:21:35 =============================== warnings summary =============================== 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:35 /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. 17:21:35 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 17:21:35 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:35 /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. 17:21:35 from jsonschema import Draft4Validator, RefResolver 17:21:35 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:35 /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. 17:21:35 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 17:21:35 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:35 /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. 17:21:35 app.json_encoder = FlaskJSONEncoder 17:21:35 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 17:21:35 /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. 17:21:35 for error in instance_validator.iter_errors(instance['default'], instance): 17:21:35 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 17:21:35 /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. 17:21:35 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 17:21:35 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 17:21:35 /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. 17:21:35 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 17:21:35 17:21:35 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 17:21:35 17:21:35 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 17:21:35 Name Stmts Miss Cover Missing 17:21:35 --------------------------------------------------------------------------------------------------------- 17:21:35 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 17:21:35 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 17:21:35 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 17:21:35 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 17:21:35 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 17:21:35 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 17:21:35 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 17:21:35 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 17:21:35 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 17:21:35 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 17:21:35 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 17:21:35 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 17:21:35 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 17:21:35 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 17:21:35 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 17:21:35 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 17:21:35 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 17:21:35 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 17:21:35 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 17:21:35 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 17:21:35 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 17:21:35 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 17:21:35 --------------------------------------------------------------------------------------------------------- 17:21:35 TOTAL 2219 282 87% 17:21:35 Coverage HTML written to dir htmlcov 17:21:35 Coverage XML written to file coverage.xml 17:21:35 17:21:35 Required test coverage of 70% reached. Total coverage: 87.29% 17:21:35 ======================= 4 passed, 65 warnings in 21.53s ======================== 17:21:35 code: commands[3]> coverage xml -i 17:21:35 Wrote XML report to coverage.xml 17:21:35 code: OK ✔ in 1 minute 3.9 seconds 17:21:35 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 17:22:20 docs: freeze> python -m pip freeze --all 17:22:20 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.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 17:22:20 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 17:22:21 Running Sphinx v5.3.0 17:22:21 making output directory... done 17:22:21 building [mo]: targets for 0 po files that are out of date 17:22:21 building [html]: targets for 6 source files that are out of date 17:22:21 updating environment: [new config] 6 added, 0 changed, 0 removed 17:22:21 reading sources... [ 16%] callout-server 17:22:21 reading sources... [ 33%] index 17:22:21 reading sources... [ 50%] kafka-message-dispatcher 17:22:21 reading sources... [ 66%] overview 17:22:21 reading sources... [ 83%] release-notes 17:22:21 reading sources... [100%] simulator-api 17:22:21 17:22:21 looking for now-outdated files... none found 17:22:21 pickling environment... done 17:22:21 checking consistency... done 17:22:21 preparing documents... done 17:22:21 writing output... [ 16%] callout-server 17:22:21 writing output... [ 33%] index 17:22:21 writing output... [ 50%] kafka-message-dispatcher 17:22:21 writing output... [ 66%] overview 17:22:21 writing output... [ 83%] release-notes 17:22:21 writing output... [100%] simulator-api 17:22:21 17:22:22 generating indices... genindex done 17:22:22 writing additional pages... search done 17:22:22 copying images... [100%] images/yaml_logo.png 17:22:22 17:22:22 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 17:22:22 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 17:22:22 17:22:22 copying static files... done 17:22:22 copying extra files... done 17:22:22 dumping search index in English (code: en)... done 17:22:22 dumping object inventory... done 17:22:22 build succeeded. 17:22:22 17:22:22 The HTML pages are in docs/_build/html. 17:22:22 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 17:22:22 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 17:22:22 docs: OK ✔ in 46.68 seconds 17:22:22 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 17:22:46 docs-linkcheck: freeze> python -m pip freeze --all 17:22:46 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.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 17:22:46 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 17:22:46 Running Sphinx v5.3.0 17:22:47 making output directory... done 17:22:47 building [mo]: targets for 0 po files that are out of date 17:22:47 building [linkcheck]: targets for 6 source files that are out of date 17:22:47 updating environment: [new config] 6 added, 0 changed, 0 removed 17:22:47 reading sources... [ 16%] callout-server 17:22:47 reading sources... [ 33%] index 17:22:47 reading sources... [ 50%] kafka-message-dispatcher 17:22:47 reading sources... [ 66%] overview 17:22:47 reading sources... [ 83%] release-notes 17:22:47 reading sources... [100%] simulator-api 17:22:47 17:22:47 looking for now-outdated files... none found 17:22:47 pickling environment... done 17:22:47 checking consistency... done 17:22:47 preparing documents... done 17:22:47 writing output... [ 16%] callout-server 17:22:47 writing output... [ 33%] index 17:22:47 writing output... [ 50%] kafka-message-dispatcher 17:22:47 writing output... [ 66%] overview 17:22:47 writing output... [ 83%] release-notes 17:22:47 writing output... [100%] simulator-api 17:22:47 17:22:47 17:22:47 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 17:22:47 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 17:22:47 ( 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 17:22:47 ( 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 17:22:47 ( 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 17:22:47 build succeeded. 17:22:47 17:22:47 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 17:22:47 code: OK (63.90=setup[8.48]+cmd[21.78,11.46,21.86,0.33] seconds) 17:22:47 docs: OK (46.67=setup[45.12]+cmd[1.54,0.01] seconds) 17:22:47 docs-linkcheck: OK (25.25=setup[24.16]+cmd[1.09] seconds) 17:22:47 congratulations :) (135.97 seconds) 17:22:47 + tox_status=0 17:22:47 + echo '---> Completed tox runs' 17:22:47 ---> Completed tox runs 17:22:47 + for i in .tox/*/log 17:22:47 ++ awk -F/ '{print $2}' 17:22:47 ++ echo .tox/code/log 17:22:47 + tox_env=code 17:22:47 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 17:22:47 + for i in .tox/*/log 17:22:47 ++ echo .tox/docs-linkcheck/log 17:22:47 ++ awk -F/ '{print $2}' 17:22:47 + tox_env=docs-linkcheck 17:22:47 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 17:22:47 + for i in .tox/*/log 17:22:47 ++ echo .tox/docs/log 17:22:47 ++ awk -F/ '{print $2}' 17:22:47 + tox_env=docs 17:22:47 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 17:22:47 + DOC_DIR=docs/_build/html 17:22:47 + [[ -d docs/_build/html ]] 17:22:47 + echo '---> Archiving generated docs' 17:22:47 ---> Archiving generated docs 17:22:47 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 17:22:47 + echo '---> tox-run.sh ends' 17:22:47 ---> tox-run.sh ends 17:22:47 + test 0 -eq 0 17:22:47 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-3987 17:22:48 [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 17:22:48 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 17:22:48 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 17:22:48 INFO: Project root configuration file: NONE 17:22:49 INFO: SonarScanner 4.6.2.2472 17:22:49 INFO: Java 11.0.18 Ubuntu (64-bit) 17:22:49 INFO: Linux 5.4.0-146-generic amd64 17:22:49 INFO: User cache: /home/jenkins/.sonar/cache 17:22:51 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 17:22:51 INFO: Project root configuration file: NONE 17:22:51 INFO: Analyzing on SonarCloud 17:22:51 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 17:22:51 INFO: Load global settings 17:22:52 INFO: Load global settings (done) | time=308ms 17:22:52 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 17:22:52 INFO: User cache: /home/jenkins/.sonar/cache 17:22:52 INFO: Loading required plugins 17:22:52 INFO: Load plugins index 17:22:52 INFO: Load plugins index (done) | time=281ms 17:22:52 INFO: Load/download plugins 17:22:54 INFO: Load/download plugins (done) | time=1645ms 17:22:54 INFO: Found an active CI vendor: 'Jenkins' 17:22:54 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 17:22:54 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=242ms 17:22:54 INFO: Process project properties 17:22:54 INFO: Project key: o-ran-sc_sim-a1-interface 17:22:54 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 17:22:54 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 17:22:55 INFO: Load project branches 17:22:55 INFO: Load project branches (done) | time=837ms 17:22:55 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 17:22:56 INFO: Detected project binding: NOT_BOUND 17:22:56 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=241ms 17:22:56 INFO: Load project pull requests 17:22:56 INFO: Load project pull requests (done) | time=378ms 17:22:56 INFO: Load branch configuration 17:22:56 INFO: Load branch configuration (done) | time=4ms 17:22:56 INFO: Load quality profiles 17:22:57 INFO: Load quality profiles (done) | time=517ms 17:22:57 INFO: Load active rules 17:23:09 INFO: Load active rules (done) | time=12501ms 17:23:09 INFO: Organization key: o-ran-sc 17:23:09 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. 17:23:09 INFO: Preprocessing files... 17:23:10 INFO: 4 languages detected in 112 preprocessed files 17:23:10 INFO: 0 files ignored because of inclusion/exclusion patterns 17:23:10 INFO: 22 files ignored because of scm ignore settings 17:23:10 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. 17:23:10 INFO: ------------------------------------------------------------------------ 17:23:10 INFO: EXECUTION FAILURE 17:23:10 INFO: ------------------------------------------------------------------------ 17:23:10 INFO: Total time: 21.457s 17:23:10 INFO: Final Memory: 10M/37M 17:23:10 INFO: ------------------------------------------------------------------------ 17:23:10 ERROR: Error during SonarScanner execution 17:23:10 ERROR: 17:23:10 17:23:10 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. 17:23:10 As a temporary measure, you can set the property 'sonar.scanner.force-deprecated-java-version' to 'true' to continue using Java 11.0.18 17:23:10 This workaround will only be effective until January 28, 2024. After this date, all scans using the deprecated Java 11 will fail. 17:23:10 17:23:10 ERROR: 17:23:10 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 17:23:11 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 17:23:11 $ ssh-agent -k 17:23:11 unset SSH_AUTH_SOCK; 17:23:11 unset SSH_AGENT_PID; 17:23:11 echo Agent pid 5734 killed; 17:23:11 [ssh-agent] Stopped. 17:23:11 ERROR: SonarQube scanner exited with non-zero code: 2 17:23:11 [PostBuildScript] - [INFO] Executing post build scripts. 17:23:11 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6391728271428311184.sh 17:23:11 ---> sysstat.sh 17:23:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12728314365687640365.sh 17:23:12 ---> package-listing.sh 17:23:12 ++ tr '[:upper:]' '[:lower:]' 17:23:12 ++ facter osfamily 17:23:12 + OS_FAMILY=debian 17:23:12 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 17:23:12 + START_PACKAGES=/tmp/packages_start.txt 17:23:12 + END_PACKAGES=/tmp/packages_end.txt 17:23:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:23:12 + PACKAGES=/tmp/packages_start.txt 17:23:12 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 17:23:12 + PACKAGES=/tmp/packages_end.txt 17:23:12 + case "${OS_FAMILY}" in 17:23:12 + dpkg -l 17:23:12 + grep '^ii' 17:23:12 + '[' -f /tmp/packages_start.txt ']' 17:23:12 + '[' -f /tmp/packages_end.txt ']' 17:23:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:23:12 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 17:23:12 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 17:23:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 17:23:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14591761712235119684.sh 17:23:12 ---> capture-instance-metadata.sh 17:23:12 Setup pyenv: 17:23:12 system 17:23:12 3.8.13 17:23:12 3.9.13 17:23:12 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 17:23:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ON5f from file:/tmp/.os_lf_venv 17:23:14 lf-activate-venv(): INFO: Installing: lftools 17:23:28 lf-activate-venv(): INFO: Adding /tmp/venv-ON5f/bin to PATH 17:23:28 INFO: Running in OpenStack, capturing instance metadata 17:23:29 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13593383800307758286.sh 17:23:29 provisioning config files... 17:23:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config8310632644932194794tmp 17:23:29 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 17:23:29 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 17:23:29 [EnvInject] - Injecting environment variables from a build step. 17:23:29 [EnvInject] - Injecting as environment variables the properties content 17:23:29 SERVER_ID=logs 17:23:29 17:23:29 [EnvInject] - Variables injected successfully. 17:23:29 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2849878003711577890.sh 17:23:29 ---> create-netrc.sh 17:23:29 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17366737941291034974.sh 17:23:29 ---> python-tools-install.sh 17:23:29 Setup pyenv: 17:23:29 system 17:23:29 3.8.13 17:23:29 3.9.13 17:23:29 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 17:23:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ON5f from file:/tmp/.os_lf_venv 17:23:31 lf-activate-venv(): INFO: Installing: lftools 17:23:42 lf-activate-venv(): INFO: Adding /tmp/venv-ON5f/bin to PATH 17:23:42 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12265414520539120363.sh 17:23:42 ---> sudo-logs.sh 17:23:42 Archiving 'sudo' log.. 17:23:42 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5542693521060730735.sh 17:23:42 ---> job-cost.sh 17:23:42 Setup pyenv: 17:23:42 system 17:23:42 3.8.13 17:23:42 3.9.13 17:23:42 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 17:23:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ON5f from file:/tmp/.os_lf_venv 17:23:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 17:23:54 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 17:23:54 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 17:23:54 lf-activate-venv(): INFO: Adding /tmp/venv-ON5f/bin to PATH 17:23:54 INFO: No Stack... 17:23:55 INFO: Retrieving Pricing Info for: v2-highcpu-2 17:23:55 INFO: Archiving Costs 17:23:55 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17061043627317630363.sh 17:23:55 ---> logs-deploy.sh 17:23:55 Setup pyenv: 17:23:55 system 17:23:55 3.8.13 17:23:55 3.9.13 17:23:55 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 17:23:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ON5f from file:/tmp/.os_lf_venv 17:23:56 lf-activate-venv(): INFO: Installing: lftools 17:24:09 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. 17:24:09 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 17:24:10 lf-activate-venv(): INFO: Adding /tmp/venv-ON5f/bin to PATH 17:24:10 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/220 17:24:10 INFO: archiving workspace using pattern(s): -p **/*.log 17:24:13 Archives upload complete. 17:24:13 INFO: archiving logs to Nexus 17:24:14 ---> uname -a: 17:24:14 Linux prd-ubuntu1804-builder-2c-2g-3987 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 17:24:14 17:24:14 17:24:14 ---> lscpu: 17:24:14 Architecture: x86_64 17:24:14 CPU op-mode(s): 32-bit, 64-bit 17:24:14 Byte Order: Little Endian 17:24:14 Address sizes: 40 bits physical, 48 bits virtual 17:24:14 CPU(s): 2 17:24:14 On-line CPU(s) list: 0,1 17:24:14 Thread(s) per core: 1 17:24:14 Core(s) per socket: 1 17:24:14 Socket(s): 2 17:24:14 NUMA node(s): 1 17:24:14 Vendor ID: AuthenticAMD 17:24:14 CPU family: 23 17:24:14 Model: 49 17:24:14 Model name: AMD EPYC-Rome Processor 17:24:14 Stepping: 0 17:24:14 CPU MHz: 2800.022 17:24:14 BogoMIPS: 5600.04 17:24:14 Virtualization: AMD-V 17:24:14 Hypervisor vendor: KVM 17:24:14 Virtualization type: full 17:24:14 L1d cache: 64 KiB 17:24:14 L1i cache: 64 KiB 17:24:14 L2 cache: 1 MiB 17:24:14 L3 cache: 32 MiB 17:24:14 NUMA node0 CPU(s): 0,1 17:24:14 Vulnerability Itlb multihit: Not affected 17:24:14 Vulnerability L1tf: Not affected 17:24:14 Vulnerability Mds: Not affected 17:24:14 Vulnerability Meltdown: Not affected 17:24:14 Vulnerability Mmio stale data: Not affected 17:24:14 Vulnerability Retbleed: Vulnerable 17:24:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:24:14 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:24:14 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 17:24:14 Vulnerability Srbds: Not affected 17:24:14 Vulnerability Tsx async abort: Not affected 17:24:14 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 17:24:14 17:24:14 17:24:14 ---> nproc: 17:24:14 2 17:24:14 17:24:14 17:24:14 ---> df -h: 17:24:14 Filesystem Size Used Avail Use% Mounted on 17:24:14 udev 975M 0 975M 0% /dev 17:24:14 tmpfs 199M 1012K 198M 1% /run 17:24:14 /dev/vda1 20G 9.3G 9.9G 49% / 17:24:14 tmpfs 992M 0 992M 0% /dev/shm 17:24:14 tmpfs 5.0M 0 5.0M 0% /run/lock 17:24:14 tmpfs 992M 0 992M 0% /sys/fs/cgroup 17:24:14 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 17:24:14 /dev/loop0 62M 62M 0 100% /snap/core20/1405 17:24:14 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 17:24:14 /dev/vda15 105M 6.1M 99M 6% /boot/efi 17:24:14 tmpfs 199M 0 199M 0% /run/user/1001 17:24:14 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 17:24:14 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 17:24:14 17:24:14 17:24:14 ---> free -m: 17:24:14 total used free shared buff/cache available 17:24:14 Mem: 1983 412 155 2 1415 1376 17:24:14 Swap: 1023 2 1021 17:24:14 17:24:14 17:24:14 ---> ip addr: 17:24:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 17:24:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:24:14 inet 127.0.0.1/8 scope host lo 17:24:14 valid_lft forever preferred_lft forever 17:24:14 inet6 ::1/128 scope host 17:24:14 valid_lft forever preferred_lft forever 17:24:14 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 17:24:14 link/ether fa:16:3e:78:53:51 brd ff:ff:ff:ff:ff:ff 17:24:14 inet 10.32.7.134/23 brd 10.32.7.255 scope global dynamic ens3 17:24:14 valid_lft 86058sec preferred_lft 86058sec 17:24:14 inet6 fe80::f816:3eff:fe78:5351/64 scope link 17:24:14 valid_lft forever preferred_lft forever 17:24:14 17:24:14 17:24:14 ---> sar -b -r -n DEV: 17:24:14 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3987) 01/17/24 _x86_64_ (2 CPU) 17:24:14 17:24:14 17:18:35 LINUX RESTART (2 CPU) 17:24:14 17:24:14 17:19:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:24:14 17:20:01 190.73 89.67 101.07 0.00 2024.20 13067.56 0.00 17:24:14 17:21:01 57.76 5.65 52.11 0.00 371.27 7992.27 0.00 17:24:14 17:22:01 44.59 3.38 41.21 0.00 316.08 10696.75 0.00 17:24:14 17:23:01 106.38 21.38 85.00 0.00 1009.70 38296.68 0.00 17:24:14 17:24:01 109.27 42.97 66.30 0.00 3266.30 7857.95 0.00 17:24:14 Average: 101.75 32.61 69.14 0.00 1398.01 15580.18 0.00 17:24:14 17:24:14 17:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:24:14 17:20:01 90244 1407232 393896 19.40 56756 1339504 872856 28.35 482924 1264372 65744 17:24:14 17:21:01 92136 1425236 369968 18.22 67376 1330956 904744 29.38 459760 1265340 50944 17:24:14 17:22:01 187168 1412800 382184 18.82 72692 1213160 927912 30.13 441248 1183144 70808 17:24:14 17:23:01 85224 1359008 429660 21.16 93692 1234444 959992 31.18 444084 1270540 528 17:24:14 17:24:01 74940 1409452 365856 18.02 114524 1280984 798136 25.92 477124 1240684 4724 17:24:14 Average: 105942 1402746 388313 19.12 81008 1279810 892728 28.99 461028 1244816 38550 17:24:14 17:24:14 17:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:24:14 17:20:01 ens3 77.29 71.17 1044.18 8.08 0.00 0.00 0.00 0.00 17:24:14 17:20:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 17:24:14 17:21:01 ens3 17.38 16.95 51.04 4.84 0.00 0.00 0.00 0.00 17:24:14 17:21:01 lo 0.90 0.90 0.07 0.07 0.00 0.00 0.00 0.00 17:24:14 17:22:01 ens3 97.60 87.24 1783.43 8.91 0.00 0.00 0.00 0.00 17:24:14 17:22:01 lo 0.83 0.83 0.07 0.07 0.00 0.00 0.00 0.00 17:24:14 17:23:01 ens3 328.53 193.08 2898.43 17.82 0.00 0.00 0.00 0.00 17:24:14 17:23:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 17:24:14 17:24:01 ens3 298.42 169.15 1602.45 23.48 0.00 0.00 0.00 0.00 17:24:14 17:24:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 17:24:14 Average: ens3 163.88 107.53 1475.94 12.63 0.00 0.00 0.00 0.00 17:24:14 Average: lo 0.91 0.91 0.08 0.08 0.00 0.00 0.00 0.00 17:24:14 17:24:14 17:24:14 ---> sar -P ALL: 17:24:14 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3987) 01/17/24 _x86_64_ (2 CPU) 17:24:14 17:24:14 17:18:35 LINUX RESTART (2 CPU) 17:24:14 17:24:14 17:19:01 CPU %user %nice %system %iowait %steal %idle 17:24:14 17:20:01 all 35.54 20.88 14.44 7.99 0.08 21.06 17:24:14 17:20:01 0 30.36 19.68 13.87 8.05 0.08 27.95 17:24:14 17:20:01 1 40.75 22.09 15.02 7.94 0.08 14.12 17:24:14 17:21:01 all 28.03 0.00 2.40 3.56 0.07 65.94 17:24:14 17:21:01 0 7.64 0.00 1.69 6.23 0.05 84.38 17:24:14 17:21:01 1 48.78 0.00 3.12 0.83 0.08 47.18 17:24:14 17:22:01 all 18.92 0.00 1.46 2.72 0.06 76.83 17:24:14 17:22:01 0 20.88 0.00 1.81 5.14 0.07 72.10 17:24:14 17:22:01 1 16.97 0.00 1.12 0.30 0.05 81.56 17:24:14 17:23:01 all 37.89 0.00 3.60 4.39 0.08 54.04 17:24:14 17:23:01 0 25.65 0.00 3.39 5.42 0.08 65.45 17:24:14 17:23:01 1 50.04 0.00 3.80 3.37 0.08 42.70 17:24:14 17:24:01 all 35.56 0.00 4.23 6.74 0.07 53.41 17:24:14 17:24:01 0 50.44 0.00 3.39 5.49 0.08 40.59 17:24:14 17:24:01 1 20.67 0.00 5.08 7.98 0.05 66.23 17:24:14 Average: all 31.18 4.15 5.21 5.07 0.07 54.31 17:24:14 Average: 0 26.93 3.92 4.82 6.07 0.07 58.18 17:24:14 Average: 1 35.44 4.39 5.61 4.08 0.07 50.42 17:24:14 17:24:14 17:24:14