14:12:00 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 14:12:00 Running as SYSTEM 14:12:00 [EnvInject] - Loading node environment variables. 14:12:00 Building remotely on prd-ubuntu1804-builder-2c-2g-3974 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 14:12:00 [ssh-agent] Looking for ssh-agent implementation... 14:12:00 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:12:00 $ ssh-agent 14:12:00 SSH_AUTH_SOCK=/tmp/ssh-K7kH0IApGG4Q/agent.5694 14:12:00 SSH_AGENT_PID=5697 14:12:00 [ssh-agent] Started. 14:12:00 Running ssh-add (command line suppressed) 14:12:00 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_5422178693231009908.key (jenkins-ssh) 14:12:00 [ssh-agent] Using credentials jenkins (jenkins) 14:12:00 The recommended git tool is: NONE 14:12:02 using credential jenkins 14:12:02 Wiping out workspace first. 14:12:02 Cloning the remote Git repository 14:12:02 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 14:12:02 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 14:12:02 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 14:12:02 > git --version # timeout=10 14:12:02 > git --version # 'git version 2.25.1' 14:12:02 using GIT_SSH to set credentials jenkins 14:12:02 > 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:12:03 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 14:12:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:12:03 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 14:12:03 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 14:12:03 using GIT_SSH to set credentials jenkins 14:12:03 > 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:12:04 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 14:12:04 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 14:12:04 > git config core.sparsecheckout # timeout=10 14:12:04 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 14:12:04 Commit message: "Fix build failure" 14:12:04 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 14:12:04 provisioning config files... 14:12:04 copy managed file [npmrc] to file:/home/jenkins/.npmrc 14:12:04 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 14:12:04 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1661299233976862324.sh 14:12:04 ---> python-tools-install.sh 14:12:04 Setup pyenv: 14:12:04 * system (set by /opt/pyenv/version) 14:12:04 * 3.8.13 (set by /opt/pyenv/version) 14:12:04 * 3.9.13 (set by /opt/pyenv/version) 14:12:04 * 3.10.6 (set by /opt/pyenv/version) 14:12:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yRla 14:12:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 14:12:13 lf-activate-venv(): INFO: Installing: lftools 14:12:51 lf-activate-venv(): INFO: Adding /tmp/venv-yRla/bin to PATH 14:12:51 Generating Requirements File 14:13:25 Python 3.10.6 14:13:25 pip 23.3.2 from /tmp/venv-yRla/lib/python3.10/site-packages/pip (python 3.10) 14:13:26 appdirs==1.4.4 14:13:26 argcomplete==3.2.1 14:13:26 aspy.yaml==1.3.0 14:13:26 attrs==23.2.0 14:13:26 autopage==0.5.2 14:13:26 beautifulsoup4==4.12.2 14:13:26 boto3==1.34.19 14:13:26 botocore==1.34.19 14:13:26 bs4==0.0.1 14:13:26 cachetools==5.3.2 14:13:26 certifi==2023.11.17 14:13:26 cffi==1.16.0 14:13:26 cfgv==3.4.0 14:13:26 chardet==5.2.0 14:13:26 charset-normalizer==3.3.2 14:13:26 click==8.1.7 14:13:26 cliff==4.5.0 14:13:26 cmd2==2.4.3 14:13:26 cryptography==3.3.2 14:13:26 debtcollector==2.5.0 14:13:26 decorator==5.1.1 14:13:26 defusedxml==0.7.1 14:13:26 Deprecated==1.2.14 14:13:26 distlib==0.3.8 14:13:26 dnspython==2.4.2 14:13:26 docker==4.2.2 14:13:26 dogpile.cache==1.3.0 14:13:26 email-validator==2.1.0.post1 14:13:26 filelock==3.13.1 14:13:26 future==0.18.3 14:13:26 gitdb==4.0.11 14:13:26 GitPython==3.1.41 14:13:26 google-auth==2.26.2 14:13:26 httplib2==0.22.0 14:13:26 identify==2.5.33 14:13:26 idna==3.6 14:13:26 importlib-resources==1.5.0 14:13:26 iso8601==2.1.0 14:13:26 Jinja2==3.1.3 14:13:26 jmespath==1.0.1 14:13:26 jsonpatch==1.33 14:13:26 jsonpointer==2.4 14:13:26 jsonschema==4.21.0 14:13:26 jsonschema-specifications==2023.12.1 14:13:26 keystoneauth1==5.5.0 14:13:26 kubernetes==29.0.0 14:13:26 lftools==0.37.8 14:13:26 lxml==5.1.0 14:13:26 MarkupSafe==2.1.3 14:13:26 msgpack==1.0.7 14:13:26 multi_key_dict==2.0.3 14:13:26 munch==4.0.0 14:13:26 netaddr==0.10.1 14:13:26 netifaces==0.11.0 14:13:26 niet==1.4.2 14:13:26 nodeenv==1.8.0 14:13:26 oauth2client==4.1.3 14:13:26 oauthlib==3.2.2 14:13:26 openstacksdk==0.62.0 14:13:26 os-client-config==2.1.0 14:13:26 os-service-types==1.7.0 14:13:26 osc-lib==3.0.0 14:13:26 oslo.config==9.3.0 14:13:26 oslo.context==5.3.0 14:13:26 oslo.i18n==6.2.0 14:13:26 oslo.log==5.4.0 14:13:26 oslo.serialization==5.3.0 14:13:26 oslo.utils==6.3.0 14:13:26 packaging==23.2 14:13:26 pbr==6.0.0 14:13:26 platformdirs==4.1.0 14:13:26 prettytable==3.9.0 14:13:26 pyasn1==0.5.1 14:13:26 pyasn1-modules==0.3.0 14:13:26 pycparser==2.21 14:13:26 pygerrit2==2.0.15 14:13:26 PyGithub==2.1.1 14:13:26 pyinotify==0.9.6 14:13:26 PyJWT==2.8.0 14:13:26 PyNaCl==1.5.0 14:13:26 pyparsing==2.4.7 14:13:26 pyperclip==1.8.2 14:13:26 pyrsistent==0.20.0 14:13:26 python-cinderclient==9.4.0 14:13:26 python-dateutil==2.8.2 14:13:26 python-heatclient==3.4.0 14:13:26 python-jenkins==1.8.2 14:13:26 python-keystoneclient==5.3.0 14:13:26 python-magnumclient==4.3.0 14:13:26 python-novaclient==18.4.0 14:13:26 python-openstackclient==6.0.0 14:13:26 python-swiftclient==4.4.0 14:13:26 pytz==2023.3.post1 14:13:26 PyYAML==6.0.1 14:13:26 referencing==0.32.1 14:13:26 requests==2.31.0 14:13:26 requests-oauthlib==1.3.1 14:13:26 requestsexceptions==1.4.0 14:13:26 rfc3986==2.0.0 14:13:26 rpds-py==0.17.1 14:13:26 rsa==4.9 14:13:26 ruamel.yaml==0.18.5 14:13:26 ruamel.yaml.clib==0.2.8 14:13:26 s3transfer==0.10.0 14:13:26 simplejson==3.19.2 14:13:26 six==1.16.0 14:13:26 smmap==5.0.1 14:13:26 soupsieve==2.5 14:13:26 stevedore==5.1.0 14:13:26 tabulate==0.9.0 14:13:26 toml==0.10.2 14:13:26 tomlkit==0.12.3 14:13:26 tqdm==4.66.1 14:13:26 typing_extensions==4.9.0 14:13:26 tzdata==2023.4 14:13:26 urllib3==1.26.18 14:13:26 virtualenv==20.25.0 14:13:26 wcwidth==0.2.13 14:13:26 websocket-client==1.7.0 14:13:26 wrapt==1.16.0 14:13:26 xdg==6.0.0 14:13:26 xmltodict==0.13.0 14:13:26 yq==3.2.3 14:13:26 [EnvInject] - Injecting environment variables from a build step. 14:13:26 [EnvInject] - Injecting as environment variables the properties content 14:13:26 PYTHON=python3 14:13:26 14:13:26 [EnvInject] - Variables injected successfully. 14:13:26 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins18197822547838563481.sh 14:13:26 ---> tox-install.sh 14:13:26 + source /home/jenkins/lf-env.sh 14:13:26 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 14:13:26 ++ mktemp -d /tmp/venv-XXXX 14:13:26 + lf_venv=/tmp/venv-bxZ5 14:13:26 + local venv_file=/tmp/.os_lf_venv 14:13:26 + local python=python3 14:13:26 + local options 14:13:26 + local set_path=true 14:13:26 + local install_args= 14:13:26 ++ 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:13:26 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:13:26 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:13:26 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 14:13:26 + true 14:13:26 + case $1 in 14:13:26 + venv_file=/tmp/.toxenv 14:13:26 + shift 2 14:13:26 + true 14:13:26 + case $1 in 14:13:26 + shift 14:13:26 + break 14:13:26 + case $python in 14:13:26 + local pkg_list= 14:13:26 + [[ -d /opt/pyenv ]] 14:13:26 + echo 'Setup pyenv:' 14:13:26 Setup pyenv: 14:13:26 + export PYENV_ROOT=/opt/pyenv 14:13:26 + PYENV_ROOT=/opt/pyenv 14:13:26 + 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:13:26 + 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:13:26 + pyenv versions 14:13:26 system 14:13:26 3.8.13 14:13:26 3.9.13 14:13:26 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:13:26 + command -v pyenv 14:13:26 ++ pyenv init - --no-rehash 14:13:26 + 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:13:26 export PATH="/opt/pyenv/shims:${PATH}" 14:13:26 export PYENV_SHELL=bash 14:13:26 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 14:13:26 pyenv() { 14:13:26 local command 14:13:26 command="${1:-}" 14:13:26 if [ "$#" -gt 0 ]; then 14:13:26 shift 14:13:26 fi 14:13:26 14:13:26 case "$command" in 14:13:26 rehash|shell) 14:13:26 eval "$(pyenv "sh-$command" "$@")" 14:13:26 ;; 14:13:26 *) 14:13:26 command pyenv "$command" "$@" 14:13:26 ;; 14:13:26 esac 14:13:26 }' 14:13:26 +++ 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:13:26 ++ 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:13:26 ++ 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:13:26 ++ 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:13:26 ++ export PYENV_SHELL=bash 14:13:26 ++ PYENV_SHELL=bash 14:13:26 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 14:13:26 +++ complete -F _pyenv pyenv 14:13:26 ++ lf-pyver python3 14:13:26 ++ local py_version_xy=python3 14:13:26 ++ local py_version_xyz= 14:13:26 ++ pyenv versions 14:13:26 ++ local command 14:13:26 ++ command=versions 14:13:26 ++ '[' 1 -gt 0 ']' 14:13:26 ++ shift 14:13:26 ++ case "$command" in 14:13:26 ++ command pyenv versions 14:13:26 ++ pyenv versions 14:13:26 ++ sed 's/^[ *]* //' 14:13:26 ++ awk '{ print $1 }' 14:13:26 ++ grep -E '^[0-9.]*[0-9]$' 14:13:26 ++ [[ ! -s /tmp/.pyenv_versions ]] 14:13:26 +++ grep '^3' /tmp/.pyenv_versions 14:13:26 +++ sort -V 14:13:26 +++ tail -n 1 14:13:26 ++ py_version_xyz=3.10.6 14:13:26 ++ [[ -z 3.10.6 ]] 14:13:26 ++ echo 3.10.6 14:13:26 ++ return 0 14:13:26 + pyenv local 3.10.6 14:13:26 + local command 14:13:26 + command=local 14:13:26 + '[' 2 -gt 0 ']' 14:13:26 + shift 14:13:26 + case "$command" in 14:13:26 + command pyenv local 3.10.6 14:13:26 + pyenv local 3.10.6 14:13:26 + for arg in "$@" 14:13:26 + case $arg in 14:13:26 + pkg_list+='tox ' 14:13:26 + for arg in "$@" 14:13:26 + case $arg in 14:13:26 + pkg_list+='virtualenv ' 14:13:26 + for arg in "$@" 14:13:26 + case $arg in 14:13:26 + pkg_list+='urllib3~=1.26.15 ' 14:13:26 + [[ -f /tmp/.toxenv ]] 14:13:26 + [[ ! -f /tmp/.toxenv ]] 14:13:26 + [[ -n '' ]] 14:13:26 + python3 -m venv /tmp/venv-bxZ5 14:13:30 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bxZ5' 14:13:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bxZ5 14:13:30 + echo /tmp/venv-bxZ5 14:13:30 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 14:13:30 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 14:13:30 + /tmp/venv-bxZ5/bin/python3 -m pip install --upgrade --quiet pip virtualenv 14:13:33 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 14:13:33 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 14:13:33 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 14:13:33 + /tmp/venv-bxZ5/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 14:13:35 + type python3 14:13:35 + true 14:13:35 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-bxZ5/bin to PATH' 14:13:35 lf-activate-venv(): INFO: Adding /tmp/venv-bxZ5/bin to PATH 14:13:35 + PATH=/tmp/venv-bxZ5/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:13:35 + return 0 14:13:35 + python3 --version 14:13:35 Python 3.10.6 14:13:35 + python3 -m pip --version 14:13:35 pip 23.3.2 from /tmp/venv-bxZ5/lib/python3.10/site-packages/pip (python 3.10) 14:13:35 + python3 -m pip freeze 14:13:36 cachetools==5.3.2 14:13:36 chardet==5.2.0 14:13:36 colorama==0.4.6 14:13:36 distlib==0.3.8 14:13:36 filelock==3.13.1 14:13:36 packaging==23.2 14:13:36 platformdirs==4.1.0 14:13:36 pluggy==1.3.0 14:13:36 pyproject-api==1.6.1 14:13:36 tomli==2.0.1 14:13:36 tox==4.12.1 14:13:36 urllib3==1.26.18 14:13:36 virtualenv==20.25.0 14:13:36 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins10147939807335134416.sh 14:13:36 [EnvInject] - Injecting environment variables from a build step. 14:13:36 [EnvInject] - Injecting as environment variables the properties content 14:13:36 PARALLEL=False 14:13:36 14:13:36 [EnvInject] - Variables injected successfully. 14:13:36 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8691234077528073347.sh 14:13:36 ---> tox-run.sh 14:13:36 + 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:13:36 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 14:13:36 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 14:13:36 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 14:13:36 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 14:13:36 + source /home/jenkins/lf-env.sh 14:13:36 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 14:13:36 ++ mktemp -d /tmp/venv-XXXX 14:13:36 + lf_venv=/tmp/venv-t8qx 14:13:36 + local venv_file=/tmp/.os_lf_venv 14:13:36 + local python=python3 14:13:36 + local options 14:13:36 + local set_path=true 14:13:36 + local install_args= 14:13:36 ++ 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:13:36 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:13:36 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 14:13:36 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 14:13:36 + true 14:13:36 + case $1 in 14:13:36 + venv_file=/tmp/.toxenv 14:13:36 + shift 2 14:13:36 + true 14:13:36 + case $1 in 14:13:36 + shift 14:13:36 + break 14:13:36 + case $python in 14:13:36 + local pkg_list= 14:13:36 + [[ -d /opt/pyenv ]] 14:13:36 + echo 'Setup pyenv:' 14:13:36 Setup pyenv: 14:13:36 + export PYENV_ROOT=/opt/pyenv 14:13:36 + PYENV_ROOT=/opt/pyenv 14:13:36 + 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:13:36 + 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:13:36 + pyenv versions 14:13:36 system 14:13:36 3.8.13 14:13:36 3.9.13 14:13:36 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:13:36 + command -v pyenv 14:13:36 ++ pyenv init - --no-rehash 14:13:36 + 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:13:36 export PATH="/opt/pyenv/shims:${PATH}" 14:13:36 export PYENV_SHELL=bash 14:13:36 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 14:13:36 pyenv() { 14:13:36 local command 14:13:36 command="${1:-}" 14:13:36 if [ "$#" -gt 0 ]; then 14:13:36 shift 14:13:36 fi 14:13:36 14:13:36 case "$command" in 14:13:36 rehash|shell) 14:13:36 eval "$(pyenv "sh-$command" "$@")" 14:13:36 ;; 14:13:36 *) 14:13:36 command pyenv "$command" "$@" 14:13:36 ;; 14:13:36 esac 14:13:36 }' 14:13:36 +++ 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:13:36 ++ 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:13:36 ++ 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:13:36 ++ 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:13:36 ++ export PYENV_SHELL=bash 14:13:36 ++ PYENV_SHELL=bash 14:13:36 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 14:13:36 +++ complete -F _pyenv pyenv 14:13:36 ++ lf-pyver python3 14:13:36 ++ local py_version_xy=python3 14:13:36 ++ local py_version_xyz= 14:13:36 ++ sed 's/^[ *]* //' 14:13:36 ++ pyenv versions 14:13:36 ++ local command 14:13:36 ++ command=versions 14:13:36 ++ '[' 1 -gt 0 ']' 14:13:36 ++ shift 14:13:36 ++ case "$command" in 14:13:36 ++ command pyenv versions 14:13:36 ++ pyenv versions 14:13:36 ++ awk '{ print $1 }' 14:13:36 ++ grep -E '^[0-9.]*[0-9]$' 14:13:36 ++ [[ ! -s /tmp/.pyenv_versions ]] 14:13:36 +++ grep '^3' /tmp/.pyenv_versions 14:13:36 +++ sort -V 14:13:36 +++ tail -n 1 14:13:36 ++ py_version_xyz=3.10.6 14:13:36 ++ [[ -z 3.10.6 ]] 14:13:36 ++ echo 3.10.6 14:13:36 ++ return 0 14:13:36 + pyenv local 3.10.6 14:13:36 + local command 14:13:36 + command=local 14:13:36 + '[' 2 -gt 0 ']' 14:13:36 + shift 14:13:36 + case "$command" in 14:13:36 + command pyenv local 3.10.6 14:13:36 + pyenv local 3.10.6 14:13:36 + for arg in "$@" 14:13:36 + case $arg in 14:13:36 + pkg_list+='tox ' 14:13:36 + for arg in "$@" 14:13:36 + case $arg in 14:13:36 + pkg_list+='virtualenv ' 14:13:36 + for arg in "$@" 14:13:36 + case $arg in 14:13:36 + pkg_list+='urllib3~=1.26.15 ' 14:13:36 + [[ -f /tmp/.toxenv ]] 14:13:36 ++ cat /tmp/.toxenv 14:13:36 + lf_venv=/tmp/venv-bxZ5 14:13:36 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bxZ5 from' file:/tmp/.toxenv 14:13:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bxZ5 from file:/tmp/.toxenv 14:13:36 + /tmp/venv-bxZ5/bin/python3 -m pip install --upgrade --quiet pip virtualenv 14:13:37 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 14:13:37 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 14:13:37 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 14:13:37 + /tmp/venv-bxZ5/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 14:13:38 + type python3 14:13:38 + true 14:13:38 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-bxZ5/bin to PATH' 14:13:38 lf-activate-venv(): INFO: Adding /tmp/venv-bxZ5/bin to PATH 14:13:38 + PATH=/tmp/venv-bxZ5/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:13:38 + return 0 14:13:38 + [[ -d /opt/pyenv ]] 14:13:38 + echo '---> Setting up pyenv' 14:13:38 ---> Setting up pyenv 14:13:38 + export PYENV_ROOT=/opt/pyenv 14:13:38 + PYENV_ROOT=/opt/pyenv 14:13:38 + export PATH=/opt/pyenv/bin:/tmp/venv-bxZ5/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:13:38 + PATH=/opt/pyenv/bin:/tmp/venv-bxZ5/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:13:38 ++ pwd 14:13:38 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 14:13:38 + export PYTHONPATH 14:13:38 + export TOX_TESTENV_PASSENV=PYTHONPATH 14:13:38 + TOX_TESTENV_PASSENV=PYTHONPATH 14:13:38 + tox --version 14:13:39 4.12.1 from /tmp/venv-bxZ5/lib/python3.10/site-packages/tox/__init__.py 14:13:39 + PARALLEL=False 14:13:39 + TOX_OPTIONS_LIST= 14:13:39 + [[ -n '' ]] 14:13:39 + case ${PARALLEL,,} in 14:13:39 + tox 14:13:39 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 14:13:40 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 14:13:49 code: freeze> python -m pip freeze --all 14:13:49 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:13:49 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:13:50 ============================= test session starts ============================== 14:13:50 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 14:13:50 cachedir: .tox/code/.pytest_cache 14:13:50 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 14:13:50 plugins: cov-4.1.0 14:13:50 collected 4 items 14:13:50 14:13:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:13:50 -------------------------------- live log setup -------------------------------- 14:13:50 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:13:50 Please install connexion with extra install: pip install connexion[swagger-ui] 14:13:50 or provide the path to your local installation by passing swagger_path= 14:13:50 14:13:50 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:13:50 Please install connexion with extra install: pip install connexion[swagger-ui] 14:13:50 or provide the path to your local installation by passing swagger_path= 14:13:50 14:13:50 PASSED [ 25%] 14:13:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 14:14:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 14:14:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 14:14:01 -------------------------------- live log call --------------------------------- 14:14: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:14:01 * Running on http://127.0.0.1:8086 14:14:01 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 14:14:11 INFO werkzeug:_internal.py:224 127.0.0.1 - - [17/Jan/2024 14:14:11] "POST /statustest HTTP/1.1" 201 - 14:14:11 PASSED [100%] 14:14:11 14:14:11 =============================== warnings summary =============================== 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:14:11 /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:14:11 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 14:14:11 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:14:11 /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:14:11 from jsonschema import Draft4Validator, RefResolver 14:14:11 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:14:11 /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:14:11 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 14:14:11 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 14:14:11 /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:14:11 app.json_encoder = FlaskJSONEncoder 14:14:11 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 14:14:11 /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:14:11 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:14:11 14:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 14:14:11 /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:14:11 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:14:11 14:14:11 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 14:14:11 14:14:11 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 14:14:11 Name Stmts Miss Cover Missing 14:14:11 --------------------------------------------------------------------------------------------------------- 14:14:11 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 14:14:11 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:14:11 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:14:11 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 14:14:11 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 14:14:11 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 14:14:11 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 14:14:11 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 14:14:11 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 14:14:11 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:14:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 14:14:11 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 14:14:11 --------------------------------------------------------------------------------------------------------- 14:14:11 TOTAL 973 113 88% 14:14:11 Coverage HTML written to dir htmlcov 14:14:11 Coverage XML written to file coverage.xml 14:14:11 14:14:11 Required test coverage of 70% reached. Total coverage: 88.39% 14:14:11 ======================= 4 passed, 118 warnings in 21.39s ======================= 14:14:11 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:14:11 ============================= test session starts ============================== 14:14:11 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 14:14:11 cachedir: .tox/code/.pytest_cache 14:14:11 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 14:14:11 plugins: cov-4.1.0 14:14:11 collected 1 item 14:14:11 14:14:12 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:12 -------------------------------- live log setup -------------------------------- 14:14:12 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:14:12 Please install connexion with extra install: pip install connexion[swagger-ui] 14:14:12 or provide the path to your local installation by passing swagger_path= 14:14:12 14:14:12 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:14:12 Please install connexion with extra install: pip install connexion[swagger-ui] 14:14:12 or provide the path to your local installation by passing swagger_path= 14:14:12 14:14:22 PASSED [100%] 14:14:22 14:14:22 =============================== warnings summary =============================== 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 /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:14:22 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 /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:14:22 from jsonschema import Draft4Validator, RefResolver 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 /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:14:22 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 /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:14:22 app.json_encoder = FlaskJSONEncoder 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 /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:14:22 for error in instance_validator.iter_errors(instance['default'], instance): 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 14:14:22 /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:14:22 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 14:14:22 /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:14:22 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 /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:14:22 warnings.warn( 14:14:22 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 14:14:22 /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:14:22 return json.dumps(obj, **kwargs) 14:14:22 14:14:22 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 14:14:22 14:14:22 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 14:14:22 Name Stmts Miss Cover Missing 14:14:22 --------------------------------------------------------------------------------------------------------- 14:14:22 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 14:14:22 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:14:22 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:14:22 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 14:14:22 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 14:14:22 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 14:14:22 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:14:22 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:14:22 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 14:14:22 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 14:14:22 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 14:14:22 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 14:14:22 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:14:22 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 14:14:22 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 14:14:22 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 14:14:22 --------------------------------------------------------------------------------------------------------- 14:14:22 TOTAL 1440 152 89% 14:14:22 Coverage HTML written to dir htmlcov 14:14:22 Coverage XML written to file coverage.xml 14:14:22 14:14:22 Required test coverage of 70% reached. Total coverage: 89.44% 14:14:22 ======================= 1 passed, 65 warnings in 11.15s ======================== 14:14:23 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:14:23 ============================= test session starts ============================== 14:14:23 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 14:14:23 cachedir: .tox/code/.pytest_cache 14:14:23 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 14:14:23 plugins: cov-4.1.0 14:14:23 collected 4 items 14:14:23 14:14:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:23 -------------------------------- live log setup -------------------------------- 14:14:23 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:14:23 Please install connexion with extra install: pip install connexion[swagger-ui] 14:14:23 or provide the path to your local installation by passing swagger_path= 14:14:23 14:14:23 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 14:14:23 Please install connexion with extra install: pip install connexion[swagger-ui] 14:14:23 or provide the path to your local installation by passing swagger_path= 14:14:23 14:14:23 PASSED [ 25%] 14:14:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 14:14:34 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 14:14:34 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 14:14:34 -------------------------------- live log call --------------------------------- 14:14:34 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:14:34 * Running on http://127.0.0.1:8086 14:14:34 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 14:14:44 INFO werkzeug:_internal.py:224 127.0.0.1 - - [17/Jan/2024 14:14:44] "POST /statustest HTTP/1.1" 200 - 14:14:44 PASSED [100%] 14:14:44 14:14:44 =============================== warnings summary =============================== 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:44 /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:14:44 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 14:14:44 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:44 /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:14:44 from jsonschema import Draft4Validator, RefResolver 14:14:44 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:44 /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:14:44 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 14:14:44 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:44 /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:14:44 app.json_encoder = FlaskJSONEncoder 14:14:44 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 14:14:44 /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:14:44 for error in instance_validator.iter_errors(instance['default'], instance): 14:14:44 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 14:14:44 /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:14:44 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:14:44 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 14:14:44 /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:14:44 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 14:14:44 14:14:44 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 14:14:44 14:14:44 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 14:14:44 Name Stmts Miss Cover Missing 14:14:44 --------------------------------------------------------------------------------------------------------- 14:14:44 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 14:14:44 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:14:44 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:14:44 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 14:14:44 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 14:14:44 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 14:14:44 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:14:44 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:14:44 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 14:14:44 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:14:44 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:14:44 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 14:14:44 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 14:14:44 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 14:14:44 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 14:14:44 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 14:14:44 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 14:14:44 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:14:44 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 14:14:44 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 14:14:44 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 14:14:44 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 14:14:44 --------------------------------------------------------------------------------------------------------- 14:14:44 TOTAL 2219 282 87% 14:14:44 Coverage HTML written to dir htmlcov 14:14:44 Coverage XML written to file coverage.xml 14:14:44 14:14:44 Required test coverage of 70% reached. Total coverage: 87.29% 14:14:44 ======================= 4 passed, 65 warnings in 21.51s ======================== 14:14:44 code: commands[3]> coverage xml -i 14:14:45 Wrote XML report to coverage.xml 14:14:45 code: OK ✔ in 1 minute 5.59 seconds 14:14:45 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 14:15:30 docs: freeze> python -m pip freeze --all 14:15:30 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.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:15:30 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 14:15:30 Running Sphinx v5.3.0 14:15:31 making output directory... done 14:15:31 building [mo]: targets for 0 po files that are out of date 14:15:31 building [html]: targets for 6 source files that are out of date 14:15:31 updating environment: [new config] 6 added, 0 changed, 0 removed 14:15:31 reading sources... [ 16%] callout-server 14:15:31 reading sources... [ 33%] index 14:15:31 reading sources... [ 50%] kafka-message-dispatcher 14:15:31 reading sources... [ 66%] overview 14:15:31 reading sources... [ 83%] release-notes 14:15:31 reading sources... [100%] simulator-api 14:15:31 14:15:31 looking for now-outdated files... none found 14:15:31 pickling environment... done 14:15:31 checking consistency... done 14:15:31 preparing documents... done 14:15:31 writing output... [ 16%] callout-server 14:15:31 writing output... [ 33%] index 14:15:31 writing output... [ 50%] kafka-message-dispatcher 14:15:31 writing output... [ 66%] overview 14:15:31 writing output... [ 83%] release-notes 14:15:31 writing output... [100%] simulator-api 14:15:31 14:15:31 generating indices... genindex done 14:15:31 writing additional pages... search done 14:15:31 copying images... [100%] images/yaml_logo.png 14:15:31 14:15:31 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 14:15:31 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 14:15:31 14:15:31 copying static files... done 14:15:31 copying extra files... done 14:15:31 dumping search index in English (code: en)... done 14:15:31 dumping object inventory... done 14:15:32 build succeeded. 14:15:32 14:15:32 The HTML pages are in docs/_build/html. 14:15:32 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 14:15:32 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 14:15:32 docs: OK ✔ in 47.13 seconds 14:15:32 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 14:15:56 docs-linkcheck: freeze> python -m pip freeze --all 14:15:56 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.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:15:56 docs-linkcheck: commands[0]> sphinx-build -W -b linkcheck -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs-linkcheck/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/linkcheck 14:15:57 Running Sphinx v5.3.0 14:15:57 making output directory... done 14:15:57 building [mo]: targets for 0 po files that are out of date 14:15:57 building [linkcheck]: targets for 6 source files that are out of date 14:15:57 updating environment: [new config] 6 added, 0 changed, 0 removed 14:15:57 reading sources... [ 16%] callout-server 14:15:57 reading sources... [ 33%] index 14:15:57 reading sources... [ 50%] kafka-message-dispatcher 14:15:57 reading sources... [ 66%] overview 14:15:57 reading sources... [ 83%] release-notes 14:15:57 reading sources... [100%] simulator-api 14:15:57 14:15:57 looking for now-outdated files... none found 14:15:57 pickling environment... done 14:15:57 checking consistency... done 14:15:57 preparing documents... done 14:15:57 writing output... [ 16%] callout-server 14:15:57 writing output... [ 33%] index 14:15:57 writing output... [ 50%] kafka-message-dispatcher 14:15:57 writing output... [ 66%] overview 14:15:57 writing output... [ 83%] release-notes 14:15:57 writing output... [100%] simulator-api 14:15:57 14:15:57 14:15:57 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 14:15:57 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 14:15:57 ( simulator-api: line 337) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/OSC_2.1.0/openapi.yaml 14:15:57 ( simulator-api: line 550) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_1.1.3/STD_A1.yaml 14:15:57 ( simulator-api: line 639) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_2.0.0/ORAN_A1-p_V2.0.0_api.yaml 14:15:57 build succeeded. 14:15:57 14:15:57 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 14:15:57 code: OK (65.58=setup[10.16]+cmd[21.78,11.48,21.84,0.33] seconds) 14:15:57 docs: OK (47.13=setup[45.48]+cmd[1.64,0.00] seconds) 14:15:57 docs-linkcheck: OK (25.64=setup[24.57]+cmd[1.07] seconds) 14:15:57 congratulations :) (138.51 seconds) 14:15:58 + tox_status=0 14:15:58 + echo '---> Completed tox runs' 14:15:58 ---> Completed tox runs 14:15:58 + for i in .tox/*/log 14:15:58 ++ echo .tox/code/log 14:15:58 ++ awk -F/ '{print $2}' 14:15:58 + tox_env=code 14:15:58 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 14:15:58 + for i in .tox/*/log 14:15:58 ++ echo .tox/docs-linkcheck/log 14:15:58 ++ awk -F/ '{print $2}' 14:15:58 + tox_env=docs-linkcheck 14:15:58 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 14:15:58 + for i in .tox/*/log 14:15:58 ++ echo .tox/docs/log 14:15:58 ++ awk -F/ '{print $2}' 14:15:58 + tox_env=docs 14:15:58 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 14:15:58 + DOC_DIR=docs/_build/html 14:15:58 + [[ -d docs/_build/html ]] 14:15:58 + echo '---> Archiving generated docs' 14:15:58 ---> Archiving generated docs 14:15:58 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 14:15:58 + echo '---> tox-run.sh ends' 14:15:58 ---> tox-run.sh ends 14:15:58 + test 0 -eq 0 14:15:58 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-3974 14:15:59 [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:15:59 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 14:15:59 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 14:15:59 INFO: Project root configuration file: NONE 14:15:59 INFO: SonarScanner 4.6.2.2472 14:15:59 INFO: Java 11.0.18 Ubuntu (64-bit) 14:15:59 INFO: Linux 5.4.0-146-generic amd64 14:15:59 INFO: User cache: /home/jenkins/.sonar/cache 14:16:01 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 14:16:01 INFO: Project root configuration file: NONE 14:16:01 INFO: Analyzing on SonarCloud 14:16:01 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 14:16:01 INFO: Load global settings 14:16:02 INFO: Load global settings (done) | time=287ms 14:16:02 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 14:16:02 INFO: User cache: /home/jenkins/.sonar/cache 14:16:02 INFO: Loading required plugins 14:16:02 INFO: Load plugins index 14:16:02 INFO: Load plugins index (done) | time=594ms 14:16:02 INFO: Load/download plugins 14:16:04 INFO: Load/download plugins (done) | time=1455ms 14:16:04 INFO: Found an active CI vendor: 'Jenkins' 14:16:04 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 14:16:05 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=599ms 14:16:05 INFO: Process project properties 14:16:05 INFO: Project key: o-ran-sc_sim-a1-interface 14:16:05 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 14:16:05 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 14:16:05 INFO: Load project branches 14:16:06 INFO: Load project branches (done) | time=525ms 14:16:06 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 14:16:06 INFO: Detected project binding: NOT_BOUND 14:16:06 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=540ms 14:16:06 INFO: Load project pull requests 14:16:06 INFO: Load project pull requests (done) | time=236ms 14:16:06 INFO: Load branch configuration 14:16:06 INFO: Load branch configuration (done) | time=5ms 14:16:06 INFO: Load quality profiles 14:16:07 INFO: Load quality profiles (done) | time=272ms 14:16:07 INFO: Load active rules 14:16:19 INFO: Load active rules (done) | time=12433ms 14:16:20 INFO: Organization key: o-ran-sc 14:16:20 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:16:20 INFO: Preprocessing files... 14:16:20 INFO: 4 languages detected in 112 preprocessed files 14:16:20 INFO: 0 files ignored because of inclusion/exclusion patterns 14:16:20 INFO: 22 files ignored because of scm ignore settings 14:16:20 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:16:20 INFO: ------------------------------------------------------------------------ 14:16:20 INFO: EXECUTION FAILURE 14:16:20 INFO: ------------------------------------------------------------------------ 14:16:20 INFO: Total time: 21.321s 14:16:20 INFO: Final Memory: 10M/37M 14:16:20 INFO: ------------------------------------------------------------------------ 14:16:20 ERROR: Error during SonarScanner execution 14:16:20 ERROR: 14:16:20 14:16:20 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:16:20 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:16:20 This workaround will only be effective until January 28, 2024. After this date, all scans using the deprecated Java 11 will fail. 14:16:20 14:16:20 ERROR: 14:16:20 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 14:16:21 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 14:16:21 $ ssh-agent -k 14:16:21 unset SSH_AUTH_SOCK; 14:16:21 unset SSH_AGENT_PID; 14:16:21 echo Agent pid 5697 killed; 14:16:21 [ssh-agent] Stopped. 14:16:21 ERROR: SonarQube scanner exited with non-zero code: 2 14:16:21 [PostBuildScript] - [INFO] Executing post build scripts. 14:16:21 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1849521469066046672.sh 14:16:21 ---> sysstat.sh 14:16:22 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9168280135476207319.sh 14:16:22 ---> package-listing.sh 14:16:22 ++ tr '[:upper:]' '[:lower:]' 14:16:22 ++ facter osfamily 14:16:22 + OS_FAMILY=debian 14:16:22 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 14:16:22 + START_PACKAGES=/tmp/packages_start.txt 14:16:22 + END_PACKAGES=/tmp/packages_end.txt 14:16:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:16:22 + PACKAGES=/tmp/packages_start.txt 14:16:22 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 14:16:22 + PACKAGES=/tmp/packages_end.txt 14:16:22 + case "${OS_FAMILY}" in 14:16:22 + grep '^ii' 14:16:22 + dpkg -l 14:16:22 + '[' -f /tmp/packages_start.txt ']' 14:16:22 + '[' -f /tmp/packages_end.txt ']' 14:16:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:16:22 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 14:16:22 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 14:16:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 14:16:22 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17853881934379429578.sh 14:16:22 ---> capture-instance-metadata.sh 14:16:22 Setup pyenv: 14:16:22 system 14:16:22 3.8.13 14:16:22 3.9.13 14:16:22 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:16:22 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yRla from file:/tmp/.os_lf_venv 14:16:24 lf-activate-venv(): INFO: Installing: lftools 14:16:39 lf-activate-venv(): INFO: Adding /tmp/venv-yRla/bin to PATH 14:16:39 INFO: Running in OpenStack, capturing instance metadata 14:16:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11875332293765785815.sh 14:16:40 provisioning config files... 14:16:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config17435769010747626095tmp 14:16:40 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 14:16:40 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 14:16:40 [EnvInject] - Injecting environment variables from a build step. 14:16:40 [EnvInject] - Injecting as environment variables the properties content 14:16:40 SERVER_ID=logs 14:16:40 14:16:40 [EnvInject] - Variables injected successfully. 14:16:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10661106601754601778.sh 14:16:40 ---> create-netrc.sh 14:16:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13395537819125501609.sh 14:16:40 ---> python-tools-install.sh 14:16:40 Setup pyenv: 14:16:40 system 14:16:40 3.8.13 14:16:40 3.9.13 14:16:40 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:16:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yRla from file:/tmp/.os_lf_venv 14:16:41 lf-activate-venv(): INFO: Installing: lftools 14:16:53 lf-activate-venv(): INFO: Adding /tmp/venv-yRla/bin to PATH 14:16:53 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4683106581665408503.sh 14:16:53 ---> sudo-logs.sh 14:16:53 Archiving 'sudo' log.. 14:16:53 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7177502095101226233.sh 14:16:53 ---> job-cost.sh 14:16:53 Setup pyenv: 14:16:53 system 14:16:53 3.8.13 14:16:53 3.9.13 14:16:53 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:16:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yRla from file:/tmp/.os_lf_venv 14:16:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 14:17:05 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:17:05 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 14:17:06 lf-activate-venv(): INFO: Adding /tmp/venv-yRla/bin to PATH 14:17:06 INFO: No Stack... 14:17:06 INFO: Retrieving Pricing Info for: v2-highcpu-2 14:17:07 INFO: Archiving Costs 14:17:07 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3053965314171617435.sh 14:17:07 ---> logs-deploy.sh 14:17:07 Setup pyenv: 14:17:07 system 14:17:07 3.8.13 14:17:07 3.9.13 14:17:07 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:17:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yRla from file:/tmp/.os_lf_venv 14:17:09 lf-activate-venv(): INFO: Installing: lftools 14:17:22 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:17:22 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 14:17:22 lf-activate-venv(): INFO: Adding /tmp/venv-yRla/bin to PATH 14:17:22 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/219 14:17:22 INFO: archiving workspace using pattern(s): -p **/*.log 14:17:26 Archives upload complete. 14:17:26 INFO: archiving logs to Nexus 14:17:27 ---> uname -a: 14:17:27 Linux prd-ubuntu1804-builder-2c-2g-3974 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:17:27 14:17:27 14:17:27 ---> lscpu: 14:17:27 Architecture: x86_64 14:17:27 CPU op-mode(s): 32-bit, 64-bit 14:17:27 Byte Order: Little Endian 14:17:27 Address sizes: 40 bits physical, 48 bits virtual 14:17:27 CPU(s): 2 14:17:27 On-line CPU(s) list: 0,1 14:17:27 Thread(s) per core: 1 14:17:27 Core(s) per socket: 1 14:17:27 Socket(s): 2 14:17:27 NUMA node(s): 1 14:17:27 Vendor ID: AuthenticAMD 14:17:27 CPU family: 23 14:17:27 Model: 49 14:17:27 Model name: AMD EPYC-Rome Processor 14:17:27 Stepping: 0 14:17:27 CPU MHz: 2800.022 14:17:27 BogoMIPS: 5600.04 14:17:27 Virtualization: AMD-V 14:17:27 Hypervisor vendor: KVM 14:17:27 Virtualization type: full 14:17:27 L1d cache: 64 KiB 14:17:27 L1i cache: 64 KiB 14:17:27 L2 cache: 1 MiB 14:17:27 L3 cache: 32 MiB 14:17:27 NUMA node0 CPU(s): 0,1 14:17:27 Vulnerability Itlb multihit: Not affected 14:17:27 Vulnerability L1tf: Not affected 14:17:27 Vulnerability Mds: Not affected 14:17:27 Vulnerability Meltdown: Not affected 14:17:27 Vulnerability Mmio stale data: Not affected 14:17:27 Vulnerability Retbleed: Vulnerable 14:17:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:17:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:17:27 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 14:17:27 Vulnerability Srbds: Not affected 14:17:27 Vulnerability Tsx async abort: Not affected 14:17:27 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:17:27 14:17:27 14:17:27 ---> nproc: 14:17:27 2 14:17:27 14:17:27 14:17:27 ---> df -h: 14:17:27 Filesystem Size Used Avail Use% Mounted on 14:17:27 udev 975M 0 975M 0% /dev 14:17:27 tmpfs 199M 1012K 198M 1% /run 14:17:27 /dev/vda1 20G 9.4G 9.9G 49% / 14:17:27 tmpfs 992M 0 992M 0% /dev/shm 14:17:27 tmpfs 5.0M 0 5.0M 0% /run/lock 14:17:27 tmpfs 992M 0 992M 0% /sys/fs/cgroup 14:17:27 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 14:17:27 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 14:17:27 /dev/loop0 62M 62M 0 100% /snap/core20/1405 14:17:27 /dev/vda15 105M 6.1M 99M 6% /boot/efi 14:17:27 tmpfs 199M 0 199M 0% /run/user/1001 14:17:27 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 14:17:27 /dev/loop4 64M 64M 0 100% /snap/core20/2105 14:17:27 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 14:17:27 14:17:27 14:17:27 ---> free -m: 14:17:27 total used free shared buff/cache available 14:17:27 Mem: 1983 435 176 2 1371 1353 14:17:27 Swap: 1023 3 1020 14:17:27 14:17:27 14:17:27 ---> ip addr: 14:17:27 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 14:17:27 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:17:27 inet 127.0.0.1/8 scope host lo 14:17:27 valid_lft forever preferred_lft forever 14:17:27 inet6 ::1/128 scope host 14:17:27 valid_lft forever preferred_lft forever 14:17:27 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 14:17:27 link/ether fa:16:3e:7b:51:01 brd ff:ff:ff:ff:ff:ff 14:17:27 inet 10.32.7.108/23 brd 10.32.7.255 scope global dynamic ens3 14:17:27 valid_lft 86053sec preferred_lft 86053sec 14:17:27 inet6 fe80::f816:3eff:fe7b:5101/64 scope link 14:17:27 valid_lft forever preferred_lft forever 14:17:27 14:17:27 14:17:27 ---> sar -b -r -n DEV: 14:17:27 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3974) 01/17/24 _x86_64_ (2 CPU) 14:17:27 14:17:27 14:11:43 LINUX RESTART (2 CPU) 14:17:27 14:17:27 14:12:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:17:27 14:13:01 216.49 113.69 102.80 0.00 2927.65 11498.88 0.00 14:17:27 14:14:01 87.69 5.75 81.94 0.00 369.27 11942.68 0.00 14:17:27 14:15:01 34.73 1.68 33.04 0.00 99.32 9860.49 0.00 14:17:27 14:16:01 109.85 21.38 88.47 0.00 1113.15 32244.49 0.00 14:17:27 14:17:01 96.07 43.61 52.46 0.00 3272.52 11107.75 0.00 14:17:27 Average: 108.97 37.23 71.74 0.00 1556.52 15330.48 0.00 14:17:27 14:17:27 14:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:17:27 14:13:01 178500 1434368 366056 18.03 54684 1283688 834956 27.12 445928 1214616 105884 14:17:27 14:14:01 98040 1404220 390524 19.23 66704 1306724 949944 30.85 472428 1248904 41064 14:17:27 14:15:01 79548 1329976 464872 22.89 69340 1246028 1006864 32.70 528288 1208220 12380 14:17:27 14:16:01 206036 1401604 386640 19.04 93196 1159756 910568 29.57 383636 1212580 119036 14:17:27 14:17:01 83828 1391736 385516 18.98 110376 1259532 804504 26.13 471872 1238532 88 14:17:27 Average: 129190 1392381 398722 19.63 78860 1251146 901367 29.27 460430 1224570 55690 14:17:27 14:17:27 14:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:17:27 14:13:01 ens3 103.10 85.19 863.94 22.34 0.00 0.00 0.00 0.00 14:17:27 14:13:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 14:17:27 14:14:01 ens3 35.33 35.11 282.60 11.25 0.00 0.00 0.00 0.00 14:17:27 14:14:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 14:17:27 14:15:01 ens3 94.43 82.30 1781.41 8.16 0.00 0.00 0.00 0.00 14:17:27 14:15:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 14:17:27 14:16:01 ens3 189.85 111.91 1628.17 14.53 0.00 0.00 0.00 0.00 14:17:27 14:16:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 14:17:27 14:17:01 ens3 316.66 208.50 2023.90 22.03 0.00 0.00 0.00 0.00 14:17:27 14:17:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 14:17:27 Average: ens3 147.87 104.60 1315.96 15.66 0.00 0.00 0.00 0.00 14:17:27 Average: lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 14:17:27 14:17:27 14:17:27 ---> sar -P ALL: 14:17:27 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3974) 01/17/24 _x86_64_ (2 CPU) 14:17:27 14:17:27 14:11:43 LINUX RESTART (2 CPU) 14:17:27 14:17:27 14:12:01 CPU %user %nice %system %iowait %steal %idle 14:17:27 14:13:01 all 37.47 24.58 16.68 7.54 0.10 13.63 14:17:27 14:13:01 0 38.77 23.97 15.93 7.16 0.10 14.07 14:17:27 14:13:01 1 36.18 25.18 17.43 7.91 0.10 13.20 14:17:27 14:14:01 all 31.17 0.00 2.70 7.63 0.07 58.43 14:17:27 14:14:01 0 30.98 0.00 2.67 6.14 0.05 60.15 14:17:27 14:14:01 1 31.36 0.00 2.73 9.11 0.08 56.72 14:17:27 14:15:01 all 13.83 0.00 1.19 2.07 0.06 82.85 14:17:27 14:15:01 0 21.32 0.00 1.55 3.22 0.07 73.84 14:17:27 14:15:01 1 6.44 0.00 0.83 0.92 0.05 91.76 14:17:27 14:16:01 all 41.90 0.00 3.35 4.87 0.09 49.78 14:17:27 14:16:01 0 63.57 0.00 4.49 7.77 0.10 24.08 14:17:27 14:16:01 1 20.34 0.00 2.22 1.99 0.08 75.36 14:17:27 14:17:01 all 30.97 0.00 3.63 5.47 0.07 59.85 14:17:27 14:17:01 0 22.22 0.00 3.62 6.25 0.07 67.84 14:17:27 14:17:01 1 39.69 0.00 3.64 4.70 0.08 51.89 14:17:27 Average: all 31.05 4.86 5.48 5.51 0.08 53.03 14:17:27 Average: 0 35.37 4.74 5.62 6.11 0.08 48.09 14:17:27 Average: 1 26.75 4.98 5.34 4.91 0.08 57.93 14:17:27 14:17:27 14:17:27