19:16:58 Started by timer 19:16:58 Running as SYSTEM 19:16:58 [EnvInject] - Loading node environment variables. 19:16:58 Building remotely on prd-ubuntu2004-builder-2c-2g-717 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 19:16:58 [ssh-agent] Looking for ssh-agent implementation... 19:16:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:59 $ ssh-agent 19:16:59 SSH_AUTH_SOCK=/tmp/ssh-eGDndRe88n1Z/agent.6150 19:16:59 SSH_AGENT_PID=6155 19:16:59 [ssh-agent] Started. 19:16:59 Running ssh-add (command line suppressed) 19:16:59 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_6439295681868431284.key (jenkins-ssh) 19:16:59 [ssh-agent] Using credentials jenkins (jenkins) 19:16:59 The recommended git tool is: NONE 19:17:01 using credential jenkins 19:17:01 Wiping out workspace first. 19:17:01 Cloning the remote Git repository 19:17:01 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:17:01 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 19:17:01 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:17:01 > git --version # timeout=10 19:17:01 > git --version # 'git version 2.25.1' 19:17:01 using GIT_SSH to set credentials jenkins 19:17:01 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:02 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 19:17:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:02 Avoid second fetch 19:17:02 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 19:17:02 Checking out Revision 646bba005cabd05f734fa1ece2725ce284d6c6b0 (refs/remotes/origin/master) 19:17:02 > git config core.sparsecheckout # timeout=10 19:17:02 > git checkout -f 646bba005cabd05f734fa1ece2725ce284d6c6b0 # timeout=10 19:17:02 Commit message: "sim-a1 README syntax check" 19:17:02 > git rev-list --no-walk 646bba005cabd05f734fa1ece2725ce284d6c6b0 # timeout=10 19:17:06 provisioning config files... 19:17:06 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:17:06 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:17:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14440258143777295357.sh 19:17:06 ---> python-tools-install.sh 19:17:06 Setup pyenv: 19:17:06 * system (set by /opt/pyenv/version) 19:17:06 * 3.8.13 (set by /opt/pyenv/version) 19:17:06 * 3.9.13 (set by /opt/pyenv/version) 19:17:06 * 3.10.6 (set by /opt/pyenv/version) 19:17:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NSQ8 19:17:11 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:17:14 lf-activate-venv(): INFO: Installing: lftools 19:17:45 lf-activate-venv(): INFO: Adding /tmp/venv-NSQ8/bin to PATH 19:17:45 Generating Requirements File 19:18:05 Python 3.10.6 19:18:05 pip 24.1.2 from /tmp/venv-NSQ8/lib/python3.10/site-packages/pip (python 3.10) 19:18:05 appdirs==1.4.4 19:18:05 argcomplete==3.4.0 19:18:05 aspy.yaml==1.3.0 19:18:05 attrs==23.2.0 19:18:05 autopage==0.5.2 19:18:05 beautifulsoup4==4.12.3 19:18:05 boto3==1.34.147 19:18:05 botocore==1.34.147 19:18:05 bs4==0.0.2 19:18:05 cachetools==5.4.0 19:18:05 certifi==2024.7.4 19:18:05 cffi==1.16.0 19:18:05 cfgv==3.4.0 19:18:05 chardet==5.2.0 19:18:05 charset-normalizer==3.3.2 19:18:05 click==8.1.7 19:18:05 cliff==4.7.0 19:18:05 cmd2==2.4.3 19:18:05 cryptography==3.3.2 19:18:05 debtcollector==3.0.0 19:18:05 decorator==5.1.1 19:18:05 defusedxml==0.7.1 19:18:05 Deprecated==1.2.14 19:18:05 distlib==0.3.8 19:18:05 dnspython==2.6.1 19:18:05 docker==4.2.2 19:18:05 dogpile.cache==1.3.3 19:18:05 email_validator==2.2.0 19:18:05 filelock==3.15.4 19:18:05 future==1.0.0 19:18:05 gitdb==4.0.11 19:18:05 GitPython==3.1.43 19:18:05 google-auth==2.32.0 19:18:05 httplib2==0.22.0 19:18:05 identify==2.6.0 19:18:05 idna==3.7 19:18:05 importlib-resources==1.5.0 19:18:05 iso8601==2.1.0 19:18:05 Jinja2==3.1.4 19:18:05 jmespath==1.0.1 19:18:05 jsonpatch==1.33 19:18:05 jsonpointer==3.0.0 19:18:05 jsonschema==4.23.0 19:18:05 jsonschema-specifications==2023.12.1 19:18:05 keystoneauth1==5.7.0 19:18:05 kubernetes==30.1.0 19:18:05 lftools==0.37.10 19:18:05 lxml==5.2.2 19:18:05 MarkupSafe==2.1.5 19:18:05 msgpack==1.0.8 19:18:05 multi_key_dict==2.0.3 19:18:05 munch==4.0.0 19:18:05 netaddr==1.3.0 19:18:05 netifaces==0.11.0 19:18:05 niet==1.4.2 19:18:05 nodeenv==1.9.1 19:18:05 oauth2client==4.1.3 19:18:05 oauthlib==3.2.2 19:18:05 openstacksdk==3.3.0 19:18:05 os-client-config==2.1.0 19:18:05 os-service-types==1.7.0 19:18:05 osc-lib==3.1.0 19:18:05 oslo.config==9.5.0 19:18:05 oslo.context==5.5.0 19:18:05 oslo.i18n==6.3.0 19:18:05 oslo.log==6.1.1 19:18:05 oslo.serialization==5.4.0 19:18:05 oslo.utils==7.2.0 19:18:05 packaging==24.1 19:18:05 pbr==6.0.0 19:18:05 platformdirs==4.2.2 19:18:05 prettytable==3.10.2 19:18:05 pyasn1==0.6.0 19:18:05 pyasn1_modules==0.4.0 19:18:05 pycparser==2.22 19:18:05 pygerrit2==2.0.15 19:18:05 PyGithub==2.3.0 19:18:05 PyJWT==2.8.0 19:18:05 PyNaCl==1.5.0 19:18:05 pyparsing==2.4.7 19:18:05 pyperclip==1.9.0 19:18:05 pyrsistent==0.20.0 19:18:05 python-cinderclient==9.5.0 19:18:05 python-dateutil==2.9.0.post0 19:18:05 python-heatclient==3.5.0 19:18:05 python-jenkins==1.8.2 19:18:05 python-keystoneclient==5.4.0 19:18:05 python-magnumclient==4.6.0 19:18:05 python-novaclient==18.6.0 19:18:05 python-openstackclient==6.6.0 19:18:05 python-swiftclient==4.6.0 19:18:05 PyYAML==6.0.1 19:18:05 referencing==0.35.1 19:18:05 requests==2.32.3 19:18:05 requests-oauthlib==2.0.0 19:18:05 requestsexceptions==1.4.0 19:18:05 rfc3986==2.0.0 19:18:05 rpds-py==0.19.0 19:18:05 rsa==4.9 19:18:05 ruamel.yaml==0.18.6 19:18:05 ruamel.yaml.clib==0.2.8 19:18:05 s3transfer==0.10.2 19:18:05 simplejson==3.19.2 19:18:05 six==1.16.0 19:18:05 smmap==5.0.1 19:18:05 soupsieve==2.5 19:18:05 stevedore==5.2.0 19:18:05 tabulate==0.9.0 19:18:05 toml==0.10.2 19:18:05 tomlkit==0.13.0 19:18:05 tqdm==4.66.4 19:18:05 typing_extensions==4.12.2 19:18:05 tzdata==2024.1 19:18:05 urllib3==1.26.19 19:18:05 virtualenv==20.26.3 19:18:05 wcwidth==0.2.13 19:18:05 websocket-client==1.8.0 19:18:05 wrapt==1.16.0 19:18:05 xdg==6.0.0 19:18:05 xmltodict==0.13.0 19:18:05 yq==3.4.3 19:18:05 [EnvInject] - Injecting environment variables from a build step. 19:18:05 [EnvInject] - Injecting as environment variables the properties content 19:18:05 SET_JDK_VERSION=openjdk17 19:18:05 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 19:18:05 19:18:05 [EnvInject] - Variables injected successfully. 19:18:05 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins2141402122905440463.sh 19:18:05 ---> update-java-alternatives.sh 19:18:05 ---> Updating Java version 19:18:06 ---> Ubuntu/Debian system detected 19:18:06 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 19:18:06 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 19:18:06 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 19:18:06 openjdk version "17.0.9" 2023-10-17 19:18:06 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 19:18:06 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 19:18:06 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 19:18:06 [EnvInject] - Injecting environment variables from a build step. 19:18:06 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 19:18:06 [EnvInject] - Variables injected successfully. 19:18:06 [EnvInject] - Injecting environment variables from a build step. 19:18:06 [EnvInject] - Injecting as environment variables the properties content 19:18:06 PYTHON=python3 19:18:06 19:18:06 [EnvInject] - Variables injected successfully. 19:18:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins18382297565046364662.sh 19:18:06 ---> tox-install.sh 19:18:06 + source /home/jenkins/lf-env.sh 19:18:06 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:06 ++ mktemp -d /tmp/venv-XXXX 19:18:06 + lf_venv=/tmp/venv-TZak 19:18:06 + local venv_file=/tmp/.os_lf_venv 19:18:06 + local python=python3 19:18:06 + local options 19:18:06 + local set_path=true 19:18:06 + local install_args= 19:18:06 ++ 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 19:18:06 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:06 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:06 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:06 + true 19:18:06 + case $1 in 19:18:06 + venv_file=/tmp/.toxenv 19:18:06 + shift 2 19:18:06 + true 19:18:06 + case $1 in 19:18:06 + shift 19:18:06 + break 19:18:06 + case $python in 19:18:06 + local pkg_list= 19:18:06 + [[ -d /opt/pyenv ]] 19:18:06 + echo 'Setup pyenv:' 19:18:06 Setup pyenv: 19:18:06 + export PYENV_ROOT=/opt/pyenv 19:18:06 + PYENV_ROOT=/opt/pyenv 19:18:06 + 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 19:18:06 + 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 19:18:06 + pyenv versions 19:18:07 system 19:18:07 3.8.13 19:18:07 3.9.13 19:18:07 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:07 + command -v pyenv 19:18:07 ++ pyenv init - --no-rehash 19:18:07 + 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[*]}"'\'')" 19:18:07 export PATH="/opt/pyenv/shims:${PATH}" 19:18:07 export PYENV_SHELL=bash 19:18:07 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:07 pyenv() { 19:18:07 local command 19:18:07 command="${1:-}" 19:18:07 if [ "$#" -gt 0 ]; then 19:18:07 shift 19:18:07 fi 19:18:07 19:18:07 case "$command" in 19:18:07 rehash|shell) 19:18:07 eval "$(pyenv "sh-$command" "$@")" 19:18:07 ;; 19:18:07 *) 19:18:07 command pyenv "$command" "$@" 19:18:07 ;; 19:18:07 esac 19:18:07 }' 19:18:07 +++ 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[*]}"' 19:18:07 ++ 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 19:18:07 ++ 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 19:18:07 ++ 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 19:18:07 ++ export PYENV_SHELL=bash 19:18:07 ++ PYENV_SHELL=bash 19:18:07 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:07 +++ complete -F _pyenv pyenv 19:18:07 ++ lf-pyver python3 19:18:07 ++ local py_version_xy=python3 19:18:07 ++ local py_version_xyz= 19:18:07 ++ awk '{ print $1 }' 19:18:07 ++ pyenv versions 19:18:07 ++ local command 19:18:07 ++ command=versions 19:18:07 ++ '[' 1 -gt 0 ']' 19:18:07 ++ shift 19:18:07 ++ case "$command" in 19:18:07 ++ command pyenv versions 19:18:07 ++ pyenv versions 19:18:07 ++ grep -E '^[0-9.]*[0-9]$' 19:18:07 ++ sed 's/^[ *]* //' 19:18:07 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:07 +++ grep '^3' /tmp/.pyenv_versions 19:18:07 +++ sort -V 19:18:07 +++ tail -n 1 19:18:07 ++ py_version_xyz=3.10.6 19:18:07 ++ [[ -z 3.10.6 ]] 19:18:07 ++ echo 3.10.6 19:18:07 ++ return 0 19:18:07 + pyenv local 3.10.6 19:18:07 + local command 19:18:07 + command=local 19:18:07 + '[' 2 -gt 0 ']' 19:18:07 + shift 19:18:07 + case "$command" in 19:18:07 + command pyenv local 3.10.6 19:18:07 + pyenv local 3.10.6 19:18:07 + for arg in "$@" 19:18:07 + case $arg in 19:18:07 + pkg_list+='tox ' 19:18:07 + for arg in "$@" 19:18:07 + case $arg in 19:18:07 + pkg_list+='virtualenv ' 19:18:07 + for arg in "$@" 19:18:07 + case $arg in 19:18:07 + pkg_list+='urllib3~=1.26.15 ' 19:18:07 + [[ -f /tmp/.toxenv ]] 19:18:07 + [[ ! -f /tmp/.toxenv ]] 19:18:07 + [[ -n '' ]] 19:18:07 + python3 -m venv /tmp/venv-TZak 19:18:11 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TZak' 19:18:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TZak 19:18:11 + echo /tmp/venv-TZak 19:18:11 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:18:11 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:18:11 + /tmp/venv-TZak/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:13 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:13 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:13 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:13 + /tmp/venv-TZak/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:16 + type python3 19:18:16 + true 19:18:16 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-TZak/bin to PATH' 19:18:16 lf-activate-venv(): INFO: Adding /tmp/venv-TZak/bin to PATH 19:18:16 + PATH=/tmp/venv-TZak/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 19:18:16 + return 0 19:18:16 + python3 --version 19:18:16 Python 3.10.6 19:18:16 + python3 -m pip --version 19:18:16 pip 24.1.2 from /tmp/venv-TZak/lib/python3.10/site-packages/pip (python 3.10) 19:18:16 + python3 -m pip freeze 19:18:16 cachetools==5.4.0 19:18:16 chardet==5.2.0 19:18:16 colorama==0.4.6 19:18:16 distlib==0.3.8 19:18:16 filelock==3.15.4 19:18:16 packaging==24.1 19:18:16 platformdirs==4.2.2 19:18:16 pluggy==1.5.0 19:18:16 pyproject-api==1.7.1 19:18:16 tomli==2.0.1 19:18:16 tox==4.16.0 19:18:16 urllib3==1.26.19 19:18:16 virtualenv==20.26.3 19:18:16 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins17833361053855350634.sh 19:18:16 [EnvInject] - Injecting environment variables from a build step. 19:18:16 [EnvInject] - Injecting as environment variables the properties content 19:18:16 PARALLEL=False 19:18:16 19:18:16 [EnvInject] - Variables injected successfully. 19:18:16 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10798193481765586698.sh 19:18:16 ---> tox-run.sh 19:18:16 + 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 19:18:16 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:16 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:18:16 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:16 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 19:18:16 + source /home/jenkins/lf-env.sh 19:18:16 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:16 ++ mktemp -d /tmp/venv-XXXX 19:18:16 + lf_venv=/tmp/venv-SiU7 19:18:16 + local venv_file=/tmp/.os_lf_venv 19:18:16 + local python=python3 19:18:16 + local options 19:18:16 + local set_path=true 19:18:16 + local install_args= 19:18:16 ++ 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 19:18:16 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:16 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:16 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:16 + true 19:18:16 + case $1 in 19:18:16 + venv_file=/tmp/.toxenv 19:18:16 + shift 2 19:18:16 + true 19:18:16 + case $1 in 19:18:16 + shift 19:18:16 + break 19:18:16 + case $python in 19:18:16 + local pkg_list= 19:18:16 + [[ -d /opt/pyenv ]] 19:18:16 + echo 'Setup pyenv:' 19:18:16 Setup pyenv: 19:18:16 + export PYENV_ROOT=/opt/pyenv 19:18:16 + PYENV_ROOT=/opt/pyenv 19:18:16 + 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 19:18:16 + 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 19:18:16 + pyenv versions 19:18:16 system 19:18:16 3.8.13 19:18:16 3.9.13 19:18:16 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:16 + command -v pyenv 19:18:16 ++ pyenv init - --no-rehash 19:18:16 + 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[*]}"'\'')" 19:18:16 export PATH="/opt/pyenv/shims:${PATH}" 19:18:16 export PYENV_SHELL=bash 19:18:16 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:16 pyenv() { 19:18:16 local command 19:18:16 command="${1:-}" 19:18:16 if [ "$#" -gt 0 ]; then 19:18:16 shift 19:18:16 fi 19:18:16 19:18:16 case "$command" in 19:18:16 rehash|shell) 19:18:16 eval "$(pyenv "sh-$command" "$@")" 19:18:16 ;; 19:18:16 *) 19:18:16 command pyenv "$command" "$@" 19:18:16 ;; 19:18:16 esac 19:18:16 }' 19:18:16 +++ 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[*]}"' 19:18:16 ++ 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 19:18:16 ++ 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 19:18:16 ++ 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 19:18:16 ++ export PYENV_SHELL=bash 19:18:16 ++ PYENV_SHELL=bash 19:18:16 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:16 +++ complete -F _pyenv pyenv 19:18:16 ++ lf-pyver python3 19:18:16 ++ local py_version_xy=python3 19:18:16 ++ local py_version_xyz= 19:18:16 ++ pyenv versions 19:18:16 ++ local command 19:18:16 ++ command=versions 19:18:16 ++ '[' 1 -gt 0 ']' 19:18:16 ++ shift 19:18:16 ++ case "$command" in 19:18:16 ++ command pyenv versions 19:18:16 ++ pyenv versions 19:18:16 ++ grep -E '^[0-9.]*[0-9]$' 19:18:16 ++ awk '{ print $1 }' 19:18:16 ++ sed 's/^[ *]* //' 19:18:16 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:16 +++ grep '^3' /tmp/.pyenv_versions 19:18:16 +++ tail -n 1 19:18:16 +++ sort -V 19:18:16 ++ py_version_xyz=3.10.6 19:18:16 ++ [[ -z 3.10.6 ]] 19:18:16 ++ echo 3.10.6 19:18:16 ++ return 0 19:18:16 + pyenv local 3.10.6 19:18:16 + local command 19:18:16 + command=local 19:18:16 + '[' 2 -gt 0 ']' 19:18:16 + shift 19:18:16 + case "$command" in 19:18:16 + command pyenv local 3.10.6 19:18:16 + pyenv local 3.10.6 19:18:16 + for arg in "$@" 19:18:16 + case $arg in 19:18:16 + pkg_list+='tox ' 19:18:16 + for arg in "$@" 19:18:16 + case $arg in 19:18:16 + pkg_list+='virtualenv ' 19:18:16 + for arg in "$@" 19:18:16 + case $arg in 19:18:16 + pkg_list+='urllib3~=1.26.15 ' 19:18:16 + [[ -f /tmp/.toxenv ]] 19:18:16 ++ cat /tmp/.toxenv 19:18:16 + lf_venv=/tmp/venv-TZak 19:18:16 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-TZak from' file:/tmp/.toxenv 19:18:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-TZak from file:/tmp/.toxenv 19:18:16 + /tmp/venv-TZak/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:17 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:17 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:17 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:17 + /tmp/venv-TZak/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:18 + type python3 19:18:18 + true 19:18:18 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-TZak/bin to PATH' 19:18:18 lf-activate-venv(): INFO: Adding /tmp/venv-TZak/bin to PATH 19:18:18 + PATH=/tmp/venv-TZak/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 19:18:18 + return 0 19:18:18 + [[ -d /opt/pyenv ]] 19:18:18 + echo '---> Setting up pyenv' 19:18:18 ---> Setting up pyenv 19:18:18 + export PYENV_ROOT=/opt/pyenv 19:18:18 + PYENV_ROOT=/opt/pyenv 19:18:18 + export PATH=/opt/pyenv/bin:/tmp/venv-TZak/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 19:18:18 + PATH=/opt/pyenv/bin:/tmp/venv-TZak/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 19:18:18 ++ pwd 19:18:18 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 19:18:18 + export PYTHONPATH 19:18:18 + export TOX_TESTENV_PASSENV=PYTHONPATH 19:18:18 + TOX_TESTENV_PASSENV=PYTHONPATH 19:18:18 + tox --version 19:18:19 4.16.0 from /tmp/venv-TZak/lib/python3.10/site-packages/tox/__init__.py 19:18:19 + PARALLEL=False 19:18:19 + TOX_OPTIONS_LIST= 19:18:19 + [[ -n '' ]] 19:18:19 + case ${PARALLEL,,} in 19:18:19 + tox 19:18:19 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 19:18:20 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 19:18:27 code: freeze> python -m pip freeze --all 19:18:27 code: attrs==23.2.0,certifi==2024.7.4,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.6.0,exceptiongroup==1.2.2,Flask==2.2.5,idna==3.7,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.2.0,Jinja2==3.1.4,jsonschema==4.23.0,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.5,packaging==24.1,pip==24.1,pluggy==1.5.0,pytest==8.3.1,pytest-cov==5.0.0,PyYAML==6.0.1,referencing==0.35.1,requests==2.32.3,rpds-py==0.19.0,setuptools==70.1.0,tomli==2.0.1,urllib3==2.2.2,Werkzeug==2.2.3,wheel==0.43.0 19:18:27 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 19:18:27 ============================= test session starts ============================== 19:18:27 platform linux -- Python 3.10.6, pytest-8.3.1, pluggy-1.5.0 19:18:27 cachedir: .tox/code/.pytest_cache 19:18:27 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:27 plugins: cov-5.0.0 19:18:27 collected 4 items 19:18:27 19:18:28 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:28 -------------------------------- live log setup -------------------------------- 19:18:28 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:28 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:28 or provide the path to your local installation by passing swagger_path= 19:18:28 19:18:28 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:28 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:28 or provide the path to your local installation by passing swagger_path= 19:18:28 19:18:28 PASSED [ 25%] 19:18:28 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 19:18:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 19:18:38 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 19:18:38 -------------------------------- live log call --------------------------------- 19:18:38 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. 19:18:38 * Running on http://127.0.0.1:8086 19:18:38 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:18:48 INFO werkzeug:_internal.py:224 127.0.0.1 - - [24/Jul/2024 19:18:48] "POST /statustest HTTP/1.1" 201 - 19:18:48 PASSED [100%] 19:18:49 19:18:49 =============================== warnings summary =============================== 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:49 /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. 19:18:49 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:49 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:49 /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. 19:18:49 from jsonschema import Draft4Validator, RefResolver 19:18:49 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:49 /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. 19:18:49 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:49 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:49 /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. 19:18:49 app.json_encoder = FlaskJSONEncoder 19:18:49 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:49 /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. 19:18:49 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:49 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:49 /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. 19:18:49 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:49 19:18:49 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:49 19:18:49 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:49 Name Stmts Miss Cover Missing 19:18:49 --------------------------------------------------------------------------------------------------------- 19:18:49 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:49 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 19:18:49 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 19:18:49 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:49 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:49 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:49 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:49 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:49 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:49 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 19:18:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:49 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:49 --------------------------------------------------------------------------------------------------------- 19:18:49 TOTAL 973 113 88% 19:18:49 Coverage HTML written to dir htmlcov 19:18:49 Coverage XML written to file coverage.xml 19:18:49 19:18:49 Required test coverage of 70% reached. Total coverage: 88.39% 19:18:49 ======================= 4 passed, 118 warnings in 21.51s ======================= 19:18:49 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 19:18:49 ============================= test session starts ============================== 19:18:49 platform linux -- Python 3.10.6, pytest-8.3.1, pluggy-1.5.0 19:18:49 cachedir: .tox/code/.pytest_cache 19:18:49 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:49 plugins: cov-5.0.0 19:18:49 collected 1 item 19:18:49 19:18:49 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:50 -------------------------------- live log setup -------------------------------- 19:18:50 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:50 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:50 or provide the path to your local installation by passing swagger_path= 19:18:50 19:18:50 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:50 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:50 or provide the path to your local installation by passing swagger_path= 19:18:50 19:19:00 PASSED [100%] 19:19:00 19:19:00 =============================== warnings summary =============================== 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 /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. 19:19:00 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 /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. 19:19:00 from jsonschema import Draft4Validator, RefResolver 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 /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. 19:19:00 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 /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. 19:19:00 app.json_encoder = FlaskJSONEncoder 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 /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. 19:19:00 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:19:00 /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. 19:19:00 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:19:00 /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. 19:19:00 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 /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. 19:19:00 warnings.warn( 19:19:00 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:00 /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. 19:19:00 return json.dumps(obj, **kwargs) 19:19:00 19:19:00 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:00 19:19:00 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:00 Name Stmts Miss Cover Missing 19:19:00 --------------------------------------------------------------------------------------------------------- 19:19:00 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:00 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 19:19:00 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 19:19:00 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:00 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:00 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:00 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 19:19:00 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 19:19:00 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:00 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:00 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:00 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:00 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 19:19:00 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:00 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:00 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:00 --------------------------------------------------------------------------------------------------------- 19:19:00 TOTAL 1440 152 89% 19:19:00 Coverage HTML written to dir htmlcov 19:19:00 Coverage XML written to file coverage.xml 19:19:00 19:19:00 Required test coverage of 70% reached. Total coverage: 89.44% 19:19:00 ======================= 1 passed, 65 warnings in 11.34s ======================== 19:19:01 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 19:19:01 ============================= test session starts ============================== 19:19:01 platform linux -- Python 3.10.6, pytest-8.3.1, pluggy-1.5.0 19:19:01 cachedir: .tox/code/.pytest_cache 19:19:01 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:19:01 plugins: cov-5.0.0 19:19:01 collected 4 items 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:01 -------------------------------- live log setup -------------------------------- 19:19:01 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:01 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:01 or provide the path to your local installation by passing swagger_path= 19:19:01 19:19:01 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:01 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:01 or provide the path to your local installation by passing swagger_path= 19:19:01 19:19:01 PASSED [ 25%] 19:19:02 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 19:19:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 19:19:12 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 19:19:12 -------------------------------- live log call --------------------------------- 19:19: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. 19:19:12 * Running on http://127.0.0.1:8086 19:19:12 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:19:22 INFO werkzeug:_internal.py:224 127.0.0.1 - - [24/Jul/2024 19:19:22] "POST /statustest HTTP/1.1" 200 - 19:19:22 PASSED [100%] 19:19:23 19:19:23 =============================== warnings summary =============================== 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19: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. 19:19:23 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:23 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19: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. 19:19:23 from jsonschema import Draft4Validator, RefResolver 19:19:23 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19: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. 19:19:23 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:23 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19: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. 19:19:23 app.json_encoder = FlaskJSONEncoder 19:19:23 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:23 /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. 19:19:23 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:23 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19: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. 19:19:23 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:23 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19: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. 19:19:23 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:23 19:19:23 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:23 19:19:23 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:23 Name Stmts Miss Cover Missing 19:19:23 --------------------------------------------------------------------------------------------------------- 19:19:23 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19: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 19:19: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 19:19:23 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:23 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:23 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:23 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 19:19:23 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 19:19:23 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:23 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 19:19:23 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 19:19:23 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 19:19:23 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 19:19:23 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 19:19:23 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:23 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:23 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19: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 19:19:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:23 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:23 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 19:19:23 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:23 --------------------------------------------------------------------------------------------------------- 19:19:23 TOTAL 2219 282 87% 19:19:23 Coverage HTML written to dir htmlcov 19:19:23 Coverage XML written to file coverage.xml 19:19:23 19:19:23 Required test coverage of 70% reached. Total coverage: 87.29% 19:19:23 ======================= 4 passed, 65 warnings in 21.80s ======================== 19:19:23 code: commands[3]> coverage xml -i 19:19:23 Wrote XML report to coverage.xml 19:19:23 code: OK ✔ in 1 minute 3.97 seconds 19:19:23 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:02 docs: freeze> python -m pip freeze --all 19:20:03 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.4.0,certifi==2024.7.4,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.1,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.15.4,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.1,nwdiag==3.0.0,packaging==24.1,pbr==6.0.0,pillow==10.4.0,pip==24.1,platformdirs==4.2.2,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.2,pyproject-api==1.7.1,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==70.1.0,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.6,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.30,sphinxcontrib-qthelp==1.0.8,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.2.0,tomli==2.0.1,tox==4.16.0,urllib3==1.26.19,virtualenv==20.26.3,webcolors==24.6.0,wheel==0.43.0 19:20:03 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 19:20:03 Running Sphinx v5.3.0 19:20:03 making output directory... done 19:20:03 building [mo]: targets for 0 po files that are out of date 19:20:03 building [html]: targets for 6 source files that are out of date 19:20:03 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:03 reading sources... [ 16%] callout-server 19:20:03 reading sources... [ 33%] index 19:20:03 reading sources... [ 50%] kafka-message-dispatcher 19:20:03 reading sources... [ 66%] overview 19:20:03 reading sources... [ 83%] release-notes 19:20:04 reading sources... [100%] simulator-api 19:20:04 19:20:04 looking for now-outdated files... none found 19:20:04 pickling environment... done 19:20:04 checking consistency... done 19:20:04 preparing documents... done 19:20:04 writing output... [ 16%] callout-server 19:20:04 writing output... [ 33%] index 19:20:04 writing output... [ 50%] kafka-message-dispatcher 19:20:04 writing output... [ 66%] overview 19:20:04 writing output... [ 83%] release-notes 19:20:04 writing output... [100%] simulator-api 19:20:04 19:20:04 generating indices... genindex done 19:20:04 writing additional pages... search done 19:20:04 copying images... [100%] images/yaml_logo.png 19:20:04 19:20:04 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 19:20:04 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 19:20:04 19:20:04 copying static files... done 19:20:04 copying extra files... done 19:20:04 dumping search index in English (code: en)... done 19:20:04 dumping object inventory... done 19:20:04 build succeeded. 19:20:04 19:20:04 The HTML pages are in docs/_build/html. 19:20:04 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 19:20:04 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:20:05 docs: OK ✔ in 41.26 seconds 19:20:05 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:26 docs-linkcheck: freeze> python -m pip freeze --all 19:20:26 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.4.0,certifi==2024.7.4,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.1,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.15.4,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.1,nwdiag==3.0.0,packaging==24.1,pbr==6.0.0,pillow==10.4.0,pip==24.1,platformdirs==4.2.2,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.2,pyproject-api==1.7.1,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==70.1.0,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.6,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.30,sphinxcontrib-qthelp==1.0.8,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.2.0,tomli==2.0.1,tox==4.16.0,urllib3==1.26.19,virtualenv==20.26.3,webcolors==24.6.0,wheel==0.43.0 19:20:26 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 19:20:26 Running Sphinx v5.3.0 19:20:27 making output directory... done 19:20:27 building [mo]: targets for 0 po files that are out of date 19:20:27 building [linkcheck]: targets for 6 source files that are out of date 19:20:27 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:27 reading sources... [ 16%] callout-server 19:20:27 reading sources... [ 33%] index 19:20:27 reading sources... [ 50%] kafka-message-dispatcher 19:20:27 reading sources... [ 66%] overview 19:20:27 reading sources... [ 83%] release-notes 19:20:27 reading sources... [100%] simulator-api 19:20:27 19:20:27 looking for now-outdated files... none found 19:20:27 pickling environment... done 19:20:27 checking consistency... done 19:20:27 preparing documents... done 19:20:27 writing output... [ 16%] callout-server 19:20:27 writing output... [ 33%] index 19:20:27 writing output... [ 50%] kafka-message-dispatcher 19:20:27 writing output... [ 66%] overview 19:20:27 writing output... [ 83%] release-notes 19:20:27 writing output... [100%] simulator-api 19:20:27 19:20:27 19:20:27 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 19:20:27 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 19:20:27 ( 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 19:20:27 ( 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 19:20:27 ( 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 19:20:27 build succeeded. 19:20:27 19:20:27 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 19:20:27 code: OK (63.97=setup[7.84]+cmd[21.92,11.66,22.15,0.40] seconds) 19:20:27 docs: OK (41.26=setup[39.67]+cmd[1.58,0.00] seconds) 19:20:27 docs-linkcheck: OK (22.92=setup[21.73]+cmd[1.19] seconds) 19:20:27 congratulations :) (128.31 seconds) 19:20:27 + tox_status=0 19:20:27 + echo '---> Completed tox runs' 19:20:27 ---> Completed tox runs 19:20:27 + for i in .tox/*/log 19:20:27 ++ echo .tox/code/log 19:20:27 ++ awk -F/ '{print $2}' 19:20:27 + tox_env=code 19:20:27 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 19:20:27 + for i in .tox/*/log 19:20:27 ++ echo .tox/docs-linkcheck/log 19:20:27 ++ awk -F/ '{print $2}' 19:20:27 + tox_env=docs-linkcheck 19:20:27 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 19:20:27 + for i in .tox/*/log 19:20:27 ++ echo .tox/docs/log 19:20:27 ++ awk -F/ '{print $2}' 19:20:27 + tox_env=docs 19:20:27 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 19:20:27 + DOC_DIR=docs/_build/html 19:20:27 + [[ -d docs/_build/html ]] 19:20:27 + echo '---> Archiving generated docs' 19:20:27 ---> Archiving generated docs 19:20:27 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:20:27 + echo '---> tox-run.sh ends' 19:20:27 ---> tox-run.sh ends 19:20:27 + test 0 -eq 0 19:20:27 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-717 19:20:28 [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 19:20:29 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:29 INFO: Project root configuration file: NONE 19:20:29 INFO: SonarScanner 4.6.2.2472 19:20:29 INFO: Java 17.0.9 Private Build (64-bit) 19:20:29 INFO: Linux 5.4.0-169-generic amd64 19:20:30 INFO: User cache: /home/jenkins/.sonar/cache 19:20:31 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:31 INFO: Project root configuration file: NONE 19:20:31 INFO: Analyzing on SonarCloud 19:20:31 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 19:20:32 INFO: Load global settings 19:20:33 INFO: Load global settings (done) | time=317ms 19:20:33 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 19:20:33 INFO: Loading required plugins 19:20:33 INFO: Load plugins index 19:20:33 INFO: Load plugins index (done) | time=226ms 19:20:33 INFO: Load/download plugins 19:20:34 INFO: Load/download plugins (done) | time=668ms 19:20:34 INFO: Found an active CI vendor: 'Jenkins' 19:20:34 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 19:20:35 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=496ms 19:20:35 INFO: Process project properties 19:20:35 INFO: Project key: o-ran-sc_sim-a1-interface 19:20:35 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 19:20:35 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 19:20:35 INFO: Load project branches 19:20:35 INFO: Load project branches (done) | time=216ms 19:20:35 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 19:20:36 INFO: Detected project binding: NOT_BOUND 19:20:36 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=488ms 19:20:36 INFO: Load project pull requests 19:20:36 INFO: Load project pull requests (done) | time=174ms 19:20:36 INFO: Load branch configuration 19:20:36 INFO: Load branch configuration (done) | time=3ms 19:20:36 INFO: Load quality profiles 19:20:36 INFO: Load quality profiles (done) | time=295ms 19:20:36 INFO: Load active rules 19:20:45 INFO: Load active rules (done) | time=9125ms 19:20:45 INFO: Organization key: o-ran-sc 19:20:45 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. 19:20:45 INFO: Preprocessing files... 19:20:46 INFO: 4 languages detected in 112 preprocessed files 19:20:46 INFO: 0 files ignored because of inclusion/exclusion patterns 19:20:46 INFO: 22 files ignored because of scm ignore settings 19:20:46 INFO: Loading plugins for detected languages 19:20:46 INFO: Load/download plugins 19:20:47 INFO: Load/download plugins (done) | time=1225ms 19:20:47 INFO: Load project repositories 19:20:48 INFO: Load project repositories (done) | time=237ms 19:20:48 INFO: Indexing files... 19:20:48 INFO: Project configuration: 19:20:48 INFO: Excluded sources: **/build-wrapper-dump.json 19:20:48 INFO: 112 files indexed 19:20:48 INFO: Quality profile for docker: Sonar way 19:20:48 INFO: Quality profile for json: SonarQube Way 19:20:48 INFO: Quality profile for py: Sonar way 19:20:48 INFO: Quality profile for yaml: Sonar way 19:20:48 INFO: ------------- Run sensors on module sim-a1-interface 19:20:48 INFO: Load metrics repository 19:20:48 INFO: Load metrics repository (done) | time=184ms 19:20:48 INFO: Sensor cache enabled 19:20:48 INFO: Load sensor cache 19:20:51 INFO: Load sensor cache (373 KB) | time=2529ms 19:20:51 INFO: Sensor Python Sensor [python] 19:20:51 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" 19:20:52 INFO: Starting global symbols computation 19:20:52 INFO: 37 source files to be analyzed 19:20:53 INFO: 37/37 source files have been analyzed 19:20:53 INFO: Starting rules execution 19:20:53 INFO: 37 source files to be analyzed 19:20:57 INFO: 37/37 source files have been analyzed 19:20:57 INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 37 files. These files were not parsed. 19:20:57 INFO: Sensor Python Sensor [python] (done) | time=5498ms 19:20:57 INFO: Sensor Cobertura Sensor for Python coverage [python] 19:20:57 INFO: Python test coverage 19:20:57 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 19:20:57 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=369ms 19:20:57 INFO: Sensor PythonXUnitSensor [python] 19:20:57 INFO: Sensor PythonXUnitSensor [python] (done) | time=188ms 19:20:57 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 19:20:57 INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities 19:20:57 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=9ms 19:20:57 INFO: Sensor JaCoCo XML Report Importer [jacoco] 19:20:57 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 19:20:57 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 19:20:57 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms 19:20:57 INFO: Sensor IaC CloudFormation Sensor [iac] 19:20:57 INFO: 0 source files to be analyzed 19:20:57 INFO: 0/0 source files have been analyzed 19:20:57 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=41ms 19:20:57 INFO: Sensor IaC Kubernetes Sensor [iac] 19:20:58 INFO: 0 source files to be parsed 19:20:58 INFO: 0/0 source files have been parsed 19:20:58 INFO: 0 source files to be analyzed 19:20:58 INFO: 0/0 source files have been analyzed 19:20:58 INFO: 0 source files to be checked 19:20:58 INFO: 0/0 source files have been checked 19:20:58 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=58ms 19:20:58 INFO: Sensor IaC AzureResourceManager Sensor [iac] 19:20:58 INFO: 0 source files to be analyzed 19:20:58 INFO: 0/0 source files have been analyzed 19:20:58 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=67ms 19:20:58 INFO: Sensor Java Config Sensor [iac] 19:20:58 INFO: 0 source files to be analyzed 19:20:58 INFO: 0/0 source files have been analyzed 19:20:58 INFO: Sensor Java Config Sensor [iac] (done) | time=6ms 19:20:58 INFO: Sensor JavaScript inside YAML analysis [javascript] 19:20:58 INFO: No input files found for analysis 19:20:58 INFO: Hit the cache for 0 out of 0 19:20:58 INFO: Miss the cache for 0 out of 0 19:20:58 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=39ms 19:20:58 INFO: Sensor CSS Rules [javascript] 19:20:58 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 19:20:58 INFO: Sensor CSS Rules [javascript] (done) | time=6ms 19:20:58 INFO: Sensor IaC Docker Sensor [iac] 19:20:58 INFO: 3 source files to be analyzed 19:20:58 INFO: 3/3 source files have been analyzed 19:20:58 INFO: Sensor IaC Docker Sensor [iac] (done) | time=136ms 19:20:58 INFO: Sensor Serverless configuration file sensor [security] 19:20:58 INFO: 0 Serverless function entries were found in the project 19:20:58 INFO: 0 Serverless function handlers were kept as entrypoints 19:20:58 INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms 19:20:58 INFO: Sensor AWS SAM template file sensor [security] 19:20:58 INFO: Sensor AWS SAM template file sensor [security] (done) | time=5ms 19:20:58 INFO: Sensor AWS SAM Inline template file sensor [security] 19:20:58 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=5ms 19:20:58 INFO: Sensor javabugs [dbd] 19:20:58 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 19:20:58 INFO: No IR files have been included for analysis. 19:20:58 INFO: Sensor javabugs [dbd] (done) | time=1ms 19:20:58 INFO: Sensor pythonbugs [dbd] 19:20:58 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 19:20:58 INFO: Analyzing 100 functions to detect bugs. 19:20:58 INFO: Sensor pythonbugs [dbd] (done) | time=649ms 19:20:58 INFO: Sensor TextAndSecretsSensor [text] 19:20:58 INFO: Available processors: 2 19:20:58 INFO: Using 2 threads for analysis. 19:20:59 INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true: 19:20:59 * The filename starts with "test" 19:20:59 * The filename contains "test." or "tests." 19:20:59 * Any directory in the file path is named: "doc", "docs", "test" or "tests" 19:20:59 * Any directory in the file path has a name ending in "test" or "tests" 19:20:59 19:20:59 INFO: Using git CLI to retrieve untracked files 19:20:59 INFO: Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git 19:20:59 INFO: 92 source files to be analyzed 19:20:59 INFO: 92/92 source files have been analyzed 19:20:59 INFO: Sensor TextAndSecretsSensor [text] (done) | time=749ms 19:20:59 INFO: Sensor JavaSecuritySensor [security] 19:20:59 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 19:20:59 INFO: Read 0 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.002 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.003 19:20:59 INFO: No UCFGs have been included for analysis. 19:20:59 INFO: java security sensor: Time spent was 00:00:00.049 19:20:59 INFO: java security sensor: Begin: 2024-07-24T19:20:59.683461219Z, End: 2024-07-24T19:20:59.732886173Z, Duration: 00:00:00.049 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-07-24T19:20:59.684738906Z, End: 2024-07-24T19:20:59.687769758Z, Duration: 00:00:00.003 19:20:59 Load type hierarchy: Begin: 2024-07-24T19:20:59.684843370Z, End: 2024-07-24T19:20:59.687296041Z, Duration: 00:00:00.002 19:20:59 Load UCFGs: Begin: 2024-07-24T19:20:59.687577411Z, End: 2024-07-24T19:20:59.687659494Z, Duration: 00:00:00.000 19:20:59 INFO: java security sensor peak memory: 245 MB 19:20:59 INFO: Sensor JavaSecuritySensor [security] (done) | time=53ms 19:20:59 INFO: Sensor CSharpSecuritySensor [security] 19:20:59 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 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 19:20:59 INFO: Read 0 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: No UCFGs have been included for analysis. 19:20:59 INFO: csharp security sensor: Time spent was 00:00:00.001 19:20:59 INFO: csharp security sensor: Begin: 2024-07-24T19:20:59.735317313Z, End: 2024-07-24T19:20:59.736759567Z, Duration: 00:00:00.001 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-07-24T19:20:59.735607454Z, End: 2024-07-24T19:20:59.736318470Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy: Begin: 2024-07-24T19:20:59.735680797Z, End: 2024-07-24T19:20:59.735999148Z, Duration: 00:00:00.000 19:20:59 Load UCFGs: Begin: 2024-07-24T19:20:59.736136533Z, End: 2024-07-24T19:20:59.736213866Z, Duration: 00:00:00.000 19:20:59 INFO: csharp security sensor peak memory: 245 MB 19:20:59 INFO: Sensor CSharpSecuritySensor [security] (done) | time=2ms 19:20:59 INFO: Sensor PhpSecuritySensor [security] 19:20:59 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 19:20:59 INFO: Read 0 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: No UCFGs have been included for analysis. 19:20:59 INFO: php security sensor: Time spent was 00:00:00.001 19:20:59 INFO: php security sensor: Begin: 2024-07-24T19:20:59.737737803Z, End: 2024-07-24T19:20:59.739002110Z, Duration: 00:00:00.001 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-07-24T19:20:59.737882478Z, End: 2024-07-24T19:20:59.738530792Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy: Begin: 2024-07-24T19:20:59.737947011Z, End: 2024-07-24T19:20:59.738199760Z, Duration: 00:00:00.000 19:20:59 Load UCFGs: Begin: 2024-07-24T19:20:59.738306924Z, End: 2024-07-24T19:20:59.738401307Z, Duration: 00:00:00.000 19:20:59 INFO: php security sensor peak memory: 245 MB 19:20:59 INFO: Sensor PhpSecuritySensor [security] (done) | time=2ms 19:20:59 INFO: Sensor PythonSecuritySensor [security] 19:20:59 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 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:20:59 INFO: Read 451 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.081 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:21:00 INFO: Load UCFGs: Time spent was 00:00:00.509 19:21:00 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.591 19:21:00 INFO: Analyzing 2437 UCFGs to detect vulnerabilities. 19:21:00 INFO: Check cache: Starting 19:21:00 INFO: Load cache: Starting 19:21:00 INFO: Load cache: Time spent was 00:00:00.000 19:21:00 INFO: Check cache: Time spent was 00:00:00.000 19:21:00 INFO: Create runtime call graph: Starting 19:21:00 INFO: Variable Type Analysis #1: Starting 19:21:00 INFO: Create runtime type propagation graph: Starting 19:21:00 INFO: Create runtime type propagation graph: Time spent was 00:00:00.040 19:21:00 INFO: Run SCC (Tarjan) on 7176 nodes: Starting 19:21:00 INFO: Run SCC (Tarjan) on 7176 nodes: Time spent was 00:00:00.009 19:21:00 INFO: Tarjan found 7176 strongly connected components 19:21:00 INFO: Propagate runtime types to strongly connected components: Starting 19:21:00 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.025 19:21:00 INFO: Variable Type Analysis #1: Time spent was 00:00:00.076 19:21:00 INFO: Variable Type Analysis #2: Starting 19:21:00 INFO: Create runtime type propagation graph: Starting 19:21:00 INFO: Create runtime type propagation graph: Time spent was 00:00:00.030 19:21:00 INFO: Run SCC (Tarjan) on 7101 nodes: Starting 19:21:00 INFO: Run SCC (Tarjan) on 7101 nodes: Time spent was 00:00:00.006 19:21:00 INFO: Tarjan found 7101 strongly connected components 19:21:00 INFO: Propagate runtime types to strongly connected components: Starting 19:21:00 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.017 19:21:00 INFO: Variable Type Analysis #2: Time spent was 00:00:00.054 19:21:00 INFO: Create runtime call graph: Time spent was 00:00:00.136 19:21:00 INFO: Load config: Starting 19:21:00 INFO: Load config: Time spent was 00:00:00.160 19:21:00 INFO: Compute entry points: Starting 19:21:00 INFO: Compute entry points: Time spent was 00:00:00.150 19:21:00 INFO: All rules entry points : 5 19:21:00 INFO: Slice call graph: Starting 19:21:00 INFO: Retained UCFGs : 33 19:21:00 INFO: Slice call graph: Time spent was 00:00:00.000 19:21:00 INFO: Live variable analysis: Starting 19:21:00 INFO: Live variable analysis: Time spent was 00:00:00.013 19:21:00 INFO: Taint analysis for python: Starting 19:21:00 INFO: 0 / 33 UCFGs simulated, memory usage: 86 MB 19:21:01 INFO: 24 / 33 UCFGs simulated, memory usage: 104 MB 19:21:01 INFO: Taint analysis for python: Time spent was 00:00:00.291 19:21:01 INFO: Report issues: Starting 19:21:01 INFO: Report issues: Time spent was 00:00:00.002 19:21:01 INFO: Store cache: Starting 19:21:01 INFO: Store cache: Time spent was 00:00:00.009 19:21:01 INFO: python security sensor: Time spent was 00:00:01.364 19:21:01 INFO: python security sensor: Begin: 2024-07-24T19:20:59.740020267Z, End: 2024-07-24T19:21:01.104037455Z, Duration: 00:00:01.364 19:21:01 Load type hierarchy and UCFGs: Begin: 2024-07-24T19:20:59.740179963Z, End: 2024-07-24T19:21:00.331758067Z, Duration: 00:00:00.591 19:21:01 Load type hierarchy: Begin: 2024-07-24T19:20:59.740243016Z, End: 2024-07-24T19:20:59.821847674Z, Duration: 00:00:00.081 19:21:01 Load UCFGs: Begin: 2024-07-24T19:20:59.822018160Z, End: 2024-07-24T19:21:00.331459976Z, Duration: 00:00:00.509 19:21:01 Check cache: Begin: 2024-07-24T19:21:00.331933253Z, End: 2024-07-24T19:21:00.332670891Z, Duration: 00:00:00.000 19:21:01 Load cache: Begin: 2024-07-24T19:21:00.332003266Z, End: 2024-07-24T19:21:00.332409361Z, Duration: 00:00:00.000 19:21:01 Create runtime call graph: Begin: 2024-07-24T19:21:00.332795975Z, End: 2024-07-24T19:21:00.469524936Z, Duration: 00:00:00.136 19:21:01 Variable Type Analysis #1: Begin: 2024-07-24T19:21:00.333402238Z, End: 2024-07-24T19:21:00.410250691Z, Duration: 00:00:00.076 19:21:01 Create runtime type propagation graph: Begin: 2024-07-24T19:21:00.334101403Z, End: 2024-07-24T19:21:00.374150510Z, Duration: 00:00:00.040 19:21:01 Run SCC (Tarjan) on 7176 nodes: Begin: 2024-07-24T19:21:00.374596736Z, End: 2024-07-24T19:21:00.384103727Z, Duration: 00:00:00.009 19:21:01 Propagate runtime types to strongly connected components: Begin: 2024-07-24T19:21:00.384395437Z, End: 2024-07-24T19:21:00.410047143Z, Duration: 00:00:00.025 19:21:01 Variable Type Analysis #2: Begin: 2024-07-24T19:21:00.412235914Z, End: 2024-07-24T19:21:00.467029004Z, Duration: 00:00:00.054 19:21:01 Create runtime type propagation graph: Begin: 2024-07-24T19:21:00.412296556Z, End: 2024-07-24T19:21:00.443240347Z, Duration: 00:00:00.030 19:21:01 Run SCC (Tarjan) on 7101 nodes: Begin: 2024-07-24T19:21:00.443470935Z, End: 2024-07-24T19:21:00.449503138Z, Duration: 00:00:00.006 19:21:01 Propagate runtime types to strongly connected components: Begin: 2024-07-24T19:21:00.449636363Z, End: 2024-07-24T19:21:00.466912260Z, Duration: 00:00:00.017 19:21:01 Load config: Begin: 2024-07-24T19:21:00.469624880Z, End: 2024-07-24T19:21:00.629753913Z, Duration: 00:00:00.160 19:21:01 Compute entry points: Begin: 2024-07-24T19:21:00.634536910Z, End: 2024-07-24T19:21:00.784996977Z, Duration: 00:00:00.150 19:21:01 Slice call graph: Begin: 2024-07-24T19:21:00.785265427Z, End: 2024-07-24T19:21:00.786086567Z, Duration: 00:00:00.000 19:21:01 Live variable analysis: Begin: 2024-07-24T19:21:00.786186660Z, End: 2024-07-24T19:21:00.799210801Z, Duration: 00:00:00.013 19:21:01 Taint analysis for python: Begin: 2024-07-24T19:21:00.800154496Z, End: 2024-07-24T19:21:01.091612740Z, Duration: 00:00:00.291 19:21:01 Report issues: Begin: 2024-07-24T19:21:01.091735374Z, End: 2024-07-24T19:21:01.093770029Z, Duration: 00:00:00.002 19:21:01 Store cache: Begin: 2024-07-24T19:21:01.093868672Z, End: 2024-07-24T19:21:01.103128942Z, Duration: 00:00:00.009 19:21:01 INFO: python security sensor peak memory: 245 MB 19:21:01 INFO: Sensor PythonSecuritySensor [security] (done) | time=1366ms 19:21:01 INFO: Sensor JsSecuritySensor [security] 19:21:01 INFO: Enabled taint analysis rules: S2631, S6350, S5147, S5146, S5144, S2076, S5883, S6105, S6096, S5131, S5334, S2083, S6287, S3649, S5696 19:21:01 INFO: Load type hierarchy and UCFGs: Starting 19:21:01 INFO: Load type hierarchy: Starting 19:21:01 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 19:21:01 INFO: Read 0 type definitions 19:21:01 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:01 INFO: Load UCFGs: Starting 19:21:01 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:01 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:21:01 INFO: No UCFGs have been included for analysis. 19:21:01 INFO: js security sensor: Time spent was 00:00:00.001 19:21:01 INFO: js security sensor: Begin: 2024-07-24T19:21:01.106879529Z, End: 2024-07-24T19:21:01.108806469Z, Duration: 00:00:00.001 19:21:01 Load type hierarchy and UCFGs: Begin: 2024-07-24T19:21:01.107107327Z, End: 2024-07-24T19:21:01.107573604Z, Duration: 00:00:00.000 19:21:01 Load type hierarchy: Begin: 2024-07-24T19:21:01.107151259Z, End: 2024-07-24T19:21:01.107356756Z, Duration: 00:00:00.000 19:21:01 Load UCFGs: Begin: 2024-07-24T19:21:01.107426959Z, End: 2024-07-24T19:21:01.107480651Z, Duration: 00:00:00.000 19:21:01 INFO: js security sensor peak memory: 245 MB 19:21:01 INFO: Sensor JsSecuritySensor [security] (done) | time=3ms 19:21:01 INFO: ------------- Run sensors on project 19:21:01 INFO: Sensor Zero Coverage Sensor 19:21:01 INFO: Sensor Zero Coverage Sensor (done) | time=6ms 19:21:01 INFO: CPD Executor 5 files had no CPD blocks 19:21:01 INFO: CPD Executor Calculating CPD for 32 files 19:21:01 INFO: CPD Executor CPD calculation finished (done) | time=43ms 19:21:01 INFO: Analysis report generated in 207ms, dir size=681 KB 19:21:01 INFO: Analysis report compressed in 104ms, zip size=243 KB 19:21:02 INFO: Analysis report uploaded in 783ms 19:21:02 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 19:21:02 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 19:21:02 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AZDmMJWIlwZ2c8ZxpwP6 19:21:03 INFO: Sensor cache published successfully 19:21:03 INFO: Analysis total time: 29.325 s 19:21:03 INFO: ------------------------------------------------------------------------ 19:21:03 INFO: EXECUTION SUCCESS 19:21:03 INFO: ------------------------------------------------------------------------ 19:21:03 INFO: Total time: 34.453s 19:21:04 INFO: Final Memory: 49M/170M 19:21:04 INFO: ------------------------------------------------------------------------ 19:21:05 $ ssh-agent -k 19:21:05 unset SSH_AUTH_SOCK; 19:21:05 unset SSH_AGENT_PID; 19:21:05 echo Agent pid 6155 killed; 19:21:05 [ssh-agent] Stopped. 19:21:05 [PostBuildScript] - [INFO] Executing post build scripts. 19:21:05 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1939124798653115006.sh 19:21:05 ---> sysstat.sh 19:21:05 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14318864901553173147.sh 19:21:05 ---> package-listing.sh 19:21:05 ++ facter osfamily 19:21:05 ++ tr '[:upper:]' '[:lower:]' 19:21:06 + OS_FAMILY=debian 19:21:06 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 19:21:06 + START_PACKAGES=/tmp/packages_start.txt 19:21:06 + END_PACKAGES=/tmp/packages_end.txt 19:21:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:06 + PACKAGES=/tmp/packages_start.txt 19:21:06 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:06 + PACKAGES=/tmp/packages_end.txt 19:21:06 + case "${OS_FAMILY}" in 19:21:06 + grep '^ii' 19:21:06 + dpkg -l 19:21:06 + '[' -f /tmp/packages_start.txt ']' 19:21:06 + '[' -f /tmp/packages_end.txt ']' 19:21:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:06 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:06 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins713229811112547497.sh 19:21:06 ---> capture-instance-metadata.sh 19:21:06 Setup pyenv: 19:21:06 system 19:21:06 3.8.13 19:21:06 3.9.13 19:21:06 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NSQ8 from file:/tmp/.os_lf_venv 19:21:07 lf-activate-venv(): INFO: Installing: lftools 19:21:17 lf-activate-venv(): INFO: Adding /tmp/venv-NSQ8/bin to PATH 19:21:17 INFO: Running in OpenStack, capturing instance metadata 19:21:18 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11191653532881860174.sh 19:21:18 provisioning config files... 19:21:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config11063861568097876211tmp 19:21:18 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 19:21:18 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 19:21:18 [EnvInject] - Injecting environment variables from a build step. 19:21:18 [EnvInject] - Injecting as environment variables the properties content 19:21:18 SERVER_ID=logs 19:21:18 19:21:18 [EnvInject] - Variables injected successfully. 19:21:18 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6233218635422074559.sh 19:21:18 ---> create-netrc.sh 19:21:18 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2081119845151529887.sh 19:21:18 ---> python-tools-install.sh 19:21:18 Setup pyenv: 19:21:18 system 19:21:18 3.8.13 19:21:18 3.9.13 19:21:18 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:18 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NSQ8 from file:/tmp/.os_lf_venv 19:21:19 lf-activate-venv(): INFO: Installing: lftools 19:21:28 lf-activate-venv(): INFO: Adding /tmp/venv-NSQ8/bin to PATH 19:21:28 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1052137054550259587.sh 19:21:28 ---> sudo-logs.sh 19:21:28 Archiving 'sudo' log.. 19:21:28 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2401306082455479819.sh 19:21:28 ---> job-cost.sh 19:21:28 Setup pyenv: 19:21:28 system 19:21:28 3.8.13 19:21:28 3.9.13 19:21:28 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NSQ8 from file:/tmp/.os_lf_venv 19:21:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 19:21:34 lf-activate-venv(): INFO: Adding /tmp/venv-NSQ8/bin to PATH 19:21:34 INFO: No Stack... 19:21:34 INFO: Retrieving Pricing Info for: v2-highcpu-2 19:21:34 INFO: Archiving Costs 19:21:34 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7581047678999958594.sh 19:21:34 ---> logs-deploy.sh 19:21:34 Setup pyenv: 19:21:34 system 19:21:34 3.8.13 19:21:34 3.9.13 19:21:34 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NSQ8 from file:/tmp/.os_lf_venv 19:21:35 lf-activate-venv(): INFO: Installing: lftools 19:21:45 lf-activate-venv(): INFO: Adding /tmp/venv-NSQ8/bin to PATH 19:21:45 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/262 19:21:45 INFO: archiving workspace using pattern(s): -p **/*.log 19:21:49 Archives upload complete. 19:21:49 INFO: archiving logs to Nexus 19:21:50 ---> uname -a: 19:21:50 Linux prd-ubuntu2004-builder-2c-2g-717 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 19:21:50 19:21:50 19:21:50 ---> lscpu: 19:21:50 Architecture: x86_64 19:21:50 CPU op-mode(s): 32-bit, 64-bit 19:21:50 Byte Order: Little Endian 19:21:50 Address sizes: 40 bits physical, 48 bits virtual 19:21:50 CPU(s): 2 19:21:50 On-line CPU(s) list: 0,1 19:21:50 Thread(s) per core: 1 19:21:50 Core(s) per socket: 1 19:21:50 Socket(s): 2 19:21:50 NUMA node(s): 1 19:21:50 Vendor ID: AuthenticAMD 19:21:50 CPU family: 23 19:21:50 Model: 49 19:21:50 Model name: AMD EPYC-Rome Processor 19:21:50 Stepping: 0 19:21:50 CPU MHz: 2800.000 19:21:50 BogoMIPS: 5600.00 19:21:50 Virtualization: AMD-V 19:21:50 Hypervisor vendor: KVM 19:21:50 Virtualization type: full 19:21:50 L1d cache: 64 KiB 19:21:50 L1i cache: 64 KiB 19:21:50 L2 cache: 1 MiB 19:21:50 L3 cache: 32 MiB 19:21:50 NUMA node0 CPU(s): 0,1 19:21:50 Vulnerability Gather data sampling: Not affected 19:21:50 Vulnerability Itlb multihit: Not affected 19:21:50 Vulnerability L1tf: Not affected 19:21:50 Vulnerability Mds: Not affected 19:21:50 Vulnerability Meltdown: Not affected 19:21:50 Vulnerability Mmio stale data: Not affected 19:21:50 Vulnerability Retbleed: Vulnerable 19:21:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:21:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:21:50 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 19:21:50 Vulnerability Srbds: Not affected 19:21:50 Vulnerability Tsx async abort: Not affected 19:21:50 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 19:21:50 19:21:50 19:21:50 ---> nproc: 19:21:50 2 19:21:50 19:21:50 19:21:50 ---> df -h: 19:21:50 Filesystem Size Used Avail Use% Mounted on 19:21:50 udev 969M 0 969M 0% /dev 19:21:50 tmpfs 198M 1.0M 197M 1% /run 19:21:50 /dev/vda1 20G 8.7G 11G 46% / 19:21:50 tmpfs 986M 0 986M 0% /dev/shm 19:21:50 tmpfs 5.0M 0 5.0M 0% /run/lock 19:21:50 tmpfs 986M 0 986M 0% /sys/fs/cgroup 19:21:50 /dev/loop0 62M 62M 0 100% /snap/core20/1405 19:21:50 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 19:21:50 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 19:21:50 /dev/vda15 105M 6.1M 99M 6% /boot/efi 19:21:50 tmpfs 198M 0 198M 0% /run/user/1001 19:21:50 19:21:50 19:21:50 ---> free -m: 19:21:50 total used free shared buff/cache available 19:21:50 Mem: 1971 426 346 2 1197 1352 19:21:50 Swap: 1023 2 1021 19:21:50 19:21:50 19:21:50 ---> ip addr: 19:21:50 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 19:21:50 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:21:50 inet 127.0.0.1/8 scope host lo 19:21:50 valid_lft forever preferred_lft forever 19:21:50 inet6 ::1/128 scope host 19:21:50 valid_lft forever preferred_lft forever 19:21:50 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 19:21:50 link/ether fa:16:3e:9f:ea:e2 brd ff:ff:ff:ff:ff:ff 19:21:50 inet 10.32.7.70/23 brd 10.32.7.255 scope global dynamic ens3 19:21:50 valid_lft 86087sec preferred_lft 86087sec 19:21:50 inet6 fe80::f816:3eff:fe9f:eae2/64 scope link 19:21:50 valid_lft forever preferred_lft forever 19:21:50 19:21:50 19:21:50 ---> sar -b -r -n DEV: 19:21:50 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-717) 07/24/24 _x86_64_ (2 CPU) 19:21:50 19:21:50 19:16:41 LINUX RESTART (2 CPU) 19:21:50 19:21:50 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:21:50 19:18:01 220.82 109.58 111.24 0.00 2805.60 13643.05 0.00 19:21:50 19:19:01 58.47 14.08 44.39 0.00 1338.44 8720.55 0.00 19:21:50 19:20:01 54.19 2.18 52.01 0.00 181.97 21178.74 0.00 19:21:50 19:21:01 105.12 44.66 60.46 0.00 2816.60 30168.17 0.00 19:21:50 Average: 109.66 42.63 67.03 0.00 1785.78 18427.03 0.00 19:21:50 19:21:50 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:21:50 19:18:01 129560 1409492 378784 18.76 58560 1301688 830076 27.06 480412 1216972 91676 19:21:50 19:19:01 110192 1425900 356604 17.67 68652 1314716 861888 28.10 470048 1227888 2724 19:21:50 19:20:01 79256 1341484 438444 21.72 78724 1244236 963068 31.40 525560 1192664 120964 19:21:50 19:21:01 99788 1052928 719368 35.64 83684 950416 1196404 39.01 689140 1021144 31536 19:21:50 Average: 104699 1307451 473300 23.45 72405 1202764 962859 31.39 541290 1164667 61725 19:21:50 19:21:50 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:21:50 19:18:01 lo 0.90 0.90 0.08 0.08 0.00 0.00 0.00 0.00 19:21:50 19:18:01 ens3 123.75 101.43 1030.76 22.14 0.00 0.00 0.00 0.00 19:21:50 19:19:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 19:21:50 19:19:01 ens3 20.65 18.26 37.45 8.21 0.00 0.00 0.00 0.00 19:21:50 19:20:01 lo 0.57 0.57 0.05 0.05 0.00 0.00 0.00 0.00 19:21:50 19:20:01 ens3 182.54 144.93 3255.26 11.93 0.00 0.00 0.00 0.00 19:21:50 19:21:01 lo 0.73 0.73 0.08 0.08 0.00 0.00 0.00 0.00 19:21:50 19:21:01 ens3 382.64 233.68 3298.48 21.87 0.00 0.00 0.00 0.00 19:21:50 Average: lo 0.96 0.96 0.09 0.09 0.00 0.00 0.00 0.00 19:21:50 Average: ens3 177.39 124.57 1905.38 16.04 0.00 0.00 0.00 0.00 19:21:50 19:21:50 19:21:50 ---> sar -P ALL: 19:21:50 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-717) 07/24/24 _x86_64_ (2 CPU) 19:21:50 19:21:50 19:16:41 LINUX RESTART (2 CPU) 19:21:50 19:21:50 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:21:50 19:18:01 all 37.34 23.21 16.44 7.64 0.08 15.28 19:21:50 19:18:01 0 46.79 20.37 15.38 6.50 0.08 10.87 19:21:50 19:18:01 1 27.90 26.05 17.51 8.77 0.08 19.69 19:21:50 19:19:01 all 20.43 0.00 2.01 3.58 0.09 73.89 19:21:50 19:19:01 0 23.36 0.00 2.20 1.15 0.10 73.18 19:21:50 19:19:01 1 17.50 0.00 1.82 6.00 0.08 74.60 19:21:50 19:20:01 all 19.91 0.00 2.47 3.16 0.08 74.38 19:21:50 19:20:01 0 15.44 0.00 2.46 3.59 0.08 78.43 19:21:50 19:20:01 1 24.40 0.00 2.49 2.72 0.08 70.31 19:21:50 19:21:01 all 44.79 0.00 3.74 4.40 0.08 46.99 19:21:50 19:21:01 0 44.14 0.00 4.55 6.74 0.08 44.49 19:21:50 19:21:01 1 45.44 0.00 2.92 2.07 0.07 49.50 19:21:50 Average: all 30.61 5.76 6.14 4.69 0.08 52.72 19:21:50 Average: 0 32.40 5.05 6.12 4.49 0.09 51.84 19:21:50 Average: 1 28.82 6.47 6.16 4.88 0.08 53.60 19:21:50 19:21:50 19:21:50