19:16:52 Started by timer 19:16:52 Running as SYSTEM 19:16:52 [EnvInject] - Loading node environment variables. 19:16:52 Building remotely on prd-ubuntu2004-builder-2c-2g-1878 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 19:16:52 [ssh-agent] Looking for ssh-agent implementation... 19:16:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:53 $ ssh-agent 19:16:53 SSH_AUTH_SOCK=/tmp/ssh-02Xhf61c98RD/agent.6796 19:16:53 SSH_AGENT_PID=6798 19:16:53 [ssh-agent] Started. 19:16:53 Running ssh-add (command line suppressed) 19:16:53 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_15988297904947011178.key (jenkins-ssh) 19:16:53 [ssh-agent] Using credentials jenkins (jenkins) 19:16:53 The recommended git tool is: NONE 19:16:55 using credential jenkins 19:16:55 Wiping out workspace first. 19:16:55 Cloning the remote Git repository 19:16:55 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:55 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 19:16:55 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:55 > git --version # timeout=10 19:16:55 > git --version # 'git version 2.25.1' 19:16:55 using GIT_SSH to set credentials jenkins 19:16:55 > 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:16:56 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 19:16:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:56 Avoid second fetch 19:16:56 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 19:16:56 Checking out Revision be2fe296264e5f58c44f271af83a875baa747849 (refs/remotes/origin/master) 19:16:56 > git config core.sparsecheckout # timeout=10 19:16:56 > git checkout -f be2fe296264e5f58c44f271af83a875baa747849 # timeout=10 19:16:57 Commit message: "Fix A1 simulator extensions" 19:16:57 > git rev-list --no-walk be2fe296264e5f58c44f271af83a875baa747849 # timeout=10 19:17:00 provisioning config files... 19:17:00 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:17:00 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:17:00 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14956105332105597401.sh 19:17:00 ---> python-tools-install.sh 19:17:00 Setup pyenv: 19:17:00 * system (set by /opt/pyenv/version) 19:17:00 * 3.8.13 (set by /opt/pyenv/version) 19:17:00 * 3.9.13 (set by /opt/pyenv/version) 19:17:00 * 3.10.6 (set by /opt/pyenv/version) 19:17:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WHZK 19:17:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:17:09 lf-activate-venv(): INFO: Installing: lftools 19:17:39 lf-activate-venv(): INFO: Adding /tmp/venv-WHZK/bin to PATH 19:17:39 Generating Requirements File 19:17:59 Python 3.10.6 19:17:59 pip 24.2 from /tmp/venv-WHZK/lib/python3.10/site-packages/pip (python 3.10) 19:18:00 appdirs==1.4.4 19:18:00 argcomplete==3.5.0 19:18:00 aspy.yaml==1.3.0 19:18:00 attrs==24.2.0 19:18:00 autopage==0.5.2 19:18:00 beautifulsoup4==4.12.3 19:18:00 boto3==1.34.155 19:18:00 botocore==1.34.155 19:18:00 bs4==0.0.2 19:18:00 cachetools==5.4.0 19:18:00 certifi==2024.7.4 19:18:00 cffi==1.17.0 19:18:00 cfgv==3.4.0 19:18:00 chardet==5.2.0 19:18:00 charset-normalizer==3.3.2 19:18:00 click==8.1.7 19:18:00 cliff==4.7.0 19:18:00 cmd2==2.4.3 19:18:00 cryptography==3.3.2 19:18:00 debtcollector==3.0.0 19:18:00 decorator==5.1.1 19:18:00 defusedxml==0.7.1 19:18:00 Deprecated==1.2.14 19:18:00 distlib==0.3.8 19:18:00 dnspython==2.6.1 19:18:00 docker==4.2.2 19:18:00 dogpile.cache==1.3.3 19:18:00 email_validator==2.2.0 19:18:00 filelock==3.15.4 19:18:00 future==1.0.0 19:18:00 gitdb==4.0.11 19:18:00 GitPython==3.1.43 19:18:00 google-auth==2.33.0 19:18:00 httplib2==0.22.0 19:18:00 identify==2.6.0 19:18:00 idna==3.7 19:18:00 importlib-resources==1.5.0 19:18:00 iso8601==2.1.0 19:18:00 Jinja2==3.1.4 19:18:00 jmespath==1.0.1 19:18:00 jsonpatch==1.33 19:18:00 jsonpointer==3.0.0 19:18:00 jsonschema==4.23.0 19:18:00 jsonschema-specifications==2023.12.1 19:18:00 keystoneauth1==5.7.0 19:18:00 kubernetes==30.1.0 19:18:00 lftools==0.37.10 19:18:00 lxml==5.2.2 19:18:00 MarkupSafe==2.1.5 19:18:00 msgpack==1.0.8 19:18:00 multi_key_dict==2.0.3 19:18:00 munch==4.0.0 19:18:00 netaddr==1.3.0 19:18:00 netifaces==0.11.0 19:18:00 niet==1.4.2 19:18:00 nodeenv==1.9.1 19:18:00 oauth2client==4.1.3 19:18:00 oauthlib==3.2.2 19:18:00 openstacksdk==3.3.0 19:18:00 os-client-config==2.1.0 19:18:00 os-service-types==1.7.0 19:18:00 osc-lib==3.1.0 19:18:00 oslo.config==9.5.0 19:18:00 oslo.context==5.5.0 19:18:00 oslo.i18n==6.3.0 19:18:00 oslo.log==6.1.1 19:18:00 oslo.serialization==5.4.0 19:18:00 oslo.utils==7.2.0 19:18:00 packaging==24.1 19:18:00 pbr==6.0.0 19:18:00 platformdirs==4.2.2 19:18:00 prettytable==3.10.2 19:18:00 pyasn1==0.6.0 19:18:00 pyasn1_modules==0.4.0 19:18:00 pycparser==2.22 19:18:00 pygerrit2==2.0.15 19:18:00 PyGithub==2.3.0 19:18:00 PyJWT==2.9.0 19:18:00 PyNaCl==1.5.0 19:18:00 pyparsing==2.4.7 19:18:00 pyperclip==1.9.0 19:18:00 pyrsistent==0.20.0 19:18:00 python-cinderclient==9.5.0 19:18:00 python-dateutil==2.9.0.post0 19:18:00 python-heatclient==3.5.0 19:18:00 python-jenkins==1.8.2 19:18:00 python-keystoneclient==5.4.0 19:18:00 python-magnumclient==4.6.0 19:18:00 python-openstackclient==7.0.0 19:18:00 python-swiftclient==4.6.0 19:18:00 PyYAML==6.0.2 19:18:00 referencing==0.35.1 19:18:00 requests==2.32.3 19:18:00 requests-oauthlib==2.0.0 19:18:00 requestsexceptions==1.4.0 19:18:00 rfc3986==2.0.0 19:18:00 rpds-py==0.20.0 19:18:00 rsa==4.9 19:18:00 ruamel.yaml==0.18.6 19:18:00 ruamel.yaml.clib==0.2.8 19:18:00 s3transfer==0.10.2 19:18:00 simplejson==3.19.2 19:18:00 six==1.16.0 19:18:00 smmap==5.0.1 19:18:00 soupsieve==2.5 19:18:00 stevedore==5.2.0 19:18:00 tabulate==0.9.0 19:18:00 toml==0.10.2 19:18:00 tomlkit==0.13.0 19:18:00 tqdm==4.66.5 19:18:00 typing_extensions==4.12.2 19:18:00 tzdata==2024.1 19:18:00 urllib3==1.26.19 19:18:00 virtualenv==20.26.3 19:18:00 wcwidth==0.2.13 19:18:00 websocket-client==1.8.0 19:18:00 wrapt==1.16.0 19:18:00 xdg==6.0.0 19:18:00 xmltodict==0.13.0 19:18:00 yq==3.4.3 19:18:00 [EnvInject] - Injecting environment variables from a build step. 19:18:00 [EnvInject] - Injecting as environment variables the properties content 19:18:00 SET_JDK_VERSION=openjdk17 19:18:00 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 19:18:00 19:18:00 [EnvInject] - Variables injected successfully. 19:18:00 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins11275143326271452187.sh 19:18:00 ---> update-java-alternatives.sh 19:18:00 ---> Updating Java version 19:18:00 ---> Ubuntu/Debian system detected 19:18:00 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 19:18:00 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 19:18:00 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:01 openjdk version "17.0.9" 2023-10-17 19:18:01 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 19:18:01 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 19:18:01 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 19:18:01 [EnvInject] - Injecting environment variables from a build step. 19:18:01 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 19:18:01 [EnvInject] - Variables injected successfully. 19:18:01 [EnvInject] - Injecting environment variables from a build step. 19:18:01 [EnvInject] - Injecting as environment variables the properties content 19:18:01 PYTHON=python3 19:18:01 19:18:01 [EnvInject] - Variables injected successfully. 19:18:01 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3745240457145157660.sh 19:18:01 ---> tox-install.sh 19:18:01 + source /home/jenkins/lf-env.sh 19:18:01 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:01 ++ mktemp -d /tmp/venv-XXXX 19:18:01 + lf_venv=/tmp/venv-BF5Q 19:18:01 + local venv_file=/tmp/.os_lf_venv 19:18:01 + local python=python3 19:18:01 + local options 19:18:01 + local set_path=true 19:18:01 + local install_args= 19:18:01 ++ 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:01 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:01 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:01 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:01 + true 19:18:01 + case $1 in 19:18:01 + venv_file=/tmp/.toxenv 19:18:01 + shift 2 19:18:01 + true 19:18:01 + case $1 in 19:18:01 + shift 19:18:01 + break 19:18:01 + case $python in 19:18:01 + local pkg_list= 19:18:01 + [[ -d /opt/pyenv ]] 19:18:01 + echo 'Setup pyenv:' 19:18:01 Setup pyenv: 19:18:01 + export PYENV_ROOT=/opt/pyenv 19:18:01 + PYENV_ROOT=/opt/pyenv 19:18:01 + 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:01 + 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:01 + pyenv versions 19:18:01 system 19:18:01 3.8.13 19:18:01 3.9.13 19:18:01 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:01 + command -v pyenv 19:18:01 ++ pyenv init - --no-rehash 19:18:01 + 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:01 export PATH="/opt/pyenv/shims:${PATH}" 19:18:01 export PYENV_SHELL=bash 19:18:01 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:01 pyenv() { 19:18:01 local command 19:18:01 command="${1:-}" 19:18:01 if [ "$#" -gt 0 ]; then 19:18:01 shift 19:18:01 fi 19:18:01 19:18:01 case "$command" in 19:18:01 rehash|shell) 19:18:01 eval "$(pyenv "sh-$command" "$@")" 19:18:01 ;; 19:18:01 *) 19:18:01 command pyenv "$command" "$@" 19:18:01 ;; 19:18:01 esac 19:18:01 }' 19:18:01 +++ 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:01 ++ 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:01 ++ 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:01 ++ 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:01 ++ export PYENV_SHELL=bash 19:18:01 ++ PYENV_SHELL=bash 19:18:01 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:01 +++ complete -F _pyenv pyenv 19:18:01 ++ lf-pyver python3 19:18:01 ++ local py_version_xy=python3 19:18:01 ++ local py_version_xyz= 19:18:01 ++ grep -E '^[0-9.]*[0-9]$' 19:18:01 ++ awk '{ print $1 }' 19:18:01 ++ sed 's/^[ *]* //' 19:18:01 ++ pyenv versions 19:18:01 ++ local command 19:18:01 ++ command=versions 19:18:01 ++ '[' 1 -gt 0 ']' 19:18:01 ++ shift 19:18:01 ++ case "$command" in 19:18:01 ++ command pyenv versions 19:18:01 ++ pyenv versions 19:18:01 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:01 +++ grep '^3' /tmp/.pyenv_versions 19:18:01 +++ sort -V 19:18:01 +++ tail -n 1 19:18:01 ++ py_version_xyz=3.10.6 19:18:01 ++ [[ -z 3.10.6 ]] 19:18:01 ++ echo 3.10.6 19:18:01 ++ return 0 19:18:01 + pyenv local 3.10.6 19:18:01 + local command 19:18:01 + command=local 19:18:01 + '[' 2 -gt 0 ']' 19:18:01 + shift 19:18:01 + case "$command" in 19:18:01 + command pyenv local 3.10.6 19:18:01 + pyenv local 3.10.6 19:18:01 + for arg in "$@" 19:18:01 + case $arg in 19:18:01 + pkg_list+='tox ' 19:18:01 + for arg in "$@" 19:18:01 + case $arg in 19:18:01 + pkg_list+='virtualenv ' 19:18:01 + for arg in "$@" 19:18:01 + case $arg in 19:18:01 + pkg_list+='urllib3~=1.26.15 ' 19:18:01 + [[ -f /tmp/.toxenv ]] 19:18:01 + [[ ! -f /tmp/.toxenv ]] 19:18:01 + [[ -n '' ]] 19:18:01 + python3 -m venv /tmp/venv-BF5Q 19:18:05 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BF5Q' 19:18:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BF5Q 19:18:05 + echo /tmp/venv-BF5Q 19:18:05 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:18:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:18:05 + /tmp/venv-BF5Q/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:07 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:07 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:07 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:07 + /tmp/venv-BF5Q/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:10 + type python3 19:18:10 + true 19:18:10 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-BF5Q/bin to PATH' 19:18:10 lf-activate-venv(): INFO: Adding /tmp/venv-BF5Q/bin to PATH 19:18:10 + PATH=/tmp/venv-BF5Q/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:10 + return 0 19:18:10 + python3 --version 19:18:10 Python 3.10.6 19:18:10 + python3 -m pip --version 19:18:10 pip 24.2 from /tmp/venv-BF5Q/lib/python3.10/site-packages/pip (python 3.10) 19:18:10 + python3 -m pip freeze 19:18:10 cachetools==5.4.0 19:18:10 chardet==5.2.0 19:18:10 colorama==0.4.6 19:18:10 distlib==0.3.8 19:18:10 filelock==3.15.4 19:18:10 packaging==24.1 19:18:10 platformdirs==4.2.2 19:18:10 pluggy==1.5.0 19:18:10 pyproject-api==1.7.1 19:18:10 tomli==2.0.1 19:18:10 tox==4.17.1 19:18:10 urllib3==1.26.19 19:18:10 virtualenv==20.26.3 19:18:10 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins5869083674674686161.sh 19:18:10 [EnvInject] - Injecting environment variables from a build step. 19:18:10 [EnvInject] - Injecting as environment variables the properties content 19:18:10 PARALLEL=False 19:18:10 19:18:10 [EnvInject] - Variables injected successfully. 19:18:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8780953415585231704.sh 19:18:10 ---> tox-run.sh 19:18:10 + 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:10 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:10 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:18:10 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:10 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 19:18:10 + source /home/jenkins/lf-env.sh 19:18:10 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:10 ++ mktemp -d /tmp/venv-XXXX 19:18:10 + lf_venv=/tmp/venv-acPc 19:18:10 + local venv_file=/tmp/.os_lf_venv 19:18:10 + local python=python3 19:18:10 + local options 19:18:10 + local set_path=true 19:18:10 + local install_args= 19:18:10 ++ 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:10 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:10 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:10 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:10 + true 19:18:10 + case $1 in 19:18:10 + venv_file=/tmp/.toxenv 19:18:10 + shift 2 19:18:10 + true 19:18:10 + case $1 in 19:18:10 + shift 19:18:10 + break 19:18:10 + case $python in 19:18:10 + local pkg_list= 19:18:10 + [[ -d /opt/pyenv ]] 19:18:10 + echo 'Setup pyenv:' 19:18:10 Setup pyenv: 19:18:10 + export PYENV_ROOT=/opt/pyenv 19:18:10 + PYENV_ROOT=/opt/pyenv 19:18:10 + 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:10 + 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:10 + pyenv versions 19:18:10 system 19:18:10 3.8.13 19:18:10 3.9.13 19:18:10 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:10 + command -v pyenv 19:18:10 ++ pyenv init - --no-rehash 19:18:10 + 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:10 export PATH="/opt/pyenv/shims:${PATH}" 19:18:10 export PYENV_SHELL=bash 19:18:10 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:10 pyenv() { 19:18:10 local command 19:18:10 command="${1:-}" 19:18:10 if [ "$#" -gt 0 ]; then 19:18:10 shift 19:18:10 fi 19:18:10 19:18:10 case "$command" in 19:18:10 rehash|shell) 19:18:10 eval "$(pyenv "sh-$command" "$@")" 19:18:10 ;; 19:18:10 *) 19:18:10 command pyenv "$command" "$@" 19:18:10 ;; 19:18:10 esac 19:18:10 }' 19:18:10 +++ 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:10 ++ 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:10 ++ 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:10 ++ 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:10 ++ export PYENV_SHELL=bash 19:18:10 ++ PYENV_SHELL=bash 19:18:10 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:10 +++ complete -F _pyenv pyenv 19:18:10 ++ lf-pyver python3 19:18:10 ++ local py_version_xy=python3 19:18:10 ++ local py_version_xyz= 19:18:10 ++ pyenv versions 19:18:10 ++ local command 19:18:10 ++ command=versions 19:18:10 ++ '[' 1 -gt 0 ']' 19:18:10 ++ shift 19:18:10 ++ case "$command" in 19:18:10 ++ command pyenv versions 19:18:10 ++ pyenv versions 19:18:10 ++ sed 's/^[ *]* //' 19:18:10 ++ awk '{ print $1 }' 19:18:10 ++ grep -E '^[0-9.]*[0-9]$' 19:18:10 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:10 +++ grep '^3' /tmp/.pyenv_versions 19:18:10 +++ sort -V 19:18:10 +++ tail -n 1 19:18:10 ++ py_version_xyz=3.10.6 19:18:10 ++ [[ -z 3.10.6 ]] 19:18:10 ++ echo 3.10.6 19:18:10 ++ return 0 19:18:10 + pyenv local 3.10.6 19:18:10 + local command 19:18:10 + command=local 19:18:10 + '[' 2 -gt 0 ']' 19:18:10 + shift 19:18:10 + case "$command" in 19:18:10 + command pyenv local 3.10.6 19:18:10 + pyenv local 3.10.6 19:18:10 + for arg in "$@" 19:18:10 + case $arg in 19:18:10 + pkg_list+='tox ' 19:18:10 + for arg in "$@" 19:18:10 + case $arg in 19:18:10 + pkg_list+='virtualenv ' 19:18:10 + for arg in "$@" 19:18:10 + case $arg in 19:18:10 + pkg_list+='urllib3~=1.26.15 ' 19:18:10 + [[ -f /tmp/.toxenv ]] 19:18:10 ++ cat /tmp/.toxenv 19:18:10 + lf_venv=/tmp/venv-BF5Q 19:18:10 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BF5Q from' file:/tmp/.toxenv 19:18:10 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BF5Q from file:/tmp/.toxenv 19:18:10 + /tmp/venv-BF5Q/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:11 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:11 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:11 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:11 + /tmp/venv-BF5Q/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:12 + type python3 19:18:12 + true 19:18:12 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-BF5Q/bin to PATH' 19:18:12 lf-activate-venv(): INFO: Adding /tmp/venv-BF5Q/bin to PATH 19:18:12 + PATH=/tmp/venv-BF5Q/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:12 + return 0 19:18:12 + [[ -d /opt/pyenv ]] 19:18:12 + echo '---> Setting up pyenv' 19:18:12 ---> Setting up pyenv 19:18:12 + export PYENV_ROOT=/opt/pyenv 19:18:12 + PYENV_ROOT=/opt/pyenv 19:18:12 + export PATH=/opt/pyenv/bin:/tmp/venv-BF5Q/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:12 + PATH=/opt/pyenv/bin:/tmp/venv-BF5Q/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:12 ++ pwd 19:18:12 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 19:18:12 + export PYTHONPATH 19:18:12 + export TOX_TESTENV_PASSENV=PYTHONPATH 19:18:12 + TOX_TESTENV_PASSENV=PYTHONPATH 19:18:12 + tox --version 19:18:13 4.17.1 from /tmp/venv-BF5Q/lib/python3.10/site-packages/tox/__init__.py 19:18:13 + PARALLEL=False 19:18:13 + TOX_OPTIONS_LIST= 19:18:13 + [[ -n '' ]] 19:18:13 + case ${PARALLEL,,} in 19:18:13 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 19:18:13 + tox 19:18:14 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 19:18:21 code: freeze> python -m pip freeze --all 19:18:21 code: attrs==24.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.1,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.2,pytest-cov==5.0.0,PyYAML==6.0.2,referencing==0.35.1,requests==2.32.3,rpds-py==0.20.0,setuptools==70.1.0,tomli==2.0.1,urllib3==2.2.2,Werkzeug==2.2.3,wheel==0.43.0 19:18:21 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:22 ============================= test session starts ============================== 19:18:22 platform linux -- Python 3.10.6, pytest-8.3.2, pluggy-1.5.0 19:18:22 cachedir: .tox/code/.pytest_cache 19:18:22 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:22 plugins: cov-5.0.0 19:18:22 collected 4 items 19:18:22 19:18:22 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:22 -------------------------------- live log setup -------------------------------- 19:18:22 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:22 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:22 or provide the path to your local installation by passing swagger_path= 19:18:22 19:18:22 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:22 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:22 or provide the path to your local installation by passing swagger_path= 19:18:22 19:18:22 PASSED [ 25%] 19:18:23 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 19:18:33 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 19:18:33 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 19:18:33 -------------------------------- live log call --------------------------------- 19:18:33 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:33 * Running on http://127.0.0.1:8086 19:18:33 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:18:43 INFO werkzeug:_internal.py:224 127.0.0.1 - - [07/Aug/2024 19:18:43] "POST /statustest HTTP/1.1" 201 - 19:18:43 PASSED [100%] 19:18:43 19:18:43 =============================== warnings summary =============================== 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:43 /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:43 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:43 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:43 /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:43 from jsonschema import Draft4Validator, RefResolver 19:18:43 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:43 /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:43 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:43 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:43 /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:43 app.json_encoder = FlaskJSONEncoder 19:18:43 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:43 /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:43 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:43 19:18:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:43 /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:43 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:43 19:18:43 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:43 19:18:43 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:43 Name Stmts Miss Cover Missing 19:18:43 --------------------------------------------------------------------------------------------------------- 19:18:43 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:43 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:43 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:43 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:43 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:43 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:43 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:43 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:43 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:43 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:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:43 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:43 --------------------------------------------------------------------------------------------------------- 19:18:43 TOTAL 973 113 88% 19:18:43 Coverage HTML written to dir htmlcov 19:18:43 Coverage XML written to file coverage.xml 19:18:43 19:18:43 Required test coverage of 70% reached. Total coverage: 88.39% 19:18:43 ======================= 4 passed, 118 warnings in 21.51s ======================= 19:18:43 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:44 ============================= test session starts ============================== 19:18:44 platform linux -- Python 3.10.6, pytest-8.3.2, pluggy-1.5.0 19:18:44 cachedir: .tox/code/.pytest_cache 19:18:44 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:44 plugins: cov-5.0.0 19:18:44 collected 1 item 19:18:44 19:18:44 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:44 -------------------------------- live log setup -------------------------------- 19:18:44 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:44 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:44 or provide the path to your local installation by passing swagger_path= 19:18:44 19:18:44 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:44 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:44 or provide the path to your local installation by passing swagger_path= 19:18:44 19:18:54 PASSED [100%] 19:18:55 19:18:55 =============================== warnings summary =============================== 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 /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:55 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 /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:55 from jsonschema import Draft4Validator, RefResolver 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 /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:55 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 /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:55 app.json_encoder = FlaskJSONEncoder 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 /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:18:55 for error in instance_validator.iter_errors(instance['default'], instance): 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:18:55 /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:55 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:18:55 /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:55 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 /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:18:55 warnings.warn( 19:18:55 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:55 /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:18:55 return json.dumps(obj, **kwargs) 19:18:55 19:18:55 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:55 19:18:55 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:55 Name Stmts Miss Cover Missing 19:18:55 --------------------------------------------------------------------------------------------------------- 19:18:55 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:55 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:55 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:55 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:55 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:55 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:55 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:18:55 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:18:55 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:18:55 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:55 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:55 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:55 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:55 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:55 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:18:55 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:55 --------------------------------------------------------------------------------------------------------- 19:18:55 TOTAL 1440 152 89% 19:18:55 Coverage HTML written to dir htmlcov 19:18:55 Coverage XML written to file coverage.xml 19:18:55 19:18:55 Required test coverage of 70% reached. Total coverage: 89.44% 19:18:55 ======================= 1 passed, 65 warnings in 11.35s ======================== 19:18:55 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:18:55 ============================= test session starts ============================== 19:18:55 platform linux -- Python 3.10.6, pytest-8.3.2, pluggy-1.5.0 19:18:55 cachedir: .tox/code/.pytest_cache 19:18:55 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:55 plugins: cov-5.0.0 19:18:55 collected 4 items 19:18:55 19:18:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:18:56 -------------------------------- live log setup -------------------------------- 19:18:56 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:56 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:56 or provide the path to your local installation by passing swagger_path= 19:18:56 19:18:56 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:56 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:56 or provide the path to your local installation by passing swagger_path= 19:18:56 19:18:56 PASSED [ 25%] 19:18:56 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 19:19:06 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 19:19:06 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 19:19:06 -------------------------------- live log call --------------------------------- 19:19:06 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:06 * Running on http://127.0.0.1:8086 19:19:06 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:19:16 INFO werkzeug:_internal.py:224 127.0.0.1 - - [07/Aug/2024 19:19:16] "POST /statustest HTTP/1.1" 200 - 19:19:16 PASSED [100%] 19:19:17 19:19:17 =============================== warnings summary =============================== 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:17 /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:17 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:17 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:17 /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:17 from jsonschema import Draft4Validator, RefResolver 19:19:17 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:17 /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:17 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:17 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:17 /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:17 app.json_encoder = FlaskJSONEncoder 19:19:17 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:17 /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:17 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:17 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:17 /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:17 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:17 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:17 /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:17 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:17 19:19:17 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:17 19:19:17 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:17 Name Stmts Miss Cover Missing 19:19:17 --------------------------------------------------------------------------------------------------------- 19:19:17 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:17 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:17 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:17 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:17 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:17 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:17 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:17 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:17 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:17 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:17 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:17 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 19:19:17 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 19:19:17 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 19:19:17 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:17 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:17 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:17 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:17 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:17 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:17 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 19:19:17 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:17 --------------------------------------------------------------------------------------------------------- 19:19:17 TOTAL 2219 282 87% 19:19:17 Coverage HTML written to dir htmlcov 19:19:17 Coverage XML written to file coverage.xml 19:19:17 19:19:17 Required test coverage of 70% reached. Total coverage: 87.29% 19:19:17 ======================= 4 passed, 65 warnings in 21.80s ======================== 19:19:17 code: commands[3]> coverage xml -i 19:19:18 Wrote XML report to coverage.xml 19:19:18 code: OK ✔ in 1 minute 4.39 seconds 19:19:18 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:19:58 docs: freeze> python -m pip freeze --all 19:19:59 docs: alabaster==0.7.16,attrs==24.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.post1,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.2,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==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,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==2.0.0,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.2.0,tomli==2.0.1,tox==4.17.1,urllib3==1.26.19,virtualenv==20.26.3,webcolors==24.6.0,wheel==0.43.0 19:19:59 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:19:59 Running Sphinx v5.3.0 19:19:59 making output directory... done 19:19:59 building [mo]: targets for 0 po files that are out of date 19:19:59 building [html]: targets for 6 source files that are out of date 19:19:59 updating environment: [new config] 6 added, 0 changed, 0 removed 19:19:59 reading sources... [ 16%] callout-server 19:19:59 reading sources... [ 33%] index 19:19:59 reading sources... [ 50%] kafka-message-dispatcher 19:20:00 reading sources... [ 66%] overview 19:20:00 reading sources... [ 83%] release-notes 19:20:00 reading sources... [100%] simulator-api 19:20:00 19:20:00 looking for now-outdated files... none found 19:20:00 pickling environment... done 19:20:00 checking consistency... done 19:20:00 preparing documents... done 19:20:00 writing output... [ 16%] callout-server 19:20:00 writing output... [ 33%] index 19:20:00 writing output... [ 50%] kafka-message-dispatcher 19:20:00 writing output... [ 66%] overview 19:20:00 writing output... [ 83%] release-notes 19:20:00 writing output... [100%] simulator-api 19:20:00 19:20:00 generating indices... genindex done 19:20:00 writing additional pages... search done 19:20:00 copying images... [100%] images/yaml_logo.png 19:20:00 19:20:00 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 19:20:00 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 19:20:00 19:20:00 copying static files... done 19:20:00 copying extra files... done 19:20:00 dumping search index in English (code: en)... done 19:20:00 dumping object inventory... done 19:20:01 build succeeded. 19:20:01 19:20:01 The HTML pages are in docs/_build/html. 19:20:01 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 19:20:01 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:20:01 docs: OK ✔ in 43.21 seconds 19:20:01 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:23 docs-linkcheck: freeze> python -m pip freeze --all 19:20:23 docs-linkcheck: alabaster==0.7.16,attrs==24.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.post1,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.2,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==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,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==2.0.0,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.2.0,tomli==2.0.1,tox==4.17.1,urllib3==1.26.19,virtualenv==20.26.3,webcolors==24.6.0,wheel==0.43.0 19:20:23 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:23 Running Sphinx v5.3.0 19:20:24 making output directory... done 19:20:24 building [mo]: targets for 0 po files that are out of date 19:20:24 building [linkcheck]: targets for 6 source files that are out of date 19:20:24 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:24 reading sources... [ 16%] callout-server 19:20:24 reading sources... [ 33%] index 19:20:24 reading sources... [ 50%] kafka-message-dispatcher 19:20:24 reading sources... [ 66%] overview 19:20:24 reading sources... [ 83%] release-notes 19:20:24 reading sources... [100%] simulator-api 19:20:24 19:20:24 looking for now-outdated files... none found 19:20:24 pickling environment... done 19:20:24 checking consistency... done 19:20:24 preparing documents... done 19:20:24 writing output... [ 16%] callout-server 19:20:24 writing output... [ 33%] index 19:20:24 writing output... [ 50%] kafka-message-dispatcher 19:20:24 writing output... [ 66%] overview 19:20:24 writing output... [ 83%] release-notes 19:20:24 writing output... [100%] simulator-api 19:20:24 19:20:24 19:20:24 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 19:20:24 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 19:20:24 ( 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:24 ( 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:24 ( 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:24 build succeeded. 19:20:24 19:20:24 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 19:20:24 code: OK (64.39=setup[8.21]+cmd[21.93,11.70,22.15,0.38] seconds) 19:20:24 docs: OK (43.21=setup[41.22]+cmd[1.98,0.01] seconds) 19:20:24 docs-linkcheck: OK (23.38=setup[22.20]+cmd[1.18] seconds) 19:20:24 congratulations :) (131.14 seconds) 19:20:24 + tox_status=0 19:20:24 + echo '---> Completed tox runs' 19:20:24 ---> Completed tox runs 19:20:24 + for i in .tox/*/log 19:20:24 ++ echo .tox/code/log 19:20:24 ++ awk -F/ '{print $2}' 19:20:24 + tox_env=code 19:20:24 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 19:20:24 + for i in .tox/*/log 19:20:24 ++ echo .tox/docs-linkcheck/log 19:20:24 ++ awk -F/ '{print $2}' 19:20:24 + tox_env=docs-linkcheck 19:20:24 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 19:20:24 + for i in .tox/*/log 19:20:24 ++ echo .tox/docs/log 19:20:24 ++ awk -F/ '{print $2}' 19:20:24 + tox_env=docs 19:20:24 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 19:20:24 + DOC_DIR=docs/_build/html 19:20:24 + [[ -d docs/_build/html ]] 19:20:24 + echo '---> Archiving generated docs' 19:20:24 ---> Archiving generated docs 19:20:24 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:20:24 + echo '---> tox-run.sh ends' 19:20:24 ---> tox-run.sh ends 19:20:24 + test 0 -eq 0 19:20:24 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-1878 19:20:25 [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:26 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:26 INFO: Project root configuration file: NONE 19:20:26 INFO: SonarScanner 4.6.2.2472 19:20:26 INFO: Java 17.0.9 Private Build (64-bit) 19:20:26 INFO: Linux 5.4.0-169-generic amd64 19:20:27 INFO: User cache: /home/jenkins/.sonar/cache 19:20:28 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:28 INFO: Project root configuration file: NONE 19:20:28 INFO: Analyzing on SonarCloud 19:20:28 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 19:20:29 INFO: Load global settings 19:20:30 INFO: Load global settings (done) | time=582ms 19:20:30 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 19:20:30 INFO: Loading required plugins 19:20:30 INFO: Load plugins index 19:20:31 INFO: Load plugins index (done) | time=513ms 19:20:31 INFO: Load/download plugins 19:20:32 INFO: Load/download plugins (done) | time=1592ms 19:20:33 INFO: Found an active CI vendor: 'Jenkins' 19:20:33 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 19:20:33 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=482ms 19:20:33 INFO: Process project properties 19:20:33 INFO: Project key: o-ran-sc_sim-a1-interface 19:20:33 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 19:20:33 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 19:20:33 INFO: Load project branches 19:20:34 INFO: Load project branches (done) | time=204ms 19:20:34 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 19:20:34 INFO: Detected project binding: NOT_BOUND 19:20:34 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=178ms 19:20:34 INFO: Load project pull requests 19:20:34 INFO: Load project pull requests (done) | time=478ms 19:20:34 INFO: Load branch configuration 19:20:34 INFO: Load branch configuration (done) | time=2ms 19:20:34 INFO: Load quality profiles 19:20:35 INFO: Load quality profiles (done) | time=564ms 19:20:35 INFO: Load active rules 19:20:44 INFO: Load active rules (done) | time=9051ms 19:20:44 INFO: Organization key: o-ran-sc 19:20:44 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:44 INFO: Preprocessing files... 19:20:45 INFO: 4 languages detected in 112 preprocessed files 19:20:45 INFO: 0 files ignored because of inclusion/exclusion patterns 19:20:45 INFO: 22 files ignored because of scm ignore settings 19:20:45 INFO: Loading plugins for detected languages 19:20:45 INFO: Load/download plugins 19:20:47 INFO: Load/download plugins (done) | time=2114ms 19:20:47 INFO: Load project repositories 19:20:47 INFO: Load project repositories (done) | time=241ms 19:20:47 INFO: Indexing files... 19:20:47 INFO: Project configuration: 19:20:47 INFO: Excluded sources: **/build-wrapper-dump.json 19:20:47 INFO: 112 files indexed 19:20:47 INFO: Quality profile for docker: Sonar way 19:20:47 INFO: Quality profile for json: SonarQube Way 19:20:47 INFO: Quality profile for py: Sonar way 19:20:47 INFO: Quality profile for yaml: Sonar way 19:20:47 INFO: ------------- Run sensors on module sim-a1-interface 19:20:47 INFO: Load metrics repository 19:20:48 INFO: Load metrics repository (done) | time=177ms 19:20:48 INFO: Sensor cache enabled 19:20:48 INFO: Load sensor cache 19:20:51 INFO: Load sensor cache (375 KB) | time=3012ms 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=5703ms 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:58 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=369ms 19:20:58 INFO: Sensor PythonXUnitSensor [python] 19:20:58 INFO: Sensor PythonXUnitSensor [python] (done) | time=180ms 19:20:58 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 19:20:58 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:58 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=12ms 19:20:58 INFO: Sensor JaCoCo XML Report Importer [jacoco] 19:20:58 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:58 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 19:20:58 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms 19:20:58 INFO: Sensor IaC CloudFormation 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 CloudFormation Sensor [iac] (done) | time=42ms 19:20:58 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=71ms 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=76ms 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=30ms 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=1ms 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=162ms 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=4ms 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:59 INFO: Sensor pythonbugs [dbd] (done) | time=531ms 19:20:59 INFO: Sensor TextAndSecretsSensor [text] 19:20:59 INFO: Available processors: 2 19:20:59 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:21:00 INFO: 92/92 source files have been analyzed 19:21:00 INFO: Sensor TextAndSecretsSensor [text] (done) | time=909ms 19:21:00 INFO: Sensor JavaSecuritySensor [security] 19:21:00 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 19:21:00 INFO: Load type hierarchy and UCFGs: Starting 19:21:00 INFO: Load type hierarchy: Starting 19:21:00 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 19:21:00 INFO: Read 0 type definitions 19:21:00 INFO: Load type hierarchy: Time spent was 00:00:00.001 19:21:00 INFO: Load UCFGs: Starting 19:21:00 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:00 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 19:21:00 INFO: No UCFGs have been included for analysis. 19:21:00 INFO: java security sensor: Time spent was 00:00:00.038 19:21:00 INFO: java security sensor: Begin: 2024-08-07T19:21:00.073789965Z, End: 2024-08-07T19:21:00.112463562Z, Duration: 00:00:00.038 19:21:00 Load type hierarchy and UCFGs: Begin: 2024-08-07T19:21:00.075247529Z, End: 2024-08-07T19:21:00.077565051Z, Duration: 00:00:00.002 19:21:00 Load type hierarchy: Begin: 2024-08-07T19:21:00.075321180Z, End: 2024-08-07T19:21:00.076991036Z, Duration: 00:00:00.001 19:21:00 Load UCFGs: Begin: 2024-08-07T19:21:00.077304659Z, End: 2024-08-07T19:21:00.077369880Z, Duration: 00:00:00.000 19:21:00 INFO: java security sensor peak memory: 187 MB 19:21:00 INFO: Sensor JavaSecuritySensor [security] (done) | time=42ms 19:21:00 INFO: Sensor CSharpSecuritySensor [security] 19:21:00 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:21:00 INFO: Load type hierarchy and UCFGs: Starting 19:21:00 INFO: Load type hierarchy: Starting 19:21:00 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 19:21:00 INFO: Read 0 type definitions 19:21:00 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:00 INFO: Load UCFGs: Starting 19:21:00 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:00 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:21:00 INFO: No UCFGs have been included for analysis. 19:21:00 INFO: csharp security sensor: Time spent was 00:00:00.000 19:21:00 INFO: csharp security sensor: Begin: 2024-08-07T19:21:00.114717563Z, End: 2024-08-07T19:21:00.115661392Z, Duration: 00:00:00.000 19:21:00 Load type hierarchy and UCFGs: Begin: 2024-08-07T19:21:00.114948875Z, End: 2024-08-07T19:21:00.115401880Z, Duration: 00:00:00.000 19:21:00 Load type hierarchy: Begin: 2024-08-07T19:21:00.114985386Z, End: 2024-08-07T19:21:00.115195838Z, Duration: 00:00:00.000 19:21:00 Load UCFGs: Begin: 2024-08-07T19:21:00.115286439Z, End: 2024-08-07T19:21:00.115333209Z, Duration: 00:00:00.000 19:21:00 INFO: csharp security sensor peak memory: 187 MB 19:21:00 INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms 19:21:00 INFO: Sensor PhpSecuritySensor [security] 19:21:00 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 19:21:00 INFO: Load type hierarchy and UCFGs: Starting 19:21:00 INFO: Load type hierarchy: Starting 19:21:00 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 19:21:00 INFO: Read 0 type definitions 19:21:00 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:00 INFO: Load UCFGs: Starting 19:21:00 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:00 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:21:00 INFO: No UCFGs have been included for analysis. 19:21:00 INFO: php security sensor: Time spent was 00:00:00.000 19:21:00 INFO: php security sensor: Begin: 2024-08-07T19:21:00.116206027Z, End: 2024-08-07T19:21:00.116929694Z, Duration: 00:00:00.000 19:21:00 Load type hierarchy and UCFGs: Begin: 2024-08-07T19:21:00.116344289Z, End: 2024-08-07T19:21:00.116699172Z, Duration: 00:00:00.000 19:21:00 Load type hierarchy: Begin: 2024-08-07T19:21:00.116378899Z, End: 2024-08-07T19:21:00.116514700Z, Duration: 00:00:00.000 19:21:00 Load UCFGs: Begin: 2024-08-07T19:21:00.116594191Z, End: 2024-08-07T19:21:00.116633451Z, Duration: 00:00:00.000 19:21:00 INFO: php security sensor peak memory: 187 MB 19:21:00 INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms 19:21:00 INFO: Sensor PythonSecuritySensor [security] 19:21:00 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:21:00 INFO: Load type hierarchy and UCFGs: Starting 19:21:00 INFO: Load type hierarchy: Starting 19:21:00 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:21:00 INFO: Read 451 type definitions 19:21:00 INFO: Load type hierarchy: Time spent was 00:00:00.147 19:21:00 INFO: Load UCFGs: Starting 19:21:00 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.556 19:21:00 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.704 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.047 19:21:00 INFO: Run SCC (Tarjan) on 7177 nodes: Starting 19:21:00 INFO: Run SCC (Tarjan) on 7177 nodes: Time spent was 00:00:00.011 19:21:00 INFO: Tarjan found 7177 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.030 19:21:00 INFO: Variable Type Analysis #1: Time spent was 00:00:00.090 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.028 19:21:00 INFO: Run SCC (Tarjan) on 7102 nodes: Starting 19:21:00 INFO: Run SCC (Tarjan) on 7102 nodes: Time spent was 00:00:00.005 19:21:00 INFO: Tarjan found 7102 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.018 19:21:00 INFO: Variable Type Analysis #2: Time spent was 00:00:00.053 19:21:00 INFO: Create runtime call graph: Time spent was 00:00:00.150 19:21:00 INFO: Load config: Starting 19:21:01 INFO: Load config: Time spent was 00:00:00.112 19:21:01 INFO: Compute entry points: Starting 19:21:01 INFO: Compute entry points: Time spent was 00:00:00.165 19:21:01 INFO: All rules entry points : 5 19:21:01 INFO: Slice call graph: Starting 19:21:01 INFO: Retained UCFGs : 33 19:21:01 INFO: Slice call graph: Time spent was 00:00:00.001 19:21:01 INFO: Live variable analysis: Starting 19:21:01 INFO: Live variable analysis: Time spent was 00:00:00.008 19:21:01 INFO: Taint analysis for python: Starting 19:21:01 INFO: 0 / 33 UCFGs simulated, memory usage: 121 MB 19:21:01 INFO: 24 / 33 UCFGs simulated, memory usage: 141 MB 19:21:01 INFO: Taint analysis for python: Time spent was 00:00:00.152 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.008 19:21:01 INFO: python security sensor: Time spent was 00:00:01.309 19:21:01 INFO: python security sensor: Begin: 2024-08-07T19:21:00.117467199Z, End: 2024-08-07T19:21:01.426915325Z, Duration: 00:00:01.309 19:21:01 Load type hierarchy and UCFGs: Begin: 2024-08-07T19:21:00.117620831Z, End: 2024-08-07T19:21:00.821906803Z, Duration: 00:00:00.704 19:21:01 Load type hierarchy: Begin: 2024-08-07T19:21:00.117654201Z, End: 2024-08-07T19:21:00.264927607Z, Duration: 00:00:00.147 19:21:01 Load UCFGs: Begin: 2024-08-07T19:21:00.265158809Z, End: 2024-08-07T19:21:00.821556260Z, Duration: 00:00:00.556 19:21:01 Check cache: Begin: 2024-08-07T19:21:00.822040684Z, End: 2024-08-07T19:21:00.822761671Z, Duration: 00:00:00.000 19:21:01 Load cache: Begin: 2024-08-07T19:21:00.822090655Z, End: 2024-08-07T19:21:00.822463939Z, Duration: 00:00:00.000 19:21:01 Create runtime call graph: Begin: 2024-08-07T19:21:00.822850572Z, End: 2024-08-07T19:21:00.973182627Z, Duration: 00:00:00.150 19:21:01 Variable Type Analysis #1: Begin: 2024-08-07T19:21:00.823457658Z, End: 2024-08-07T19:21:00.914019586Z, Duration: 00:00:00.090 19:21:01 Create runtime type propagation graph: Begin: 2024-08-07T19:21:00.824137604Z, End: 2024-08-07T19:21:00.871358202Z, Duration: 00:00:00.047 19:21:01 Run SCC (Tarjan) on 7177 nodes: Begin: 2024-08-07T19:21:00.871806966Z, End: 2024-08-07T19:21:00.883278625Z, Duration: 00:00:00.011 19:21:01 Propagate runtime types to strongly connected components: Begin: 2024-08-07T19:21:00.883503817Z, End: 2024-08-07T19:21:00.913745683Z, Duration: 00:00:00.030 19:21:01 Variable Type Analysis #2: Begin: 2024-08-07T19:21:00.916295518Z, End: 2024-08-07T19:21:00.969370600Z, Duration: 00:00:00.053 19:21:01 Create runtime type propagation graph: Begin: 2024-08-07T19:21:00.916364498Z, End: 2024-08-07T19:21:00.944489415Z, Duration: 00:00:00.028 19:21:01 Run SCC (Tarjan) on 7102 nodes: Begin: 2024-08-07T19:21:00.944746027Z, End: 2024-08-07T19:21:00.950737974Z, Duration: 00:00:00.005 19:21:01 Propagate runtime types to strongly connected components: Begin: 2024-08-07T19:21:00.950893706Z, End: 2024-08-07T19:21:00.969217779Z, Duration: 00:00:00.018 19:21:01 Load config: Begin: 2024-08-07T19:21:00.973294418Z, End: 2024-08-07T19:21:01.086100651Z, Duration: 00:00:00.112 19:21:01 Compute entry points: Begin: 2024-08-07T19:21:01.086422234Z, End: 2024-08-07T19:21:01.251717361Z, Duration: 00:00:00.165 19:21:01 Slice call graph: Begin: 2024-08-07T19:21:01.252013404Z, End: 2024-08-07T19:21:01.253051664Z, Duration: 00:00:00.001 19:21:01 Live variable analysis: Begin: 2024-08-07T19:21:01.253145395Z, End: 2024-08-07T19:21:01.262077103Z, Duration: 00:00:00.008 19:21:01 Taint analysis for python: Begin: 2024-08-07T19:21:01.262359696Z, End: 2024-08-07T19:21:01.414454711Z, Duration: 00:00:00.152 19:21:01 Report issues: Begin: 2024-08-07T19:21:01.414599993Z, End: 2024-08-07T19:21:01.416831095Z, Duration: 00:00:00.002 19:21:01 Store cache: Begin: 2024-08-07T19:21:01.416961106Z, End: 2024-08-07T19:21:01.425799844Z, Duration: 00:00:00.008 19:21:01 INFO: python security sensor peak memory: 196 MB 19:21:01 INFO: Sensor PythonSecuritySensor [security] (done) | time=1311ms 19:21:01 INFO: Sensor JsSecuritySensor [security] 19:21:01 INFO: Enabled taint analysis rules: S5883, S5144, S6096, S6105, S2083, S3649, S5147, S2631, S5146, S6287, S6350, S5131, S5334, S2076, 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.003 19:21:01 INFO: js security sensor: Begin: 2024-08-07T19:21:01.429520031Z, End: 2024-08-07T19:21:01.432678612Z, Duration: 00:00:00.003 19:21:01 Load type hierarchy and UCFGs: Begin: 2024-08-07T19:21:01.429984055Z, End: 2024-08-07T19:21:01.430686312Z, Duration: 00:00:00.000 19:21:01 Load type hierarchy: Begin: 2024-08-07T19:21:01.430006446Z, End: 2024-08-07T19:21:01.430498591Z, Duration: 00:00:00.000 19:21:01 Load UCFGs: Begin: 2024-08-07T19:21:01.430552431Z, End: 2024-08-07T19:21:01.430623072Z, Duration: 00:00:00.000 19:21:01 INFO: js security sensor peak memory: 196 MB 19:21:01 INFO: Sensor JsSecuritySensor [security] (done) | time=5ms 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=7ms 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 206ms, dir size=686 KB 19:21:01 INFO: Analysis report compressed in 109ms, zip size=244 KB 19:21:02 INFO: Analysis report uploaded in 1039ms 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=AZEuSZ_ntSMO5jn-8W0v 19:21:04 INFO: Sensor cache published successfully 19:21:04 INFO: Analysis total time: 31.557 s 19:21:04 INFO: ------------------------------------------------------------------------ 19:21:04 INFO: EXECUTION SUCCESS 19:21:04 INFO: ------------------------------------------------------------------------ 19:21:04 INFO: Total time: 38.442s 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 6798 killed; 19:21:05 [ssh-agent] Stopped. 19:21:06 [PostBuildScript] - [INFO] Executing post build scripts. 19:21:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16838734156256587085.sh 19:21:06 ---> sysstat.sh 19:21:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins8647818780314312066.sh 19:21:06 ---> package-listing.sh 19:21:06 ++ tr '[:upper:]' '[:lower:]' 19:21:06 ++ facter osfamily 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:07 + '[' -f /tmp/packages_start.txt ']' 19:21:07 + '[' -f /tmp/packages_end.txt ']' 19:21:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:07 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:07 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:07 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5246602702368093646.sh 19:21:07 ---> capture-instance-metadata.sh 19:21:07 Setup pyenv: 19:21:07 system 19:21:07 3.8.13 19:21:07 3.9.13 19:21:07 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WHZK from file:/tmp/.os_lf_venv 19:21:09 lf-activate-venv(): INFO: Installing: lftools 19:21:18 lf-activate-venv(): INFO: Adding /tmp/venv-WHZK/bin to PATH 19:21:18 INFO: Running in OpenStack, capturing instance metadata 19:21:19 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins193120961951368334.sh 19:21:19 provisioning config files... 19:21:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config13640451174259702302tmp 19:21:19 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 19:21:19 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 19:21:19 [EnvInject] - Injecting environment variables from a build step. 19:21:19 [EnvInject] - Injecting as environment variables the properties content 19:21:19 SERVER_ID=logs 19:21:19 19:21:19 [EnvInject] - Variables injected successfully. 19:21:19 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15317905075441916637.sh 19:21:19 ---> create-netrc.sh 19:21:19 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6027441215930886190.sh 19:21:19 ---> python-tools-install.sh 19:21:19 Setup pyenv: 19:21:19 system 19:21:19 3.8.13 19:21:19 3.9.13 19:21:19 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WHZK from file:/tmp/.os_lf_venv 19:21:20 lf-activate-venv(): INFO: Installing: lftools 19:21:29 lf-activate-venv(): INFO: Adding /tmp/venv-WHZK/bin to PATH 19:21:29 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17408301738040227254.sh 19:21:29 ---> sudo-logs.sh 19:21:29 Archiving 'sudo' log.. 19:21:29 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins3402125635293093889.sh 19:21:29 ---> job-cost.sh 19:21:29 Setup pyenv: 19:21:29 system 19:21:29 3.8.13 19:21:29 3.9.13 19:21:29 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WHZK from file:/tmp/.os_lf_venv 19:21:30 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-WHZK/bin to PATH 19:21:34 INFO: No Stack... 19:21:35 INFO: Retrieving Pricing Info for: v2-highcpu-2 19:21:35 INFO: Archiving Costs 19:21:35 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins18400490692719360363.sh 19:21:35 ---> logs-deploy.sh 19:21:35 Setup pyenv: 19:21:35 system 19:21:35 3.8.13 19:21:35 3.9.13 19:21:35 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:35 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WHZK from file:/tmp/.os_lf_venv 19:21:36 lf-activate-venv(): INFO: Installing: lftools 19:21:46 lf-activate-venv(): INFO: Adding /tmp/venv-WHZK/bin to PATH 19:21:46 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/264 19:21:46 INFO: archiving workspace using pattern(s): -p **/*.log 19:21:51 Archives upload complete. 19:21:51 INFO: archiving logs to Nexus 19:21:52 ---> uname -a: 19:21:52 Linux prd-ubuntu2004-builder-2c-2g-1878 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:52 19:21:52 19:21:52 ---> lscpu: 19:21:52 Architecture: x86_64 19:21:52 CPU op-mode(s): 32-bit, 64-bit 19:21:52 Byte Order: Little Endian 19:21:52 Address sizes: 40 bits physical, 48 bits virtual 19:21:52 CPU(s): 2 19:21:52 On-line CPU(s) list: 0,1 19:21:52 Thread(s) per core: 1 19:21:52 Core(s) per socket: 1 19:21:52 Socket(s): 2 19:21:52 NUMA node(s): 1 19:21:52 Vendor ID: AuthenticAMD 19:21:52 CPU family: 23 19:21:52 Model: 49 19:21:52 Model name: AMD EPYC-Rome Processor 19:21:52 Stepping: 0 19:21:52 CPU MHz: 2800.000 19:21:52 BogoMIPS: 5600.00 19:21:52 Virtualization: AMD-V 19:21:52 Hypervisor vendor: KVM 19:21:52 Virtualization type: full 19:21:52 L1d cache: 64 KiB 19:21:52 L1i cache: 64 KiB 19:21:52 L2 cache: 1 MiB 19:21:52 L3 cache: 32 MiB 19:21:52 NUMA node0 CPU(s): 0,1 19:21:52 Vulnerability Gather data sampling: Not affected 19:21:52 Vulnerability Itlb multihit: Not affected 19:21:52 Vulnerability L1tf: Not affected 19:21:52 Vulnerability Mds: Not affected 19:21:52 Vulnerability Meltdown: Not affected 19:21:52 Vulnerability Mmio stale data: Not affected 19:21:52 Vulnerability Retbleed: Vulnerable 19:21:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:21:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:21:52 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 19:21:52 Vulnerability Srbds: Not affected 19:21:52 Vulnerability Tsx async abort: Not affected 19:21:52 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:52 19:21:52 19:21:52 ---> nproc: 19:21:52 2 19:21:52 19:21:52 19:21:52 ---> df -h: 19:21:52 Filesystem Size Used Avail Use% Mounted on 19:21:52 udev 969M 0 969M 0% /dev 19:21:52 tmpfs 198M 1.0M 197M 1% /run 19:21:52 /dev/vda1 20G 8.8G 11G 46% / 19:21:52 tmpfs 986M 0 986M 0% /dev/shm 19:21:52 tmpfs 5.0M 0 5.0M 0% /run/lock 19:21:52 tmpfs 986M 0 986M 0% /sys/fs/cgroup 19:21:52 /dev/vda15 105M 6.1M 99M 6% /boot/efi 19:21:52 /dev/loop0 62M 62M 0 100% /snap/core20/1405 19:21:52 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 19:21:52 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 19:21:52 tmpfs 198M 0 198M 0% /run/user/1001 19:21:52 /dev/loop3 39M 39M 0 100% /snap/snapd/21759 19:21:52 19:21:52 19:21:52 ---> free -m: 19:21:52 total used free shared buff/cache available 19:21:52 Mem: 1971 414 213 2 1343 1362 19:21:52 Swap: 1023 1 1022 19:21:52 19:21:52 19:21:52 ---> ip addr: 19:21:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 19:21:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:21:52 inet 127.0.0.1/8 scope host lo 19:21:52 valid_lft forever preferred_lft forever 19:21:52 inet6 ::1/128 scope host 19:21:52 valid_lft forever preferred_lft forever 19:21:52 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 19:21:52 link/ether fa:16:3e:8b:8b:e8 brd ff:ff:ff:ff:ff:ff 19:21:52 inet 10.32.6.92/23 brd 10.32.7.255 scope global dynamic ens3 19:21:52 valid_lft 86077sec preferred_lft 86077sec 19:21:52 inet6 fe80::f816:3eff:fe8b:8be8/64 scope link 19:21:52 valid_lft forever preferred_lft forever 19:21:52 19:21:52 19:21:52 ---> sar -b -r -n DEV: 19:21:52 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-1878) 08/07/24 _x86_64_ (2 CPU) 19:21:52 19:21:52 19:16:33 LINUX RESTART (2 CPU) 19:21:52 19:21:52 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:21:52 19:18:01 190.55 98.05 92.50 0.00 3250.00 13020.80 0.00 19:21:52 19:19:01 41.59 4.80 36.79 0.00 175.44 8094.65 0.00 19:21:52 19:20:01 63.23 3.20 60.03 0.00 292.44 25620.53 0.00 19:21:52 19:21:01 96.07 44.48 51.59 0.00 2866.32 25931.14 0.00 19:21:52 Average: 97.85 37.63 60.23 0.00 1645.93 18167.31 0.00 19:21:52 19:21:52 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:21:52 19:18:01 96116 1451256 332996 16.50 61184 1367676 789740 25.75 426004 1294820 126004 19:21:52 19:19:01 95392 1410340 372740 18.47 68212 1312636 881416 28.74 472488 1239044 3332 19:21:52 19:20:01 339124 1426104 353328 17.50 80544 1067164 861932 28.10 343656 1114896 49240 19:21:52 19:21:01 76956 1061532 709420 35.14 84492 976572 1195640 38.98 703020 1024936 31652 19:21:52 Average: 151897 1337308 442121 21.90 73608 1181012 932182 30.39 486292 1168424 52557 19:21:52 19:21:52 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:21:52 19:18:01 lo 1.60 1.60 0.15 0.15 0.00 0.00 0.00 0.00 19:21:52 19:18:01 ens3 79.68 71.08 951.37 9.56 0.00 0.00 0.00 0.00 19:21:52 19:19:01 lo 0.83 0.83 0.07 0.07 0.00 0.00 0.00 0.00 19:21:52 19:19:01 ens3 13.71 13.55 34.52 3.69 0.00 0.00 0.00 0.00 19:21:52 19:20:01 lo 0.63 0.63 0.06 0.06 0.00 0.00 0.00 0.00 19:21:52 19:20:01 ens3 190.30 153.97 3461.07 13.06 0.00 0.00 0.00 0.00 19:21:52 19:21:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 19:21:52 19:21:01 ens3 382.32 249.34 2852.44 29.00 0.00 0.00 0.00 0.00 19:21:52 Average: lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 19:21:52 Average: ens3 166.51 121.99 1824.95 13.83 0.00 0.00 0.00 0.00 19:21:52 19:21:52 19:21:52 ---> sar -P ALL: 19:21:52 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-1878) 08/07/24 _x86_64_ (2 CPU) 19:21:52 19:21:52 19:16:33 LINUX RESTART (2 CPU) 19:21:52 19:21:52 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:21:52 19:18:01 all 38.62 19.64 14.48 7.68 0.10 19.48 19:21:52 19:18:01 0 41.65 22.20 16.02 7.17 0.10 12.86 19:21:52 19:18:01 1 35.56 17.07 12.93 8.20 0.10 26.13 19:21:52 19:19:01 all 17.38 0.00 1.50 2.17 0.07 78.88 19:21:52 19:19:01 0 22.08 0.00 1.44 0.22 0.07 76.21 19:21:52 19:19:01 1 12.68 0.00 1.57 4.12 0.07 81.56 19:21:52 19:20:01 all 23.25 0.00 2.88 3.14 0.08 70.65 19:21:52 19:20:01 0 36.36 0.00 3.72 1.68 0.08 58.16 19:21:52 19:20:01 1 10.09 0.00 2.03 4.61 0.08 83.18 19:21:52 19:21:01 all 43.36 0.00 3.37 3.97 0.08 49.22 19:21:52 19:21:01 0 50.90 0.00 3.76 4.48 0.08 40.79 19:21:52 19:21:01 1 35.87 0.00 3.00 3.46 0.08 57.59 19:21:52 Average: all 30.64 4.88 5.54 4.23 0.08 54.63 19:21:52 Average: 0 37.72 5.53 6.22 3.38 0.08 47.07 19:21:52 Average: 1 23.55 4.23 4.86 5.09 0.08 62.19 19:21:52 19:21:52 19:21:52