14:07:29 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 14:07:29 Running as SYSTEM 14:07:29 [EnvInject] - Loading node environment variables. 14:07:29 Building remotely on prd-ubuntu1804-builder-2c-2g-4068 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 14:07:29 [ssh-agent] Looking for ssh-agent implementation... 14:07:30 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:30 $ ssh-agent 14:07:30 SSH_AUTH_SOCK=/tmp/ssh-FAwHqzY0jsyW/agent.5682 14:07:30 SSH_AGENT_PID=5685 14:07:30 [ssh-agent] Started. 14:07:30 Running ssh-add (command line suppressed) 14:07:30 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_6374052156789080726.key (jenkins-ssh) 14:07:30 [ssh-agent] Using credentials jenkins (jenkins) 14:07:30 The recommended git tool is: NONE 14:07:32 using credential jenkins 14:07:32 Wiping out workspace first. 14:07:32 Cloning the remote Git repository 14:07:32 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 14:07:32 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 14:07:32 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 14:07:32 > git --version # timeout=10 14:07:32 > git --version # 'git version 2.25.1' 14:07:32 using GIT_SSH to set credentials jenkins 14:07:32 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:33 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 14:07:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:33 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 14:07:33 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 14:07:33 using GIT_SSH to set credentials jenkins 14:07:33 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface refs/changes/34/12434/21 # timeout=10 14:07:34 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 14:07:34 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 14:07:34 > git config core.sparsecheckout # timeout=10 14:07:34 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 14:07:34 Commit message: "Fix build failure" 14:07:34 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 14:07:34 provisioning config files... 14:07:34 copy managed file [npmrc] to file:/home/jenkins/.npmrc 14:07:34 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 14:07:34 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5082215999768363106.sh 14:07:34 ---> python-tools-install.sh 14:07:34 Setup pyenv: 14:07:34 * system (set by /opt/pyenv/version) 14:07:34 * 3.8.13 (set by /opt/pyenv/version) 14:07:34 * 3.9.13 (set by /opt/pyenv/version) 14:07:34 * 3.10.6 (set by /opt/pyenv/version) 14:07:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wdLn 14:07:40 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 14:07:43 lf-activate-venv(): INFO: Installing: lftools 14:08:19 lf-activate-venv(): INFO: Adding /tmp/venv-wdLn/bin to PATH 14:08:19 Generating Requirements File 14:08:53 Python 3.10.6 14:08:53 pip 23.3.2 from /tmp/venv-wdLn/lib/python3.10/site-packages/pip (python 3.10) 14:08:54 appdirs==1.4.4 14:08:54 argcomplete==3.2.1 14:08:54 aspy.yaml==1.3.0 14:08:54 attrs==23.2.0 14:08:54 autopage==0.5.2 14:08:54 beautifulsoup4==4.12.3 14:08:54 boto3==1.34.20 14:08:54 botocore==1.34.20 14:08:54 bs4==0.0.2 14:08:54 cachetools==5.3.2 14:08:54 certifi==2023.11.17 14:08:54 cffi==1.16.0 14:08:54 cfgv==3.4.0 14:08:54 chardet==5.2.0 14:08:54 charset-normalizer==3.3.2 14:08:54 click==8.1.7 14:08:54 cliff==4.5.0 14:08:54 cmd2==2.4.3 14:08:54 cryptography==3.3.2 14:08:54 debtcollector==2.5.0 14:08:54 decorator==5.1.1 14:08:54 defusedxml==0.7.1 14:08:54 Deprecated==1.2.14 14:08:54 distlib==0.3.8 14:08:54 dnspython==2.4.2 14:08:54 docker==4.2.2 14:08:54 dogpile.cache==1.3.0 14:08:54 email-validator==2.1.0.post1 14:08:54 filelock==3.13.1 14:08:54 future==0.18.3 14:08:54 gitdb==4.0.11 14:08:54 GitPython==3.1.41 14:08:54 google-auth==2.26.2 14:08:54 httplib2==0.22.0 14:08:54 identify==2.5.33 14:08:54 idna==3.6 14:08:54 importlib-resources==1.5.0 14:08:54 iso8601==2.1.0 14:08:54 Jinja2==3.1.3 14:08:54 jmespath==1.0.1 14:08:54 jsonpatch==1.33 14:08:54 jsonpointer==2.4 14:08:54 jsonschema==4.21.0 14:08:54 jsonschema-specifications==2023.12.1 14:08:54 keystoneauth1==5.5.0 14:08:54 kubernetes==29.0.0 14:08:54 lftools==0.37.8 14:08:54 lxml==5.1.0 14:08:54 MarkupSafe==2.1.3 14:08:54 msgpack==1.0.7 14:08:54 multi_key_dict==2.0.3 14:08:54 munch==4.0.0 14:08:54 netaddr==0.10.1 14:08:54 netifaces==0.11.0 14:08:54 niet==1.4.2 14:08:54 nodeenv==1.8.0 14:08:54 oauth2client==4.1.3 14:08:54 oauthlib==3.2.2 14:08:54 openstacksdk==0.62.0 14:08:54 os-client-config==2.1.0 14:08:54 os-service-types==1.7.0 14:08:54 osc-lib==3.0.0 14:08:54 oslo.config==9.3.0 14:08:54 oslo.context==5.3.0 14:08:54 oslo.i18n==6.2.0 14:08:54 oslo.log==5.4.0 14:08:54 oslo.serialization==5.3.0 14:08:54 oslo.utils==7.0.0 14:08:54 packaging==23.2 14:08:54 pbr==6.0.0 14:08:54 platformdirs==4.1.0 14:08:54 prettytable==3.9.0 14:08:54 pyasn1==0.5.1 14:08:54 pyasn1-modules==0.3.0 14:08:54 pycparser==2.21 14:08:54 pygerrit2==2.0.15 14:08:54 PyGithub==2.1.1 14:08:54 pyinotify==0.9.6 14:08:54 PyJWT==2.8.0 14:08:54 PyNaCl==1.5.0 14:08:54 pyparsing==2.4.7 14:08:54 pyperclip==1.8.2 14:08:54 pyrsistent==0.20.0 14:08:54 python-cinderclient==9.4.0 14:08:54 python-dateutil==2.8.2 14:08:54 python-heatclient==3.4.0 14:08:54 python-jenkins==1.8.2 14:08:54 python-keystoneclient==5.3.0 14:08:54 python-magnumclient==4.3.0 14:08:54 python-novaclient==18.4.0 14:08:54 python-openstackclient==6.0.0 14:08:54 python-swiftclient==4.4.0 14:08:54 pytz==2023.3.post1 14:08:54 PyYAML==6.0.1 14:08:54 referencing==0.32.1 14:08:54 requests==2.31.0 14:08:54 requests-oauthlib==1.3.1 14:08:54 requestsexceptions==1.4.0 14:08:54 rfc3986==2.0.0 14:08:54 rpds-py==0.17.1 14:08:54 rsa==4.9 14:08:54 ruamel.yaml==0.18.5 14:08:54 ruamel.yaml.clib==0.2.8 14:08:54 s3transfer==0.10.0 14:08:54 simplejson==3.19.2 14:08:54 six==1.16.0 14:08:54 smmap==5.0.1 14:08:54 soupsieve==2.5 14:08:54 stevedore==5.1.0 14:08:54 tabulate==0.9.0 14:08:54 toml==0.10.2 14:08:54 tomlkit==0.12.3 14:08:54 tqdm==4.66.1 14:08:54 typing_extensions==4.9.0 14:08:54 tzdata==2023.4 14:08:54 urllib3==1.26.18 14:08:54 virtualenv==20.25.0 14:08:54 wcwidth==0.2.13 14:08:54 websocket-client==1.7.0 14:08:54 wrapt==1.16.0 14:08:54 xdg==6.0.0 14:08:54 xmltodict==0.13.0 14:08:54 yq==3.2.3 14:08:54 [EnvInject] - Injecting environment variables from a build step. 14:08:54 [EnvInject] - Injecting as environment variables the properties content 14:08:54 PYTHON=python3 14:08:54 14:08:54 [EnvInject] - Variables injected successfully. 14:08:54 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13213793592890276683.sh 14:08:54 ---> tox-install.sh 14:08:54 + source /home/jenkins/lf-env.sh 14:08:54 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 14:08:54 ++ mktemp -d /tmp/venv-XXXX 14:08:54 + lf_venv=/tmp/venv-sR0t 14:08:54 + local venv_file=/tmp/.os_lf_venv 14:08:54 + local python=python3 14:08:54 + local options 14:08:54 + local set_path=true 14:08:54 + local install_args= 14:08:54 ++ 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 14:08:54 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:08:54 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:08:54 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 14:08:54 + true 14:08:54 + case $1 in 14:08:54 + venv_file=/tmp/.toxenv 14:08:54 + shift 2 14:08:54 + true 14:08:54 + case $1 in 14:08:54 + shift 14:08:54 + break 14:08:54 + case $python in 14:08:54 + local pkg_list= 14:08:54 + [[ -d /opt/pyenv ]] 14:08:54 + echo 'Setup pyenv:' 14:08:54 Setup pyenv: 14:08:54 + export PYENV_ROOT=/opt/pyenv 14:08:54 + PYENV_ROOT=/opt/pyenv 14:08:54 + 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 14:08:54 + 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 14:08:54 + pyenv versions 14:08:54 system 14:08:54 3.8.13 14:08:54 3.9.13 14:08:54 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:08:54 + command -v pyenv 14:08:54 ++ pyenv init - --no-rehash 14:08:54 + 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[*]}"'\'')" 14:08:54 export PATH="/opt/pyenv/shims:${PATH}" 14:08:54 export PYENV_SHELL=bash 14:08:54 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 14:08:54 pyenv() { 14:08:54 local command 14:08:54 command="${1:-}" 14:08:54 if [ "$#" -gt 0 ]; then 14:08:54 shift 14:08:54 fi 14:08:54 14:08:54 case "$command" in 14:08:54 rehash|shell) 14:08:54 eval "$(pyenv "sh-$command" "$@")" 14:08:54 ;; 14:08:54 *) 14:08:54 command pyenv "$command" "$@" 14:08:54 ;; 14:08:54 esac 14:08:54 }' 14:08:54 +++ 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[*]}"' 14:08:54 ++ 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 14:08:54 ++ 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 14:08:54 ++ 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 14:08:54 ++ export PYENV_SHELL=bash 14:08:54 ++ PYENV_SHELL=bash 14:08:54 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 14:08:54 +++ complete -F _pyenv pyenv 14:08:54 ++ lf-pyver python3 14:08:54 ++ local py_version_xy=python3 14:08:54 ++ local py_version_xyz= 14:08:54 ++ pyenv versions 14:08:54 ++ sed 's/^[ *]* //' 14:08:54 ++ local command 14:08:54 ++ awk '{ print $1 }' 14:08:54 ++ command=versions 14:08:54 ++ '[' 1 -gt 0 ']' 14:08:54 ++ shift 14:08:54 ++ grep -E '^[0-9.]*[0-9]$' 14:08:54 ++ case "$command" in 14:08:54 ++ command pyenv versions 14:08:54 ++ pyenv versions 14:08:54 ++ [[ ! -s /tmp/.pyenv_versions ]] 14:08:54 +++ grep '^3' /tmp/.pyenv_versions 14:08:54 +++ tail -n 1 14:08:54 +++ sort -V 14:08:54 ++ py_version_xyz=3.10.6 14:08:54 ++ [[ -z 3.10.6 ]] 14:08:54 ++ echo 3.10.6 14:08:54 ++ return 0 14:08:54 + pyenv local 3.10.6 14:08:54 + local command 14:08:54 + command=local 14:08:54 + '[' 2 -gt 0 ']' 14:08:54 + shift 14:08:54 + case "$command" in 14:08:54 + command pyenv local 3.10.6 14:08:54 + pyenv local 3.10.6 14:08:54 + for arg in "$@" 14:08:54 + case $arg in 14:08:54 + pkg_list+='tox ' 14:08:54 + for arg in "$@" 14:08:54 + case $arg in 14:08:54 + pkg_list+='virtualenv ' 14:08:54 + for arg in "$@" 14:08:54 + case $arg in 14:08:54 + pkg_list+='urllib3~=1.26.15 ' 14:08:54 + [[ -f /tmp/.toxenv ]] 14:08:54 + [[ ! -f /tmp/.toxenv ]] 14:08:54 + [[ -n '' ]] 14:08:54 + python3 -m venv /tmp/venv-sR0t 14:08:58 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sR0t' 14:08:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sR0t 14:08:58 + echo /tmp/venv-sR0t 14:08:58 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 14:08:58 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 14:08:58 + /tmp/venv-sR0t/bin/python3 -m pip install --upgrade --quiet pip virtualenv 14:09:01 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 14:09:01 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 14:09:01 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 14:09:01 + /tmp/venv-sR0t/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 14:09:04 + type python3 14:09:04 + true 14:09:04 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-sR0t/bin to PATH' 14:09:04 lf-activate-venv(): INFO: Adding /tmp/venv-sR0t/bin to PATH 14:09:04 + PATH=/tmp/venv-sR0t/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 14:09:04 + return 0 14:09:04 + python3 --version 14:09:04 Python 3.10.6 14:09:04 + python3 -m pip --version 14:09:04 pip 23.3.2 from /tmp/venv-sR0t/lib/python3.10/site-packages/pip (python 3.10) 14:09:04 + python3 -m pip freeze 14:09:05 cachetools==5.3.2 14:09:05 chardet==5.2.0 14:09:05 colorama==0.4.6 14:09:05 distlib==0.3.8 14:09:05 filelock==3.13.1 14:09:05 packaging==23.2 14:09:05 platformdirs==4.1.0 14:09:05 pluggy==1.3.0 14:09:05 pyproject-api==1.6.1 14:09:05 tomli==2.0.1 14:09:05 tox==4.12.1 14:09:05 urllib3==1.26.18 14:09:05 virtualenv==20.25.0 14:09:05 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins15249359273505463968.sh 14:09:05 [EnvInject] - Injecting environment variables from a build step. 14:09:05 [EnvInject] - Injecting as environment variables the properties content 14:09:05 PARALLEL=False 14:09:05 14:09:05 [EnvInject] - Variables injected successfully. 14:09:05 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7619179691846847288.sh 14:09:05 ---> tox-run.sh 14:09:05 + 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 14:09:05 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 14:09:05 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 14:09:05 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 14:09:05 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 14:09:05 + source /home/jenkins/lf-env.sh 14:09:05 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 14:09:05 ++ mktemp -d /tmp/venv-XXXX 14:09:05 + lf_venv=/tmp/venv-oI27 14:09:05 + local venv_file=/tmp/.os_lf_venv 14:09:05 + local python=python3 14:09:05 + local options 14:09:05 + local set_path=true 14:09:05 + local install_args= 14:09:05 ++ 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 14:09:05 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:09:05 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:09:05 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 14:09:05 + true 14:09:05 + case $1 in 14:09:05 + venv_file=/tmp/.toxenv 14:09:05 + shift 2 14:09:05 + true 14:09:05 + case $1 in 14:09:05 + shift 14:09:05 + break 14:09:05 + case $python in 14:09:05 + local pkg_list= 14:09:05 + [[ -d /opt/pyenv ]] 14:09:05 + echo 'Setup pyenv:' 14:09:05 Setup pyenv: 14:09:05 + export PYENV_ROOT=/opt/pyenv 14:09:05 + PYENV_ROOT=/opt/pyenv 14:09:05 + 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 14:09:05 + 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 14:09:05 + pyenv versions 14:09:05 system 14:09:05 3.8.13 14:09:05 3.9.13 14:09:05 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:09:05 + command -v pyenv 14:09:05 ++ pyenv init - --no-rehash 14:09:05 + 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[*]}"'\'')" 14:09:05 export PATH="/opt/pyenv/shims:${PATH}" 14:09:05 export PYENV_SHELL=bash 14:09:05 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 14:09:05 pyenv() { 14:09:05 local command 14:09:05 command="${1:-}" 14:09:05 if [ "$#" -gt 0 ]; then 14:09:05 shift 14:09:05 fi 14:09:05 14:09:05 case "$command" in 14:09:05 rehash|shell) 14:09:05 eval "$(pyenv "sh-$command" "$@")" 14:09:05 ;; 14:09:05 *) 14:09:05 command pyenv "$command" "$@" 14:09:05 ;; 14:09:05 esac 14:09:05 }' 14:09:05 +++ 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[*]}"' 14:09:05 ++ 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 14:09:05 ++ 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 14:09:05 ++ 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 14:09:05 ++ export PYENV_SHELL=bash 14:09:05 ++ PYENV_SHELL=bash 14:09:05 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 14:09:05 +++ complete -F _pyenv pyenv 14:09:05 ++ lf-pyver python3 14:09:05 ++ local py_version_xy=python3 14:09:05 ++ local py_version_xyz= 14:09:05 ++ grep -E '^[0-9.]*[0-9]$' 14:09:05 ++ pyenv versions 14:09:05 ++ local command 14:09:05 ++ command=versions 14:09:05 ++ '[' 1 -gt 0 ']' 14:09:05 ++ shift 14:09:05 ++ case "$command" in 14:09:05 ++ command pyenv versions 14:09:05 ++ pyenv versions 14:09:05 ++ sed 's/^[ *]* //' 14:09:05 ++ awk '{ print $1 }' 14:09:05 ++ [[ ! -s /tmp/.pyenv_versions ]] 14:09:05 +++ tail -n 1 14:09:05 +++ sort -V 14:09:05 +++ grep '^3' /tmp/.pyenv_versions 14:09:05 ++ py_version_xyz=3.10.6 14:09:05 ++ [[ -z 3.10.6 ]] 14:09:05 ++ echo 3.10.6 14:09:05 ++ return 0 14:09:05 + pyenv local 3.10.6 14:09:05 + local command 14:09:05 + command=local 14:09:05 + '[' 2 -gt 0 ']' 14:09:05 + shift 14:09:05 + case "$command" in 14:09:05 + command pyenv local 3.10.6 14:09:05 + pyenv local 3.10.6 14:09:05 + for arg in "$@" 14:09:05 + case $arg in 14:09:05 + pkg_list+='tox ' 14:09:05 + for arg in "$@" 14:09:05 + case $arg in 14:09:05 + pkg_list+='virtualenv ' 14:09:05 + for arg in "$@" 14:09:05 + case $arg in 14:09:05 + pkg_list+='urllib3~=1.26.15 ' 14:09:05 + [[ -f /tmp/.toxenv ]] 14:09:05 ++ cat /tmp/.toxenv 14:09:05 + lf_venv=/tmp/venv-sR0t 14:09:05 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sR0t from' file:/tmp/.toxenv 14:09:05 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sR0t from file:/tmp/.toxenv 14:09:05 + /tmp/venv-sR0t/bin/python3 -m pip install --upgrade --quiet pip virtualenv 14:09:06 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 14:09:06 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 14:09:06 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 14:09:06 + /tmp/venv-sR0t/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 14:09:07 + type python3 14:09:07 + true 14:09:07 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-sR0t/bin to PATH' 14:09:07 lf-activate-venv(): INFO: Adding /tmp/venv-sR0t/bin to PATH 14:09:07 + PATH=/tmp/venv-sR0t/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 14:09:07 + return 0 14:09:07 + [[ -d /opt/pyenv ]] 14:09:07 + echo '---> Setting up pyenv' 14:09:07 ---> Setting up pyenv 14:09:07 + export PYENV_ROOT=/opt/pyenv 14:09:07 + PYENV_ROOT=/opt/pyenv 14:09:07 + export PATH=/opt/pyenv/bin:/tmp/venv-sR0t/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 14:09:07 + PATH=/opt/pyenv/bin:/tmp/venv-sR0t/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 14:09:07 ++ pwd 14:09:07 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 14:09:07 + export PYTHONPATH 14:09:07 + export TOX_TESTENV_PASSENV=PYTHONPATH 14:09:07 + TOX_TESTENV_PASSENV=PYTHONPATH 14:09:07 + tox --version 14:09:08 4.12.1 from /tmp/venv-sR0t/lib/python3.10/site-packages/tox/__init__.py 14:09:08 + PARALLEL=False 14:09:08 + TOX_OPTIONS_LIST= 14:09:08 + [[ -n '' ]] 14:09:08 + case ${PARALLEL,,} in 14:09:08 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 14:09:08 + tox 14:09:09 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 14:09:16 code: freeze> python -m pip freeze --all 14:09:17 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 14:09:17 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 14:09:17 ============================= test session starts ============================== 14:09:17 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 14:09:17 cachedir: .tox/code/.pytest_cache 14:09:17 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 14:09:17 plugins: cov-4.1.0 14:09:17 collected 4 items 14:09:17 14:09:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:09:18 -------------------------------- live log setup -------------------------------- 14:09:18 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:09:18 Please install connexion with extra install: pip install connexion[swagger-ui] 14:09:18 or provide the path to your local installation by passing swagger_path= 14:09:18 14:09:18 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:09:18 Please install connexion with extra install: pip install connexion[swagger-ui] 14:09:18 or provide the path to your local installation by passing swagger_path= 14:09:18 14:09:18 PASSED [ 25%] 14:09:18 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 14:09:28 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 14:09:28 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 14:09:28 -------------------------------- live log call --------------------------------- 14:09:28 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. 14:09:28 * Running on http://127.0.0.1:8086 14:09:28 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 14:09:38 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 14:09:38] "POST /statustest HTTP/1.1" 201 - 14:09:38 PASSED [100%] 14:09:38 14:09:38 =============================== warnings summary =============================== 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:09: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. 14:09:38 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 14:09:38 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:09: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. 14:09:38 from jsonschema import Draft4Validator, RefResolver 14:09:38 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:09: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. 14:09:38 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 14:09:38 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:09: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. 14:09:38 app.json_encoder = FlaskJSONEncoder 14:09:38 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 14:09: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. 14:09:38 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:09:38 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 14:09: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. 14:09:38 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:09:38 14:09:38 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 14:09:38 14:09:38 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 14:09:38 Name Stmts Miss Cover Missing 14:09:38 --------------------------------------------------------------------------------------------------------- 14:09:38 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 14:09: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 14:09: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 14:09:38 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 14:09:38 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 14:09:38 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 14:09:38 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 14:09:38 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 14:09:38 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 14:09: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 14:09:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 14:09:38 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 14:09:38 --------------------------------------------------------------------------------------------------------- 14:09:38 TOTAL 973 113 88% 14:09:38 Coverage HTML written to dir htmlcov 14:09:38 Coverage XML written to file coverage.xml 14:09:38 14:09:38 Required test coverage of 70% reached. Total coverage: 88.39% 14:09:38 ======================= 4 passed, 118 warnings in 21.38s ======================= 14:09:38 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 14:09:39 ============================= test session starts ============================== 14:09:39 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 14:09:39 cachedir: .tox/code/.pytest_cache 14:09:39 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 14:09:39 plugins: cov-4.1.0 14:09:39 collected 1 item 14:09:39 14:09:39 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:39 -------------------------------- live log setup -------------------------------- 14:09:39 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:09:39 Please install connexion with extra install: pip install connexion[swagger-ui] 14:09:39 or provide the path to your local installation by passing swagger_path= 14:09:39 14:09:39 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:09:39 Please install connexion with extra install: pip install connexion[swagger-ui] 14:09:39 or provide the path to your local installation by passing swagger_path= 14:09:39 14:09:49 PASSED [100%] 14:09:50 14:09:50 =============================== warnings summary =============================== 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 14:09:50 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 14:09:50 from jsonschema import Draft4Validator, RefResolver 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 14:09:50 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 14:09:50 app.json_encoder = FlaskJSONEncoder 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. 14:09:50 for error in instance_validator.iter_errors(instance['default'], instance): 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 14:09:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 14:09:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 14:09:50 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 14:09:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 /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. 14:09:50 warnings.warn( 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:09:50 /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. 14:09:50 return json.dumps(obj, **kwargs) 14:09:50 14:09:50 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 14:09:50 14:09:50 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 14:09:50 Name Stmts Miss Cover Missing 14:09:50 --------------------------------------------------------------------------------------------------------- 14:09:50 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 14:09:50 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 14:09:50 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 14:09:50 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 14:09:50 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 14:09:50 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 14:09:50 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 14:09:50 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 14:09:50 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 14:09:50 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 14:09:50 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 14:09:50 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 14:09:50 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 14:09:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 14:09:50 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 14:09:50 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 14:09:50 --------------------------------------------------------------------------------------------------------- 14:09:50 TOTAL 1440 152 89% 14:09:50 Coverage HTML written to dir htmlcov 14:09:50 Coverage XML written to file coverage.xml 14:09:50 14:09:50 Required test coverage of 70% reached. Total coverage: 89.44% 14:09:50 ======================= 1 passed, 65 warnings in 11.12s ======================== 14:09:50 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 14:09:50 ============================= test session starts ============================== 14:09:50 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 14:09:50 cachedir: .tox/code/.pytest_cache 14:09:50 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 14:09:50 plugins: cov-4.1.0 14:09:50 collected 4 items 14:09:50 14:09:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:09:51 -------------------------------- live log setup -------------------------------- 14:09:51 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:09:51 Please install connexion with extra install: pip install connexion[swagger-ui] 14:09:51 or provide the path to your local installation by passing swagger_path= 14:09:51 14:09:51 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:09:51 Please install connexion with extra install: pip install connexion[swagger-ui] 14:09:51 or provide the path to your local installation by passing swagger_path= 14:09:51 14:09:51 PASSED [ 25%] 14:09:51 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 14:10:01 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 14:10:01 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 14:10:01 -------------------------------- live log call --------------------------------- 14:10:01 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. 14:10:01 * Running on http://127.0.0.1:8086 14:10:01 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 14:10:11 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 14:10:11] "POST /statustest HTTP/1.1" 200 - 14:10:11 PASSED [100%] 14:10:12 14:10:12 =============================== warnings summary =============================== 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:10:12 /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. 14:10:12 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 14:10:12 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:10:12 /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. 14:10:12 from jsonschema import Draft4Validator, RefResolver 14:10:12 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:10:12 /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. 14:10:12 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 14:10:12 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:10:12 /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. 14:10:12 app.json_encoder = FlaskJSONEncoder 14:10:12 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:10:12 /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. 14:10:12 for error in instance_validator.iter_errors(instance['default'], instance): 14:10:12 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 14:10:12 /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. 14:10:12 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:10:12 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 14:10:12 /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. 14:10:12 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:10:12 14:10:12 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 14:10:12 14:10:12 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 14:10:12 Name Stmts Miss Cover Missing 14:10:12 --------------------------------------------------------------------------------------------------------- 14:10:12 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 14:10:12 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 14:10:12 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 14:10:12 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 14:10:12 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 14:10:12 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 14:10:12 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 14:10:12 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 14:10:12 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 14:10:12 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 14:10:12 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 14:10:12 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 14:10:12 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 14:10:12 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 14:10:12 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 14:10:12 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 14:10:12 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 14:10:12 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 14:10:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 14:10:12 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 14:10:12 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 14:10:12 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 14:10:12 --------------------------------------------------------------------------------------------------------- 14:10:12 TOTAL 2219 282 87% 14:10:12 Coverage HTML written to dir htmlcov 14:10:12 Coverage XML written to file coverage.xml 14:10:12 14:10:12 Required test coverage of 70% reached. Total coverage: 87.29% 14:10:12 ======================= 4 passed, 65 warnings in 21.53s ======================== 14:10:12 code: commands[3]> coverage xml -i 14:10:12 Wrote XML report to coverage.xml 14:10:12 code: OK ✔ in 1 minute 4.05 seconds 14:10:12 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 14:11:03 docs: freeze> python -m pip freeze --all 14:11:04 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 14:11:04 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 14:11:04 Running Sphinx v5.3.0 14:11:04 making output directory... done 14:11:04 building [mo]: targets for 0 po files that are out of date 14:11:04 building [html]: targets for 6 source files that are out of date 14:11:04 updating environment: [new config] 6 added, 0 changed, 0 removed 14:11:04 reading sources... [ 16%] callout-server 14:11:04 reading sources... [ 33%] index 14:11:04 reading sources... [ 50%] kafka-message-dispatcher 14:11:04 reading sources... [ 66%] overview 14:11:04 reading sources... [ 83%] release-notes 14:11:05 reading sources... [100%] simulator-api 14:11:05 14:11:05 looking for now-outdated files... none found 14:11:05 pickling environment... done 14:11:05 checking consistency... done 14:11:05 preparing documents... done 14:11:05 writing output... [ 16%] callout-server 14:11:05 writing output... [ 33%] index 14:11:05 writing output... [ 50%] kafka-message-dispatcher 14:11:05 writing output... [ 66%] overview 14:11:05 writing output... [ 83%] release-notes 14:11:05 writing output... [100%] simulator-api 14:11:05 14:11:05 generating indices... genindex done 14:11:05 writing additional pages... search done 14:11:05 copying images... [100%] images/yaml_logo.png 14:11:05 14:11:05 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 14:11:05 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 14:11:05 14:11:05 copying static files... done 14:11:05 copying extra files... done 14:11:05 dumping search index in English (code: en)... done 14:11:05 dumping object inventory... done 14:11:05 build succeeded. 14:11:05 14:11:05 The HTML pages are in docs/_build/html. 14:11:06 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 14:11:06 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 14:11:06 docs: OK ✔ in 53.53 seconds 14:11:06 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 14:11:29 docs-linkcheck: freeze> python -m pip freeze --all 14:11:29 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 14:11:29 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 14:11:30 Running Sphinx v5.3.0 14:11:30 making output directory... done 14:11:30 building [mo]: targets for 0 po files that are out of date 14:11:30 building [linkcheck]: targets for 6 source files that are out of date 14:11:30 updating environment: [new config] 6 added, 0 changed, 0 removed 14:11:30 reading sources... [ 16%] callout-server 14:11:30 reading sources... [ 33%] index 14:11:30 reading sources... [ 50%] kafka-message-dispatcher 14:11:30 reading sources... [ 66%] overview 14:11:30 reading sources... [ 83%] release-notes 14:11:30 reading sources... [100%] simulator-api 14:11:30 14:11:30 looking for now-outdated files... none found 14:11:30 pickling environment... done 14:11:30 checking consistency... done 14:11:30 preparing documents... done 14:11:30 writing output... [ 16%] callout-server 14:11:30 writing output... [ 33%] index 14:11:30 writing output... [ 50%] kafka-message-dispatcher 14:11:30 writing output... [ 66%] overview 14:11:30 writing output... [ 83%] release-notes 14:11:30 writing output... [100%] simulator-api 14:11:30 14:11:30 14:11:30 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 14:11:30 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 14:11:30 ( 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 14:11:30 ( 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 14:11:30 ( 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 14:11:30 build succeeded. 14:11:30 14:11:30 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 14:11:30 code: OK (64.05=setup[8.61]+cmd[21.78,11.46,21.88,0.32] seconds) 14:11:30 docs: OK (53.52=setup[51.83]+cmd[1.69,0.01] seconds) 14:11:30 docs-linkcheck: OK (24.89=setup[23.84]+cmd[1.06] seconds) 14:11:30 congratulations :) (142.61 seconds) 14:11:30 + tox_status=0 14:11:30 + echo '---> Completed tox runs' 14:11:30 ---> Completed tox runs 14:11:30 + for i in .tox/*/log 14:11:30 ++ echo .tox/code/log 14:11:30 ++ awk -F/ '{print $2}' 14:11:30 + tox_env=code 14:11:30 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 14:11:30 + for i in .tox/*/log 14:11:30 ++ echo .tox/docs-linkcheck/log 14:11:30 ++ awk -F/ '{print $2}' 14:11:30 + tox_env=docs-linkcheck 14:11:30 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 14:11:30 + for i in .tox/*/log 14:11:30 ++ echo .tox/docs/log 14:11:30 ++ awk -F/ '{print $2}' 14:11:30 + tox_env=docs 14:11:30 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 14:11:31 + DOC_DIR=docs/_build/html 14:11:31 + [[ -d docs/_build/html ]] 14:11:31 + echo '---> Archiving generated docs' 14:11:31 ---> Archiving generated docs 14:11:31 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 14:11:31 + echo '---> tox-run.sh ends' 14:11:31 ---> tox-run.sh ends 14:11:31 + test 0 -eq 0 14:11:31 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-4068 14:11:32 [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 14:11:32 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 14:11:32 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 14:11:32 INFO: Project root configuration file: NONE 14:11:32 INFO: SonarScanner 4.6.2.2472 14:11:32 INFO: Java 11.0.18 Ubuntu (64-bit) 14:11:32 INFO: Linux 5.4.0-146-generic amd64 14:11:32 INFO: User cache: /home/jenkins/.sonar/cache 14:11:34 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 14:11:34 INFO: Project root configuration file: NONE 14:11:34 INFO: Analyzing on SonarCloud 14:11:34 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 14:11:34 INFO: Load global settings 14:11:35 INFO: Load global settings (done) | time=298ms 14:11:35 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 14:11:35 INFO: User cache: /home/jenkins/.sonar/cache 14:11:35 INFO: Loading required plugins 14:11:35 INFO: Load plugins index 14:11:35 INFO: Load plugins index (done) | time=300ms 14:11:35 INFO: Load/download plugins 14:11:36 INFO: Load/download plugins (done) | time=1254ms 14:11:37 INFO: Found an active CI vendor: 'Jenkins' 14:11:37 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 14:11:37 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=546ms 14:11:37 INFO: Process project properties 14:11:37 INFO: Project key: o-ran-sc_sim-a1-interface 14:11:37 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 14:11:37 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 14:11:38 INFO: Load project branches 14:11:38 INFO: Load project branches (done) | time=289ms 14:11:38 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 14:11:38 INFO: Detected project binding: NOT_BOUND 14:11:38 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=194ms 14:11:38 INFO: Load project pull requests 14:11:38 INFO: Load project pull requests (done) | time=239ms 14:11:38 INFO: Load branch configuration 14:11:38 INFO: Load branch configuration (done) | time=2ms 14:11:38 INFO: Load quality profiles 14:11:39 INFO: Load quality profiles (done) | time=270ms 14:11:39 INFO: Load active rules 14:11:50 INFO: Load active rules (done) | time=11826ms 14:11:51 INFO: Organization key: o-ran-sc 14:11:51 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. 14:11:51 INFO: Preprocessing files... 14:11:51 INFO: 4 languages detected in 112 preprocessed files 14:11:51 INFO: 0 files ignored because of inclusion/exclusion patterns 14:11:51 INFO: 22 files ignored because of scm ignore settings 14:11:51 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. 14:11:51 INFO: ------------------------------------------------------------------------ 14:11:51 INFO: EXECUTION FAILURE 14:11:51 INFO: ------------------------------------------------------------------------ 14:11:51 INFO: Total time: 19.456s 14:11:51 INFO: Final Memory: 10M/37M 14:11:51 INFO: ------------------------------------------------------------------------ 14:11:51 ERROR: Error during SonarScanner execution 14:11:51 ERROR: 14:11:51 14:11:51 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. 14:11:51 As a temporary measure, you can set the property 'sonar.scanner.force-deprecated-java-version' to 'true' to continue using Java 11.0.18 14:11:51 This workaround will only be effective until January 28, 2024. After this date, all scans using the deprecated Java 11 will fail. 14:11:51 14:11:51 ERROR: 14:11:51 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 14:11:52 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 14:11:52 $ ssh-agent -k 14:11:52 unset SSH_AUTH_SOCK; 14:11:52 unset SSH_AGENT_PID; 14:11:52 echo Agent pid 5685 killed; 14:11:52 [ssh-agent] Stopped. 14:11:52 ERROR: SonarQube scanner exited with non-zero code: 2 14:11:52 [PostBuildScript] - [INFO] Executing post build scripts. 14:11:52 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4659158540536720226.sh 14:11:52 ---> sysstat.sh 14:11:53 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4527671296441253334.sh 14:11:53 ---> package-listing.sh 14:11:53 ++ facter osfamily 14:11:53 ++ tr '[:upper:]' '[:lower:]' 14:11:53 + OS_FAMILY=debian 14:11:53 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 14:11:53 + START_PACKAGES=/tmp/packages_start.txt 14:11:53 + END_PACKAGES=/tmp/packages_end.txt 14:11:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:11:53 + PACKAGES=/tmp/packages_start.txt 14:11:53 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 14:11:53 + PACKAGES=/tmp/packages_end.txt 14:11:53 + case "${OS_FAMILY}" in 14:11:53 + grep '^ii' 14:11:53 + dpkg -l 14:11:53 + '[' -f /tmp/packages_start.txt ']' 14:11:53 + '[' -f /tmp/packages_end.txt ']' 14:11:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:11:53 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 14:11:53 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 14:11:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 14:11:53 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6867919789960749537.sh 14:11:53 ---> capture-instance-metadata.sh 14:11:53 Setup pyenv: 14:11:53 system 14:11:53 3.8.13 14:11:53 3.9.13 14:11:53 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:11:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wdLn from file:/tmp/.os_lf_venv 14:11:55 lf-activate-venv(): INFO: Installing: lftools 14:12:09 lf-activate-venv(): INFO: Adding /tmp/venv-wdLn/bin to PATH 14:12:09 INFO: Running in OpenStack, capturing instance metadata 14:12:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7934143974290106839.sh 14:12:10 provisioning config files... 14:12:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config13402458164031526495tmp 14:12:10 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 14:12:10 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 14:12:10 [EnvInject] - Injecting environment variables from a build step. 14:12:10 [EnvInject] - Injecting as environment variables the properties content 14:12:10 SERVER_ID=logs 14:12:10 14:12:10 [EnvInject] - Variables injected successfully. 14:12:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14286282781019357092.sh 14:12:10 ---> create-netrc.sh 14:12:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12012648711113386668.sh 14:12:10 ---> python-tools-install.sh 14:12:10 Setup pyenv: 14:12:10 system 14:12:10 3.8.13 14:12:10 3.9.13 14:12:10 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:12:10 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wdLn from file:/tmp/.os_lf_venv 14:12:11 lf-activate-venv(): INFO: Installing: lftools 14:12:23 lf-activate-venv(): INFO: Adding /tmp/venv-wdLn/bin to PATH 14:12:23 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9914891996875990141.sh 14:12:23 ---> sudo-logs.sh 14:12:23 Archiving 'sudo' log.. 14:12:23 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10001684353119730847.sh 14:12:23 ---> job-cost.sh 14:12:23 Setup pyenv: 14:12:23 system 14:12:23 3.8.13 14:12:23 3.9.13 14:12:23 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:12:23 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wdLn from file:/tmp/.os_lf_venv 14:12:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 14:12:36 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. 14:12:36 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 14:12:36 lf-activate-venv(): INFO: Adding /tmp/venv-wdLn/bin to PATH 14:12:36 INFO: No Stack... 14:12:37 INFO: Retrieving Pricing Info for: v2-highcpu-2 14:12:37 INFO: Archiving Costs 14:12:37 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1829654914735265753.sh 14:12:37 ---> logs-deploy.sh 14:12:37 Setup pyenv: 14:12:37 system 14:12:37 3.8.13 14:12:37 3.9.13 14:12:37 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:12:37 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-wdLn from file:/tmp/.os_lf_venv 14:12:38 lf-activate-venv(): INFO: Installing: lftools 14:12:51 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. 14:12:51 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 14:12:51 lf-activate-venv(): INFO: Adding /tmp/venv-wdLn/bin to PATH 14:12:51 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/222 14:12:51 INFO: archiving workspace using pattern(s): -p **/*.log 14:12:54 Archives upload complete. 14:12:54 INFO: archiving logs to Nexus 14:12:55 ---> uname -a: 14:12:55 Linux prd-ubuntu1804-builder-2c-2g-4068 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 14:12:55 14:12:55 14:12:55 ---> lscpu: 14:12:55 Architecture: x86_64 14:12:55 CPU op-mode(s): 32-bit, 64-bit 14:12:55 Byte Order: Little Endian 14:12:55 Address sizes: 40 bits physical, 48 bits virtual 14:12:55 CPU(s): 2 14:12:55 On-line CPU(s) list: 0,1 14:12:55 Thread(s) per core: 1 14:12:55 Core(s) per socket: 1 14:12:55 Socket(s): 2 14:12:55 NUMA node(s): 1 14:12:55 Vendor ID: AuthenticAMD 14:12:55 CPU family: 23 14:12:55 Model: 49 14:12:55 Model name: AMD EPYC-Rome Processor 14:12:55 Stepping: 0 14:12:55 CPU MHz: 2799.998 14:12:55 BogoMIPS: 5599.99 14:12:55 Virtualization: AMD-V 14:12:55 Hypervisor vendor: KVM 14:12:55 Virtualization type: full 14:12:55 L1d cache: 64 KiB 14:12:55 L1i cache: 64 KiB 14:12:55 L2 cache: 1 MiB 14:12:55 L3 cache: 32 MiB 14:12:55 NUMA node0 CPU(s): 0,1 14:12:55 Vulnerability Itlb multihit: Not affected 14:12:55 Vulnerability L1tf: Not affected 14:12:55 Vulnerability Mds: Not affected 14:12:55 Vulnerability Meltdown: Not affected 14:12:55 Vulnerability Mmio stale data: Not affected 14:12:55 Vulnerability Retbleed: Vulnerable 14:12:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:12:55 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:12:55 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 14:12:55 Vulnerability Srbds: Not affected 14:12:55 Vulnerability Tsx async abort: Not affected 14:12:55 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 14:12:55 14:12:55 14:12:55 ---> nproc: 14:12:55 2 14:12:55 14:12:55 14:12:55 ---> df -h: 14:12:55 Filesystem Size Used Avail Use% Mounted on 14:12:55 udev 975M 0 975M 0% /dev 14:12:55 tmpfs 199M 1008K 198M 1% /run 14:12:55 /dev/vda1 20G 9.3G 10G 49% / 14:12:55 tmpfs 992M 0 992M 0% /dev/shm 14:12:55 tmpfs 5.0M 0 5.0M 0% /run/lock 14:12:55 tmpfs 992M 0 992M 0% /sys/fs/cgroup 14:12:55 /dev/loop0 62M 62M 0 100% /snap/core20/1405 14:12:55 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 14:12:55 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 14:12:55 /dev/vda15 105M 6.1M 99M 6% /boot/efi 14:12:55 tmpfs 199M 0 199M 0% /run/user/1001 14:12:55 /dev/loop3 92M 92M 0 100% /snap/lxd/24061 14:12:55 14:12:55 14:12:55 ---> free -m: 14:12:55 total used free shared buff/cache available 14:12:55 Mem: 1983 420 169 2 1393 1376 14:12:55 Swap: 1023 2 1021 14:12:55 14:12:55 14:12:55 ---> ip addr: 14:12:55 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 14:12:55 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:12:55 inet 127.0.0.1/8 scope host lo 14:12:55 valid_lft forever preferred_lft forever 14:12:55 inet6 ::1/128 scope host 14:12:55 valid_lft forever preferred_lft forever 14:12:55 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 14:12:55 link/ether fa:16:3e:92:bd:bd brd ff:ff:ff:ff:ff:ff 14:12:55 inet 10.32.6.110/23 brd 10.32.7.255 scope global dynamic ens3 14:12:55 valid_lft 86055sec preferred_lft 86055sec 14:12:55 inet6 fe80::f816:3eff:fe92:bdbd/64 scope link 14:12:55 valid_lft forever preferred_lft forever 14:12:55 14:12:55 14:12:55 ---> sar -b -r -n DEV: 14:12:55 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4068) 01/18/24 _x86_64_ (2 CPU) 14:12:55 14:12:55 14:07:12 LINUX RESTART (2 CPU) 14:12:55 14:12:55 14:08:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:12:55 14:09:01 153.30 50.69 102.61 0.00 1743.00 13693.12 0.00 14:12:55 14:10:01 29.78 4.98 24.80 0.00 247.56 4213.96 0.00 14:12:55 14:11:01 69.77 3.35 66.42 0.00 298.88 20067.99 0.00 14:12:55 14:12:01 98.67 38.31 60.36 0.00 1978.74 27519.41 0.00 14:12:55 Average: 87.61 24.23 63.38 0.00 1064.25 16384.72 0.00 14:12:55 14:12:55 14:08:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:12:55 14:09:01 100440 1438044 357848 17.62 63120 1345472 813040 26.40 436788 1287076 55324 14:12:55 14:10:01 100532 1419584 375924 18.51 68120 1315868 886820 28.80 464588 1251968 3236 14:12:55 14:11:01 88296 1362512 431092 21.23 82688 1242828 955932 31.04 498000 1215696 81912 14:12:55 14:12:01 141364 1413996 373768 18.41 93944 1235012 836956 27.18 397856 1262520 8040 14:12:55 Average: 107658 1408534 384658 18.94 76968 1284795 873187 28.36 449308 1254315 37128 14:12:55 14:12:55 14:08:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:12:55 14:09:01 ens3 37.12 34.92 403.26 5.57 0.00 0.00 0.00 0.00 14:12:55 14:09:01 lo 0.54 0.54 0.05 0.05 0.00 0.00 0.00 0.00 14:12:55 14:10:01 ens3 13.81 12.71 33.33 3.54 0.00 0.00 0.00 0.00 14:12:55 14:10:01 lo 0.77 0.77 0.06 0.06 0.00 0.00 0.00 0.00 14:12:55 14:11:01 ens3 119.98 99.82 2487.13 9.87 0.00 0.00 0.00 0.00 14:12:55 14:11:01 lo 0.83 0.83 0.07 0.07 0.00 0.00 0.00 0.00 14:12:55 14:12:01 ens3 281.24 184.22 2210.42 24.69 0.00 0.00 0.00 0.00 14:12:55 14:12:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 14:12:55 Average: ens3 113.35 83.12 1287.18 10.94 0.00 0.00 0.00 0.00 14:12:55 Average: lo 0.72 0.72 0.06 0.06 0.00 0.00 0.00 0.00 14:12:55 14:12:55 14:12:55 ---> sar -P ALL: 14:12:55 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4068) 01/18/24 _x86_64_ (2 CPU) 14:12:55 14:12:55 14:07:12 LINUX RESTART (2 CPU) 14:12:55 14:12:55 14:08:02 CPU %user %nice %system %iowait %steal %idle 14:12:55 14:09:01 all 37.32 9.39 8.35 9.14 0.08 35.72 14:12:55 14:09:01 0 29.02 11.13 9.12 7.23 0.08 43.42 14:12:55 14:09:01 1 45.69 7.63 7.58 11.07 0.07 27.96 14:12:55 14:10:01 all 14.56 0.00 1.14 1.50 0.07 82.73 14:12:55 14:10:01 0 5.31 0.00 0.90 1.02 0.08 92.68 14:12:55 14:10:01 1 23.95 0.00 1.37 1.99 0.07 72.62 14:12:55 14:11:01 all 27.68 0.00 2.44 3.90 0.07 65.90 14:12:55 14:11:01 0 16.91 0.00 1.95 3.86 0.07 77.22 14:12:55 14:11:01 1 38.60 0.00 2.94 3.94 0.08 54.44 14:12:55 14:12:01 all 34.68 0.00 3.06 3.92 0.07 58.27 14:12:55 14:12:01 0 18.60 0.00 2.83 5.34 0.07 73.16 14:12:55 14:12:01 1 50.87 0.00 3.29 2.49 0.08 43.27 14:12:55 Average: all 28.50 2.31 3.72 4.59 0.08 60.80 14:12:55 Average: 0 17.38 2.73 3.67 4.34 0.07 71.80 14:12:55 Average: 1 39.75 1.88 3.78 4.84 0.08 49.68 14:12:55 14:12:55 14:12:55