22:05:17 Started by user Jessica Wagantall 22:05:17 Running as SYSTEM 22:05:17 [EnvInject] - Loading node environment variables. 22:05:17 Building remotely on prd-ubuntu1804-builder-2c-2g-4094 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 22:05:17 [ssh-agent] Looking for ssh-agent implementation... 22:05:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:18 $ ssh-agent 22:05:18 SSH_AUTH_SOCK=/tmp/ssh-pRL5LzVfEBR9/agent.5877 22:05:18 SSH_AGENT_PID=5879 22:05:18 [ssh-agent] Started. 22:05:18 Running ssh-add (command line suppressed) 22:05:18 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_1857842237172379467.key (jenkins-ssh) 22:05:18 [ssh-agent] Using credentials jenkins (jenkins) 22:05:18 The recommended git tool is: NONE 22:05:20 using credential jenkins 22:05:20 Wiping out workspace first. 22:05:20 Cloning the remote Git repository 22:05:20 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 22:05:20 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 22:05:20 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 22:05:20 > git --version # timeout=10 22:05:20 > git --version # 'git version 2.25.1' 22:05:20 using GIT_SSH to set credentials jenkins 22:05:20 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:20 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 22:05:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:21 Avoid second fetch 22:05:21 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 22:05:21 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 22:05:21 > git config core.sparsecheckout # timeout=10 22:05:21 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 22:05:21 Commit message: "Fix build failure" 22:05:21 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 22:05:21 provisioning config files... 22:05:21 copy managed file [npmrc] to file:/home/jenkins/.npmrc 22:05:21 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 22:05:21 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15299922451086248775.sh 22:05:21 ---> python-tools-install.sh 22:05:21 Setup pyenv: 22:05:21 * system (set by /opt/pyenv/version) 22:05:21 * 3.8.13 (set by /opt/pyenv/version) 22:05:21 * 3.9.13 (set by /opt/pyenv/version) 22:05:21 * 3.10.6 (set by /opt/pyenv/version) 22:05:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-N1Vh 22:05:27 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 22:05:30 lf-activate-venv(): INFO: Installing: lftools 22:06:05 lf-activate-venv(): INFO: Adding /tmp/venv-N1Vh/bin to PATH 22:06:05 Generating Requirements File 22:06:38 Python 3.10.6 22:06:38 pip 23.3.2 from /tmp/venv-N1Vh/lib/python3.10/site-packages/pip (python 3.10) 22:06:38 appdirs==1.4.4 22:06:38 argcomplete==3.2.1 22:06:38 aspy.yaml==1.3.0 22:06:38 attrs==23.2.0 22:06:38 autopage==0.5.2 22:06:38 beautifulsoup4==4.12.3 22:06:38 boto3==1.34.21 22:06:38 botocore==1.34.21 22:06:38 bs4==0.0.2 22:06:38 cachetools==5.3.2 22:06:38 certifi==2023.11.17 22:06:38 cffi==1.16.0 22:06:38 cfgv==3.4.0 22:06:38 chardet==5.2.0 22:06:38 charset-normalizer==3.3.2 22:06:38 click==8.1.7 22:06:38 cliff==4.5.0 22:06:38 cmd2==2.4.3 22:06:38 cryptography==3.3.2 22:06:38 debtcollector==2.5.0 22:06:38 decorator==5.1.1 22:06:38 defusedxml==0.7.1 22:06:38 Deprecated==1.2.14 22:06:38 distlib==0.3.8 22:06:38 dnspython==2.4.2 22:06:38 docker==4.2.2 22:06:38 dogpile.cache==1.3.0 22:06:38 email-validator==2.1.0.post1 22:06:38 filelock==3.13.1 22:06:38 future==0.18.3 22:06:38 gitdb==4.0.11 22:06:38 GitPython==3.1.41 22:06:38 google-auth==2.26.2 22:06:38 httplib2==0.22.0 22:06:38 identify==2.5.33 22:06:38 idna==3.6 22:06:38 importlib-resources==1.5.0 22:06:38 iso8601==2.1.0 22:06:38 Jinja2==3.1.3 22:06:38 jmespath==1.0.1 22:06:38 jsonpatch==1.33 22:06:38 jsonpointer==2.4 22:06:38 jsonschema==4.21.0 22:06:38 jsonschema-specifications==2023.12.1 22:06:38 keystoneauth1==5.5.0 22:06:38 kubernetes==29.0.0 22:06:38 lftools==0.37.8 22:06:38 lxml==5.1.0 22:06:38 MarkupSafe==2.1.3 22:06:38 msgpack==1.0.7 22:06:38 multi_key_dict==2.0.3 22:06:38 munch==4.0.0 22:06:38 netaddr==0.10.1 22:06:38 netifaces==0.11.0 22:06:38 niet==1.4.2 22:06:38 nodeenv==1.8.0 22:06:38 oauth2client==4.1.3 22:06:38 oauthlib==3.2.2 22:06:38 openstacksdk==0.62.0 22:06:38 os-client-config==2.1.0 22:06:38 os-service-types==1.7.0 22:06:38 osc-lib==3.0.0 22:06:38 oslo.config==9.3.0 22:06:38 oslo.context==5.3.0 22:06:38 oslo.i18n==6.2.0 22:06:38 oslo.log==5.4.0 22:06:38 oslo.serialization==5.3.0 22:06:38 oslo.utils==7.0.0 22:06:38 packaging==23.2 22:06:38 pbr==6.0.0 22:06:38 platformdirs==4.1.0 22:06:38 prettytable==3.9.0 22:06:38 pyasn1==0.5.1 22:06:38 pyasn1-modules==0.3.0 22:06:38 pycparser==2.21 22:06:38 pygerrit2==2.0.15 22:06:38 PyGithub==2.1.1 22:06:38 pyinotify==0.9.6 22:06:38 PyJWT==2.8.0 22:06:38 PyNaCl==1.5.0 22:06:38 pyparsing==2.4.7 22:06:38 pyperclip==1.8.2 22:06:38 pyrsistent==0.20.0 22:06:38 python-cinderclient==9.4.0 22:06:38 python-dateutil==2.8.2 22:06:38 python-heatclient==3.4.0 22:06:38 python-jenkins==1.8.2 22:06:38 python-keystoneclient==5.3.0 22:06:38 python-magnumclient==4.3.0 22:06:38 python-novaclient==18.4.0 22:06:38 python-openstackclient==6.0.0 22:06:38 python-swiftclient==4.4.0 22:06:38 pytz==2023.3.post1 22:06:38 PyYAML==6.0.1 22:06:38 referencing==0.32.1 22:06:38 requests==2.31.0 22:06:38 requests-oauthlib==1.3.1 22:06:38 requestsexceptions==1.4.0 22:06:38 rfc3986==2.0.0 22:06:38 rpds-py==0.17.1 22:06:38 rsa==4.9 22:06:38 ruamel.yaml==0.18.5 22:06:38 ruamel.yaml.clib==0.2.8 22:06:38 s3transfer==0.10.0 22:06:38 simplejson==3.19.2 22:06:38 six==1.16.0 22:06:38 smmap==5.0.1 22:06:38 soupsieve==2.5 22:06:38 stevedore==5.1.0 22:06:38 tabulate==0.9.0 22:06:38 toml==0.10.2 22:06:38 tomlkit==0.12.3 22:06:38 tqdm==4.66.1 22:06:38 typing_extensions==4.9.0 22:06:38 tzdata==2023.4 22:06:38 urllib3==1.26.18 22:06:38 virtualenv==20.25.0 22:06:38 wcwidth==0.2.13 22:06:38 websocket-client==1.7.0 22:06:38 wrapt==1.16.0 22:06:38 xdg==6.0.0 22:06:38 xmltodict==0.13.0 22:06:38 yq==3.2.3 22:06:38 [EnvInject] - Injecting environment variables from a build step. 22:06:38 [EnvInject] - Injecting as environment variables the properties content 22:06:38 PYTHON=python3 22:06:38 22:06:38 [EnvInject] - Variables injected successfully. 22:06:38 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins2064565910067559586.sh 22:06:38 ---> tox-install.sh 22:06:38 + source /home/jenkins/lf-env.sh 22:06:38 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 22:06:38 ++ mktemp -d /tmp/venv-XXXX 22:06:38 + lf_venv=/tmp/venv-iWCr 22:06:38 + local venv_file=/tmp/.os_lf_venv 22:06:38 + local python=python3 22:06:38 + local options 22:06:38 + local set_path=true 22:06:38 + local install_args= 22:06:38 ++ 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 22:06:38 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:06:38 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:06:38 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 22:06:38 + true 22:06:38 + case $1 in 22:06:38 + venv_file=/tmp/.toxenv 22:06:38 + shift 2 22:06:38 + true 22:06:38 + case $1 in 22:06:38 + shift 22:06:38 + break 22:06:38 + case $python in 22:06:38 + local pkg_list= 22:06:38 + [[ -d /opt/pyenv ]] 22:06:38 + echo 'Setup pyenv:' 22:06:38 Setup pyenv: 22:06:38 + export PYENV_ROOT=/opt/pyenv 22:06:38 + PYENV_ROOT=/opt/pyenv 22:06:38 + 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 22:06:38 + 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 22:06:38 + pyenv versions 22:06:39 system 22:06:39 3.8.13 22:06:39 3.9.13 22:06:39 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:06:39 + command -v pyenv 22:06:39 ++ pyenv init - --no-rehash 22:06:39 + 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[*]}"'\'')" 22:06:39 export PATH="/opt/pyenv/shims:${PATH}" 22:06:39 export PYENV_SHELL=bash 22:06:39 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 22:06:39 pyenv() { 22:06:39 local command 22:06:39 command="${1:-}" 22:06:39 if [ "$#" -gt 0 ]; then 22:06:39 shift 22:06:39 fi 22:06:39 22:06:39 case "$command" in 22:06:39 rehash|shell) 22:06:39 eval "$(pyenv "sh-$command" "$@")" 22:06:39 ;; 22:06:39 *) 22:06:39 command pyenv "$command" "$@" 22:06:39 ;; 22:06:39 esac 22:06:39 }' 22:06:39 +++ 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[*]}"' 22:06:39 ++ 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 22:06:39 ++ 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 22:06:39 ++ 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 22:06:39 ++ export PYENV_SHELL=bash 22:06:39 ++ PYENV_SHELL=bash 22:06:39 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 22:06:39 +++ complete -F _pyenv pyenv 22:06:39 ++ lf-pyver python3 22:06:39 ++ local py_version_xy=python3 22:06:39 ++ local py_version_xyz= 22:06:39 ++ grep -E '^[0-9.]*[0-9]$' 22:06:39 ++ awk '{ print $1 }' 22:06:39 ++ sed 's/^[ *]* //' 22:06:39 ++ pyenv versions 22:06:39 ++ local command 22:06:39 ++ command=versions 22:06:39 ++ '[' 1 -gt 0 ']' 22:06:39 ++ shift 22:06:39 ++ case "$command" in 22:06:39 ++ command pyenv versions 22:06:39 ++ pyenv versions 22:06:39 ++ [[ ! -s /tmp/.pyenv_versions ]] 22:06:39 +++ grep '^3' /tmp/.pyenv_versions 22:06:39 +++ tail -n 1 22:06:39 +++ sort -V 22:06:39 ++ py_version_xyz=3.10.6 22:06:39 ++ [[ -z 3.10.6 ]] 22:06:39 ++ echo 3.10.6 22:06:39 ++ return 0 22:06:39 + pyenv local 3.10.6 22:06:39 + local command 22:06:39 + command=local 22:06:39 + '[' 2 -gt 0 ']' 22:06:39 + shift 22:06:39 + case "$command" in 22:06:39 + command pyenv local 3.10.6 22:06:39 + pyenv local 3.10.6 22:06:39 + for arg in "$@" 22:06:39 + case $arg in 22:06:39 + pkg_list+='tox ' 22:06:39 + for arg in "$@" 22:06:39 + case $arg in 22:06:39 + pkg_list+='virtualenv ' 22:06:39 + for arg in "$@" 22:06:39 + case $arg in 22:06:39 + pkg_list+='urllib3~=1.26.15 ' 22:06:39 + [[ -f /tmp/.toxenv ]] 22:06:39 + [[ ! -f /tmp/.toxenv ]] 22:06:39 + [[ -n '' ]] 22:06:39 + python3 -m venv /tmp/venv-iWCr 22:06:42 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iWCr' 22:06:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iWCr 22:06:42 + echo /tmp/venv-iWCr 22:06:42 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 22:06:42 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 22:06:42 + /tmp/venv-iWCr/bin/python3 -m pip install --upgrade --quiet pip virtualenv 22:06:46 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 22:06:46 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 22:06:46 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 22:06:46 + /tmp/venv-iWCr/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 22:06:49 + type python3 22:06:49 + true 22:06:49 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-iWCr/bin to PATH' 22:06:49 lf-activate-venv(): INFO: Adding /tmp/venv-iWCr/bin to PATH 22:06:49 + PATH=/tmp/venv-iWCr/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 22:06:49 + return 0 22:06:49 + python3 --version 22:06:49 Python 3.10.6 22:06:49 + python3 -m pip --version 22:06:49 pip 23.3.2 from /tmp/venv-iWCr/lib/python3.10/site-packages/pip (python 3.10) 22:06:49 + python3 -m pip freeze 22:06:49 cachetools==5.3.2 22:06:49 chardet==5.2.0 22:06:49 colorama==0.4.6 22:06:49 distlib==0.3.8 22:06:49 filelock==3.13.1 22:06:49 packaging==23.2 22:06:49 platformdirs==4.1.0 22:06:49 pluggy==1.3.0 22:06:49 pyproject-api==1.6.1 22:06:49 tomli==2.0.1 22:06:49 tox==4.12.1 22:06:49 urllib3==1.26.18 22:06:49 virtualenv==20.25.0 22:06:50 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins298627031443670681.sh 22:06:50 [EnvInject] - Injecting environment variables from a build step. 22:06:50 [EnvInject] - Injecting as environment variables the properties content 22:06:50 PARALLEL=False 22:06:50 22:06:50 [EnvInject] - Variables injected successfully. 22:06:50 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12072002840467336202.sh 22:06:50 ---> tox-run.sh 22:06:50 + 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 22:06:50 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 22:06:50 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 22:06:50 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 22:06:50 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 22:06:50 + source /home/jenkins/lf-env.sh 22:06:50 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 22:06:50 ++ mktemp -d /tmp/venv-XXXX 22:06:50 + lf_venv=/tmp/venv-VdFa 22:06:50 + local venv_file=/tmp/.os_lf_venv 22:06:50 + local python=python3 22:06:50 + local options 22:06:50 + local set_path=true 22:06:50 + local install_args= 22:06:50 ++ 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 22:06:50 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:06:50 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:06:50 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 22:06:50 + true 22:06:50 + case $1 in 22:06:50 + venv_file=/tmp/.toxenv 22:06:50 + shift 2 22:06:50 + true 22:06:50 + case $1 in 22:06:50 + shift 22:06:50 + break 22:06:50 + case $python in 22:06:50 + local pkg_list= 22:06:50 + [[ -d /opt/pyenv ]] 22:06:50 + echo 'Setup pyenv:' 22:06:50 Setup pyenv: 22:06:50 + export PYENV_ROOT=/opt/pyenv 22:06:50 + PYENV_ROOT=/opt/pyenv 22:06:50 + 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 22:06:50 + 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 22:06:50 + pyenv versions 22:06:50 system 22:06:50 3.8.13 22:06:50 3.9.13 22:06:50 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:06:50 + command -v pyenv 22:06:50 ++ pyenv init - --no-rehash 22:06:50 + 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[*]}"'\'')" 22:06:50 export PATH="/opt/pyenv/shims:${PATH}" 22:06:50 export PYENV_SHELL=bash 22:06:50 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 22:06:50 pyenv() { 22:06:50 local command 22:06:50 command="${1:-}" 22:06:50 if [ "$#" -gt 0 ]; then 22:06:50 shift 22:06:50 fi 22:06:50 22:06:50 case "$command" in 22:06:50 rehash|shell) 22:06:50 eval "$(pyenv "sh-$command" "$@")" 22:06:50 ;; 22:06:50 *) 22:06:50 command pyenv "$command" "$@" 22:06:50 ;; 22:06:50 esac 22:06:50 }' 22:06:50 +++ 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[*]}"' 22:06:50 ++ 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 22:06:50 ++ 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 22:06:50 ++ 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 22:06:50 ++ export PYENV_SHELL=bash 22:06:50 ++ PYENV_SHELL=bash 22:06:50 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 22:06:50 +++ complete -F _pyenv pyenv 22:06:50 ++ lf-pyver python3 22:06:50 ++ local py_version_xy=python3 22:06:50 ++ local py_version_xyz= 22:06:50 ++ pyenv versions 22:06:50 ++ local command 22:06:50 ++ command=versions 22:06:50 ++ '[' 1 -gt 0 ']' 22:06:50 ++ shift 22:06:50 ++ case "$command" in 22:06:50 ++ command pyenv versions 22:06:50 ++ pyenv versions 22:06:50 ++ grep -E '^[0-9.]*[0-9]$' 22:06:50 ++ awk '{ print $1 }' 22:06:50 ++ sed 's/^[ *]* //' 22:06:50 ++ [[ ! -s /tmp/.pyenv_versions ]] 22:06:50 +++ grep '^3' /tmp/.pyenv_versions 22:06:50 +++ sort -V 22:06:50 +++ tail -n 1 22:06:50 ++ py_version_xyz=3.10.6 22:06:50 ++ [[ -z 3.10.6 ]] 22:06:50 ++ echo 3.10.6 22:06:50 ++ return 0 22:06:50 + pyenv local 3.10.6 22:06:50 + local command 22:06:50 + command=local 22:06:50 + '[' 2 -gt 0 ']' 22:06:50 + shift 22:06:50 + case "$command" in 22:06:50 + command pyenv local 3.10.6 22:06:50 + pyenv local 3.10.6 22:06:50 + for arg in "$@" 22:06:50 + case $arg in 22:06:50 + pkg_list+='tox ' 22:06:50 + for arg in "$@" 22:06:50 + case $arg in 22:06:50 + pkg_list+='virtualenv ' 22:06:50 + for arg in "$@" 22:06:50 + case $arg in 22:06:50 + pkg_list+='urllib3~=1.26.15 ' 22:06:50 + [[ -f /tmp/.toxenv ]] 22:06:50 ++ cat /tmp/.toxenv 22:06:50 + lf_venv=/tmp/venv-iWCr 22:06:50 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-iWCr from' file:/tmp/.toxenv 22:06:50 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-iWCr from file:/tmp/.toxenv 22:06:50 + /tmp/venv-iWCr/bin/python3 -m pip install --upgrade --quiet pip virtualenv 22:06:51 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 22:06:51 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 22:06:51 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 22:06:51 + /tmp/venv-iWCr/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 22:06:52 + type python3 22:06:52 + true 22:06:52 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-iWCr/bin to PATH' 22:06:52 lf-activate-venv(): INFO: Adding /tmp/venv-iWCr/bin to PATH 22:06:52 + PATH=/tmp/venv-iWCr/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 22:06:52 + return 0 22:06:52 + [[ -d /opt/pyenv ]] 22:06:52 + echo '---> Setting up pyenv' 22:06:52 ---> Setting up pyenv 22:06:52 + export PYENV_ROOT=/opt/pyenv 22:06:52 + PYENV_ROOT=/opt/pyenv 22:06:52 + export PATH=/opt/pyenv/bin:/tmp/venv-iWCr/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 22:06:52 + PATH=/opt/pyenv/bin:/tmp/venv-iWCr/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 22:06:52 ++ pwd 22:06:52 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 22:06:52 + export PYTHONPATH 22:06:52 + export TOX_TESTENV_PASSENV=PYTHONPATH 22:06:52 + TOX_TESTENV_PASSENV=PYTHONPATH 22:06:52 + tox --version 22:06:52 4.12.1 from /tmp/venv-iWCr/lib/python3.10/site-packages/tox/__init__.py 22:06:52 + PARALLEL=False 22:06:52 + TOX_OPTIONS_LIST= 22:06:52 + [[ -n '' ]] 22:06:52 + case ${PARALLEL,,} in 22:06:52 + tox 22:06:52 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 22:06:53 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 22:07:01 code: freeze> python -m pip freeze --all 22:07:01 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 22:07:01 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 22:07:02 ============================= test session starts ============================== 22:07:02 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 22:07:02 cachedir: .tox/code/.pytest_cache 22:07:02 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 22:07:02 plugins: cov-4.1.0 22:07:02 collected 4 items 22:07:02 22:07:02 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:07:02 -------------------------------- live log setup -------------------------------- 22:07:02 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:07:02 Please install connexion with extra install: pip install connexion[swagger-ui] 22:07:02 or provide the path to your local installation by passing swagger_path= 22:07:02 22:07:02 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:07:02 Please install connexion with extra install: pip install connexion[swagger-ui] 22:07:02 or provide the path to your local installation by passing swagger_path= 22:07:02 22:07:02 PASSED [ 25%] 22:07:02 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 22:07:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 22:07:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 22:07:12 -------------------------------- live log call --------------------------------- 22:07:12 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. 22:07:12 * Running on http://127.0.0.1:8086 22:07:12 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 22:07:22 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 22:07:22] "POST /statustest HTTP/1.1" 201 - 22:07:22 PASSED [100%] 22:07:23 22:07:23 =============================== warnings summary =============================== 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:07:23 /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. 22:07:23 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 22:07:23 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:07:23 /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. 22:07:23 from jsonschema import Draft4Validator, RefResolver 22:07:23 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:07:23 /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. 22:07:23 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 22:07:23 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:07:23 /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. 22:07:23 app.json_encoder = FlaskJSONEncoder 22:07:23 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 22:07:23 /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. 22:07:23 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:07:23 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 22:07:23 /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. 22:07:23 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:07:23 22:07:23 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22:07:23 22:07:23 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 22:07:23 Name Stmts Miss Cover Missing 22:07:23 --------------------------------------------------------------------------------------------------------- 22:07:23 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 22:07:23 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 22:07:23 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 22:07:23 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 22:07:23 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 22:07:23 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 22:07:23 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 22:07:23 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 22:07:23 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 22:07:23 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 22:07:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 22:07:23 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 22:07:23 --------------------------------------------------------------------------------------------------------- 22:07:23 TOTAL 973 113 88% 22:07:23 Coverage HTML written to dir htmlcov 22:07:23 Coverage XML written to file coverage.xml 22:07:23 22:07:23 Required test coverage of 70% reached. Total coverage: 88.39% 22:07:23 ======================= 4 passed, 118 warnings in 21.41s ======================= 22:07:23 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 22:07:23 ============================= test session starts ============================== 22:07:23 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 22:07:23 cachedir: .tox/code/.pytest_cache 22:07:23 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 22:07:23 plugins: cov-4.1.0 22:07:23 collected 1 item 22:07:23 22:07:23 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:24 -------------------------------- live log setup -------------------------------- 22:07:24 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:07:24 Please install connexion with extra install: pip install connexion[swagger-ui] 22:07:24 or provide the path to your local installation by passing swagger_path= 22:07:24 22:07:24 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:07:24 Please install connexion with extra install: pip install connexion[swagger-ui] 22:07:24 or provide the path to your local installation by passing swagger_path= 22:07:24 22:07:34 PASSED [100%] 22:07:34 22:07:34 =============================== warnings summary =============================== 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 /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. 22:07:34 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 /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. 22:07:34 from jsonschema import Draft4Validator, RefResolver 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 /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. 22:07:34 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 /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. 22:07:34 app.json_encoder = FlaskJSONEncoder 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 /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. 22:07:34 for error in instance_validator.iter_errors(instance['default'], instance): 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 22:07:34 /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. 22:07:34 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 22:07:34 /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. 22:07:34 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 /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. 22:07:34 warnings.warn( 22:07:34 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:07:34 /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. 22:07:34 return json.dumps(obj, **kwargs) 22:07:34 22:07:34 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22:07:34 22:07:34 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 22:07:34 Name Stmts Miss Cover Missing 22:07:34 --------------------------------------------------------------------------------------------------------- 22:07:34 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 22:07:34 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 22:07:34 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 22:07:34 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 22:07:34 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 22:07:34 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 22:07:34 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 22:07:34 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 22:07:34 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 22:07:34 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 22:07:34 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 22:07:34 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 22:07:34 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 22:07:34 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 22:07:34 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 22:07:34 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 22:07:34 --------------------------------------------------------------------------------------------------------- 22:07:34 TOTAL 1440 152 89% 22:07:34 Coverage HTML written to dir htmlcov 22:07:34 Coverage XML written to file coverage.xml 22:07:34 22:07:34 Required test coverage of 70% reached. Total coverage: 89.44% 22:07:34 ======================= 1 passed, 65 warnings in 11.16s ======================== 22:07:34 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 22:07:35 ============================= test session starts ============================== 22:07:35 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 22:07:35 cachedir: .tox/code/.pytest_cache 22:07:35 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 22:07:35 plugins: cov-4.1.0 22:07:35 collected 4 items 22:07:35 22:07:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:35 -------------------------------- live log setup -------------------------------- 22:07:35 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:07:35 Please install connexion with extra install: pip install connexion[swagger-ui] 22:07:35 or provide the path to your local installation by passing swagger_path= 22:07:35 22:07:35 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:07:35 Please install connexion with extra install: pip install connexion[swagger-ui] 22:07:35 or provide the path to your local installation by passing swagger_path= 22:07:35 22:07:35 PASSED [ 25%] 22:07:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 22:07:45 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 22:07:45 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 22:07:45 -------------------------------- live log call --------------------------------- 22:07:45 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. 22:07:45 * Running on http://127.0.0.1:8086 22:07:45 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 22:07:55 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 22:07:55] "POST /statustest HTTP/1.1" 200 - 22:07:56 PASSED [100%] 22:07:56 22:07:56 =============================== warnings summary =============================== 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:56 /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. 22:07:56 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 22:07:56 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:56 /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. 22:07:56 from jsonschema import Draft4Validator, RefResolver 22:07:56 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:56 /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. 22:07:56 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 22:07:56 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:56 /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. 22:07:56 app.json_encoder = FlaskJSONEncoder 22:07:56 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:07:56 /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. 22:07:56 for error in instance_validator.iter_errors(instance['default'], instance): 22:07:56 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 22:07:56 /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. 22:07:56 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:07:56 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 22:07:56 /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. 22:07:56 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:07:56 22:07:56 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22:07:56 22:07:56 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 22:07:56 Name Stmts Miss Cover Missing 22:07:56 --------------------------------------------------------------------------------------------------------- 22:07:56 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 22:07:56 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 22:07:56 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 22:07:56 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 22:07:56 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 22:07:56 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 22:07:56 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 22:07:56 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 22:07:56 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 22:07:56 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 22:07:56 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 22:07:56 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 22:07:56 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 22:07:56 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 22:07:56 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 22:07:56 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 22:07:56 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 22:07:56 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 22:07:56 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 22:07:56 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 22:07:56 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 22:07:56 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 22:07:56 --------------------------------------------------------------------------------------------------------- 22:07:56 TOTAL 2219 282 87% 22:07:56 Coverage HTML written to dir htmlcov 22:07:56 Coverage XML written to file coverage.xml 22:07:56 22:07:56 Required test coverage of 70% reached. Total coverage: 87.29% 22:07:56 ======================= 4 passed, 65 warnings in 21.49s ======================== 22:07:56 code: commands[3]> coverage xml -i 22:07:56 Wrote XML report to coverage.xml 22:07:57 code: OK ✔ in 1 minute 3.89 seconds 22:07:57 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 22:08:42 docs: freeze> python -m pip freeze --all 22:08:42 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 22:08:42 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 22:08:42 Running Sphinx v5.3.0 22:08:43 making output directory... done 22:08:43 building [mo]: targets for 0 po files that are out of date 22:08:43 building [html]: targets for 6 source files that are out of date 22:08:43 updating environment: [new config] 6 added, 0 changed, 0 removed 22:08:43 reading sources... [ 16%] callout-server 22:08:43 reading sources... [ 33%] index 22:08:43 reading sources... [ 50%] kafka-message-dispatcher 22:08:43 reading sources... [ 66%] overview 22:08:43 reading sources... [ 83%] release-notes 22:08:43 reading sources... [100%] simulator-api 22:08:43 22:08:43 looking for now-outdated files... none found 22:08:43 pickling environment... done 22:08:43 checking consistency... done 22:08:43 preparing documents... done 22:08:43 writing output... [ 16%] callout-server 22:08:43 writing output... [ 33%] index 22:08:43 writing output... [ 50%] kafka-message-dispatcher 22:08:43 writing output... [ 66%] overview 22:08:43 writing output... [ 83%] release-notes 22:08:43 writing output... [100%] simulator-api 22:08:43 22:08:43 generating indices... genindex done 22:08:43 writing additional pages... search done 22:08:43 copying images... [100%] images/yaml_logo.png 22:08:43 22:08:43 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 22:08:43 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 22:08:43 22:08:44 copying static files... done 22:08:44 copying extra files... done 22:08:44 dumping search index in English (code: en)... done 22:08:44 dumping object inventory... done 22:08:44 build succeeded. 22:08:44 22:08:44 The HTML pages are in docs/_build/html. 22:08:44 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 22:08:44 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 22:08:44 docs: OK ✔ in 47.24 seconds 22:08:44 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 22:09:07 docs-linkcheck: freeze> python -m pip freeze --all 22:09:08 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 22:09:08 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 22:09:08 Running Sphinx v5.3.0 22:09:08 making output directory... done 22:09:08 building [mo]: targets for 0 po files that are out of date 22:09:08 building [linkcheck]: targets for 6 source files that are out of date 22:09:08 updating environment: [new config] 6 added, 0 changed, 0 removed 22:09:08 reading sources... [ 16%] callout-server 22:09:08 reading sources... [ 33%] index 22:09:08 reading sources... [ 50%] kafka-message-dispatcher 22:09:08 reading sources... [ 66%] overview 22:09:09 reading sources... [ 83%] release-notes 22:09:09 reading sources... [100%] simulator-api 22:09:09 22:09:09 looking for now-outdated files... none found 22:09:09 pickling environment... done 22:09:09 checking consistency... done 22:09:09 preparing documents... done 22:09:09 writing output... [ 16%] callout-server 22:09:09 writing output... [ 33%] index 22:09:09 writing output... [ 50%] kafka-message-dispatcher 22:09:09 writing output... [ 66%] overview 22:09:09 writing output... [ 83%] release-notes 22:09:09 writing output... [100%] simulator-api 22:09:09 22:09:09 22:09:09 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 22:09:09 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 22:09:09 ( 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 22:09:09 ( 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 22:09:09 ( 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 22:09:09 build succeeded. 22:09:09 22:09:09 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 22:09:09 code: OK (63.89=setup[8.44]+cmd[21.83,11.48,21.81,0.32] seconds) 22:09:09 docs: OK (47.24=setup[45.66]+cmd[1.56,0.02] seconds) 22:09:09 docs-linkcheck: OK (25.30=setup[24.07]+cmd[1.24] seconds) 22:09:09 congratulations :) (136.59 seconds) 22:09:09 + tox_status=0 22:09:09 + echo '---> Completed tox runs' 22:09:09 ---> Completed tox runs 22:09:09 + for i in .tox/*/log 22:09:09 ++ echo .tox/code/log 22:09:09 ++ awk -F/ '{print $2}' 22:09:09 + tox_env=code 22:09:09 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 22:09:09 + for i in .tox/*/log 22:09:09 ++ echo .tox/docs-linkcheck/log 22:09:09 ++ awk -F/ '{print $2}' 22:09:09 + tox_env=docs-linkcheck 22:09:09 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 22:09:09 + for i in .tox/*/log 22:09:09 ++ echo .tox/docs/log 22:09:09 ++ awk -F/ '{print $2}' 22:09:09 + tox_env=docs 22:09:09 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 22:09:09 + DOC_DIR=docs/_build/html 22:09:09 + [[ -d docs/_build/html ]] 22:09:09 + echo '---> Archiving generated docs' 22:09:09 ---> Archiving generated docs 22:09:09 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 22:09:09 + echo '---> tox-run.sh ends' 22:09:09 ---> tox-run.sh ends 22:09:09 + test 0 -eq 0 22:09:09 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-4094 22:09:10 [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 22:09:10 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 22:09:10 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 22:09:10 INFO: Project root configuration file: NONE 22:09:10 INFO: SonarScanner 4.6.2.2472 22:09:10 INFO: Java 11.0.18 Ubuntu (64-bit) 22:09:10 INFO: Linux 5.4.0-146-generic amd64 22:09:11 INFO: User cache: /home/jenkins/.sonar/cache 22:09:12 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 22:09:12 INFO: Project root configuration file: NONE 22:09:12 INFO: Analyzing on SonarCloud 22:09:12 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 22:09:13 INFO: Load global settings 22:09:14 INFO: Load global settings (done) | time=598ms 22:09:14 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 22:09:14 INFO: User cache: /home/jenkins/.sonar/cache 22:09:14 INFO: Loading required plugins 22:09:14 INFO: Load plugins index 22:09:14 INFO: Load plugins index (done) | time=254ms 22:09:14 INFO: Load/download plugins 22:09:15 INFO: Load/download plugins (done) | time=1311ms 22:09:16 INFO: Found an active CI vendor: 'Jenkins' 22:09:16 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 22:09:16 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=242ms 22:09:16 INFO: Process project properties 22:09:16 INFO: Project key: o-ran-sc_sim-a1-interface 22:09:16 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 22:09:16 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 22:09:17 INFO: Load project branches 22:09:17 INFO: Load project branches (done) | time=564ms 22:09:17 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 22:09:17 INFO: Detected project binding: NOT_BOUND 22:09:17 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=191ms 22:09:17 INFO: Load project pull requests 22:09:18 INFO: Load project pull requests (done) | time=530ms 22:09:18 INFO: Load branch configuration 22:09:18 INFO: Load branch configuration (done) | time=1ms 22:09:18 INFO: Load quality profiles 22:09:18 INFO: Load quality profiles (done) | time=322ms 22:09:18 INFO: Load active rules 22:09:29 INFO: Load active rules (done) | time=10796ms 22:09:29 INFO: Organization key: o-ran-sc 22:09:29 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. 22:09:29 INFO: Preprocessing files... 22:09:30 INFO: 4 languages detected in 112 preprocessed files 22:09:30 INFO: 0 files ignored because of inclusion/exclusion patterns 22:09:30 INFO: 22 files ignored because of scm ignore settings 22:09:30 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. 22:09:30 INFO: ------------------------------------------------------------------------ 22:09:30 INFO: EXECUTION FAILURE 22:09:30 INFO: ------------------------------------------------------------------------ 22:09:30 INFO: Total time: 19.555s 22:09:30 INFO: Final Memory: 10M/37M 22:09:30 INFO: ------------------------------------------------------------------------ 22:09:30 ERROR: Error during SonarScanner execution 22:09:30 ERROR: 22:09:30 22:09:30 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. 22:09:30 As a temporary measure, you can set the property 'sonar.scanner.force-deprecated-java-version' to 'true' to continue using Java 11.0.18 22:09:30 This workaround will only be effective until January 28, 2024. After this date, all scans using the deprecated Java 11 will fail. 22:09:30 22:09:30 ERROR: 22:09:30 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 22:09:31 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 22:09:31 $ ssh-agent -k 22:09:31 unset SSH_AUTH_SOCK; 22:09:31 unset SSH_AGENT_PID; 22:09:31 echo Agent pid 5879 killed; 22:09:31 [ssh-agent] Stopped. 22:09:31 ERROR: SonarQube scanner exited with non-zero code: 2 22:09:31 [PostBuildScript] - [INFO] Executing post build scripts. 22:09:31 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17614779124237597853.sh 22:09:31 ---> sysstat.sh 22:09:32 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15375604413357337322.sh 22:09:32 ---> package-listing.sh 22:09:32 ++ tr '[:upper:]' '[:lower:]' 22:09:32 ++ facter osfamily 22:09:32 + OS_FAMILY=debian 22:09:32 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 22:09:32 + START_PACKAGES=/tmp/packages_start.txt 22:09:32 + END_PACKAGES=/tmp/packages_end.txt 22:09:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:09:32 + PACKAGES=/tmp/packages_start.txt 22:09:32 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 22:09:32 + PACKAGES=/tmp/packages_end.txt 22:09:32 + case "${OS_FAMILY}" in 22:09:32 + grep '^ii' 22:09:32 + dpkg -l 22:09:32 + '[' -f /tmp/packages_start.txt ']' 22:09:32 + '[' -f /tmp/packages_end.txt ']' 22:09:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:09:32 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 22:09:32 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 22:09:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 22:09:32 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4361037089044156112.sh 22:09:32 ---> capture-instance-metadata.sh 22:09:32 Setup pyenv: 22:09:32 system 22:09:32 3.8.13 22:09:32 3.9.13 22:09:32 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:09:32 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-N1Vh from file:/tmp/.os_lf_venv 22:09:34 lf-activate-venv(): INFO: Installing: lftools 22:09:48 lf-activate-venv(): INFO: Adding /tmp/venv-N1Vh/bin to PATH 22:09:48 INFO: Running in OpenStack, capturing instance metadata 22:09:48 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2189725877287384548.sh 22:09:48 provisioning config files... 22:09:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config1867895484230266872tmp 22:09:48 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 22:09:48 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 22:09:48 [EnvInject] - Injecting environment variables from a build step. 22:09:48 [EnvInject] - Injecting as environment variables the properties content 22:09:48 SERVER_ID=logs 22:09:48 22:09:48 [EnvInject] - Variables injected successfully. 22:09:48 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16119566655476081193.sh 22:09:48 ---> create-netrc.sh 22:09:49 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10686092902963452365.sh 22:09:49 ---> python-tools-install.sh 22:09:49 Setup pyenv: 22:09:49 system 22:09:49 3.8.13 22:09:49 3.9.13 22:09:49 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:09:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-N1Vh from file:/tmp/.os_lf_venv 22:09:50 lf-activate-venv(): INFO: Installing: lftools 22:10:03 lf-activate-venv(): INFO: Adding /tmp/venv-N1Vh/bin to PATH 22:10:03 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1803091931001300877.sh 22:10:03 ---> sudo-logs.sh 22:10:03 Archiving 'sudo' log.. 22:10:04 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1494987699246072476.sh 22:10:04 ---> job-cost.sh 22:10:04 Setup pyenv: 22:10:04 system 22:10:04 3.8.13 22:10:04 3.9.13 22:10:04 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:10:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-N1Vh from file:/tmp/.os_lf_venv 22:10:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 22:10:15 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. 22:10:15 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 22:10:15 lf-activate-venv(): INFO: Adding /tmp/venv-N1Vh/bin to PATH 22:10:15 INFO: No Stack... 22:10:16 INFO: Retrieving Pricing Info for: v2-highcpu-2 22:10:16 INFO: Archiving Costs 22:10:16 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins14752547767595865390.sh 22:10:16 ---> logs-deploy.sh 22:10:16 Setup pyenv: 22:10:16 system 22:10:16 3.8.13 22:10:16 3.9.13 22:10:16 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:10:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-N1Vh from file:/tmp/.os_lf_venv 22:10:18 lf-activate-venv(): INFO: Installing: lftools 22:10:31 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. 22:10:31 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 22:10:31 lf-activate-venv(): INFO: Adding /tmp/venv-N1Vh/bin to PATH 22:10:31 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/223 22:10:31 INFO: archiving workspace using pattern(s): -p **/*.log 22:10:34 Archives upload complete. 22:10:34 INFO: archiving logs to Nexus 22:10:35 ---> uname -a: 22:10:35 Linux prd-ubuntu1804-builder-2c-2g-4094 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 22:10:35 22:10:35 22:10:35 ---> lscpu: 22:10:35 Architecture: x86_64 22:10:35 CPU op-mode(s): 32-bit, 64-bit 22:10:35 Byte Order: Little Endian 22:10:35 Address sizes: 40 bits physical, 48 bits virtual 22:10:35 CPU(s): 2 22:10:35 On-line CPU(s) list: 0,1 22:10:35 Thread(s) per core: 1 22:10:35 Core(s) per socket: 1 22:10:35 Socket(s): 2 22:10:35 NUMA node(s): 1 22:10:35 Vendor ID: AuthenticAMD 22:10:35 CPU family: 23 22:10:35 Model: 49 22:10:35 Model name: AMD EPYC-Rome Processor 22:10:35 Stepping: 0 22:10:35 CPU MHz: 2799.998 22:10:35 BogoMIPS: 5599.99 22:10:35 Virtualization: AMD-V 22:10:35 Hypervisor vendor: KVM 22:10:35 Virtualization type: full 22:10:35 L1d cache: 64 KiB 22:10:35 L1i cache: 64 KiB 22:10:35 L2 cache: 1 MiB 22:10:35 L3 cache: 32 MiB 22:10:35 NUMA node0 CPU(s): 0,1 22:10:35 Vulnerability Itlb multihit: Not affected 22:10:35 Vulnerability L1tf: Not affected 22:10:35 Vulnerability Mds: Not affected 22:10:35 Vulnerability Meltdown: Not affected 22:10:35 Vulnerability Mmio stale data: Not affected 22:10:35 Vulnerability Retbleed: Vulnerable 22:10:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:10:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:10:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 22:10:35 Vulnerability Srbds: Not affected 22:10:35 Vulnerability Tsx async abort: Not affected 22:10:35 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 22:10:35 22:10:35 22:10:35 ---> nproc: 22:10:35 2 22:10:35 22:10:35 22:10:35 ---> df -h: 22:10:35 Filesystem Size Used Avail Use% Mounted on 22:10:35 udev 975M 0 975M 0% /dev 22:10:35 tmpfs 199M 1012K 198M 1% /run 22:10:35 /dev/vda1 20G 9.4G 9.9G 49% / 22:10:35 tmpfs 992M 0 992M 0% /dev/shm 22:10:35 tmpfs 5.0M 0 5.0M 0% /run/lock 22:10:35 tmpfs 992M 0 992M 0% /sys/fs/cgroup 22:10:35 /dev/loop0 62M 62M 0 100% /snap/core20/1405 22:10:35 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 22:10:35 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 22:10:35 /dev/vda15 105M 6.1M 99M 6% /boot/efi 22:10:35 tmpfs 199M 0 199M 0% /run/user/1001 22:10:35 /dev/loop3 64M 64M 0 100% /snap/core20/2105 22:10:35 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 22:10:35 22:10:35 22:10:35 ---> free -m: 22:10:35 total used free shared buff/cache available 22:10:35 Mem: 1983 421 163 2 1398 1375 22:10:35 Swap: 1023 2 1021 22:10:35 22:10:35 22:10:35 ---> ip addr: 22:10:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 22:10:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:10:35 inet 127.0.0.1/8 scope host lo 22:10:35 valid_lft forever preferred_lft forever 22:10:35 inet6 ::1/128 scope host 22:10:35 valid_lft forever preferred_lft forever 22:10:35 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 22:10:35 link/ether fa:16:3e:9d:3f:38 brd ff:ff:ff:ff:ff:ff 22:10:35 inet 10.32.6.191/23 brd 10.32.7.255 scope global dynamic ens3 22:10:35 valid_lft 86062sec preferred_lft 86062sec 22:10:35 inet6 fe80::f816:3eff:fe9d:3f38/64 scope link 22:10:35 valid_lft forever preferred_lft forever 22:10:35 22:10:35 22:10:35 ---> sar -b -r -n DEV: 22:10:35 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4094) 01/18/24 _x86_64_ (2 CPU) 22:10:35 22:10:35 22:05:00 LINUX RESTART (2 CPU) 22:10:35 22:10:35 22:06:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:10:35 22:07:01 102.07 20.86 81.20 0.00 429.13 11257.19 0.00 22:10:35 22:08:01 18.36 1.68 16.68 0.00 81.59 3855.76 0.00 22:10:35 22:09:01 98.77 3.15 95.62 0.00 285.95 32020.80 0.00 22:10:35 22:10:01 83.85 42.76 41.09 0.00 2224.83 15859.76 0.00 22:10:35 Average: 75.76 17.11 58.65 0.00 755.37 15748.38 0.00 22:10:35 22:10:35 22:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:10:35 22:07:01 125720 1443596 348920 17.18 68944 1316456 874456 28.40 444604 1245480 97672 22:10:35 22:08:01 69864 1372080 420124 20.69 69756 1297420 962272 31.25 530784 1211620 30084 22:10:35 22:09:01 97612 1374032 415396 20.46 90120 1243120 953796 30.97 459028 1246800 118504 22:10:35 22:10:01 88932 1388260 397208 19.56 94884 1257260 882316 28.65 436328 1271028 38532 22:10:35 Average: 95532 1394492 395412 19.47 80926 1278564 918210 29.82 467686 1243732 71198 22:10:35 22:10:35 22:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:10:35 22:07:01 ens3 39.83 37.79 369.91 7.50 0.00 0.00 0.00 0.00 22:10:35 22:07:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 22:10:35 22:08:01 ens3 9.17 8.53 127.83 1.47 0.00 0.00 0.00 0.00 22:10:35 22:08:01 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 22:10:35 22:09:01 ens3 122.48 111.16 2384.03 12.59 0.00 0.00 0.00 0.00 22:10:35 22:09:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 22:10:35 22:10:01 ens3 283.35 170.39 2199.98 34.15 0.00 0.00 0.00 0.00 22:10:35 22:10:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 22:10:35 Average: ens3 113.71 81.97 1270.43 13.93 0.00 0.00 0.00 0.00 22:10:35 Average: lo 0.78 0.78 0.07 0.07 0.00 0.00 0.00 0.00 22:10:35 22:10:35 22:10:35 ---> sar -P ALL: 22:10:35 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4094) 01/18/24 _x86_64_ (2 CPU) 22:10:35 22:10:35 22:05:00 LINUX RESTART (2 CPU) 22:10:35 22:10:35 22:06:01 CPU %user %nice %system %iowait %steal %idle 22:10:35 22:07:01 all 39.59 3.76 5.17 6.06 0.08 45.33 22:10:35 22:07:01 0 44.97 3.03 4.78 9.53 0.08 37.61 22:10:35 22:07:01 1 34.23 4.49 5.56 2.60 0.08 53.04 22:10:35 22:08:01 all 7.59 0.00 0.69 0.80 0.05 90.87 22:10:35 22:08:01 0 8.50 0.00 0.85 1.57 0.05 89.03 22:10:35 22:08:01 1 6.68 0.00 0.52 0.03 0.05 92.71 22:10:35 22:09:01 all 37.91 0.00 3.14 5.47 0.08 53.40 22:10:35 22:09:01 0 37.34 0.00 3.23 9.18 0.08 50.17 22:10:35 22:09:01 1 38.48 0.00 3.04 1.74 0.08 56.65 22:10:35 22:10:01 all 33.15 0.00 2.44 3.14 0.06 61.22 22:10:35 22:10:01 0 20.97 0.00 2.50 3.54 0.05 72.94 22:10:35 22:10:01 1 45.26 0.00 2.38 2.74 0.07 49.55 22:10:35 Average: all 29.58 0.94 2.86 3.87 0.07 62.68 22:10:35 Average: 0 27.96 0.76 2.84 5.96 0.07 62.42 22:10:35 Average: 1 31.20 1.12 2.88 1.78 0.07 62.94 22:10:35 22:10:35 22:10:35