11:11:55 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 11:11:55 Running as SYSTEM 11:11:55 [EnvInject] - Loading node environment variables. 11:11:55 Building remotely on prd-ubuntu2004-builder-2c-2g-343 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 11:11:55 [ssh-agent] Looking for ssh-agent implementation... 11:11:55 ERROR Gerrit response: Conflict[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:55 $ ssh-agent 11:11:55 SSH_AUTH_SOCK=/tmp/ssh-w0XypNQ91gvr/agent.5795 11:11:55 SSH_AGENT_PID=5797 11:11:55 [ssh-agent] Started. 11:11:55 Running ssh-add (command line suppressed) 11:11:55 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_11495235487298372585.key (jenkins-ssh) 11:11:55 [ssh-agent] Using credentials jenkins (jenkins) 11:11:55 The recommended git tool is: NONE 11:11:58 using credential jenkins 11:11:58 Wiping out workspace first. 11:11:58 Cloning the remote Git repository 11:11:58 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 11:11:58 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 11:11:58 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 11:11:58 > git --version # timeout=10 11:11:58 > git --version # 'git version 2.25.1' 11:11:58 using GIT_SSH to set credentials jenkins 11:11:58 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:59 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 11:11:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:59 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 11:11:59 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 11:11:59 using GIT_SSH to set credentials jenkins 11:11:59 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface refs/changes/34/12434/21 # timeout=10 11:12:00 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 11:12:00 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 11:12:00 > git config core.sparsecheckout # timeout=10 11:12:00 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 11:12:00 Commit message: "Fix build failure" 11:12:00 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 11:12:00 provisioning config files... 11:12:00 copy managed file [npmrc] to file:/home/jenkins/.npmrc 11:12:00 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 11:12:00 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9282070861894985268.sh 11:12:00 ---> python-tools-install.sh 11:12:00 Setup pyenv: 11:12:00 * system (set by /opt/pyenv/version) 11:12:00 * 3.8.13 (set by /opt/pyenv/version) 11:12:00 * 3.9.13 (set by /opt/pyenv/version) 11:12:00 * 3.10.6 (set by /opt/pyenv/version) 11:12:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yMGy 11:12:06 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:12:10 lf-activate-venv(): INFO: Installing: lftools 11:12:48 lf-activate-venv(): INFO: Adding /tmp/venv-yMGy/bin to PATH 11:12:48 Generating Requirements File 11:13:21 Python 3.10.6 11:13:22 pip 23.3.2 from /tmp/venv-yMGy/lib/python3.10/site-packages/pip (python 3.10) 11:13:22 appdirs==1.4.4 11:13:22 argcomplete==3.2.2 11:13:22 aspy.yaml==1.3.0 11:13:22 attrs==23.2.0 11:13:22 autopage==0.5.2 11:13:22 beautifulsoup4==4.12.3 11:13:22 boto3==1.34.29 11:13:22 botocore==1.34.29 11:13:22 bs4==0.0.2 11:13:22 cachetools==5.3.2 11:13:22 certifi==2023.11.17 11:13:22 cffi==1.16.0 11:13:22 cfgv==3.4.0 11:13:22 chardet==5.2.0 11:13:22 charset-normalizer==3.3.2 11:13:22 click==8.1.7 11:13:22 cliff==4.5.0 11:13:22 cmd2==2.4.3 11:13:22 cryptography==3.3.2 11:13:22 debtcollector==2.5.0 11:13:22 decorator==5.1.1 11:13:22 defusedxml==0.7.1 11:13:22 Deprecated==1.2.14 11:13:22 distlib==0.3.8 11:13:22 dnspython==2.5.0 11:13:22 docker==4.2.2 11:13:22 dogpile.cache==1.3.0 11:13:22 email-validator==2.1.0.post1 11:13:22 filelock==3.13.1 11:13:22 future==0.18.3 11:13:22 gitdb==4.0.11 11:13:22 GitPython==3.1.41 11:13:22 google-auth==2.27.0 11:13:22 httplib2==0.22.0 11:13:22 identify==2.5.33 11:13:22 idna==3.6 11:13:22 importlib-resources==1.5.0 11:13:22 iso8601==2.1.0 11:13:22 Jinja2==3.1.3 11:13:22 jmespath==1.0.1 11:13:22 jsonpatch==1.33 11:13:22 jsonpointer==2.4 11:13:22 jsonschema==4.21.1 11:13:22 jsonschema-specifications==2023.12.1 11:13:22 keystoneauth1==5.5.0 11:13:22 kubernetes==29.0.0 11:13:22 lftools==0.37.8 11:13:22 lxml==5.1.0 11:13:22 MarkupSafe==2.1.4 11:13:22 msgpack==1.0.7 11:13:22 multi_key_dict==2.0.3 11:13:22 munch==4.0.0 11:13:22 netaddr==0.10.1 11:13:22 netifaces==0.11.0 11:13:22 niet==1.4.2 11:13:22 nodeenv==1.8.0 11:13:22 oauth2client==4.1.3 11:13:22 oauthlib==3.2.2 11:13:22 openstacksdk==0.62.0 11:13:22 os-client-config==2.1.0 11:13:22 os-service-types==1.7.0 11:13:22 osc-lib==3.0.0 11:13:22 oslo.config==9.3.0 11:13:22 oslo.context==5.3.0 11:13:22 oslo.i18n==6.2.0 11:13:22 oslo.log==5.4.0 11:13:22 oslo.serialization==5.3.0 11:13:22 oslo.utils==7.0.0 11:13:22 packaging==23.2 11:13:22 pbr==6.0.0 11:13:22 platformdirs==4.1.0 11:13:22 prettytable==3.9.0 11:13:22 pyasn1==0.5.1 11:13:22 pyasn1-modules==0.3.0 11:13:22 pycparser==2.21 11:13:22 pygerrit2==2.0.15 11:13:22 PyGithub==2.1.1 11:13:22 pyinotify==0.9.6 11:13:22 PyJWT==2.8.0 11:13:22 PyNaCl==1.5.0 11:13:22 pyparsing==2.4.7 11:13:22 pyperclip==1.8.2 11:13:22 pyrsistent==0.20.0 11:13:22 python-cinderclient==9.4.0 11:13:22 python-dateutil==2.8.2 11:13:22 python-heatclient==3.4.0 11:13:22 python-jenkins==1.8.2 11:13:22 python-keystoneclient==5.3.0 11:13:22 python-magnumclient==4.3.0 11:13:22 python-novaclient==18.4.0 11:13:22 python-openstackclient==6.0.0 11:13:22 python-swiftclient==4.4.0 11:13:22 pytz==2023.4 11:13:22 PyYAML==6.0.1 11:13:22 referencing==0.33.0 11:13:22 requests==2.31.0 11:13:22 requests-oauthlib==1.3.1 11:13:22 requestsexceptions==1.4.0 11:13:22 rfc3986==2.0.0 11:13:22 rpds-py==0.17.1 11:13:22 rsa==4.9 11:13:22 ruamel.yaml==0.18.5 11:13:22 ruamel.yaml.clib==0.2.8 11:13:22 s3transfer==0.10.0 11:13:22 simplejson==3.19.2 11:13:22 six==1.16.0 11:13:22 smmap==5.0.1 11:13:22 soupsieve==2.5 11:13:22 stevedore==5.1.0 11:13:22 tabulate==0.9.0 11:13:22 toml==0.10.2 11:13:22 tomlkit==0.12.3 11:13:22 tqdm==4.66.1 11:13:22 typing_extensions==4.9.0 11:13:22 tzdata==2023.4 11:13:22 urllib3==1.26.18 11:13:22 virtualenv==20.25.0 11:13:22 wcwidth==0.2.13 11:13:22 websocket-client==1.7.0 11:13:22 wrapt==1.16.0 11:13:22 xdg==6.0.0 11:13:22 xmltodict==0.13.0 11:13:22 yq==3.2.3 11:13:22 [EnvInject] - Injecting environment variables from a build step. 11:13:22 [EnvInject] - Injecting as environment variables the properties content 11:13:22 SET_JDK_VERSION=openjdk17 11:13:22 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 11:13:22 11:13:22 [EnvInject] - Variables injected successfully. 11:13:22 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins11496301443126289781.sh 11:13:22 ---> update-java-alternatives.sh 11:13:22 ---> Updating Java version 11:13:23 ---> Ubuntu/Debian system detected 11:13:23 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:13:23 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:13:23 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:13:23 openjdk version "17.0.9" 2023-10-17 11:13:23 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 11:13:23 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 11:13:23 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:13:23 [EnvInject] - Injecting environment variables from a build step. 11:13:23 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:13:23 [EnvInject] - Variables injected successfully. 11:13:23 [EnvInject] - Injecting environment variables from a build step. 11:13:23 [EnvInject] - Injecting as environment variables the properties content 11:13:23 PYTHON=python3 11:13:23 11:13:23 [EnvInject] - Variables injected successfully. 11:13:23 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3587538899253552974.sh 11:13:23 ---> tox-install.sh 11:13:23 + source /home/jenkins/lf-env.sh 11:13:23 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 11:13:23 ++ mktemp -d /tmp/venv-XXXX 11:13:23 + lf_venv=/tmp/venv-mNp2 11:13:23 + local venv_file=/tmp/.os_lf_venv 11:13:23 + local python=python3 11:13:23 + local options 11:13:23 + local set_path=true 11:13:23 + local install_args= 11:13:23 ++ 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 11:13:23 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 11:13:23 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 11:13:23 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 11:13:23 + true 11:13:23 + case $1 in 11:13:23 + venv_file=/tmp/.toxenv 11:13:23 + shift 2 11:13:23 + true 11:13:23 + case $1 in 11:13:23 + shift 11:13:23 + break 11:13:23 + case $python in 11:13:23 + local pkg_list= 11:13:23 + [[ -d /opt/pyenv ]] 11:13:23 + echo 'Setup pyenv:' 11:13:23 Setup pyenv: 11:13:23 + export PYENV_ROOT=/opt/pyenv 11:13:23 + PYENV_ROOT=/opt/pyenv 11:13:23 + 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 11:13:23 + 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 11:13:23 + pyenv versions 11:13:23 system 11:13:23 3.8.13 11:13:23 3.9.13 11:13:23 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 11:13:23 + command -v pyenv 11:13:23 ++ pyenv init - --no-rehash 11:13:23 + 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[*]}"'\'')" 11:13:23 export PATH="/opt/pyenv/shims:${PATH}" 11:13:23 export PYENV_SHELL=bash 11:13:23 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 11:13:23 pyenv() { 11:13:23 local command 11:13:23 command="${1:-}" 11:13:23 if [ "$#" -gt 0 ]; then 11:13:23 shift 11:13:23 fi 11:13:23 11:13:23 case "$command" in 11:13:23 rehash|shell) 11:13:23 eval "$(pyenv "sh-$command" "$@")" 11:13:23 ;; 11:13:23 *) 11:13:23 command pyenv "$command" "$@" 11:13:23 ;; 11:13:23 esac 11:13:23 }' 11:13:23 +++ 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[*]}"' 11:13:23 ++ 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 11:13:23 ++ 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 11:13:23 ++ 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 11:13:23 ++ export PYENV_SHELL=bash 11:13:23 ++ PYENV_SHELL=bash 11:13:23 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 11:13:23 +++ complete -F _pyenv pyenv 11:13:23 ++ lf-pyver python3 11:13:23 ++ local py_version_xy=python3 11:13:23 ++ local py_version_xyz= 11:13:23 ++ grep -E '^[0-9.]*[0-9]$' 11:13:23 ++ pyenv versions 11:13:23 ++ local command 11:13:23 ++ command=versions 11:13:23 ++ '[' 1 -gt 0 ']' 11:13:23 ++ shift 11:13:23 ++ case "$command" in 11:13:23 ++ command pyenv versions 11:13:23 ++ pyenv versions 11:13:23 ++ awk '{ print $1 }' 11:13:23 ++ sed 's/^[ *]* //' 11:13:24 ++ [[ ! -s /tmp/.pyenv_versions ]] 11:13:24 +++ sort -V 11:13:24 +++ grep '^3' /tmp/.pyenv_versions 11:13:24 +++ tail -n 1 11:13:24 ++ py_version_xyz=3.10.6 11:13:24 ++ [[ -z 3.10.6 ]] 11:13:24 ++ echo 3.10.6 11:13:24 ++ return 0 11:13:24 + pyenv local 3.10.6 11:13:24 + local command 11:13:24 + command=local 11:13:24 + '[' 2 -gt 0 ']' 11:13:24 + shift 11:13:24 + case "$command" in 11:13:24 + command pyenv local 3.10.6 11:13:24 + pyenv local 3.10.6 11:13:24 + for arg in "$@" 11:13:24 + case $arg in 11:13:24 + pkg_list+='tox ' 11:13:24 + for arg in "$@" 11:13:24 + case $arg in 11:13:24 + pkg_list+='virtualenv ' 11:13:24 + for arg in "$@" 11:13:24 + case $arg in 11:13:24 + pkg_list+='urllib3~=1.26.15 ' 11:13:24 + [[ -f /tmp/.toxenv ]] 11:13:24 + [[ ! -f /tmp/.toxenv ]] 11:13:24 + [[ -n '' ]] 11:13:24 + python3 -m venv /tmp/venv-mNp2 11:13:27 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mNp2' 11:13:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mNp2 11:13:27 + echo /tmp/venv-mNp2 11:13:27 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 11:13:27 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 11:13:27 + /tmp/venv-mNp2/bin/python3 -m pip install --upgrade --quiet pip virtualenv 11:13:30 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 11:13:30 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 11:13:30 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 11:13:30 + /tmp/venv-mNp2/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 11:13:33 + type python3 11:13:33 + true 11:13:33 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-mNp2/bin to PATH' 11:13:33 lf-activate-venv(): INFO: Adding /tmp/venv-mNp2/bin to PATH 11:13:33 + PATH=/tmp/venv-mNp2/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 11:13:33 + return 0 11:13:33 + python3 --version 11:13:33 Python 3.10.6 11:13:33 + python3 -m pip --version 11:13:33 pip 23.3.2 from /tmp/venv-mNp2/lib/python3.10/site-packages/pip (python 3.10) 11:13:33 + python3 -m pip freeze 11:13:33 cachetools==5.3.2 11:13:33 chardet==5.2.0 11:13:33 colorama==0.4.6 11:13:33 distlib==0.3.8 11:13:33 filelock==3.13.1 11:13:33 packaging==23.2 11:13:33 platformdirs==4.1.0 11:13:33 pluggy==1.4.0 11:13:33 pyproject-api==1.6.1 11:13:33 tomli==2.0.1 11:13:33 tox==4.12.1 11:13:33 urllib3==1.26.18 11:13:33 virtualenv==20.25.0 11:13:33 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins2188206892934206466.sh 11:13:33 [EnvInject] - Injecting environment variables from a build step. 11:13:33 [EnvInject] - Injecting as environment variables the properties content 11:13:33 PARALLEL=False 11:13:33 11:13:33 [EnvInject] - Variables injected successfully. 11:13:33 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins2889516664214851242.sh 11:13:33 ---> tox-run.sh 11:13:33 + 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 11:13:33 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 11:13:33 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 11:13:33 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 11:13:33 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 11:13:33 + source /home/jenkins/lf-env.sh 11:13:33 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 11:13:33 ++ mktemp -d /tmp/venv-XXXX 11:13:33 + lf_venv=/tmp/venv-Y8Jo 11:13:33 + local venv_file=/tmp/.os_lf_venv 11:13:33 + local python=python3 11:13:33 + local options 11:13:33 + local set_path=true 11:13:33 + local install_args= 11:13:33 ++ 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 11:13:33 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 11:13:33 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 11:13:33 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 11:13:33 + true 11:13:33 + case $1 in 11:13:33 + venv_file=/tmp/.toxenv 11:13:33 + shift 2 11:13:33 + true 11:13:33 + case $1 in 11:13:33 + shift 11:13:33 + break 11:13:33 + case $python in 11:13:33 + local pkg_list= 11:13:33 + [[ -d /opt/pyenv ]] 11:13:33 + echo 'Setup pyenv:' 11:13:33 Setup pyenv: 11:13:33 + export PYENV_ROOT=/opt/pyenv 11:13:33 + PYENV_ROOT=/opt/pyenv 11:13:33 + 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 11:13:33 + 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 11:13:33 + pyenv versions 11:13:33 system 11:13:33 3.8.13 11:13:33 3.9.13 11:13:33 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 11:13:33 + command -v pyenv 11:13:33 ++ pyenv init - --no-rehash 11:13:34 + 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[*]}"'\'')" 11:13:34 export PATH="/opt/pyenv/shims:${PATH}" 11:13:34 export PYENV_SHELL=bash 11:13:34 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 11:13:34 pyenv() { 11:13:34 local command 11:13:34 command="${1:-}" 11:13:34 if [ "$#" -gt 0 ]; then 11:13:34 shift 11:13:34 fi 11:13:34 11:13:34 case "$command" in 11:13:34 rehash|shell) 11:13:34 eval "$(pyenv "sh-$command" "$@")" 11:13:34 ;; 11:13:34 *) 11:13:34 command pyenv "$command" "$@" 11:13:34 ;; 11:13:34 esac 11:13:34 }' 11:13:34 +++ 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[*]}"' 11:13:34 ++ 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 11:13:34 ++ 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 11:13:34 ++ 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 11:13:34 ++ export PYENV_SHELL=bash 11:13:34 ++ PYENV_SHELL=bash 11:13:34 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 11:13:34 +++ complete -F _pyenv pyenv 11:13:34 ++ lf-pyver python3 11:13:34 ++ local py_version_xy=python3 11:13:34 ++ local py_version_xyz= 11:13:34 ++ grep -E '^[0-9.]*[0-9]$' 11:13:34 ++ awk '{ print $1 }' 11:13:34 ++ sed 's/^[ *]* //' 11:13:34 ++ pyenv versions 11:13:34 ++ local command 11:13:34 ++ command=versions 11:13:34 ++ '[' 1 -gt 0 ']' 11:13:34 ++ shift 11:13:34 ++ case "$command" in 11:13:34 ++ command pyenv versions 11:13:34 ++ pyenv versions 11:13:34 ++ [[ ! -s /tmp/.pyenv_versions ]] 11:13:34 +++ grep '^3' /tmp/.pyenv_versions 11:13:34 +++ tail -n 1 11:13:34 +++ sort -V 11:13:34 ++ py_version_xyz=3.10.6 11:13:34 ++ [[ -z 3.10.6 ]] 11:13:34 ++ echo 3.10.6 11:13:34 ++ return 0 11:13:34 + pyenv local 3.10.6 11:13:34 + local command 11:13:34 + command=local 11:13:34 + '[' 2 -gt 0 ']' 11:13:34 + shift 11:13:34 + case "$command" in 11:13:34 + command pyenv local 3.10.6 11:13:34 + pyenv local 3.10.6 11:13:34 + for arg in "$@" 11:13:34 + case $arg in 11:13:34 + pkg_list+='tox ' 11:13:34 + for arg in "$@" 11:13:34 + case $arg in 11:13:34 + pkg_list+='virtualenv ' 11:13:34 + for arg in "$@" 11:13:34 + case $arg in 11:13:34 + pkg_list+='urllib3~=1.26.15 ' 11:13:34 + [[ -f /tmp/.toxenv ]] 11:13:34 ++ cat /tmp/.toxenv 11:13:34 + lf_venv=/tmp/venv-mNp2 11:13:34 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mNp2 from' file:/tmp/.toxenv 11:13:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mNp2 from file:/tmp/.toxenv 11:13:34 + /tmp/venv-mNp2/bin/python3 -m pip install --upgrade --quiet pip virtualenv 11:13:35 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 11:13:35 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 11:13:35 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 11:13:35 + /tmp/venv-mNp2/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 11:13:36 + type python3 11:13:36 + true 11:13:36 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-mNp2/bin to PATH' 11:13:36 lf-activate-venv(): INFO: Adding /tmp/venv-mNp2/bin to PATH 11:13:36 + PATH=/tmp/venv-mNp2/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 11:13:36 + return 0 11:13:36 + [[ -d /opt/pyenv ]] 11:13:36 + echo '---> Setting up pyenv' 11:13:36 ---> Setting up pyenv 11:13:36 + export PYENV_ROOT=/opt/pyenv 11:13:36 + PYENV_ROOT=/opt/pyenv 11:13:36 + export PATH=/opt/pyenv/bin:/tmp/venv-mNp2/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 11:13:36 + PATH=/opt/pyenv/bin:/tmp/venv-mNp2/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 11:13:36 ++ pwd 11:13:36 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 11:13:36 + export PYTHONPATH 11:13:36 + export TOX_TESTENV_PASSENV=PYTHONPATH 11:13:36 + TOX_TESTENV_PASSENV=PYTHONPATH 11:13:36 + tox --version 11:13:36 4.12.1 from /tmp/venv-mNp2/lib/python3.10/site-packages/tox/__init__.py 11:13:36 + PARALLEL=False 11:13:36 + TOX_OPTIONS_LIST= 11:13:36 + [[ -n '' ]] 11:13:36 + case ${PARALLEL,,} in 11:13:36 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 11:13:36 + tox 11:13:37 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 11:13:50 code: freeze> python -m pip freeze --all 11:13:51 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.1,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.1,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.4,packaging==23.2,pip==23.3.1,pluggy==1.4.0,pytest==8.0.0,pytest-cov==4.1.0,PyYAML==6.0.1,referencing==0.33.0,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 11:13:51 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 11:13:51 ============================= test session starts ============================== 11:13:51 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 11:13:51 cachedir: .tox/code/.pytest_cache 11:13:51 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 11:13:51 plugins: cov-4.1.0 11:13:51 collected 4 items 11:13:51 11:13:51 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 11:13:52 -------------------------------- live log setup -------------------------------- 11:13:52 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 11:13:52 Please install connexion with extra install: pip install connexion[swagger-ui] 11:13:52 or provide the path to your local installation by passing swagger_path= 11:13:52 11:13:52 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 11:13:52 Please install connexion with extra install: pip install connexion[swagger-ui] 11:13:52 or provide the path to your local installation by passing swagger_path= 11:13:52 11:13:52 PASSED [ 25%] 11:13:52 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 11:14:02 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 11:14:02 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 11:14:02 -------------------------------- live log call --------------------------------- 11:14:02 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. 11:14:02 * Running on http://127.0.0.1:8086 11:14:02 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 11:14:12 INFO werkzeug:_internal.py:224 127.0.0.1 - - [30/Jan/2024 11:14:12] "POST /statustest HTTP/1.1" 201 - 11:14:12 PASSED [100%] 11:14:12 11:14:12 =============================== warnings summary =============================== 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 11:14:12 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 11:14:12 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 11:14:12 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 11:14:12 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 11:14:12 from jsonschema import Draft4Validator, RefResolver 11:14:12 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 11:14:12 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 11:14:12 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 11:14:12 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 11:14:12 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 11:14:12 app.json_encoder = FlaskJSONEncoder 11:14:12 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 11:14:12 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 11:14:12 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 11:14:12 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 11:14:12 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 11:14:12 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 11:14:12 11:14:12 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 11:14:12 11:14:12 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 11:14:12 Name Stmts Miss Cover Missing 11:14:12 --------------------------------------------------------------------------------------------------------- 11:14:12 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 11:14:12 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 11:14:12 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 11:14:12 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 11:14:12 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 11:14:12 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 11:14:12 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 11:14:12 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 11:14:12 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 11:14:12 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 11:14:12 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 11:14:12 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 11:14:12 --------------------------------------------------------------------------------------------------------- 11:14:12 TOTAL 973 113 88% 11:14:12 Coverage HTML written to dir htmlcov 11:14:12 Coverage XML written to file coverage.xml 11:14:12 11:14:12 Required test coverage of 70% reached. Total coverage: 88.39% 11:14:12 ======================= 4 passed, 118 warnings in 21.41s ======================= 11:14:12 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 11:14:13 ============================= test session starts ============================== 11:14:13 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 11:14:13 cachedir: .tox/code/.pytest_cache 11:14:13 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 11:14:13 plugins: cov-4.1.0 11:14:13 collected 1 item 11:14:13 11:14:13 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:13 -------------------------------- live log setup -------------------------------- 11:14:13 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 11:14:13 Please install connexion with extra install: pip install connexion[swagger-ui] 11:14:13 or provide the path to your local installation by passing swagger_path= 11:14:13 11:14:13 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 11:14:13 Please install connexion with extra install: pip install connexion[swagger-ui] 11:14:13 or provide the path to your local installation by passing swagger_path= 11:14:13 11:14:23 PASSED [100%] 11:14:24 11:14:24 =============================== warnings summary =============================== 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 /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. 11:14:24 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 /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. 11:14:24 from jsonschema import Draft4Validator, RefResolver 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 /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. 11:14:24 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 /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. 11:14:24 app.json_encoder = FlaskJSONEncoder 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 /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. 11:14:24 for error in instance_validator.iter_errors(instance['default'], instance): 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 11:14:24 /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. 11:14:24 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 11:14:24 /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. 11:14:24 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 /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. 11:14:24 warnings.warn( 11:14:24 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 11:14:24 /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. 11:14:24 return json.dumps(obj, **kwargs) 11:14:24 11:14:24 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 11:14:24 11:14:24 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 11:14:24 Name Stmts Miss Cover Missing 11:14:24 --------------------------------------------------------------------------------------------------------- 11:14:24 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 11:14:24 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 11:14:24 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 11:14:24 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 11:14:24 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 11:14:24 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 11:14:24 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 11:14:24 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 11:14:24 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 11:14:24 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 11:14:24 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 11:14:24 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 11:14:24 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 11:14:24 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 11:14:24 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 11:14:24 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 11:14:24 --------------------------------------------------------------------------------------------------------- 11:14:24 TOTAL 1440 152 89% 11:14:24 Coverage HTML written to dir htmlcov 11:14:24 Coverage XML written to file coverage.xml 11:14:24 11:14:24 Required test coverage of 70% reached. Total coverage: 89.44% 11:14:24 ======================= 1 passed, 65 warnings in 11.20s ======================== 11:14:24 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 11:14:24 ============================= test session starts ============================== 11:14:24 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 11:14:24 cachedir: .tox/code/.pytest_cache 11:14:24 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 11:14:24 plugins: cov-4.1.0 11:14:24 collected 4 items 11:14:24 11:14:25 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:25 -------------------------------- live log setup -------------------------------- 11:14:25 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 11:14:25 Please install connexion with extra install: pip install connexion[swagger-ui] 11:14:25 or provide the path to your local installation by passing swagger_path= 11:14:25 11:14:25 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 11:14:25 Please install connexion with extra install: pip install connexion[swagger-ui] 11:14:25 or provide the path to your local installation by passing swagger_path= 11:14:25 11:14:25 PASSED [ 25%] 11:14:25 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 11:14:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 11:14:35 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 11:14:35 -------------------------------- live log call --------------------------------- 11:14:35 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. 11:14:35 * Running on http://127.0.0.1:8086 11:14:35 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 11:14:45 INFO werkzeug:_internal.py:224 127.0.0.1 - - [30/Jan/2024 11:14:45] "POST /statustest HTTP/1.1" 200 - 11:14:45 PASSED [100%] 11:14:46 11:14:46 =============================== warnings summary =============================== 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:46 /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. 11:14:46 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 11:14:46 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:46 /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. 11:14:46 from jsonschema import Draft4Validator, RefResolver 11:14:46 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:46 /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. 11:14:46 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 11:14:46 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:46 /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. 11:14:46 app.json_encoder = FlaskJSONEncoder 11:14:46 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 11:14:46 /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. 11:14:46 for error in instance_validator.iter_errors(instance['default'], instance): 11:14:46 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 11:14:46 /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. 11:14:46 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 11:14:46 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 11:14:46 /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. 11:14:46 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 11:14:46 11:14:46 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 11:14:46 11:14:46 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 11:14:46 Name Stmts Miss Cover Missing 11:14:46 --------------------------------------------------------------------------------------------------------- 11:14:46 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 11:14:46 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 11:14:46 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 11:14:46 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 11:14:46 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 11:14:46 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 11:14:46 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 11:14:46 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 11:14:46 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 11:14:46 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 11:14:46 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 11:14:46 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 11:14:46 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 11:14:46 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 11:14:46 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 11:14:46 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 11:14:46 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 11:14:46 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 11:14:46 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 11:14:46 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 11:14:46 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 11:14:46 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 11:14:46 --------------------------------------------------------------------------------------------------------- 11:14:46 TOTAL 2219 282 87% 11:14:46 Coverage HTML written to dir htmlcov 11:14:46 Coverage XML written to file coverage.xml 11:14:46 11:14:46 Required test coverage of 70% reached. Total coverage: 87.29% 11:14:46 ======================= 4 passed, 65 warnings in 21.58s ======================== 11:14:46 code: commands[3]> coverage xml -i 11:14:46 Wrote XML report to coverage.xml 11:14:46 code: OK ✔ in 1 minute 9.59 seconds 11:14:46 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 11:15:25 docs: freeze> python -m pip freeze --all 11:15:25 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.4,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.4.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.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,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 11:15:25 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 11:15:26 Running Sphinx v5.3.0 11:15:26 making output directory... done 11:15:26 building [mo]: targets for 0 po files that are out of date 11:15:26 building [html]: targets for 6 source files that are out of date 11:15:26 updating environment: [new config] 6 added, 0 changed, 0 removed 11:15:26 reading sources... [ 16%] callout-server 11:15:26 reading sources... [ 33%] index 11:15:26 reading sources... [ 50%] kafka-message-dispatcher 11:15:26 reading sources... [ 66%] overview 11:15:26 reading sources... [ 83%] release-notes 11:15:26 reading sources... [100%] simulator-api 11:15:26 11:15:26 looking for now-outdated files... none found 11:15:26 pickling environment... done 11:15:26 checking consistency... done 11:15:26 preparing documents... done 11:15:26 writing output... [ 16%] callout-server 11:15:26 writing output... [ 33%] index 11:15:26 writing output... [ 50%] kafka-message-dispatcher 11:15:26 writing output... [ 66%] overview 11:15:26 writing output... [ 83%] release-notes 11:15:26 writing output... [100%] simulator-api 11:15:26 11:15:27 generating indices... genindex done 11:15:27 writing additional pages... search done 11:15:27 copying images... [100%] images/yaml_logo.png 11:15:27 11:15:27 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 11:15:27 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 11:15:27 11:15:27 copying static files... done 11:15:27 copying extra files... done 11:15:27 dumping search index in English (code: en)... done 11:15:27 dumping object inventory... done 11:15:27 build succeeded. 11:15:27 11:15:27 The HTML pages are in docs/_build/html. 11:15:27 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 11:15:27 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 11:15:27 docs: OK ✔ in 40.69 seconds 11:15:27 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 11:15:50 docs-linkcheck: freeze> python -m pip freeze --all 11:15:51 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.4,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.4.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.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,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 11:15:51 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 11:15:51 Running Sphinx v5.3.0 11:15:51 making output directory... done 11:15:51 building [mo]: targets for 0 po files that are out of date 11:15:51 building [linkcheck]: targets for 6 source files that are out of date 11:15:51 updating environment: [new config] 6 added, 0 changed, 0 removed 11:15:51 reading sources... [ 16%] callout-server 11:15:51 reading sources... [ 33%] index 11:15:51 reading sources... [ 50%] kafka-message-dispatcher 11:15:51 reading sources... [ 66%] overview 11:15:51 reading sources... [ 83%] release-notes 11:15:51 reading sources... [100%] simulator-api 11:15:52 11:15:52 looking for now-outdated files... none found 11:15:52 pickling environment... done 11:15:52 checking consistency... done 11:15:52 preparing documents... done 11:15:52 writing output... [ 16%] callout-server 11:15:52 writing output... [ 33%] index 11:15:52 writing output... [ 50%] kafka-message-dispatcher 11:15:52 writing output... [ 66%] overview 11:15:52 writing output... [ 83%] release-notes 11:15:52 writing output... [100%] simulator-api 11:15:52 11:15:52 11:15:52 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 11:15:52 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 11:15:52 ( 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 11:15:52 ( 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 11:15:52 ( 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 11:15:52 build succeeded. 11:15:52 11:15:52 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 11:15:52 code: OK (69.59=setup[13.90]+cmd[21.83,11.59,21.94,0.33] seconds) 11:15:52 docs: OK (40.69=setup[39.02]+cmd[1.66,0.00] seconds) 11:15:52 docs-linkcheck: OK (24.85=setup[23.82]+cmd[1.04] seconds) 11:15:52 congratulations :) (135.28 seconds) 11:15:52 + tox_status=0 11:15:52 + echo '---> Completed tox runs' 11:15:52 ---> Completed tox runs 11:15:52 + for i in .tox/*/log 11:15:52 ++ echo .tox/code/log 11:15:52 ++ awk -F/ '{print $2}' 11:15:52 + tox_env=code 11:15:52 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 11:15:52 + for i in .tox/*/log 11:15:52 ++ echo .tox/docs-linkcheck/log 11:15:52 ++ awk -F/ '{print $2}' 11:15:52 + tox_env=docs-linkcheck 11:15:52 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 11:15:52 + for i in .tox/*/log 11:15:52 ++ awk -F/ '{print $2}' 11:15:52 ++ echo .tox/docs/log 11:15:52 + tox_env=docs 11:15:52 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 11:15:52 + DOC_DIR=docs/_build/html 11:15:52 + [[ -d docs/_build/html ]] 11:15:52 + echo '---> Archiving generated docs' 11:15:52 ---> Archiving generated docs 11:15:52 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 11:15:52 + echo '---> tox-run.sh ends' 11:15:52 ---> tox-run.sh ends 11:15:52 + test 0 -eq 0 11:15:52 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-ubuntu2004-builder-2c-2g-343 11:15:53 [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 11:15:54 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 11:15:54 INFO: Project root configuration file: NONE 11:15:54 INFO: SonarScanner 4.6.2.2472 11:15:54 INFO: Java 17.0.9 Private Build (64-bit) 11:15:54 INFO: Linux 5.4.0-169-generic amd64 11:15:55 INFO: User cache: /home/jenkins/.sonar/cache 11:15:56 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 11:15:56 INFO: Project root configuration file: NONE 11:15:56 INFO: Analyzing on SonarCloud 11:15:56 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 11:15:57 INFO: Load global settings 11:15:58 INFO: Load global settings (done) | time=611ms 11:15:58 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 11:15:58 INFO: User cache: /home/jenkins/.sonar/cache 11:15:58 INFO: Loading required plugins 11:15:58 INFO: Load plugins index 11:15:58 INFO: Load plugins index (done) | time=549ms 11:15:58 INFO: Load/download plugins 11:15:59 INFO: Load/download plugins (done) | time=1103ms 11:16:00 INFO: Found an active CI vendor: 'Jenkins' 11:16:00 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 11:16:00 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=200ms 11:16:00 INFO: Process project properties 11:16:00 INFO: Project key: o-ran-sc_sim-a1-interface 11:16:00 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 11:16:00 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 11:16:00 INFO: Load project branches 11:16:00 INFO: Load project branches (done) | time=213ms 11:16:00 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 11:16:00 INFO: Detected project binding: NOT_BOUND 11:16:00 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=184ms 11:16:00 INFO: Load project pull requests 11:16:01 INFO: Load project pull requests (done) | time=192ms 11:16:01 INFO: Load branch configuration 11:16:01 INFO: Load branch configuration (done) | time=2ms 11:16:01 INFO: Load quality profiles 11:16:01 INFO: Load quality profiles (done) | time=267ms 11:16:01 INFO: Load active rules 11:16:13 INFO: Load active rules (done) | time=12302ms 11:16:14 INFO: Organization key: o-ran-sc 11:16:14 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. 11:16:14 INFO: Preprocessing files... 11:16:14 INFO: 4 languages detected in 112 preprocessed files 11:16:14 INFO: 0 files ignored because of inclusion/exclusion patterns 11:16:14 INFO: 22 files ignored because of scm ignore settings 11:16:14 INFO: Loading plugins for detected languages 11:16:14 INFO: Load/download plugins 11:16:15 INFO: Load/download plugins (done) | time=1199ms 11:16:16 INFO: Load project repositories 11:16:16 INFO: Load project repositories (done) | time=264ms 11:16:16 INFO: Indexing files... 11:16:16 INFO: Project configuration: 11:16:16 INFO: Excluded sources: **/build-wrapper-dump.json 11:16:16 INFO: 112 files indexed 11:16:16 INFO: Quality profile for docker: Sonar way 11:16:16 INFO: Quality profile for json: SonarQube Way 11:16:16 INFO: Quality profile for py: Sonar way 11:16:16 INFO: Quality profile for yaml: Sonar way 11:16:16 INFO: ------------- Run sensors on module sim-a1-interface 11:16:16 INFO: Load metrics repository 11:16:16 INFO: Load metrics repository (done) | time=185ms 11:16:16 INFO: Sensor cache enabled 11:16:16 INFO: Load sensor cache 11:16:18 INFO: Load sensor cache (357 KB) | time=2136ms 11:16:19 INFO: Sensor Python Sensor [python] 11:16:19 WARN: Your code is analyzed as compatible with all Python 3 versions by default. You can get a more precise analysis by setting the exact Python version in your configuration via the parameter "sonar.python.version" 11:16:19 INFO: Starting global symbols computation 11:16:19 INFO: 37 source files to be analyzed 11:16:21 INFO: 37/37 source files have been analyzed 11:16:21 INFO: Starting rules execution 11:16:21 INFO: 37 source files to be analyzed 11:16:24 INFO: 37/37 source files have been analyzed 11:16:24 INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 37 files. These files were not parsed. 11:16:24 INFO: Sensor Python Sensor [python] (done) | time=4744ms 11:16:24 INFO: Sensor Cobertura Sensor for Python coverage [python] 11:16:24 INFO: Python test coverage 11:16:24 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 11:16:24 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=386ms 11:16:24 INFO: Sensor PythonXUnitSensor [python] 11:16:25 INFO: Sensor PythonXUnitSensor [python] (done) | time=195ms 11:16:25 INFO: Sensor JaCoCo XML Report Importer [jacoco] 11:16:25 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 11:16:25 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 11:16:25 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 11:16:25 INFO: Sensor IaC CloudFormation Sensor [iac] 11:16:25 INFO: 0 source files to be analyzed 11:16:25 INFO: 0/0 source files have been analyzed 11:16:25 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=47ms 11:16:25 INFO: Sensor IaC Kubernetes Sensor [iac] 11:16:25 INFO: 0 source files to be analyzed 11:16:25 INFO: 0/0 source files have been analyzed 11:16:25 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=65ms 11:16:25 INFO: Sensor IaC AzureResourceManager Sensor [iac] 11:16:25 INFO: 0 source files to be analyzed 11:16:25 INFO: 0/0 source files have been analyzed 11:16:25 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=84ms 11:16:25 INFO: Sensor JavaScript inside YAML analysis [javascript] 11:16:25 INFO: No input files found for analysis 11:16:25 INFO: Hit the cache for 0 out of 0 11:16:25 INFO: Miss the cache for 0 out of 0 11:16:25 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=25ms 11:16:25 INFO: Sensor CSS Rules [javascript] 11:16:25 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 11:16:25 INFO: Sensor CSS Rules [javascript] (done) | time=2ms 11:16:25 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 11:16:25 INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities 11:16:25 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=11ms 11:16:25 INFO: Sensor TextAndSecretsSensor [text] 11:16:25 INFO: 69 source files to be analyzed 11:16:26 INFO: 69/69 source files have been analyzed 11:16:26 INFO: Sensor TextAndSecretsSensor [text] (done) | time=885ms 11:16:26 INFO: Sensor IaC Docker Sensor [iac] 11:16:26 INFO: 3 source files to be analyzed 11:16:26 INFO: 3/3 source files have been analyzed 11:16:26 INFO: Sensor IaC Docker Sensor [iac] (done) | time=163ms 11:16:26 INFO: Sensor Serverless configuration file sensor [security] 11:16:26 INFO: 0 Serverless function entries were found in the project 11:16:26 INFO: 0 Serverless function handlers were kept as entrypoints 11:16:26 INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms 11:16:26 INFO: Sensor AWS SAM template file sensor [security] 11:16:26 INFO: Sensor AWS SAM template file sensor [security] (done) | time=6ms 11:16:26 INFO: Sensor AWS SAM Inline template file sensor [security] 11:16:26 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=10ms 11:16:26 INFO: Sensor javabugs [dbd] 11:16:26 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 11:16:26 INFO: No IR files have been included for analysis. 11:16:26 INFO: Sensor javabugs [dbd] (done) | time=1ms 11:16:26 INFO: Sensor pythonbugs [dbd] 11:16:26 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 11:16:26 INFO: Analyzing 71 functions to detect bugs. 11:16:26 INFO: Sensor pythonbugs [dbd] (done) | time=521ms 11:16:26 INFO: Sensor JavaSecuritySensor [security] 11:16:26 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 11:16:26 INFO: Load type hierarchy and UCFGs: Starting 11:16:26 INFO: Load type hierarchy: Starting 11:16:26 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 11:16:26 INFO: Read 0 type definitions 11:16:26 INFO: Load type hierarchy: Time spent was 00:00:00.001 11:16:26 INFO: Load UCFGs: Starting 11:16:26 INFO: Load UCFGs: Time spent was 00:00:00.000 11:16:26 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 11:16:26 INFO: No UCFGs have been included for analysis. 11:16:26 INFO: java security sensor: Time spent was 00:00:00.004 11:16:27 INFO: Sensor JavaSecuritySensor [security] (done) | time=41ms 11:16:27 INFO: Sensor CSharpSecuritySensor [security] 11:16:27 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 11:16:27 INFO: Load type hierarchy and UCFGs: Starting 11:16:27 INFO: Load type hierarchy: Starting 11:16:27 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 11:16:27 INFO: Read 0 type definitions 11:16:27 INFO: Load type hierarchy: Time spent was 00:00:00.001 11:16:27 INFO: Load UCFGs: Starting 11:16:27 INFO: Load UCFGs: Time spent was 00:00:00.000 11:16:27 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 11:16:27 INFO: No UCFGs have been included for analysis. 11:16:27 INFO: csharp security sensor: Time spent was 00:00:00.002 11:16:27 INFO: Sensor CSharpSecuritySensor [security] (done) | time=4ms 11:16:27 INFO: Sensor PhpSecuritySensor [security] 11:16:27 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 11:16:27 INFO: Load type hierarchy and UCFGs: Starting 11:16:27 INFO: Load type hierarchy: Starting 11:16:27 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 11:16:27 INFO: Read 0 type definitions 11:16:27 INFO: Load type hierarchy: Time spent was 00:00:00.000 11:16:27 INFO: Load UCFGs: Starting 11:16:27 INFO: Load UCFGs: Time spent was 00:00:00.000 11:16:27 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 11:16:27 INFO: No UCFGs have been included for analysis. 11:16:27 INFO: php security sensor: Time spent was 00:00:00.001 11:16:27 INFO: Sensor PhpSecuritySensor [security] (done) | time=3ms 11:16:27 INFO: Sensor PythonSecuritySensor [security] 11:16:27 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 11:16:27 INFO: Load type hierarchy and UCFGs: Starting 11:16:27 INFO: Load type hierarchy: Starting 11:16:27 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 11:16:27 INFO: Read 451 type definitions 11:16:27 INFO: Load type hierarchy: Time spent was 00:00:00.086 11:16:27 INFO: Load UCFGs: Starting 11:16:27 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 11:16:27 INFO: Load UCFGs: Time spent was 00:00:00.450 11:16:27 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.537 11:16:27 INFO: Analyzing 2431 UCFGs to detect vulnerabilities. 11:16:27 INFO: Check cache: Starting 11:16:27 INFO: Load cache: Starting 11:16:27 INFO: Load cache: Time spent was 00:00:00.000 11:16:27 INFO: Check cache: Time spent was 00:00:00.001 11:16:27 INFO: Create runtime call graph: Starting 11:16:27 INFO: Variable Type Analysis #1: Starting 11:16:27 INFO: Create runtime type propagation graph: Starting 11:16:27 INFO: Create runtime type propagation graph: Time spent was 00:00:00.044 11:16:27 INFO: Run SCC (Tarjan) on 7080 nodes: Starting 11:16:27 INFO: Run SCC (Tarjan) on 7080 nodes: Time spent was 00:00:00.035 11:16:27 INFO: Tarjan found 7080 strongly connected components 11:16:27 INFO: Propagate runtime types to strongly connected components: Starting 11:16:27 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.025 11:16:27 INFO: Variable Type Analysis #1: Time spent was 00:00:00.107 11:16:27 INFO: Variable Type Analysis #2: Starting 11:16:27 INFO: Create runtime type propagation graph: Starting 11:16:27 INFO: Create runtime type propagation graph: Time spent was 00:00:00.036 11:16:27 INFO: Run SCC (Tarjan) on 7006 nodes: Starting 11:16:27 INFO: Run SCC (Tarjan) on 7006 nodes: Time spent was 00:00:00.008 11:16:27 INFO: Tarjan found 7006 strongly connected components 11:16:27 INFO: Propagate runtime types to strongly connected components: Starting 11:16:27 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.017 11:16:27 INFO: Variable Type Analysis #2: Time spent was 00:00:00.065 11:16:27 INFO: Create runtime call graph: Time spent was 00:00:00.180 11:16:27 INFO: Load config: Starting 11:16:27 INFO: Load config: Time spent was 00:00:00.125 11:16:27 INFO: Compute entry points: Starting 11:16:28 INFO: Compute entry points: Time spent was 00:00:00.156 11:16:28 INFO: All rules entry points : 5 11:16:28 INFO: Slice call graph: Starting 11:16:28 INFO: Retained UCFGs : 31 11:16:28 INFO: Slice call graph: Time spent was 00:00:00.000 11:16:28 INFO: Live variable analysis: Starting 11:16:28 INFO: Live variable analysis: Time spent was 00:00:00.013 11:16:28 INFO: Taint analysis for python: Starting 11:16:28 INFO: 0 / 31 UCFGs simulated, memory usage: 110 MB 11:16:28 INFO: 22 / 31 UCFGs simulated, memory usage: 130 MB 11:16:28 INFO: Taint analysis for python: Time spent was 00:00:00.223 11:16:28 INFO: Report issues: Starting 11:16:28 INFO: Report issues: Time spent was 00:00:00.003 11:16:28 INFO: Store cache: Starting 11:16:28 INFO: Store cache: Time spent was 00:00:00.013 11:16:28 INFO: python security sensor: Time spent was 00:00:01.266 11:16:28 INFO: python security sensor: Begin: 2024-01-30T11:16:27.018689063Z, End: 2024-01-30T11:16:28.285097908Z, Duration: 00:00:01.266 11:16:28 Load type hierarchy and UCFGs: Begin: 2024-01-30T11:16:27.018867987Z, End: 2024-01-30T11:16:27.555976107Z, Duration: 00:00:00.537 11:16:28 Load type hierarchy: Begin: 2024-01-30T11:16:27.018945859Z, End: 2024-01-30T11:16:27.105194973Z, Duration: 00:00:00.086 11:16:28 Load UCFGs: Begin: 2024-01-30T11:16:27.105379627Z, End: 2024-01-30T11:16:27.555596679Z, Duration: 00:00:00.450 11:16:28 Check cache: Begin: 2024-01-30T11:16:27.556881307Z, End: 2024-01-30T11:16:27.558306770Z, Duration: 00:00:00.001 11:16:28 Load cache: Begin: 2024-01-30T11:16:27.556974630Z, End: 2024-01-30T11:16:27.557880380Z, Duration: 00:00:00.000 11:16:28 Create runtime call graph: Begin: 2024-01-30T11:16:27.558431812Z, End: 2024-01-30T11:16:27.738889167Z, Duration: 00:00:00.180 11:16:28 Variable Type Analysis #1: Begin: 2024-01-30T11:16:27.559247281Z, End: 2024-01-30T11:16:27.666727138Z, Duration: 00:00:00.107 11:16:28 Create runtime type propagation graph: Begin: 2024-01-30T11:16:27.559922066Z, End: 2024-01-30T11:16:27.603980268Z, Duration: 00:00:00.044 11:16:28 Run SCC (Tarjan) on 7080 nodes: Begin: 2024-01-30T11:16:27.604521510Z, End: 2024-01-30T11:16:27.640285638Z, Duration: 00:00:00.035 11:16:28 Propagate runtime types to strongly connected components: Begin: 2024-01-30T11:16:27.640764568Z, End: 2024-01-30T11:16:27.666477182Z, Duration: 00:00:00.025 11:16:28 Variable Type Analysis #2: Begin: 2024-01-30T11:16:27.670716986Z, End: 2024-01-30T11:16:27.736512235Z, Duration: 00:00:00.065 11:16:28 Create runtime type propagation graph: Begin: 2024-01-30T11:16:27.670817888Z, End: 2024-01-30T11:16:27.707145999Z, Duration: 00:00:00.036 11:16:28 Run SCC (Tarjan) on 7006 nodes: Begin: 2024-01-30T11:16:27.710573256Z, End: 2024-01-30T11:16:27.718771639Z, Duration: 00:00:00.008 11:16:28 Propagate runtime types to strongly connected components: Begin: 2024-01-30T11:16:27.718964373Z, End: 2024-01-30T11:16:27.736412573Z, Duration: 00:00:00.017 11:16:28 Load config: Begin: 2024-01-30T11:16:27.738957559Z, End: 2024-01-30T11:16:27.864260794Z, Duration: 00:00:00.125 11:16:28 Compute entry points: Begin: 2024-01-30T11:16:27.873620783Z, End: 2024-01-30T11:16:28.030060147Z, Duration: 00:00:00.156 11:16:28 Slice call graph: Begin: 2024-01-30T11:16:28.030286932Z, End: 2024-01-30T11:16:28.031074289Z, Duration: 00:00:00.000 11:16:28 Live variable analysis: Begin: 2024-01-30T11:16:28.031129650Z, End: 2024-01-30T11:16:28.044367324Z, Duration: 00:00:00.013 11:16:28 Taint analysis for python: Begin: 2024-01-30T11:16:28.044585498Z, End: 2024-01-30T11:16:28.268270996Z, Duration: 00:00:00.223 11:16:28 Report issues: Begin: 2024-01-30T11:16:28.268350379Z, End: 2024-01-30T11:16:28.271419236Z, Duration: 00:00:00.003 11:16:28 Store cache: Begin: 2024-01-30T11:16:28.271486958Z, End: 2024-01-30T11:16:28.285022987Z, Duration: 00:00:00.013 11:16:28 INFO: python security sensor peak memory: 177 MB 11:16:28 INFO: Sensor PythonSecuritySensor [security] (done) | time=1268ms 11:16:28 INFO: Sensor JsSecuritySensor [security] 11:16:28 INFO: Enabled taint analysis rules: S6096, S5144, S5147, S5146, S2631, S2083, S5131, S5883, S6105, S5334, S5696, S2076, S3649, S6350, S6287 11:16:28 INFO: Load type hierarchy and UCFGs: Starting 11:16:28 INFO: Load type hierarchy: Starting 11:16:28 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 11:16:28 INFO: Read 0 type definitions 11:16:28 INFO: Load type hierarchy: Time spent was 00:00:00.000 11:16:28 INFO: Load UCFGs: Starting 11:16:28 INFO: Load UCFGs: Time spent was 00:00:00.000 11:16:28 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 11:16:28 INFO: No UCFGs have been included for analysis. 11:16:28 INFO: js security sensor: Time spent was 00:00:00.000 11:16:28 INFO: Sensor JsSecuritySensor [security] (done) | time=2ms 11:16:28 INFO: ------------- Run sensors on project 11:16:28 INFO: Sensor Zero Coverage Sensor 11:16:28 INFO: Sensor Zero Coverage Sensor (done) | time=6ms 11:16:28 INFO: CPD Executor 5 files had no CPD blocks 11:16:28 INFO: CPD Executor Calculating CPD for 32 files 11:16:28 INFO: CPD Executor CPD calculation finished (done) | time=41ms 11:16:28 INFO: Analysis report generated in 238ms, dir size=682 KB 11:16:28 INFO: Analysis report compressed in 94ms, zip size=243 KB 11:16:29 INFO: Analysis report uploaded in 724ms 11:16:29 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 11:16:29 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 11:16:29 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AY1aFbfwFJTZX6LySnVw 11:16:31 INFO: Sensor cache published successfully 11:16:31 INFO: Analysis total time: 31.517 s 11:16:31 INFO: ------------------------------------------------------------------------ 11:16:31 INFO: EXECUTION SUCCESS 11:16:31 INFO: ------------------------------------------------------------------------ 11:16:31 INFO: Total time: 37.197s 11:16:31 INFO: Final Memory: 47M/167M 11:16:31 INFO: ------------------------------------------------------------------------ 11:16:32 $ ssh-agent -k 11:16:32 unset SSH_AUTH_SOCK; 11:16:32 unset SSH_AGENT_PID; 11:16:32 echo Agent pid 5797 killed; 11:16:32 [ssh-agent] Stopped. 11:16:32 [PostBuildScript] - [INFO] Executing post build scripts. 11:16:32 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7291913718755051011.sh 11:16:32 ---> sysstat.sh 11:16:33 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10175628103420286075.sh 11:16:33 ---> package-listing.sh 11:16:33 ++ facter osfamily 11:16:33 ++ tr '[:upper:]' '[:lower:]' 11:16:33 + OS_FAMILY=debian 11:16:33 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 11:16:33 + START_PACKAGES=/tmp/packages_start.txt 11:16:33 + END_PACKAGES=/tmp/packages_end.txt 11:16:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:16:33 + PACKAGES=/tmp/packages_start.txt 11:16:33 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 11:16:33 + PACKAGES=/tmp/packages_end.txt 11:16:33 + case "${OS_FAMILY}" in 11:16:33 + dpkg -l 11:16:33 + grep '^ii' 11:16:33 + '[' -f /tmp/packages_start.txt ']' 11:16:33 + '[' -f /tmp/packages_end.txt ']' 11:16:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:16:33 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 11:16:33 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 11:16:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 11:16:33 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins240088611097726304.sh 11:16:33 ---> capture-instance-metadata.sh 11:16:33 Setup pyenv: 11:16:33 system 11:16:33 3.8.13 11:16:33 3.9.13 11:16:33 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 11:16:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yMGy from file:/tmp/.os_lf_venv 11:16:35 lf-activate-venv(): INFO: Installing: lftools 11:16:50 lf-activate-venv(): INFO: Adding /tmp/venv-yMGy/bin to PATH 11:16:50 INFO: Running in OpenStack, capturing instance metadata 11:16:51 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6896221221051387192.sh 11:16:51 provisioning config files... 11:16:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config13201800469589818436tmp 11:16:51 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:16:51 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:16:51 [EnvInject] - Injecting environment variables from a build step. 11:16:51 [EnvInject] - Injecting as environment variables the properties content 11:16:51 SERVER_ID=logs 11:16:51 11:16:51 [EnvInject] - Variables injected successfully. 11:16:51 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9189384118022844744.sh 11:16:51 ---> create-netrc.sh 11:16:51 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins715987463195408965.sh 11:16:51 ---> python-tools-install.sh 11:16:51 Setup pyenv: 11:16:51 system 11:16:51 3.8.13 11:16:51 3.9.13 11:16:51 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 11:16:51 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yMGy from file:/tmp/.os_lf_venv 11:16:53 lf-activate-venv(): INFO: Installing: lftools 11:17:08 lf-activate-venv(): INFO: Adding /tmp/venv-yMGy/bin to PATH 11:17:08 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11741570444656030184.sh 11:17:08 ---> sudo-logs.sh 11:17:08 Archiving 'sudo' log.. 11:17:08 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13586854712259681496.sh 11:17:08 ---> job-cost.sh 11:17:08 Setup pyenv: 11:17:08 system 11:17:08 3.8.13 11:17:08 3.9.13 11:17:08 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 11:17:08 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yMGy from file:/tmp/.os_lf_venv 11:17:10 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:17:19 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. 11:17:19 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 11:17:19 lf-activate-venv(): INFO: Adding /tmp/venv-yMGy/bin to PATH 11:17:19 INFO: No Stack... 11:17:20 INFO: Retrieving Pricing Info for: v2-highcpu-2 11:17:20 INFO: Archiving Costs 11:17:20 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10246193432784786658.sh 11:17:20 ---> logs-deploy.sh 11:17:20 Setup pyenv: 11:17:20 system 11:17:20 3.8.13 11:17:20 3.9.13 11:17:20 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 11:17:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yMGy from file:/tmp/.os_lf_venv 11:17:21 lf-activate-venv(): INFO: Installing: lftools 11:17:34 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. 11:17:34 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 11:17:34 lf-activate-venv(): INFO: Adding /tmp/venv-yMGy/bin to PATH 11:17:34 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/235 11:17:34 INFO: archiving workspace using pattern(s): -p **/*.log 11:17:37 Archives upload complete. 11:17:37 INFO: archiving logs to Nexus 11:17:38 ---> uname -a: 11:17:38 Linux prd-ubuntu2004-builder-2c-2g-343 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 11:17:38 11:17:38 11:17:38 ---> lscpu: 11:17:38 Architecture: x86_64 11:17:38 CPU op-mode(s): 32-bit, 64-bit 11:17:38 Byte Order: Little Endian 11:17:38 Address sizes: 40 bits physical, 48 bits virtual 11:17:38 CPU(s): 2 11:17:38 On-line CPU(s) list: 0,1 11:17:38 Thread(s) per core: 1 11:17:38 Core(s) per socket: 1 11:17:38 Socket(s): 2 11:17:38 NUMA node(s): 1 11:17:38 Vendor ID: AuthenticAMD 11:17:38 CPU family: 23 11:17:38 Model: 49 11:17:38 Model name: AMD EPYC-Rome Processor 11:17:38 Stepping: 0 11:17:38 CPU MHz: 2799.996 11:17:38 BogoMIPS: 5599.99 11:17:38 Virtualization: AMD-V 11:17:38 Hypervisor vendor: KVM 11:17:38 Virtualization type: full 11:17:38 L1d cache: 64 KiB 11:17:38 L1i cache: 64 KiB 11:17:38 L2 cache: 1 MiB 11:17:38 L3 cache: 32 MiB 11:17:38 NUMA node0 CPU(s): 0,1 11:17:38 Vulnerability Gather data sampling: Not affected 11:17:38 Vulnerability Itlb multihit: Not affected 11:17:38 Vulnerability L1tf: Not affected 11:17:38 Vulnerability Mds: Not affected 11:17:38 Vulnerability Meltdown: Not affected 11:17:38 Vulnerability Mmio stale data: Not affected 11:17:38 Vulnerability Retbleed: Vulnerable 11:17:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:17:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:17:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 11:17:38 Vulnerability Srbds: Not affected 11:17:38 Vulnerability Tsx async abort: Not affected 11:17:38 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 11:17:38 11:17:38 11:17:38 ---> nproc: 11:17:38 2 11:17:38 11:17:38 11:17:38 ---> df -h: 11:17:38 Filesystem Size Used Avail Use% Mounted on 11:17:38 udev 969M 0 969M 0% /dev 11:17:38 tmpfs 198M 1020K 197M 1% /run 11:17:38 /dev/vda1 20G 8.9G 11G 47% / 11:17:38 tmpfs 986M 0 986M 0% /dev/shm 11:17:38 tmpfs 5.0M 0 5.0M 0% /run/lock 11:17:38 tmpfs 986M 0 986M 0% /sys/fs/cgroup 11:17:38 /dev/loop0 62M 62M 0 100% /snap/core20/1405 11:17:38 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 11:17:38 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 11:17:38 /dev/vda15 105M 6.1M 99M 6% /boot/efi 11:17:38 tmpfs 198M 0 198M 0% /run/user/1001 11:17:38 /dev/loop3 64M 64M 0 100% /snap/core20/2105 11:17:38 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 11:17:38 11:17:38 11:17:38 ---> free -m: 11:17:38 total used free shared buff/cache available 11:17:38 Mem: 1971 432 148 2 1390 1353 11:17:38 Swap: 1023 3 1020 11:17:38 11:17:38 11:17:38 ---> ip addr: 11:17:38 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:17:38 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:17:38 inet 127.0.0.1/8 scope host lo 11:17:38 valid_lft forever preferred_lft forever 11:17:38 inet6 ::1/128 scope host 11:17:38 valid_lft forever preferred_lft forever 11:17:38 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 11:17:38 link/ether fa:16:3e:83:78:29 brd ff:ff:ff:ff:ff:ff 11:17:38 inet 10.32.6.82/23 brd 10.32.7.255 scope global dynamic ens3 11:17:38 valid_lft 86036sec preferred_lft 86036sec 11:17:38 inet6 fe80::f816:3eff:fe83:7829/64 scope link 11:17:38 valid_lft forever preferred_lft forever 11:17:38 11:17:38 11:17:38 ---> sar -b -r -n DEV: 11:17:38 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-343) 01/30/24 _x86_64_ (2 CPU) 11:17:38 11:17:38 11:11:36 LINUX RESTART (2 CPU) 11:17:38 11:17:38 11:12:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:17:38 11:13:01 176.67 99.88 76.79 0.00 2298.83 13275.84 0.00 11:17:38 11:14:01 69.01 14.85 54.16 0.00 1427.50 10633.56 0.00 11:17:38 11:15:01 22.82 1.22 21.61 0.00 85.02 6223.16 0.00 11:17:38 11:16:01 111.88 34.39 77.49 0.00 2163.24 34840.46 0.00 11:17:38 11:17:02 111.43 54.85 56.58 0.00 7855.30 17057.83 0.00 11:17:38 Average: 98.36 41.04 57.32 0.00 2766.29 16405.45 0.00 11:17:38 11:17:38 11:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:17:38 11:13:01 153016 1435924 347552 17.22 53144 1316572 827772 26.99 433648 1241904 49108 11:17:38 11:14:01 110592 1400192 376244 18.64 64608 1298356 903908 29.47 463340 1234072 13920 11:17:38 11:15:01 111300 1386092 390104 19.33 67760 1276732 930356 30.33 465876 1225856 69052 11:17:38 11:16:01 80112 1329020 444844 22.04 88244 1221660 960092 31.30 449512 1262664 86064 11:17:38 11:17:02 233724 1379952 391188 19.38 95664 1109064 874152 28.50 588100 964904 204 11:17:38 Average: 137749 1386236 389986 19.32 73884 1244477 899256 29.32 480095 1185880 43670 11:17:38 11:17:38 11:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:17:38 11:13:01 ens3 69.08 63.91 937.37 7.07 0.00 0.00 0.00 0.00 11:17:38 11:13:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 11:17:38 11:14:01 ens3 28.10 26.08 164.64 6.49 0.00 0.00 0.00 0.00 11:17:38 11:14:01 lo 1.53 1.53 0.14 0.14 0.00 0.00 0.00 0.00 11:17:38 11:15:01 ens3 80.59 61.32 1667.40 5.91 0.00 0.00 0.00 0.00 11:17:38 11:15:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 11:17:38 11:16:01 ens3 296.78 158.52 2555.12 20.55 0.00 0.00 0.00 0.00 11:17:38 11:16:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 11:17:38 11:17:02 ens3 492.26 309.73 3732.16 38.50 0.00 0.00 0.00 0.00 11:17:38 11:17:02 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 11:17:38 Average: ens3 193.38 123.92 1811.49 15.71 0.00 0.00 0.00 0.00 11:17:38 Average: lo 0.97 0.97 0.09 0.09 0.00 0.00 0.00 0.00 11:17:38 11:17:38 11:17:38 ---> sar -P ALL: 11:17:38 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-343) 01/30/24 _x86_64_ (2 CPU) 11:17:38 11:17:38 11:11:36 LINUX RESTART (2 CPU) 11:17:38 11:17:38 11:12:01 CPU %user %nice %system %iowait %steal %idle 11:17:38 11:13:01 all 36.82 22.96 18.00 6.48 0.10 15.63 11:17:38 11:13:01 0 36.86 23.31 18.37 5.68 0.10 15.67 11:17:38 11:13:01 1 36.79 22.61 17.62 7.28 0.10 15.60 11:17:38 11:14:01 all 30.53 0.00 2.74 4.62 0.09 62.01 11:17:38 11:14:01 0 12.35 0.00 2.16 2.73 0.08 82.68 11:17:38 11:14:01 1 48.95 0.00 3.34 6.54 0.10 41.08 11:17:38 11:15:01 all 10.87 0.00 1.23 1.43 0.07 86.40 11:17:38 11:15:01 0 7.44 0.00 1.14 1.05 0.07 90.30 11:17:38 11:15:01 1 14.35 0.00 1.32 1.82 0.07 82.44 11:17:38 11:16:01 all 38.70 0.00 3.81 5.09 0.09 52.31 11:17:38 11:16:01 0 36.16 0.00 4.02 8.01 0.08 51.74 11:17:38 11:16:01 1 41.25 0.00 3.61 2.15 0.10 52.89 11:17:38 11:17:02 all 39.11 0.00 4.29 4.99 0.08 51.52 11:17:38 11:17:02 0 40.02 0.00 4.58 5.77 0.08 49.55 11:17:38 11:17:02 1 38.20 0.00 4.00 4.22 0.08 53.49 11:17:38 Average: all 31.17 4.55 5.98 4.52 0.09 53.70 11:17:38 Average: 0 26.46 4.61 6.01 4.63 0.08 58.20 11:17:38 Average: 1 35.91 4.48 5.95 4.40 0.09 49.17 11:17:38 11:17:38 11:17:38