19:16:53 Started by timer 19:16:53 Running as SYSTEM 19:16:53 [EnvInject] - Loading node environment variables. 19:16:53 Building remotely on prd-ubuntu2004-builder-2c-2g-5667 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 19:16:53 [ssh-agent] Looking for ssh-agent implementation... 19:16:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:54 $ ssh-agent 19:16:54 SSH_AUTH_SOCK=/tmp/ssh-rJ1Ob1hPrid4/agent.6434 19:16:54 SSH_AGENT_PID=6439 19:16:54 [ssh-agent] Started. 19:16:54 Running ssh-add (command line suppressed) 19:16:54 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_13632669896370269749.key (jenkins-ssh) 19:16:54 [ssh-agent] Using credentials jenkins (jenkins) 19:16:54 The recommended git tool is: NONE 19:16:56 using credential jenkins 19:16:56 Wiping out workspace first. 19:16:56 Cloning the remote Git repository 19:16:56 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:56 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 19:16:56 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:56 > git --version # timeout=10 19:16:56 > git --version # 'git version 2.25.1' 19:16:56 using GIT_SSH to set credentials jenkins 19:16:57 > 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:57 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 19:16:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:58 Avoid second fetch 19:16:58 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 19:16:58 Checking out Revision 646bba005cabd05f734fa1ece2725ce284d6c6b0 (refs/remotes/origin/master) 19:16:58 > git config core.sparsecheckout # timeout=10 19:16:58 > git checkout -f 646bba005cabd05f734fa1ece2725ce284d6c6b0 # timeout=10 19:16:59 Commit message: "sim-a1 README syntax check" 19:16:59 > git rev-list --no-walk 48a1739f9e8e4db4428e784967e397c2d53119c8 # timeout=10 19:17:02 provisioning config files... 19:17:02 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:17:02 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:17:02 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins3704281030457771236.sh 19:17:02 ---> python-tools-install.sh 19:17:02 Setup pyenv: 19:17:02 * system (set by /opt/pyenv/version) 19:17:02 * 3.8.13 (set by /opt/pyenv/version) 19:17:02 * 3.9.13 (set by /opt/pyenv/version) 19:17:02 * 3.10.6 (set by /opt/pyenv/version) 19:17:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2H8y 19:17:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:17:11 lf-activate-venv(): INFO: Installing: lftools 19:17:42 lf-activate-venv(): INFO: Adding /tmp/venv-2H8y/bin to PATH 19:17:42 Generating Requirements File 19:18:04 Python 3.10.6 19:18:04 pip 24.1.1 from /tmp/venv-2H8y/lib/python3.10/site-packages/pip (python 3.10) 19:18:04 appdirs==1.4.4 19:18:04 argcomplete==3.4.0 19:18:04 aspy.yaml==1.3.0 19:18:04 attrs==23.2.0 19:18:04 autopage==0.5.2 19:18:04 beautifulsoup4==4.12.3 19:18:04 boto3==1.34.138 19:18:04 botocore==1.34.138 19:18:04 bs4==0.0.2 19:18:04 cachetools==5.3.3 19:18:04 certifi==2024.6.2 19:18:04 cffi==1.16.0 19:18:04 cfgv==3.4.0 19:18:04 chardet==5.2.0 19:18:04 charset-normalizer==3.3.2 19:18:04 click==8.1.7 19:18:04 cliff==4.7.0 19:18:04 cmd2==2.4.3 19:18:04 cryptography==3.3.2 19:18:04 debtcollector==3.0.0 19:18:04 decorator==5.1.1 19:18:04 defusedxml==0.7.1 19:18:04 Deprecated==1.2.14 19:18:04 distlib==0.3.8 19:18:04 dnspython==2.6.1 19:18:04 docker==4.2.2 19:18:04 dogpile.cache==1.3.3 19:18:04 email_validator==2.2.0 19:18:04 filelock==3.15.4 19:18:04 future==1.0.0 19:18:04 gitdb==4.0.11 19:18:04 GitPython==3.1.43 19:18:04 google-auth==2.31.0 19:18:04 httplib2==0.22.0 19:18:04 identify==2.5.36 19:18:04 idna==3.7 19:18:04 importlib-resources==1.5.0 19:18:04 iso8601==2.1.0 19:18:04 Jinja2==3.1.4 19:18:04 jmespath==1.0.1 19:18:04 jsonpatch==1.33 19:18:04 jsonpointer==3.0.0 19:18:04 jsonschema==4.22.0 19:18:04 jsonschema-specifications==2023.12.1 19:18:04 keystoneauth1==5.6.0 19:18:04 kubernetes==30.1.0 19:18:04 lftools==0.37.10 19:18:04 lxml==5.2.2 19:18:04 MarkupSafe==2.1.5 19:18:04 msgpack==1.0.8 19:18:04 multi_key_dict==2.0.3 19:18:04 munch==4.0.0 19:18:04 netaddr==1.3.0 19:18:04 netifaces==0.11.0 19:18:04 niet==1.4.2 19:18:04 nodeenv==1.9.1 19:18:04 oauth2client==4.1.3 19:18:04 oauthlib==3.2.2 19:18:04 openstacksdk==3.1.0 19:18:04 os-client-config==2.1.0 19:18:04 os-service-types==1.7.0 19:18:04 osc-lib==3.0.1 19:18:04 oslo.config==9.4.0 19:18:04 oslo.context==5.5.0 19:18:04 oslo.i18n==6.3.0 19:18:04 oslo.log==6.0.0 19:18:04 oslo.serialization==5.4.0 19:18:04 oslo.utils==7.1.0 19:18:04 packaging==24.1 19:18:04 pbr==6.0.0 19:18:04 platformdirs==4.2.2 19:18:04 prettytable==3.10.0 19:18:04 pyasn1==0.6.0 19:18:04 pyasn1_modules==0.4.0 19:18:04 pycparser==2.22 19:18:04 pygerrit2==2.0.15 19:18:04 PyGithub==2.3.0 19:18:04 PyJWT==2.8.0 19:18:04 PyNaCl==1.5.0 19:18:04 pyparsing==2.4.7 19:18:04 pyperclip==1.9.0 19:18:04 pyrsistent==0.20.0 19:18:04 python-cinderclient==9.5.0 19:18:04 python-dateutil==2.9.0.post0 19:18:04 python-heatclient==3.5.0 19:18:04 python-jenkins==1.8.2 19:18:04 python-keystoneclient==5.4.0 19:18:04 python-magnumclient==4.5.0 19:18:04 python-novaclient==18.6.0 19:18:04 python-openstackclient==6.6.0 19:18:04 python-swiftclient==4.6.0 19:18:04 PyYAML==6.0.1 19:18:04 referencing==0.35.1 19:18:04 requests==2.32.3 19:18:04 requests-oauthlib==2.0.0 19:18:04 requestsexceptions==1.4.0 19:18:04 rfc3986==2.0.0 19:18:04 rpds-py==0.18.1 19:18:04 rsa==4.9 19:18:04 ruamel.yaml==0.18.6 19:18:04 ruamel.yaml.clib==0.2.8 19:18:04 s3transfer==0.10.2 19:18:04 simplejson==3.19.2 19:18:04 six==1.16.0 19:18:04 smmap==5.0.1 19:18:04 soupsieve==2.5 19:18:04 stevedore==5.2.0 19:18:04 tabulate==0.9.0 19:18:04 toml==0.10.2 19:18:04 tomlkit==0.12.5 19:18:04 tqdm==4.66.4 19:18:04 typing_extensions==4.12.2 19:18:04 tzdata==2024.1 19:18:04 urllib3==1.26.19 19:18:04 virtualenv==20.26.3 19:18:04 wcwidth==0.2.13 19:18:04 websocket-client==1.8.0 19:18:04 wrapt==1.16.0 19:18:04 xdg==6.0.0 19:18:04 xmltodict==0.13.0 19:18:04 yq==3.4.3 19:18:04 [EnvInject] - Injecting environment variables from a build step. 19:18:04 [EnvInject] - Injecting as environment variables the properties content 19:18:04 SET_JDK_VERSION=openjdk17 19:18:04 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 19:18:04 19:18:04 [EnvInject] - Variables injected successfully. 19:18:04 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins2224750280944696181.sh 19:18:04 ---> update-java-alternatives.sh 19:18:04 ---> Updating Java version 19:18:05 ---> Ubuntu/Debian system detected 19:18:05 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 19:18:05 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 19:18:05 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:05 openjdk version "17.0.9" 2023-10-17 19:18:05 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 19:18:05 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 19:18:05 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 19:18:05 [EnvInject] - Injecting environment variables from a build step. 19:18:05 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 19:18:05 [EnvInject] - Variables injected successfully. 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 PYTHON=python3 19:18:05 19:18:05 [EnvInject] - Variables injected successfully. 19:18:05 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9708750915192252090.sh 19:18:05 ---> tox-install.sh 19:18:05 + source /home/jenkins/lf-env.sh 19:18:05 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:05 ++ mktemp -d /tmp/venv-XXXX 19:18:05 + lf_venv=/tmp/venv-TUyU 19:18:05 + local venv_file=/tmp/.os_lf_venv 19:18:05 + local python=python3 19:18:05 + local options 19:18:05 + local set_path=true 19:18:05 + local install_args= 19:18:05 ++ 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:05 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:05 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:05 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:05 + true 19:18:05 + case $1 in 19:18:05 + venv_file=/tmp/.toxenv 19:18:05 + shift 2 19:18:05 + true 19:18:05 + case $1 in 19:18:05 + shift 19:18:05 + break 19:18:05 + case $python in 19:18:05 + local pkg_list= 19:18:05 + [[ -d /opt/pyenv ]] 19:18:05 + echo 'Setup pyenv:' 19:18:05 Setup pyenv: 19:18:05 + export PYENV_ROOT=/opt/pyenv 19:18:05 + PYENV_ROOT=/opt/pyenv 19:18:05 + 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:05 + 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:05 + pyenv versions 19:18:05 system 19:18:05 3.8.13 19:18:05 3.9.13 19:18:05 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:05 + command -v pyenv 19:18:05 ++ pyenv init - --no-rehash 19:18:05 + 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:05 export PATH="/opt/pyenv/shims:${PATH}" 19:18:05 export PYENV_SHELL=bash 19:18:05 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:05 pyenv() { 19:18:05 local command 19:18:05 command="${1:-}" 19:18:05 if [ "$#" -gt 0 ]; then 19:18:05 shift 19:18:05 fi 19:18:05 19:18:05 case "$command" in 19:18:05 rehash|shell) 19:18:05 eval "$(pyenv "sh-$command" "$@")" 19:18:05 ;; 19:18:05 *) 19:18:05 command pyenv "$command" "$@" 19:18:05 ;; 19:18:05 esac 19:18:05 }' 19:18:05 +++ 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:05 ++ 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:05 ++ 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:05 ++ 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:05 ++ export PYENV_SHELL=bash 19:18:05 ++ PYENV_SHELL=bash 19:18:05 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:05 +++ complete -F _pyenv pyenv 19:18:05 ++ lf-pyver python3 19:18:05 ++ local py_version_xy=python3 19:18:05 ++ local py_version_xyz= 19:18:05 ++ grep -E '^[0-9.]*[0-9]$' 19:18:05 ++ awk '{ print $1 }' 19:18:05 ++ pyenv versions 19:18:05 ++ local command 19:18:05 ++ command=versions 19:18:05 ++ '[' 1 -gt 0 ']' 19:18:05 ++ shift 19:18:05 ++ case "$command" in 19:18:05 ++ command pyenv versions 19:18:05 ++ pyenv versions 19:18:05 ++ sed 's/^[ *]* //' 19:18:05 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:05 +++ tail -n 1 19:18:05 +++ sort -V 19:18:05 +++ grep '^3' /tmp/.pyenv_versions 19:18:05 ++ py_version_xyz=3.10.6 19:18:05 ++ [[ -z 3.10.6 ]] 19:18:05 ++ echo 3.10.6 19:18:05 ++ return 0 19:18:05 + pyenv local 3.10.6 19:18:05 + local command 19:18:05 + command=local 19:18:05 + '[' 2 -gt 0 ']' 19:18:05 + shift 19:18:05 + case "$command" in 19:18:05 + command pyenv local 3.10.6 19:18:05 + pyenv local 3.10.6 19:18:05 + for arg in "$@" 19:18:05 + case $arg in 19:18:05 + pkg_list+='tox ' 19:18:05 + for arg in "$@" 19:18:05 + case $arg in 19:18:05 + pkg_list+='virtualenv ' 19:18:05 + for arg in "$@" 19:18:05 + case $arg in 19:18:05 + pkg_list+='urllib3~=1.26.15 ' 19:18:05 + [[ -f /tmp/.toxenv ]] 19:18:05 + [[ ! -f /tmp/.toxenv ]] 19:18:05 + [[ -n '' ]] 19:18:05 + python3 -m venv /tmp/venv-TUyU 19:18:09 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TUyU' 19:18:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TUyU 19:18:09 + echo /tmp/venv-TUyU 19:18:09 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:18:09 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:18:09 + /tmp/venv-TUyU/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:12 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:12 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:12 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:12 + /tmp/venv-TUyU/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:14 + type python3 19:18:14 + true 19:18:14 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-TUyU/bin to PATH' 19:18:14 lf-activate-venv(): INFO: Adding /tmp/venv-TUyU/bin to PATH 19:18:14 + PATH=/tmp/venv-TUyU/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:14 + return 0 19:18:14 + python3 --version 19:18:14 Python 3.10.6 19:18:14 + python3 -m pip --version 19:18:14 pip 24.1.1 from /tmp/venv-TUyU/lib/python3.10/site-packages/pip (python 3.10) 19:18:14 + python3 -m pip freeze 19:18:15 cachetools==5.3.3 19:18:15 chardet==5.2.0 19:18:15 colorama==0.4.6 19:18:15 distlib==0.3.8 19:18:15 filelock==3.15.4 19:18:15 packaging==24.1 19:18:15 platformdirs==4.2.2 19:18:15 pluggy==1.5.0 19:18:15 pyproject-api==1.7.1 19:18:15 tomli==2.0.1 19:18:15 tox==4.16.0 19:18:15 urllib3==1.26.19 19:18:15 virtualenv==20.26.3 19:18:15 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins4121476120513072924.sh 19:18:15 [EnvInject] - Injecting environment variables from a build step. 19:18:15 [EnvInject] - Injecting as environment variables the properties content 19:18:15 PARALLEL=False 19:18:15 19:18:15 [EnvInject] - Variables injected successfully. 19:18:15 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12004986262554026685.sh 19:18:15 ---> tox-run.sh 19:18:15 + 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:15 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:15 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:18:15 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:15 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 19:18:15 + source /home/jenkins/lf-env.sh 19:18:15 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:15 ++ mktemp -d /tmp/venv-XXXX 19:18:15 + lf_venv=/tmp/venv-3ZuX 19:18:15 + local venv_file=/tmp/.os_lf_venv 19:18:15 + local python=python3 19:18:15 + local options 19:18:15 + local set_path=true 19:18:15 + local install_args= 19:18:15 ++ 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:15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:15 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:15 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:15 + true 19:18:15 + case $1 in 19:18:15 + venv_file=/tmp/.toxenv 19:18:15 + shift 2 19:18:15 + true 19:18:15 + case $1 in 19:18:15 + shift 19:18:15 + break 19:18:15 + case $python in 19:18:15 + local pkg_list= 19:18:15 + [[ -d /opt/pyenv ]] 19:18:15 + echo 'Setup pyenv:' 19:18:15 Setup pyenv: 19:18:15 + export PYENV_ROOT=/opt/pyenv 19:18:15 + PYENV_ROOT=/opt/pyenv 19:18:15 + 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:15 + 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:15 + pyenv versions 19:18:15 system 19:18:15 3.8.13 19:18:15 3.9.13 19:18:15 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:15 + command -v pyenv 19:18:15 ++ pyenv init - --no-rehash 19:18:15 + 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:15 export PATH="/opt/pyenv/shims:${PATH}" 19:18:15 export PYENV_SHELL=bash 19:18:15 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:15 pyenv() { 19:18:15 local command 19:18:15 command="${1:-}" 19:18:15 if [ "$#" -gt 0 ]; then 19:18:15 shift 19:18:15 fi 19:18:15 19:18:15 case "$command" in 19:18:15 rehash|shell) 19:18:15 eval "$(pyenv "sh-$command" "$@")" 19:18:15 ;; 19:18:15 *) 19:18:15 command pyenv "$command" "$@" 19:18:15 ;; 19:18:15 esac 19:18:15 }' 19:18:15 +++ 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:15 ++ 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:15 ++ 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:15 ++ 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:15 ++ export PYENV_SHELL=bash 19:18:15 ++ PYENV_SHELL=bash 19:18:15 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:15 +++ complete -F _pyenv pyenv 19:18:15 ++ lf-pyver python3 19:18:15 ++ local py_version_xy=python3 19:18:15 ++ local py_version_xyz= 19:18:15 ++ pyenv versions 19:18:15 ++ grep -E '^[0-9.]*[0-9]$' 19:18:15 ++ local command 19:18:15 ++ sed 's/^[ *]* //' 19:18:15 ++ awk '{ print $1 }' 19:18:15 ++ command=versions 19:18:15 ++ '[' 1 -gt 0 ']' 19:18:15 ++ shift 19:18:15 ++ case "$command" in 19:18:15 ++ command pyenv versions 19:18:15 ++ pyenv versions 19:18:15 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:15 +++ grep '^3' /tmp/.pyenv_versions 19:18:15 +++ tail -n 1 19:18:15 +++ sort -V 19:18:15 ++ py_version_xyz=3.10.6 19:18:15 ++ [[ -z 3.10.6 ]] 19:18:15 ++ echo 3.10.6 19:18:15 ++ return 0 19:18:15 + pyenv local 3.10.6 19:18:15 + local command 19:18:15 + command=local 19:18:15 + '[' 2 -gt 0 ']' 19:18:15 + shift 19:18:15 + case "$command" in 19:18:15 + command pyenv local 3.10.6 19:18:15 + pyenv local 3.10.6 19:18:15 + for arg in "$@" 19:18:15 + case $arg in 19:18:15 + pkg_list+='tox ' 19:18:15 + for arg in "$@" 19:18:15 + case $arg in 19:18:15 + pkg_list+='virtualenv ' 19:18:15 + for arg in "$@" 19:18:15 + case $arg in 19:18:15 + pkg_list+='urllib3~=1.26.15 ' 19:18:15 + [[ -f /tmp/.toxenv ]] 19:18:15 ++ cat /tmp/.toxenv 19:18:15 + lf_venv=/tmp/venv-TUyU 19:18:15 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-TUyU from' file:/tmp/.toxenv 19:18:15 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-TUyU from file:/tmp/.toxenv 19:18:15 + /tmp/venv-TUyU/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:16 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:16 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:16 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:16 + /tmp/venv-TUyU/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-TUyU/bin to PATH' 19:18:18 lf-activate-venv(): INFO: Adding /tmp/venv-TUyU/bin to PATH 19:18:18 + PATH=/tmp/venv-TUyU/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-TUyU/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-TUyU/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:18 4.16.0 from /tmp/venv-TUyU/lib/python3.10/site-packages/tox/__init__.py 19:18:18 + PARALLEL=False 19:18:18 + TOX_OPTIONS_LIST= 19:18:18 + [[ -n '' ]] 19:18:18 + case ${PARALLEL,,} in 19:18:18 + tox 19:18:18 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 19:18:19 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 19:18:26 code: freeze> python -m pip freeze --all 19:18:27 code: attrs==23.2.0,certifi==2024.6.2,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.5.4,exceptiongroup==1.2.1,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.22.0,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.5,packaging==24.1,pip==24.1,pluggy==1.5.0,pytest==8.2.2,pytest-cov==5.0.0,PyYAML==6.0.1,referencing==0.35.1,requests==2.32.3,rpds-py==0.18.1,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.2.2, 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:27 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 - - [03/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.55s ======================= 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.2.2, 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:00 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.2.2, 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 - - [03/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.86s ======================== 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 4.54 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:19:53 docs: freeze> python -m pip freeze --all 19:19:54 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.3.3,certifi==2024.6.2,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.0,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.0,numpy==2.0.0,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.5,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.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:19:54 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:54 Running Sphinx v5.3.0 19:19:54 making output directory... done 19:19:54 building [mo]: targets for 0 po files that are out of date 19:19:54 building [html]: targets for 6 source files that are out of date 19:19:54 updating environment: [new config] 6 added, 0 changed, 0 removed 19:19:54 reading sources... [ 16%] callout-server 19:19:54 reading sources... [ 33%] index 19:19:54 reading sources... [ 50%] kafka-message-dispatcher 19:19:55 reading sources... [ 66%] overview 19:19:55 reading sources... [ 83%] release-notes 19:19:55 reading sources... [100%] simulator-api 19:19:55 19:19:55 looking for now-outdated files... none found 19:19:55 pickling environment... done 19:19:55 checking consistency... done 19:19:55 preparing documents... done 19:19:55 writing output... [ 16%] callout-server 19:19:55 writing output... [ 33%] index 19:19:55 writing output... [ 50%] kafka-message-dispatcher 19:19:55 writing output... [ 66%] overview 19:19:55 writing output... [ 83%] release-notes 19:19:55 writing output... [100%] simulator-api 19:19:55 19:19:55 generating indices... genindex done 19:19:55 writing additional pages... search done 19:19:55 copying images... [100%] images/yaml_logo.png 19:19:55 19:19:55 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 19:19:55 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 19:19:55 19:19:55 copying static files... done 19:19:55 copying extra files... done 19:19:55 dumping search index in English (code: en)... done 19:19:55 dumping object inventory... done 19:19:55 build succeeded. 19:19:55 19:19:55 The HTML pages are in docs/_build/html. 19:19:55 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 19:19:55 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:19:56 docs: OK ✔ in 32.34 seconds 19:19:56 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:17 docs-linkcheck: freeze> python -m pip freeze --all 19:20:17 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.3.3,certifi==2024.6.2,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.0,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.0,numpy==2.0.0,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.5,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.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:17 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:18 Running Sphinx v5.3.0 19:20:18 making output directory... done 19:20:18 building [mo]: targets for 0 po files that are out of date 19:20:18 building [linkcheck]: targets for 6 source files that are out of date 19:20:18 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:18 reading sources... [ 16%] callout-server 19:20:18 reading sources... [ 33%] index 19:20:18 reading sources... [ 50%] kafka-message-dispatcher 19:20:18 reading sources... [ 66%] overview 19:20:18 reading sources... [ 83%] release-notes 19:20:18 reading sources... [100%] simulator-api 19:20:18 19:20:18 looking for now-outdated files... none found 19:20:18 pickling environment... done 19:20:18 checking consistency... done 19:20:18 preparing documents... done 19:20:18 writing output... [ 16%] callout-server 19:20:18 writing output... [ 33%] index 19:20:18 writing output... [ 50%] kafka-message-dispatcher 19:20:18 writing output... [ 66%] overview 19:20:18 writing output... [ 83%] release-notes 19:20:18 writing output... [100%] simulator-api 19:20:18 19:20:18 19:20:18 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 19:20:18 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 19:20:18 ( 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:18 ( 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:18 ( 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:18 build succeeded. 19:20:18 19:20:18 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 19:20:18 code: OK (64.53=setup[8.21]+cmd[21.99,11.70,22.23,0.40] seconds) 19:20:18 docs: OK (32.33=setup[30.68]+cmd[1.65,0.01] seconds) 19:20:18 docs-linkcheck: OK (22.95=setup[21.75]+cmd[1.19] seconds) 19:20:18 congratulations :) (119.97 seconds) 19:20:18 + tox_status=0 19:20:18 + echo '---> Completed tox runs' 19:20:18 ---> Completed tox runs 19:20:18 + for i in .tox/*/log 19:20:18 ++ awk -F/ '{print $2}' 19:20:18 ++ echo .tox/code/log 19:20:18 + tox_env=code 19:20:18 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 19:20:18 + for i in .tox/*/log 19:20:18 ++ echo .tox/docs-linkcheck/log 19:20:18 ++ awk -F/ '{print $2}' 19:20:18 + tox_env=docs-linkcheck 19:20:18 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 19:20:18 + for i in .tox/*/log 19:20:18 ++ echo .tox/docs/log 19:20:18 ++ awk -F/ '{print $2}' 19:20:18 + tox_env=docs 19:20:18 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 19:20:18 + DOC_DIR=docs/_build/html 19:20:18 + [[ -d docs/_build/html ]] 19:20:18 + echo '---> Archiving generated docs' 19:20:18 ---> Archiving generated docs 19:20:18 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:20:18 + echo '---> tox-run.sh ends' 19:20:18 ---> tox-run.sh ends 19:20:18 + test 0 -eq 0 19:20:19 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-5667 19:20:20 [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:20 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:20 INFO: Project root configuration file: NONE 19:20:20 INFO: SonarScanner 4.6.2.2472 19:20:20 INFO: Java 17.0.9 Private Build (64-bit) 19:20:20 INFO: Linux 5.4.0-169-generic amd64 19:20:21 INFO: User cache: /home/jenkins/.sonar/cache 19:20:23 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:23 INFO: Project root configuration file: NONE 19:20:23 INFO: Analyzing on SonarCloud 19:20:23 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 19:20:24 INFO: Load global settings 19:20:24 INFO: Load global settings (done) | time=322ms 19:20:24 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 19:20:25 INFO: Loading required plugins 19:20:25 INFO: Load plugins index 19:20:25 INFO: Load plugins index (done) | time=226ms 19:20:25 INFO: Load/download plugins 19:20:26 INFO: Load/download plugins (done) | time=877ms 19:20:26 INFO: Found an active CI vendor: 'Jenkins' 19:20:26 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 19:20:26 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=221ms 19:20:26 INFO: Process project properties 19:20:26 INFO: Project key: o-ran-sc_sim-a1-interface 19:20:26 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 19:20:26 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 19:20:27 INFO: Load project branches 19:20:27 INFO: Load project branches (done) | time=504ms 19:20:27 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 19:20:27 INFO: Detected project binding: NOT_BOUND 19:20:27 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=173ms 19:20:27 INFO: Load project pull requests 19:20:27 INFO: Load project pull requests (done) | time=178ms 19:20:27 INFO: Load branch configuration 19:20:27 INFO: Load branch configuration (done) | time=1ms 19:20:27 INFO: Load quality profiles 19:20:28 INFO: Load quality profiles (done) | time=276ms 19:20:28 INFO: Load active rules 19:20:37 INFO: Load active rules (done) | time=9345ms 19:20:37 INFO: Organization key: o-ran-sc 19:20:37 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:37 INFO: Preprocessing files... 19:20:38 INFO: 4 languages detected in 112 preprocessed files 19:20:38 INFO: 0 files ignored because of inclusion/exclusion patterns 19:20:38 INFO: 22 files ignored because of scm ignore settings 19:20:38 INFO: Loading plugins for detected languages 19:20:38 INFO: Load/download plugins 19:20:39 INFO: Load/download plugins (done) | time=1299ms 19:20:39 INFO: Load project repositories 19:20:40 INFO: Load project repositories (done) | time=234ms 19:20:40 INFO: Indexing files... 19:20:40 INFO: Project configuration: 19:20:40 INFO: Excluded sources: **/build-wrapper-dump.json 19:20:40 INFO: 112 files indexed 19:20:40 INFO: Quality profile for docker: Sonar way 19:20:40 INFO: Quality profile for json: SonarQube Way 19:20:40 INFO: Quality profile for py: Sonar way 19:20:40 INFO: Quality profile for yaml: Sonar way 19:20:40 INFO: ------------- Run sensors on module sim-a1-interface 19:20:40 INFO: Load metrics repository 19:20:40 INFO: Load metrics repository (done) | time=180ms 19:20:40 INFO: Sensor cache enabled 19:20:40 INFO: Load sensor cache 19:20:42 INFO: Load sensor cache (373 KB) | time=2126ms 19:20:43 INFO: Sensor Python Sensor [python] 19:20:43 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:43 INFO: Starting global symbols computation 19:20:43 INFO: 37 source files to be analyzed 19:20:44 INFO: 37/37 source files have been analyzed 19:20:44 INFO: Starting rules execution 19:20:44 INFO: 37 source files to be analyzed 19:20:49 INFO: 37/37 source files have been analyzed 19:20:49 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:49 INFO: Sensor Python Sensor [python] (done) | time=6112ms 19:20:49 INFO: Sensor Cobertura Sensor for Python coverage [python] 19:20:49 INFO: Python test coverage 19:20:49 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 19:20:49 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=365ms 19:20:49 INFO: Sensor PythonXUnitSensor [python] 19:20:49 INFO: Sensor PythonXUnitSensor [python] (done) | time=210ms 19:20:49 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 19:20:49 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:49 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=12ms 19:20:49 INFO: Sensor JaCoCo XML Report Importer [jacoco] 19:20:49 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:49 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 19:20:49 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms 19:20:49 INFO: Sensor IaC CloudFormation Sensor [iac] 19:20:49 INFO: 0 source files to be analyzed 19:20:49 INFO: 0/0 source files have been analyzed 19:20:49 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=41ms 19:20:49 INFO: Sensor IaC Kubernetes Sensor [iac] 19:20:49 INFO: 0 source files to be analyzed 19:20:49 INFO: 0/0 source files have been analyzed 19:20:49 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=67ms 19:20:49 INFO: Sensor IaC AzureResourceManager Sensor [iac] 19:20:49 INFO: 0 source files to be analyzed 19:20:50 INFO: 0/0 source files have been analyzed 19:20:50 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=80ms 19:20:50 INFO: Sensor Java Config Sensor [iac] 19:20:50 INFO: 0 source files to be analyzed 19:20:50 INFO: 0/0 source files have been analyzed 19:20:50 INFO: Sensor Java Config Sensor [iac] (done) | time=7ms 19:20:50 INFO: Sensor JavaScript inside YAML analysis [javascript] 19:20:50 INFO: No input files found for analysis 19:20:50 INFO: Hit the cache for 0 out of 0 19:20:50 INFO: Miss the cache for 0 out of 0 19:20:50 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=32ms 19:20:50 INFO: Sensor CSS Rules [javascript] 19:20:50 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 19:20:50 INFO: Sensor CSS Rules [javascript] (done) | time=2ms 19:20:50 INFO: Sensor IaC Docker Sensor [iac] 19:20:50 INFO: 3 source files to be analyzed 19:20:50 INFO: 3/3 source files have been analyzed 19:20:50 INFO: Sensor IaC Docker Sensor [iac] (done) | time=175ms 19:20:50 INFO: Sensor Serverless configuration file sensor [security] 19:20:50 INFO: 0 Serverless function entries were found in the project 19:20:50 INFO: 0 Serverless function handlers were kept as entrypoints 19:20:50 INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms 19:20:50 INFO: Sensor AWS SAM template file sensor [security] 19:20:50 INFO: Sensor AWS SAM template file sensor [security] (done) | time=6ms 19:20:50 INFO: Sensor AWS SAM Inline template file sensor [security] 19:20:50 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=5ms 19:20:50 INFO: Sensor javabugs [dbd] 19:20:50 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 19:20:50 INFO: No IR files have been included for analysis. 19:20:50 INFO: Sensor javabugs [dbd] (done) | time=1ms 19:20:50 INFO: Sensor pythonbugs [dbd] 19:20:50 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 19:20:50 INFO: Analyzing 100 functions to detect bugs. 19:20:50 INFO: Sensor pythonbugs [dbd] (done) | time=622ms 19:20:50 INFO: Sensor TextAndSecretsSensor [text] 19:20:50 INFO: Available processors: 2 19:20:50 INFO: Using 2 threads for analysis. 19:20:51 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:51 * The filename starts with "test" 19:20:51 * The filename contains "test." or "tests." 19:20:51 * Any directory in the file path is named: "doc", "docs", "test" or "tests" 19:20:51 * Any directory in the file path has a name ending in "test" or "tests" 19:20:51 19:20:51 INFO: Using git CLI to retrieve untracked files 19:20:51 INFO: Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git 19:20:51 INFO: 92 source files to be analyzed 19:20:51 INFO: 92/92 source files have been analyzed 19:20:51 INFO: Sensor TextAndSecretsSensor [text] (done) | time=813ms 19:20:51 INFO: Sensor JavaSecuritySensor [security] 19:20:51 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 19:20:51 INFO: Load type hierarchy and UCFGs: Starting 19:20:51 INFO: Load type hierarchy: Starting 19:20:51 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 19:20:51 INFO: Read 0 type definitions 19:20:51 INFO: Load type hierarchy: Time spent was 00:00:00.008 19:20:51 INFO: Load UCFGs: Starting 19:20:51 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:51 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.008 19:20:51 INFO: No UCFGs have been included for analysis. 19:20:51 INFO: java security sensor: Time spent was 00:00:00.050 19:20:51 INFO: java security sensor: Begin: 2024-07-03T19:20:51.743969856Z, End: 2024-07-03T19:20:51.794570550Z, Duration: 00:00:00.050 19:20:51 Load type hierarchy and UCFGs: Begin: 2024-07-03T19:20:51.746004685Z, End: 2024-07-03T19:20:51.754993379Z, Duration: 00:00:00.008 19:20:51 Load type hierarchy: Begin: 2024-07-03T19:20:51.746161204Z, End: 2024-07-03T19:20:51.754360295Z, Duration: 00:00:00.008 19:20:51 Load UCFGs: Begin: 2024-07-03T19:20:51.754740675Z, End: 2024-07-03T19:20:51.754864182Z, Duration: 00:00:00.000 19:20:51 INFO: java security sensor peak memory: 269 MB 19:20:51 INFO: Sensor JavaSecuritySensor [security] (done) | time=56ms 19:20:51 INFO: Sensor CSharpSecuritySensor [security] 19:20:51 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:51 INFO: Load type hierarchy and UCFGs: Starting 19:20:51 INFO: Load type hierarchy: Starting 19:20:51 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 19:20:51 INFO: Read 0 type definitions 19:20:51 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:51 INFO: Load UCFGs: Starting 19:20:51 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:51 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 19:20:51 INFO: No UCFGs have been included for analysis. 19:20:51 INFO: csharp security sensor: Time spent was 00:00:00.002 19:20:51 INFO: csharp security sensor: Begin: 2024-07-03T19:20:51.804933838Z, End: 2024-07-03T19:20:51.807374799Z, Duration: 00:00:00.002 19:20:51 Load type hierarchy and UCFGs: Begin: 2024-07-03T19:20:51.805285987Z, End: 2024-07-03T19:20:51.806367175Z, Duration: 00:00:00.001 19:20:51 Load type hierarchy: Begin: 2024-07-03T19:20:51.805375751Z, End: 2024-07-03T19:20:51.805784593Z, Duration: 00:00:00.000 19:20:51 Load UCFGs: Begin: 2024-07-03T19:20:51.805955283Z, End: 2024-07-03T19:20:51.806058788Z, Duration: 00:00:00.000 19:20:51 INFO: csharp security sensor peak memory: 269 MB 19:20:51 INFO: Sensor CSharpSecuritySensor [security] (done) | time=5ms 19:20:51 INFO: Sensor PhpSecuritySensor [security] 19:20:51 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 19:20:51 INFO: Load type hierarchy and UCFGs: Starting 19:20:51 INFO: Load type hierarchy: Starting 19:20:51 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 19:20:51 INFO: Read 0 type definitions 19:20:51 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:51 INFO: Load UCFGs: Starting 19:20:51 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:51 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.007 19:20:51 INFO: No UCFGs have been included for analysis. 19:20:51 INFO: php security sensor: Time spent was 00:00:00.008 19:20:51 INFO: php security sensor: Begin: 2024-07-03T19:20:51.809311933Z, End: 2024-07-03T19:20:51.818113857Z, Duration: 00:00:00.008 19:20:51 Load type hierarchy and UCFGs: Begin: 2024-07-03T19:20:51.809785269Z, End: 2024-07-03T19:20:51.816938705Z, Duration: 00:00:00.007 19:20:51 Load type hierarchy: Begin: 2024-07-03T19:20:51.809866423Z, End: 2024-07-03T19:20:51.810125447Z, Duration: 00:00:00.000 19:20:51 Load UCFGs: Begin: 2024-07-03T19:20:51.810264845Z, End: 2024-07-03T19:20:51.810428024Z, Duration: 00:00:00.000 19:20:51 INFO: php security sensor peak memory: 269 MB 19:20:51 INFO: Sensor PhpSecuritySensor [security] (done) | time=10ms 19:20:51 INFO: Sensor PythonSecuritySensor [security] 19:20:51 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:51 INFO: Load type hierarchy and UCFGs: Starting 19:20:51 INFO: Load type hierarchy: Starting 19:20:51 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:20:51 INFO: Read 451 type definitions 19:20:51 INFO: Load type hierarchy: Time spent was 00:00:00.093 19:20:51 INFO: Load UCFGs: Starting 19:20:51 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:20:52 INFO: Load UCFGs: Time spent was 00:00:00.412 19:20:52 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.506 19:20:52 INFO: Analyzing 2437 UCFGs to detect vulnerabilities. 19:20:52 INFO: Check cache: Starting 19:20:52 INFO: Load cache: Starting 19:20:52 INFO: Load cache: Time spent was 00:00:00.000 19:20:52 INFO: Check cache: Time spent was 00:00:00.000 19:20:52 INFO: Create runtime call graph: Starting 19:20:52 INFO: Variable Type Analysis #1: Starting 19:20:52 INFO: Create runtime type propagation graph: Starting 19:20:52 INFO: Create runtime type propagation graph: Time spent was 00:00:00.030 19:20:52 INFO: Run SCC (Tarjan) on 7176 nodes: Starting 19:20:52 INFO: Run SCC (Tarjan) on 7176 nodes: Time spent was 00:00:00.008 19:20:52 INFO: Tarjan found 7176 strongly connected components 19:20:52 INFO: Propagate runtime types to strongly connected components: Starting 19:20:52 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.024 19:20:52 INFO: Variable Type Analysis #1: Time spent was 00:00:00.065 19:20:52 INFO: Variable Type Analysis #2: Starting 19:20:52 INFO: Create runtime type propagation graph: Starting 19:20:52 INFO: Create runtime type propagation graph: Time spent was 00:00:00.027 19:20:52 INFO: Run SCC (Tarjan) on 7101 nodes: Starting 19:20:52 INFO: Run SCC (Tarjan) on 7101 nodes: Time spent was 00:00:00.005 19:20:52 INFO: Tarjan found 7101 strongly connected components 19:20:52 INFO: Propagate runtime types to strongly connected components: Starting 19:20:52 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.018 19:20:52 INFO: Variable Type Analysis #2: Time spent was 00:00:00.052 19:20:52 INFO: Create runtime call graph: Time spent was 00:00:00.123 19:20:52 INFO: Load config: Starting 19:20:52 INFO: Load config: Time spent was 00:00:00.107 19:20:52 INFO: Compute entry points: Starting 19:20:52 INFO: Compute entry points: Time spent was 00:00:00.184 19:20:52 INFO: All rules entry points : 5 19:20:52 INFO: Slice call graph: Starting 19:20:52 INFO: Retained UCFGs : 33 19:20:52 INFO: Slice call graph: Time spent was 00:00:00.001 19:20:52 INFO: Live variable analysis: Starting 19:20:52 INFO: Live variable analysis: Time spent was 00:00:00.014 19:20:52 INFO: Taint analysis for python: Starting 19:20:52 INFO: 0 / 33 UCFGs simulated, memory usage: 142 MB 19:20:52 INFO: 24 / 33 UCFGs simulated, memory usage: 162 MB 19:20:52 INFO: Taint analysis for python: Time spent was 00:00:00.210 19:20:52 INFO: Report issues: Starting 19:20:52 INFO: Report issues: Time spent was 00:00:00.002 19:20:52 INFO: Store cache: Starting 19:20:52 INFO: Store cache: Time spent was 00:00:00.004 19:20:52 INFO: python security sensor: Time spent was 00:00:01.165 19:20:52 INFO: python security sensor: Begin: 2024-07-03T19:20:51.819638479Z, End: 2024-07-03T19:20:52.984777074Z, Duration: 00:00:01.165 19:20:52 Load type hierarchy and UCFGs: Begin: 2024-07-03T19:20:51.820588091Z, End: 2024-07-03T19:20:52.327044984Z, Duration: 00:00:00.506 19:20:52 Load type hierarchy: Begin: 2024-07-03T19:20:51.820659824Z, End: 2024-07-03T19:20:51.914400431Z, Duration: 00:00:00.093 19:20:52 Load UCFGs: Begin: 2024-07-03T19:20:51.914617853Z, End: 2024-07-03T19:20:52.326742348Z, Duration: 00:00:00.412 19:20:52 Check cache: Begin: 2024-07-03T19:20:52.327249155Z, End: 2024-07-03T19:20:52.327679468Z, Duration: 00:00:00.000 19:20:52 Load cache: Begin: 2024-07-03T19:20:52.327323688Z, End: 2024-07-03T19:20:52.327406523Z, Duration: 00:00:00.000 19:20:52 Create runtime call graph: Begin: 2024-07-03T19:20:52.327793884Z, End: 2024-07-03T19:20:52.451402748Z, Duration: 00:00:00.123 19:20:52 Variable Type Analysis #1: Begin: 2024-07-03T19:20:52.328385075Z, End: 2024-07-03T19:20:52.394050547Z, Duration: 00:00:00.065 19:20:52 Create runtime type propagation graph: Begin: 2024-07-03T19:20:52.329399059Z, End: 2024-07-03T19:20:52.360142234Z, Duration: 00:00:00.030 19:20:52 Run SCC (Tarjan) on 7176 nodes: Begin: 2024-07-03T19:20:52.360793309Z, End: 2024-07-03T19:20:52.369306072Z, Duration: 00:00:00.008 19:20:52 Propagate runtime types to strongly connected components: Begin: 2024-07-03T19:20:52.369598956Z, End: 2024-07-03T19:20:52.393732781Z, Duration: 00:00:00.024 19:20:52 Variable Type Analysis #2: Begin: 2024-07-03T19:20:52.396138309Z, End: 2024-07-03T19:20:52.448749966Z, Duration: 00:00:00.052 19:20:52 Create runtime type propagation graph: Begin: 2024-07-03T19:20:52.396275836Z, End: 2024-07-03T19:20:52.423887884Z, Duration: 00:00:00.027 19:20:52 Run SCC (Tarjan) on 7101 nodes: Begin: 2024-07-03T19:20:52.424225232Z, End: 2024-07-03T19:20:52.430134737Z, Duration: 00:00:00.005 19:20:52 Propagate runtime types to strongly connected components: Begin: 2024-07-03T19:20:52.430321436Z, End: 2024-07-03T19:20:52.448439040Z, Duration: 00:00:00.018 19:20:52 Load config: Begin: 2024-07-03T19:20:52.451528305Z, End: 2024-07-03T19:20:52.558717924Z, Duration: 00:00:00.107 19:20:52 Compute entry points: Begin: 2024-07-03T19:20:52.565043182Z, End: 2024-07-03T19:20:52.749108901Z, Duration: 00:00:00.184 19:20:52 Slice call graph: Begin: 2024-07-03T19:20:52.749498772Z, End: 2024-07-03T19:20:52.750519486Z, Duration: 00:00:00.001 19:20:52 Live variable analysis: Begin: 2024-07-03T19:20:52.750635802Z, End: 2024-07-03T19:20:52.765215737Z, Duration: 00:00:00.014 19:20:52 Taint analysis for python: Begin: 2024-07-03T19:20:52.765581376Z, End: 2024-07-03T19:20:52.976055Z, Duration: 00:00:00.210 19:20:52 Report issues: Begin: 2024-07-03T19:20:52.976194527Z, End: 2024-07-03T19:20:52.978392294Z, Duration: 00:00:00.002 19:20:52 Store cache: Begin: 2024-07-03T19:20:52.979307363Z, End: 2024-07-03T19:20:52.983952950Z, Duration: 00:00:00.004 19:20:52 INFO: python security sensor peak memory: 271 MB 19:20:52 INFO: Sensor PythonSecuritySensor [security] (done) | time=1167ms 19:20:52 INFO: Sensor JsSecuritySensor [security] 19:20:52 INFO: Enabled taint analysis rules: S6350, S6105, S6096, S5146, S5131, S5147, S6287, S5144, S2631, S2076, S2083, S5883, S3649, S5696, S5334 19:20:52 INFO: Load type hierarchy and UCFGs: Starting 19:20:52 INFO: Load type hierarchy: Starting 19:20:52 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 19:20:52 INFO: Read 0 type definitions 19:20:52 INFO: Load type hierarchy: Time spent was 00:00:00.001 19:20:52 INFO: Load UCFGs: Starting 19:20:52 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:52 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 19:20:52 INFO: No UCFGs have been included for analysis. 19:20:52 INFO: js security sensor: Time spent was 00:00:00.001 19:20:52 INFO: js security sensor: Begin: 2024-07-03T19:20:52.987138009Z, End: 2024-07-03T19:20:52.989040050Z, Duration: 00:00:00.001 19:20:52 Load type hierarchy and UCFGs: Begin: 2024-07-03T19:20:52.987339870Z, End: 2024-07-03T19:20:52.988696542Z, Duration: 00:00:00.001 19:20:52 Load type hierarchy: Begin: 2024-07-03T19:20:52.987398173Z, End: 2024-07-03T19:20:52.988441059Z, Duration: 00:00:00.001 19:20:52 Load UCFGs: Begin: 2024-07-03T19:20:52.988554104Z, End: 2024-07-03T19:20:52.988617538Z, Duration: 00:00:00.000 19:20:52 INFO: js security sensor peak memory: 271 MB 19:20:52 INFO: Sensor JsSecuritySensor [security] (done) | time=3ms 19:20:52 INFO: ------------- Run sensors on project 19:20:53 INFO: Sensor Zero Coverage Sensor 19:20:53 INFO: Sensor Zero Coverage Sensor (done) | time=7ms 19:20:53 INFO: CPD Executor 5 files had no CPD blocks 19:20:53 INFO: CPD Executor Calculating CPD for 32 files 19:20:53 INFO: CPD Executor CPD calculation finished (done) | time=44ms 19:20:53 INFO: Analysis report generated in 245ms, dir size=681 KB 19:20:53 INFO: Analysis report compressed in 97ms, zip size=243 KB 19:20:54 INFO: Analysis report uploaded in 1045ms 19:20:54 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 19:20:54 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 19:20:54 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AZB6CusR3qt7LUTfr0RO 19:20:56 INFO: Sensor cache published successfully 19:20:56 INFO: Analysis total time: 30.068 s 19:20:56 INFO: ------------------------------------------------------------------------ 19:20:56 INFO: EXECUTION SUCCESS 19:20:56 INFO: ------------------------------------------------------------------------ 19:20:56 INFO: Total time: 35.980s 19:20:56 INFO: Final Memory: 49M/170M 19:20:56 INFO: ------------------------------------------------------------------------ 19:20:57 $ ssh-agent -k 19:20:57 unset SSH_AUTH_SOCK; 19:20:57 unset SSH_AGENT_PID; 19:20:57 echo Agent pid 6439 killed; 19:20:57 [ssh-agent] Stopped. 19:20:57 [PostBuildScript] - [INFO] Executing post build scripts. 19:20:57 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7590595225665624646.sh 19:20:57 ---> sysstat.sh 19:20:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12912769282289068475.sh 19:20:58 ---> package-listing.sh 19:20:58 ++ facter osfamily 19:20:58 ++ tr '[:upper:]' '[:lower:]' 19:20:58 + OS_FAMILY=debian 19:20:58 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 19:20:58 + START_PACKAGES=/tmp/packages_start.txt 19:20:58 + END_PACKAGES=/tmp/packages_end.txt 19:20:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:20:58 + PACKAGES=/tmp/packages_start.txt 19:20:58 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:20:58 + PACKAGES=/tmp/packages_end.txt 19:20:58 + case "${OS_FAMILY}" in 19:20:58 + grep '^ii' 19:20:58 + dpkg -l 19:20:58 + '[' -f /tmp/packages_start.txt ']' 19:20:58 + '[' -f /tmp/packages_end.txt ']' 19:20:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:20:58 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:20:58 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:20:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:20:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5981233545376444559.sh 19:20:58 ---> capture-instance-metadata.sh 19:20:58 Setup pyenv: 19:20:59 system 19:20:59 3.8.13 19:20:59 3.9.13 19:20:59 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:20:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2H8y from file:/tmp/.os_lf_venv 19:21:00 lf-activate-venv(): INFO: Installing: lftools 19:21:10 lf-activate-venv(): INFO: Adding /tmp/venv-2H8y/bin to PATH 19:21:10 INFO: Running in OpenStack, capturing instance metadata 19:21:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16183497084849781582.sh 19:21:10 provisioning config files... 19:21:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config14219464684415566300tmp 19:21:10 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 19:21:10 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 19:21:10 [EnvInject] - Injecting environment variables from a build step. 19:21:10 [EnvInject] - Injecting as environment variables the properties content 19:21:10 SERVER_ID=logs 19:21:10 19:21:10 [EnvInject] - Variables injected successfully. 19:21:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7442454772195903999.sh 19:21:10 ---> create-netrc.sh 19:21:11 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9403280803819771475.sh 19:21:11 ---> python-tools-install.sh 19:21:11 Setup pyenv: 19:21:11 system 19:21:11 3.8.13 19:21:11 3.9.13 19:21:11 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:11 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2H8y from file:/tmp/.os_lf_venv 19:21:12 lf-activate-venv(): INFO: Installing: lftools 19:21:21 lf-activate-venv(): INFO: Adding /tmp/venv-2H8y/bin to PATH 19:21:21 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4225613666345829677.sh 19:21:21 ---> sudo-logs.sh 19:21:21 Archiving 'sudo' log.. 19:21:21 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins545115070991389953.sh 19:21:21 ---> job-cost.sh 19:21:21 Setup pyenv: 19:21:22 system 19:21:22 3.8.13 19:21:22 3.9.13 19:21:22 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:22 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2H8y from file:/tmp/.os_lf_venv 19:21:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 19:21:27 lf-activate-venv(): INFO: Adding /tmp/venv-2H8y/bin to PATH 19:21:27 INFO: No Stack... 19:21:28 INFO: Retrieving Pricing Info for: v2-highcpu-2 19:21:28 INFO: Archiving Costs 19:21:28 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13994132627653937925.sh 19:21:28 ---> logs-deploy.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-2H8y from file:/tmp/.os_lf_venv 19:21:29 lf-activate-venv(): INFO: Installing: lftools 19:21:38 lf-activate-venv(): INFO: Adding /tmp/venv-2H8y/bin to PATH 19:21:38 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/259 19:21:38 INFO: archiving workspace using pattern(s): -p **/*.log 19:21:43 Archives upload complete. 19:21:43 INFO: archiving logs to Nexus 19:21:44 ---> uname -a: 19:21:44 Linux prd-ubuntu2004-builder-2c-2g-5667 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:44 19:21:44 19:21:44 ---> lscpu: 19:21:44 Architecture: x86_64 19:21:44 CPU op-mode(s): 32-bit, 64-bit 19:21:44 Byte Order: Little Endian 19:21:44 Address sizes: 40 bits physical, 48 bits virtual 19:21:44 CPU(s): 2 19:21:44 On-line CPU(s) list: 0,1 19:21:44 Thread(s) per core: 1 19:21:44 Core(s) per socket: 1 19:21:44 Socket(s): 2 19:21:44 NUMA node(s): 1 19:21:44 Vendor ID: AuthenticAMD 19:21:44 CPU family: 23 19:21:44 Model: 49 19:21:44 Model name: AMD EPYC-Rome Processor 19:21:44 Stepping: 0 19:21:44 CPU MHz: 2800.022 19:21:44 BogoMIPS: 5600.04 19:21:44 Virtualization: AMD-V 19:21:44 Hypervisor vendor: KVM 19:21:44 Virtualization type: full 19:21:44 L1d cache: 64 KiB 19:21:44 L1i cache: 64 KiB 19:21:44 L2 cache: 1 MiB 19:21:44 L3 cache: 32 MiB 19:21:44 NUMA node0 CPU(s): 0,1 19:21:44 Vulnerability Gather data sampling: Not affected 19:21:44 Vulnerability Itlb multihit: Not affected 19:21:44 Vulnerability L1tf: Not affected 19:21:44 Vulnerability Mds: Not affected 19:21:44 Vulnerability Meltdown: Not affected 19:21:44 Vulnerability Mmio stale data: Not affected 19:21:44 Vulnerability Retbleed: Vulnerable 19:21:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:21:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:21:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 19:21:44 Vulnerability Srbds: Not affected 19:21:44 Vulnerability Tsx async abort: Not affected 19:21:44 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:44 19:21:44 19:21:44 ---> nproc: 19:21:44 2 19:21:44 19:21:44 19:21:44 ---> df -h: 19:21:44 Filesystem Size Used Avail Use% Mounted on 19:21:44 udev 969M 0 969M 0% /dev 19:21:44 tmpfs 198M 1.0M 197M 1% /run 19:21:44 /dev/vda1 20G 8.7G 11G 46% / 19:21:44 tmpfs 986M 0 986M 0% /dev/shm 19:21:44 tmpfs 5.0M 0 5.0M 0% /run/lock 19:21:44 tmpfs 986M 0 986M 0% /sys/fs/cgroup 19:21:44 /dev/loop0 44M 44M 0 100% /snap/snapd/15177 19:21:44 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 19:21:44 /dev/loop2 62M 62M 0 100% /snap/core20/1405 19:21:44 /dev/vda15 105M 6.1M 99M 6% /boot/efi 19:21:44 tmpfs 198M 0 198M 0% /run/user/1001 19:21:44 19:21:44 19:21:44 ---> free -m: 19:21:44 total used free shared buff/cache available 19:21:44 Mem: 1971 452 366 2 1152 1326 19:21:44 Swap: 1023 2 1021 19:21:44 19:21:44 19:21:44 ---> ip addr: 19:21:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 19:21:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:21:44 inet 127.0.0.1/8 scope host lo 19:21:44 valid_lft forever preferred_lft forever 19:21:44 inet6 ::1/128 scope host 19:21:44 valid_lft forever preferred_lft forever 19:21:44 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 19:21:44 link/ether fa:16:3e:1d:03:d3 brd ff:ff:ff:ff:ff:ff 19:21:44 inet 10.32.6.141/23 brd 10.32.7.255 scope global dynamic ens3 19:21:44 valid_lft 86087sec preferred_lft 86087sec 19:21:44 inet6 fe80::f816:3eff:fe1d:3d3/64 scope link 19:21:44 valid_lft forever preferred_lft forever 19:21:44 19:21:44 19:21:44 ---> sar -b -r -n DEV: 19:21:44 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-5667) 07/03/24 _x86_64_ (2 CPU) 19:21:44 19:21:44 19:16:34 LINUX RESTART (2 CPU) 19:21:44 19:21:44 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:21:44 19:18:01 195.17 100.37 94.80 0.00 2693.55 13135.94 0.00 19:21:44 19:19:01 53.32 15.03 38.29 0.00 1526.16 7595.60 0.00 19:21:44 19:20:01 69.24 3.15 66.09 0.00 185.04 24812.53 0.00 19:21:44 19:21:01 99.87 58.52 41.34 0.00 3255.86 23517.81 0.00 19:21:44 Average: 104.39 44.27 60.13 0.00 1915.13 17265.07 0.00 19:21:44 19:21:44 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:21:44 19:18:01 83572 1360664 428152 21.21 56908 1297364 898548 29.30 508672 1231688 87736 19:21:44 19:19:01 110872 1386480 398064 19.72 65556 1277820 917032 29.90 484528 1215280 2136 19:21:44 19:20:01 168972 1369696 410804 20.35 80772 1178008 940488 30.66 406108 1221572 119784 19:21:44 19:21:01 527512 1406312 365944 18.13 84200 877316 847056 27.62 340584 946092 21264 19:21:44 Average: 222732 1380788 400741 19.85 71859 1157627 900781 29.37 434973 1153658 57730 19:21:44 19:21:44 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:21:44 19:18:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 19:21:44 19:18:01 ens3 77.64 71.62 940.36 9.04 0.00 0.00 0.00 0.00 19:21:44 19:19:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 19:21:44 19:19:01 ens3 17.71 16.46 36.83 5.22 0.00 0.00 0.00 0.00 19:21:44 19:20:01 lo 0.70 0.70 0.06 0.06 0.00 0.00 0.00 0.00 19:21:44 19:20:01 ens3 141.66 123.03 2824.85 12.11 0.00 0.00 0.00 0.00 19:21:44 19:21:01 lo 0.73 0.73 0.08 0.08 0.00 0.00 0.00 0.00 19:21:44 19:21:01 ens3 442.73 234.36 3290.25 37.42 0.00 0.00 0.00 0.00 19:21:44 Average: lo 0.98 0.98 0.09 0.09 0.00 0.00 0.00 0.00 19:21:44 Average: ens3 169.93 111.36 1773.00 15.95 0.00 0.00 0.00 0.00 19:21:44 19:21:44 19:21:44 ---> sar -P ALL: 19:21:44 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-5667) 07/03/24 _x86_64_ (2 CPU) 19:21:44 19:21:44 19:16:34 LINUX RESTART (2 CPU) 19:21:44 19:21:44 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:21:44 19:18:01 all 37.06 21.30 17.30 7.75 0.12 16.47 19:21:44 19:18:01 0 40.12 23.25 18.61 8.79 0.12 9.11 19:21:44 19:18:01 1 33.98 19.35 15.99 6.71 0.12 23.86 19:21:44 19:19:01 all 20.15 0.00 2.03 3.39 0.07 74.36 19:21:44 19:19:01 0 34.38 0.00 2.54 1.95 0.08 61.05 19:21:44 19:19:01 1 5.85 0.00 1.53 4.83 0.05 87.74 19:21:44 19:20:01 all 25.61 0.00 2.83 3.86 0.08 67.63 19:21:44 19:20:01 0 46.88 0.00 4.11 2.99 0.10 45.91 19:21:44 19:20:01 1 4.29 0.00 1.54 4.73 0.05 89.39 19:21:44 19:21:01 all 44.44 0.00 3.63 3.44 0.10 48.39 19:21:44 19:21:01 0 55.27 0.00 4.35 2.75 0.10 37.53 19:21:44 19:21:01 1 33.62 0.00 2.91 4.13 0.10 59.23 19:21:44 Average: all 31.82 5.29 6.42 4.60 0.09 51.78 19:21:44 Average: 0 44.17 5.78 7.38 4.11 0.10 38.46 19:21:44 Average: 1 19.43 4.80 5.47 5.09 0.08 65.13 19:21:44 19:21:44 19:21:44