19:17:01 Started by timer 19:17:01 Running as SYSTEM 19:17:01 [EnvInject] - Loading node environment variables. 19:17:01 Building remotely on prd-ubuntu2004-builder-2c-2g-6244 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 19:17:01 [ssh-agent] Looking for ssh-agent implementation... 19:17:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:01 $ ssh-agent 19:17:01 SSH_AUTH_SOCK=/tmp/ssh-Xg2iWkuOVjPO/agent.5740 19:17:01 SSH_AGENT_PID=5745 19:17:01 [ssh-agent] Started. 19:17:01 Running ssh-add (command line suppressed) 19:17:01 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_1790839979348175688.key (jenkins-ssh) 19:17:01 [ssh-agent] Using credentials jenkins (jenkins) 19:17:01 The recommended git tool is: NONE 19:17:03 using credential jenkins 19:17:03 Wiping out workspace first. 19:17:03 Cloning the remote Git repository 19:17:03 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:17:03 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 19:17:03 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:17:03 > git --version # timeout=10 19:17:04 > git --version # 'git version 2.25.1' 19:17:04 using GIT_SSH to set credentials jenkins 19:17:04 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:04 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 19:17:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:05 Avoid second fetch 19:17:05 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 19:17:05 Checking out Revision 646bba005cabd05f734fa1ece2725ce284d6c6b0 (refs/remotes/origin/master) 19:17:05 > git config core.sparsecheckout # timeout=10 19:17:05 > git checkout -f 646bba005cabd05f734fa1ece2725ce284d6c6b0 # timeout=10 19:17:05 Commit message: "sim-a1 README syntax check" 19:17:05 > git rev-list --no-walk 646bba005cabd05f734fa1ece2725ce284d6c6b0 # timeout=10 19:17:09 provisioning config files... 19:17:09 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:17:09 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:17:09 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14258748163387979562.sh 19:17:09 ---> python-tools-install.sh 19:17:09 Setup pyenv: 19:17:09 * system (set by /opt/pyenv/version) 19:17:09 * 3.8.13 (set by /opt/pyenv/version) 19:17:09 * 3.9.13 (set by /opt/pyenv/version) 19:17:09 * 3.10.6 (set by /opt/pyenv/version) 19:17:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Z45K 19:17:14 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:17:17 lf-activate-venv(): INFO: Installing: lftools 19:17:48 lf-activate-venv(): INFO: Adding /tmp/venv-Z45K/bin to PATH 19:17:48 Generating Requirements File 19:18:08 Python 3.10.6 19:18:09 pip 24.1.2 from /tmp/venv-Z45K/lib/python3.10/site-packages/pip (python 3.10) 19:18:09 appdirs==1.4.4 19:18:09 argcomplete==3.4.0 19:18:09 aspy.yaml==1.3.0 19:18:09 attrs==23.2.0 19:18:09 autopage==0.5.2 19:18:09 beautifulsoup4==4.12.3 19:18:09 boto3==1.34.142 19:18:09 botocore==1.34.142 19:18:09 bs4==0.0.2 19:18:09 cachetools==5.3.3 19:18:09 certifi==2024.7.4 19:18:09 cffi==1.16.0 19:18:09 cfgv==3.4.0 19:18:09 chardet==5.2.0 19:18:09 charset-normalizer==3.3.2 19:18:09 click==8.1.7 19:18:09 cliff==4.7.0 19:18:09 cmd2==2.4.3 19:18:09 cryptography==3.3.2 19:18:09 debtcollector==3.0.0 19:18:09 decorator==5.1.1 19:18:09 defusedxml==0.7.1 19:18:09 Deprecated==1.2.14 19:18:09 distlib==0.3.8 19:18:09 dnspython==2.6.1 19:18:09 docker==4.2.2 19:18:09 dogpile.cache==1.3.3 19:18:09 email_validator==2.2.0 19:18:09 filelock==3.15.4 19:18:09 future==1.0.0 19:18:09 gitdb==4.0.11 19:18:09 GitPython==3.1.43 19:18:09 google-auth==2.32.0 19:18:09 httplib2==0.22.0 19:18:09 identify==2.6.0 19:18:09 idna==3.7 19:18:09 importlib-resources==1.5.0 19:18:09 iso8601==2.1.0 19:18:09 Jinja2==3.1.4 19:18:09 jmespath==1.0.1 19:18:09 jsonpatch==1.33 19:18:09 jsonpointer==3.0.0 19:18:09 jsonschema==4.23.0 19:18:09 jsonschema-specifications==2023.12.1 19:18:09 keystoneauth1==5.7.0 19:18:09 kubernetes==30.1.0 19:18:09 lftools==0.37.10 19:18:09 lxml==5.2.2 19:18:09 MarkupSafe==2.1.5 19:18:09 msgpack==1.0.8 19:18:09 multi_key_dict==2.0.3 19:18:09 munch==4.0.0 19:18:09 netaddr==1.3.0 19:18:09 netifaces==0.11.0 19:18:09 niet==1.4.2 19:18:09 nodeenv==1.9.1 19:18:09 oauth2client==4.1.3 19:18:09 oauthlib==3.2.2 19:18:09 openstacksdk==3.2.0 19:18:09 os-client-config==2.1.0 19:18:09 os-service-types==1.7.0 19:18:09 osc-lib==3.1.0 19:18:09 oslo.config==9.5.0 19:18:09 oslo.context==5.5.0 19:18:09 oslo.i18n==6.3.0 19:18:09 oslo.log==6.1.0 19:18:09 oslo.serialization==5.4.0 19:18:09 oslo.utils==7.2.0 19:18:09 packaging==24.1 19:18:09 pbr==6.0.0 19:18:09 platformdirs==4.2.2 19:18:09 prettytable==3.10.0 19:18:09 pyasn1==0.6.0 19:18:09 pyasn1_modules==0.4.0 19:18:09 pycparser==2.22 19:18:09 pygerrit2==2.0.15 19:18:09 PyGithub==2.3.0 19:18:09 PyJWT==2.8.0 19:18:09 PyNaCl==1.5.0 19:18:09 pyparsing==2.4.7 19:18:09 pyperclip==1.9.0 19:18:09 pyrsistent==0.20.0 19:18:09 python-cinderclient==9.5.0 19:18:09 python-dateutil==2.9.0.post0 19:18:09 python-heatclient==3.5.0 19:18:09 python-jenkins==1.8.2 19:18:09 python-keystoneclient==5.4.0 19:18:09 python-magnumclient==4.6.0 19:18:09 python-novaclient==18.6.0 19:18:09 python-openstackclient==6.6.0 19:18:09 python-swiftclient==4.6.0 19:18:09 PyYAML==6.0.1 19:18:09 referencing==0.35.1 19:18:09 requests==2.32.3 19:18:09 requests-oauthlib==2.0.0 19:18:09 requestsexceptions==1.4.0 19:18:09 rfc3986==2.0.0 19:18:09 rpds-py==0.19.0 19:18:09 rsa==4.9 19:18:09 ruamel.yaml==0.18.6 19:18:09 ruamel.yaml.clib==0.2.8 19:18:09 s3transfer==0.10.2 19:18:09 simplejson==3.19.2 19:18:09 six==1.16.0 19:18:09 smmap==5.0.1 19:18:09 soupsieve==2.5 19:18:09 stevedore==5.2.0 19:18:09 tabulate==0.9.0 19:18:09 toml==0.10.2 19:18:09 tomlkit==0.13.0 19:18:09 tqdm==4.66.4 19:18:09 typing_extensions==4.12.2 19:18:09 tzdata==2024.1 19:18:09 urllib3==1.26.19 19:18:09 virtualenv==20.26.3 19:18:09 wcwidth==0.2.13 19:18:09 websocket-client==1.8.0 19:18:09 wrapt==1.16.0 19:18:09 xdg==6.0.0 19:18:09 xmltodict==0.13.0 19:18:09 yq==3.4.3 19:18:09 [EnvInject] - Injecting environment variables from a build step. 19:18:09 [EnvInject] - Injecting as environment variables the properties content 19:18:09 SET_JDK_VERSION=openjdk17 19:18:09 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 19:18:09 19:18:09 [EnvInject] - Variables injected successfully. 19:18:09 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins10273021298627246619.sh 19:18:09 ---> update-java-alternatives.sh 19:18:09 ---> Updating Java version 19:18:09 ---> Ubuntu/Debian system detected 19:18:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 19:18:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 19:18:10 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:10 openjdk version "17.0.9" 2023-10-17 19:18:10 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 19:18:10 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 19:18:10 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 19:18:10 [EnvInject] - Injecting environment variables from a build step. 19:18:10 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 19:18:10 [EnvInject] - Variables injected successfully. 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 PYTHON=python3 19:18:10 19:18:10 [EnvInject] - Variables injected successfully. 19:18:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins116163371512634906.sh 19:18:10 ---> tox-install.sh 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-9uDr 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:/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:/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:/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:/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:/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 ++ awk '{ print $1 }' 19:18:10 ++ '[' 1 -gt 0 ']' 19:18:10 ++ shift 19:18:10 ++ case "$command" in 19:18:10 ++ sed 's/^[ *]* //' 19:18:10 ++ command pyenv versions 19:18:10 ++ pyenv versions 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 + [[ ! -f /tmp/.toxenv ]] 19:18:10 + [[ -n '' ]] 19:18:10 + python3 -m venv /tmp/venv-9uDr 19:18:14 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9uDr' 19:18:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9uDr 19:18:14 + echo /tmp/venv-9uDr 19:18:14 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:18:14 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:18:14 + /tmp/venv-9uDr/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:17 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:17 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:17 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:17 + /tmp/venv-9uDr/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:20 + type python3 19:18:20 + true 19:18:20 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-9uDr/bin to PATH' 19:18:20 lf-activate-venv(): INFO: Adding /tmp/venv-9uDr/bin to PATH 19:18:20 + PATH=/tmp/venv-9uDr/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:20 + return 0 19:18:20 + python3 --version 19:18:20 Python 3.10.6 19:18:20 + python3 -m pip --version 19:18:20 pip 24.1.2 from /tmp/venv-9uDr/lib/python3.10/site-packages/pip (python 3.10) 19:18:20 + python3 -m pip freeze 19:18:20 cachetools==5.3.3 19:18:20 chardet==5.2.0 19:18:20 colorama==0.4.6 19:18:20 distlib==0.3.8 19:18:20 filelock==3.15.4 19:18:20 packaging==24.1 19:18:20 platformdirs==4.2.2 19:18:20 pluggy==1.5.0 19:18:20 pyproject-api==1.7.1 19:18:20 tomli==2.0.1 19:18:20 tox==4.16.0 19:18:20 urllib3==1.26.19 19:18:20 virtualenv==20.26.3 19:18:20 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins9055157975543457205.sh 19:18:20 [EnvInject] - Injecting environment variables from a build step. 19:18:20 [EnvInject] - Injecting as environment variables the properties content 19:18:20 PARALLEL=False 19:18:20 19:18:20 [EnvInject] - Variables injected successfully. 19:18:20 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7980342561121763755.sh 19:18:20 ---> tox-run.sh 19:18:20 + 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:20 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:20 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:18:20 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:20 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 19:18:20 + source /home/jenkins/lf-env.sh 19:18:20 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:20 ++ mktemp -d /tmp/venv-XXXX 19:18:20 + lf_venv=/tmp/venv-bPZg 19:18:20 + local venv_file=/tmp/.os_lf_venv 19:18:20 + local python=python3 19:18:20 + local options 19:18:20 + local set_path=true 19:18:20 + local install_args= 19:18:20 ++ 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:20 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:20 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:20 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:20 + true 19:18:20 + case $1 in 19:18:20 + venv_file=/tmp/.toxenv 19:18:20 + shift 2 19:18:20 + true 19:18:20 + case $1 in 19:18:20 + shift 19:18:20 + break 19:18:20 + case $python in 19:18:20 + local pkg_list= 19:18:20 + [[ -d /opt/pyenv ]] 19:18:20 + echo 'Setup pyenv:' 19:18:20 Setup pyenv: 19:18:20 + export PYENV_ROOT=/opt/pyenv 19:18:20 + PYENV_ROOT=/opt/pyenv 19:18:20 + 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:20 + 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:20 + pyenv versions 19:18:20 system 19:18:20 3.8.13 19:18:20 3.9.13 19:18:20 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:20 + command -v pyenv 19:18:20 ++ pyenv init - --no-rehash 19:18:20 + 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:20 export PATH="/opt/pyenv/shims:${PATH}" 19:18:20 export PYENV_SHELL=bash 19:18:20 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:20 pyenv() { 19:18:20 local command 19:18:20 command="${1:-}" 19:18:20 if [ "$#" -gt 0 ]; then 19:18:20 shift 19:18:20 fi 19:18:20 19:18:20 case "$command" in 19:18:20 rehash|shell) 19:18:20 eval "$(pyenv "sh-$command" "$@")" 19:18:20 ;; 19:18:20 *) 19:18:20 command pyenv "$command" "$@" 19:18:20 ;; 19:18:20 esac 19:18:20 }' 19:18:20 +++ 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:20 ++ 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:20 ++ 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:20 ++ 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:20 ++ export PYENV_SHELL=bash 19:18:20 ++ PYENV_SHELL=bash 19:18:20 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:20 +++ complete -F _pyenv pyenv 19:18:20 ++ lf-pyver python3 19:18:20 ++ local py_version_xy=python3 19:18:20 ++ local py_version_xyz= 19:18:20 ++ pyenv versions 19:18:20 ++ local command 19:18:20 ++ command=versions 19:18:20 ++ '[' 1 -gt 0 ']' 19:18:20 ++ shift 19:18:20 ++ grep -E '^[0-9.]*[0-9]$' 19:18:20 ++ case "$command" in 19:18:20 ++ command pyenv versions 19:18:20 ++ pyenv versions 19:18:20 ++ awk '{ print $1 }' 19:18:20 ++ sed 's/^[ *]* //' 19:18:20 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:20 +++ grep '^3' /tmp/.pyenv_versions 19:18:20 +++ sort -V 19:18:20 +++ tail -n 1 19:18:20 ++ py_version_xyz=3.10.6 19:18:20 ++ [[ -z 3.10.6 ]] 19:18:20 ++ echo 3.10.6 19:18:20 ++ return 0 19:18:20 + pyenv local 3.10.6 19:18:20 + local command 19:18:20 + command=local 19:18:20 + '[' 2 -gt 0 ']' 19:18:20 + shift 19:18:20 + case "$command" in 19:18:20 + command pyenv local 3.10.6 19:18:20 + pyenv local 3.10.6 19:18:20 + for arg in "$@" 19:18:20 + case $arg in 19:18:20 + pkg_list+='tox ' 19:18:20 + for arg in "$@" 19:18:20 + case $arg in 19:18:20 + pkg_list+='virtualenv ' 19:18:20 + for arg in "$@" 19:18:20 + case $arg in 19:18:20 + pkg_list+='urllib3~=1.26.15 ' 19:18:20 + [[ -f /tmp/.toxenv ]] 19:18:20 ++ cat /tmp/.toxenv 19:18:20 + lf_venv=/tmp/venv-9uDr 19:18:20 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9uDr from' file:/tmp/.toxenv 19:18:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9uDr from file:/tmp/.toxenv 19:18:20 + /tmp/venv-9uDr/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:21 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:21 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:21 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:21 + /tmp/venv-9uDr/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:22 + type python3 19:18:22 + true 19:18:22 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-9uDr/bin to PATH' 19:18:22 lf-activate-venv(): INFO: Adding /tmp/venv-9uDr/bin to PATH 19:18:22 + PATH=/tmp/venv-9uDr/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:22 + return 0 19:18:22 + [[ -d /opt/pyenv ]] 19:18:22 + echo '---> Setting up pyenv' 19:18:22 ---> Setting up pyenv 19:18:22 + export PYENV_ROOT=/opt/pyenv 19:18:22 + PYENV_ROOT=/opt/pyenv 19:18:22 + export PATH=/opt/pyenv/bin:/tmp/venv-9uDr/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:22 + PATH=/opt/pyenv/bin:/tmp/venv-9uDr/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:22 ++ pwd 19:18:22 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 19:18:22 + export PYTHONPATH 19:18:22 + export TOX_TESTENV_PASSENV=PYTHONPATH 19:18:22 + TOX_TESTENV_PASSENV=PYTHONPATH 19:18:22 + tox --version 19:18:23 4.16.0 from /tmp/venv-9uDr/lib/python3.10/site-packages/tox/__init__.py 19:18:23 + PARALLEL=False 19:18:23 + TOX_OPTIONS_LIST= 19:18:23 + [[ -n '' ]] 19:18:23 + case ${PARALLEL,,} in 19:18:23 + tox 19:18:23 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 19:18:24 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 19:18:31 code: freeze> python -m pip freeze --all 19:18:31 code: attrs==23.2.0,certifi==2024.7.4,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.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.23.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.19.0,setuptools==70.1.0,tomli==2.0.1,urllib3==2.2.2,Werkzeug==2.2.3,wheel==0.43.0 19:18:31 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:32 ============================= test session starts ============================== 19:18:32 platform linux -- Python 3.10.6, pytest-8.2.2, pluggy-1.5.0 19:18:32 cachedir: .tox/code/.pytest_cache 19:18:32 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:32 plugins: cov-5.0.0 19:18:32 collected 4 items 19:18:32 19:18:32 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:32 -------------------------------- live log setup -------------------------------- 19:18:32 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:32 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:32 or provide the path to your local installation by passing swagger_path= 19:18:32 19:18:32 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:32 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:32 or provide the path to your local installation by passing swagger_path= 19:18:32 19:18:32 PASSED [ 25%] 19:18:32 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 19:18:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 19:18:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 19:18:42 -------------------------------- live log call --------------------------------- 19:18:42 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:42 * Running on http://127.0.0.1:8086 19:18:42 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:18:52 INFO werkzeug:_internal.py:224 127.0.0.1 - - [10/Jul/2024 19:18:52] "POST /statustest HTTP/1.1" 201 - 19:18:53 PASSED [100%] 19:18:53 19:18:53 =============================== warnings summary =============================== 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:53 /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:53 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:53 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:53 /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:53 from jsonschema import Draft4Validator, RefResolver 19:18:53 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:53 /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:53 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:53 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:53 /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:53 app.json_encoder = FlaskJSONEncoder 19:18:53 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:53 /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:53 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:53 19:18:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:53 /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:53 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:53 19:18:53 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:53 19:18:53 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:53 Name Stmts Miss Cover Missing 19:18:53 --------------------------------------------------------------------------------------------------------- 19:18:53 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:53 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:53 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:53 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:53 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:53 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:53 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:53 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:53 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:53 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:53 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:53 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:53 --------------------------------------------------------------------------------------------------------- 19:18:53 TOTAL 973 113 88% 19:18:53 Coverage HTML written to dir htmlcov 19:18:53 Coverage XML written to file coverage.xml 19:18:53 19:18:53 Required test coverage of 70% reached. Total coverage: 88.39% 19:18:53 ======================= 4 passed, 118 warnings in 21.52s ======================= 19:18:53 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:53 ============================= test session starts ============================== 19:18:53 platform linux -- Python 3.10.6, pytest-8.2.2, pluggy-1.5.0 19:18:53 cachedir: .tox/code/.pytest_cache 19:18:53 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:53 plugins: cov-5.0.0 19:18:53 collected 1 item 19:18:53 19:18:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:54 -------------------------------- live log setup -------------------------------- 19:18:54 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:54 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:54 or provide the path to your local installation by passing swagger_path= 19:18:54 19:18:54 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:54 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:54 or provide the path to your local installation by passing swagger_path= 19:18:54 19:19:04 PASSED [100%] 19:19:05 19:19:05 =============================== warnings summary =============================== 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 /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:05 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 /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:05 from jsonschema import Draft4Validator, RefResolver 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 /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:05 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 /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:05 app.json_encoder = FlaskJSONEncoder 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 /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:05 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:19:05 /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:05 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:19:05 /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:05 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 /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:05 warnings.warn( 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:05 /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:05 return json.dumps(obj, **kwargs) 19:19:05 19:19:05 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:05 19:19:05 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:05 Name Stmts Miss Cover Missing 19:19:05 --------------------------------------------------------------------------------------------------------- 19:19:05 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:05 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:05 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:05 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:05 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:05 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:05 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:05 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:05 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:05 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:05 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:05 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:05 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:05 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:05 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:05 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:05 --------------------------------------------------------------------------------------------------------- 19:19:05 TOTAL 1440 152 89% 19:19:05 Coverage HTML written to dir htmlcov 19:19:05 Coverage XML written to file coverage.xml 19:19:05 19:19:05 Required test coverage of 70% reached. Total coverage: 89.44% 19:19:05 ======================= 1 passed, 65 warnings in 11.32s ======================== 19:19:05 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:05 ============================= test session starts ============================== 19:19:05 platform linux -- Python 3.10.6, pytest-8.2.2, pluggy-1.5.0 19:19:05 cachedir: .tox/code/.pytest_cache 19:19:05 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:19:05 plugins: cov-5.0.0 19:19:05 collected 4 items 19:19:05 19:19:05 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:06 -------------------------------- live log setup -------------------------------- 19:19:06 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:06 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:06 or provide the path to your local installation by passing swagger_path= 19:19:06 19:19:06 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:06 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:06 or provide the path to your local installation by passing swagger_path= 19:19:06 19:19:06 PASSED [ 25%] 19:19:06 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 19:19:16 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 19:19:16 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 19:19:16 -------------------------------- live log call --------------------------------- 19:19:16 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:16 * Running on http://127.0.0.1:8086 19:19:16 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:19:26 INFO werkzeug:_internal.py:224 127.0.0.1 - - [10/Jul/2024 19:19:26] "POST /statustest HTTP/1.1" 200 - 19:19:26 PASSED [100%] 19:19:27 19:19:27 =============================== warnings summary =============================== 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:27 /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:27 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:27 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:27 /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:27 from jsonschema import Draft4Validator, RefResolver 19:19:27 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:27 /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:27 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:27 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:27 /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:27 app.json_encoder = FlaskJSONEncoder 19:19:27 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:27 /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:27 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:27 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:27 /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:27 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:27 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:27 /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:27 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:27 19:19:27 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:27 19:19:27 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:27 Name Stmts Miss Cover Missing 19:19:27 --------------------------------------------------------------------------------------------------------- 19:19:27 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:27 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:27 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:27 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:27 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:27 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:27 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:27 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:27 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:27 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:27 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:27 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 19:19:27 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 19:19:27 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 19:19:27 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:27 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:27 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:27 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:27 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:27 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:27 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 19:19:27 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:27 --------------------------------------------------------------------------------------------------------- 19:19:27 TOTAL 2219 282 87% 19:19:27 Coverage HTML written to dir htmlcov 19:19:27 Coverage XML written to file coverage.xml 19:19:27 19:19:27 Required test coverage of 70% reached. Total coverage: 87.29% 19:19:27 ======================= 4 passed, 65 warnings in 21.87s ======================== 19:19:27 code: commands[3]> coverage xml -i 19:19:27 Wrote XML report to coverage.xml 19:19:28 code: OK ✔ in 1 minute 4.47 seconds 19:19:28 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:05 docs: freeze> python -m pip freeze --all 19:20:06 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.3.3,certifi==2024.7.4,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.1,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.15.4,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.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:06 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:20:06 Running Sphinx v5.3.0 19:20:06 making output directory... done 19:20:06 building [mo]: targets for 0 po files that are out of date 19:20:06 building [html]: targets for 6 source files that are out of date 19:20:06 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:06 reading sources... [ 16%] callout-server 19:20:06 reading sources... [ 33%] index 19:20:06 reading sources... [ 50%] kafka-message-dispatcher 19:20:06 reading sources... [ 66%] overview 19:20:06 reading sources... [ 83%] release-notes 19:20:06 reading sources... [100%] simulator-api 19:20:06 19:20:06 looking for now-outdated files... none found 19:20:06 pickling environment... done 19:20:06 checking consistency... done 19:20:06 preparing documents... done 19:20:06 writing output... [ 16%] callout-server 19:20:07 writing output... [ 33%] index 19:20:07 writing output... [ 50%] kafka-message-dispatcher 19:20:07 writing output... [ 66%] overview 19:20:07 writing output... [ 83%] release-notes 19:20:07 writing output... [100%] simulator-api 19:20:07 19:20:07 generating indices... genindex done 19:20:07 writing additional pages... search done 19:20:07 copying images... [100%] images/yaml_logo.png 19:20:07 19:20:07 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 19:20:07 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 19:20:07 19:20:07 copying static files... done 19:20:07 copying extra files... done 19:20:07 dumping search index in English (code: en)... done 19:20:07 dumping object inventory... done 19:20:07 build succeeded. 19:20:07 19:20:07 The HTML pages are in docs/_build/html. 19:20:07 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 19:20:07 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:20:07 docs: OK ✔ in 39.81 seconds 19:20:07 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:29 docs-linkcheck: freeze> python -m pip freeze --all 19:20:29 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.3.3,certifi==2024.7.4,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.1,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.15.4,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.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:29 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:29 Running Sphinx v5.3.0 19:20:30 making output directory... done 19:20:30 building [mo]: targets for 0 po files that are out of date 19:20:30 building [linkcheck]: targets for 6 source files that are out of date 19:20:30 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:30 reading sources... [ 16%] callout-server 19:20:30 reading sources... [ 33%] index 19:20:30 reading sources... [ 50%] kafka-message-dispatcher 19:20:30 reading sources... [ 66%] overview 19:20:30 reading sources... [ 83%] release-notes 19:20:30 reading sources... [100%] simulator-api 19:20:30 19:20:30 looking for now-outdated files... none found 19:20:30 pickling environment... done 19:20:30 checking consistency... done 19:20:30 preparing documents... done 19:20:30 writing output... [ 16%] callout-server 19:20:30 writing output... [ 33%] index 19:20:30 writing output... [ 50%] kafka-message-dispatcher 19:20:30 writing output... [ 66%] overview 19:20:30 writing output... [ 83%] release-notes 19:20:30 writing output... [100%] simulator-api 19:20:30 19:20:30 19:20:30 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 19:20:30 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 19:20:30 ( 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:30 ( 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:30 ( 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:30 build succeeded. 19:20:30 19:20:30 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 19:20:30 code: OK (64.47=setup[8.21]+cmd[21.95,11.68,22.24,0.39] seconds) 19:20:30 docs: OK (39.81=setup[38.15]+cmd[1.65,0.01] seconds) 19:20:30 docs-linkcheck: OK (23.25=setup[21.75]+cmd[1.50] seconds) 19:20:30 congratulations :) (127.69 seconds) 19:20:31 + tox_status=0 19:20:31 + echo '---> Completed tox runs' 19:20:31 ---> Completed tox runs 19:20:31 + for i in .tox/*/log 19:20:31 ++ echo .tox/code/log 19:20:31 ++ awk -F/ '{print $2}' 19:20:31 + tox_env=code 19:20:31 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 19:20:31 + for i in .tox/*/log 19:20:31 ++ echo .tox/docs-linkcheck/log 19:20:31 ++ awk -F/ '{print $2}' 19:20:31 + tox_env=docs-linkcheck 19:20:31 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 19:20:31 + for i in .tox/*/log 19:20:31 ++ echo .tox/docs/log 19:20:31 ++ awk -F/ '{print $2}' 19:20:31 + tox_env=docs 19:20:31 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 19:20:31 + DOC_DIR=docs/_build/html 19:20:31 + [[ -d docs/_build/html ]] 19:20:31 + echo '---> Archiving generated docs' 19:20:31 ---> Archiving generated docs 19:20:31 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:20:31 + echo '---> tox-run.sh ends' 19:20:31 ---> tox-run.sh ends 19:20:31 + test 0 -eq 0 19:20:31 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-6244 19:20:32 [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:32 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:32 INFO: Project root configuration file: NONE 19:20:32 INFO: SonarScanner 4.6.2.2472 19:20:32 INFO: Java 17.0.9 Private Build (64-bit) 19:20:32 INFO: Linux 5.4.0-169-generic amd64 19:20:33 INFO: User cache: /home/jenkins/.sonar/cache 19:20:35 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:35 INFO: Project root configuration file: NONE 19:20:35 INFO: Analyzing on SonarCloud 19:20:35 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 19:20:36 INFO: Load global settings 19:20:36 INFO: Load global settings (done) | time=630ms 19:20:36 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 19:20:37 INFO: Loading required plugins 19:20:37 INFO: Load plugins index 19:20:37 INFO: Load plugins index (done) | time=521ms 19:20:37 INFO: Load/download plugins 19:20:38 INFO: Load/download plugins (done) | time=806ms 19:20:39 INFO: Found an active CI vendor: 'Jenkins' 19:20:39 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 19:20:39 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=486ms 19:20:39 INFO: Process project properties 19:20:39 INFO: Project key: o-ran-sc_sim-a1-interface 19:20:39 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 19:20:39 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 19:20:39 INFO: Load project branches 19:20:40 INFO: Load project branches (done) | time=505ms 19:20:40 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 19:20:40 INFO: Detected project binding: NOT_BOUND 19:20:40 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=471ms 19:20:40 INFO: Load project pull requests 19:20:40 INFO: Load project pull requests (done) | time=181ms 19:20:40 INFO: Load branch configuration 19:20:40 INFO: Load branch configuration (done) | time=3ms 19:20:40 INFO: Load quality profiles 19:20:41 INFO: Load quality profiles (done) | time=561ms 19:20:41 INFO: Load active rules 19:20:50 INFO: Load active rules (done) | time=9405ms 19:20:51 INFO: Organization key: o-ran-sc 19:20:51 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:51 INFO: Preprocessing files... 19:20:51 INFO: 4 languages detected in 112 preprocessed files 19:20:51 INFO: 0 files ignored because of inclusion/exclusion patterns 19:20:51 INFO: 22 files ignored because of scm ignore settings 19:20:51 INFO: Loading plugins for detected languages 19:20:51 INFO: Load/download plugins 19:20:52 INFO: Load/download plugins (done) | time=1321ms 19:20:53 INFO: Load project repositories 19:20:53 INFO: Load project repositories (done) | time=229ms 19:20:53 INFO: Indexing files... 19:20:53 INFO: Project configuration: 19:20:53 INFO: Excluded sources: **/build-wrapper-dump.json 19:20:53 INFO: 112 files indexed 19:20:53 INFO: Quality profile for docker: Sonar way 19:20:53 INFO: Quality profile for json: SonarQube Way 19:20:53 INFO: Quality profile for py: Sonar way 19:20:53 INFO: Quality profile for yaml: Sonar way 19:20:53 INFO: ------------- Run sensors on module sim-a1-interface 19:20:53 INFO: Load metrics repository 19:20:53 INFO: Load metrics repository (done) | time=176ms 19:20:53 INFO: Sensor cache enabled 19:20:53 INFO: Load sensor cache 19:20:54 INFO: Load sensor cache (404) | time=1236ms 19:20:55 INFO: Sensor Python Sensor [python] 19:20:55 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:55 INFO: Starting global symbols computation 19:20:55 INFO: 37 source files to be analyzed 19:20:56 INFO: 37/37 source files have been analyzed 19:20:57 INFO: Starting rules execution 19:20:57 INFO: 37 source files to be analyzed 19:21:01 INFO: 37/37 source files have been analyzed 19:21:01 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:21:01 INFO: Sensor Python Sensor [python] (done) | time=5671ms 19:21:01 INFO: Sensor Cobertura Sensor for Python coverage [python] 19:21:01 INFO: Python test coverage 19:21:01 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 19:21:01 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=361ms 19:21:01 INFO: Sensor PythonXUnitSensor [python] 19:21:01 INFO: Sensor PythonXUnitSensor [python] (done) | time=203ms 19:21:01 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 19:21:01 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:21:01 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=11ms 19:21:01 INFO: Sensor JaCoCo XML Report Importer [jacoco] 19:21:01 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:21:01 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 19:21:01 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms 19:21:01 INFO: Sensor IaC CloudFormation Sensor [iac] 19:21:01 INFO: 0 source files to be analyzed 19:21:01 INFO: 0/0 source files have been analyzed 19:21:01 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=40ms 19:21:01 INFO: Sensor IaC Kubernetes Sensor [iac] 19:21:01 INFO: 0 source files to be analyzed 19:21:01 INFO: 0/0 source files have been analyzed 19:21:01 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=64ms 19:21:01 INFO: Sensor IaC AzureResourceManager Sensor [iac] 19:21:01 INFO: 0 source files to be analyzed 19:21:02 INFO: 0/0 source files have been analyzed 19:21:02 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=55ms 19:21:02 INFO: Sensor Java Config Sensor [iac] 19:21:02 INFO: 0 source files to be analyzed 19:21:02 INFO: 0/0 source files have been analyzed 19:21:02 INFO: Sensor Java Config Sensor [iac] (done) | time=6ms 19:21:02 INFO: Sensor JavaScript inside YAML analysis [javascript] 19:21:02 INFO: No input files found for analysis 19:21:02 INFO: Hit the cache for 0 out of 0 19:21:02 INFO: Miss the cache for 0 out of 0 19:21:02 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=16ms 19:21:02 INFO: Sensor CSS Rules [javascript] 19:21:02 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 19:21:02 INFO: Sensor CSS Rules [javascript] (done) | time=1ms 19:21:02 INFO: Sensor IaC Docker Sensor [iac] 19:21:02 INFO: 3 source files to be analyzed 19:21:02 INFO: 3/3 source files have been analyzed 19:21:02 INFO: Sensor IaC Docker Sensor [iac] (done) | time=158ms 19:21:02 INFO: Sensor Serverless configuration file sensor [security] 19:21:02 INFO: 0 Serverless function entries were found in the project 19:21:02 INFO: 0 Serverless function handlers were kept as entrypoints 19:21:02 INFO: Sensor Serverless configuration file sensor [security] (done) | time=6ms 19:21:02 INFO: Sensor AWS SAM template file sensor [security] 19:21:02 INFO: Sensor AWS SAM template file sensor [security] (done) | time=6ms 19:21:02 INFO: Sensor AWS SAM Inline template file sensor [security] 19:21:02 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=8ms 19:21:02 INFO: Sensor javabugs [dbd] 19:21:02 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 19:21:02 INFO: No IR files have been included for analysis. 19:21:02 INFO: Sensor javabugs [dbd] (done) | time=2ms 19:21:02 INFO: Sensor pythonbugs [dbd] 19:21:02 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 19:21:02 INFO: Analyzing 100 functions to detect bugs. 19:21:03 INFO: Sensor pythonbugs [dbd] (done) | time=781ms 19:21:03 INFO: Sensor TextAndSecretsSensor [text] 19:21:03 INFO: Available processors: 2 19:21:03 INFO: Using 2 threads for analysis. 19:21:03 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:21:03 * The filename starts with "test" 19:21:03 * The filename contains "test." or "tests." 19:21:03 * Any directory in the file path is named: "doc", "docs", "test" or "tests" 19:21:03 * Any directory in the file path has a name ending in "test" or "tests" 19:21:03 19:21:03 INFO: Using git CLI to retrieve untracked files 19:21:03 INFO: Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git 19:21:03 INFO: 92 source files to be analyzed 19:21:03 INFO: 92/92 source files have been analyzed 19:21:03 INFO: Sensor TextAndSecretsSensor [text] (done) | time=764ms 19:21:03 INFO: Sensor JavaSecuritySensor [security] 19:21:03 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 19:21:03 INFO: Load type hierarchy and UCFGs: Starting 19:21:03 INFO: Load type hierarchy: Starting 19:21:03 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 19:21:03 INFO: Read 0 type definitions 19:21:03 INFO: Load type hierarchy: Time spent was 00:00:00.002 19:21:03 INFO: Load UCFGs: Starting 19:21:03 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:03 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 19:21:03 INFO: No UCFGs have been included for analysis. 19:21:03 INFO: java security sensor: Time spent was 00:00:00.040 19:21:03 INFO: java security sensor: Begin: 2024-07-10T19:21:03.779125823Z, End: 2024-07-10T19:21:03.819838445Z, Duration: 00:00:00.040 19:21:03 Load type hierarchy and UCFGs: Begin: 2024-07-10T19:21:03.780558778Z, End: 2024-07-10T19:21:03.783472860Z, Duration: 00:00:00.002 19:21:03 Load type hierarchy: Begin: 2024-07-10T19:21:03.780671809Z, End: 2024-07-10T19:21:03.782860903Z, Duration: 00:00:00.002 19:21:03 Load UCFGs: Begin: 2024-07-10T19:21:03.783226027Z, End: 2024-07-10T19:21:03.783342119Z, Duration: 00:00:00.000 19:21:03 INFO: java security sensor peak memory: 206 MB 19:21:03 INFO: Sensor JavaSecuritySensor [security] (done) | time=45ms 19:21:03 INFO: Sensor CSharpSecuritySensor [security] 19:21:03 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:03 INFO: Load type hierarchy and UCFGs: Starting 19:21:03 INFO: Load type hierarchy: Starting 19:21:03 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 19:21:03 INFO: Read 0 type definitions 19:21:03 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:03 INFO: Load UCFGs: Starting 19:21:03 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:03 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:21:03 INFO: No UCFGs have been included for analysis. 19:21:03 INFO: csharp security sensor: Time spent was 00:00:00.001 19:21:03 INFO: csharp security sensor: Begin: 2024-07-10T19:21:03.829048675Z, End: 2024-07-10T19:21:03.830714894Z, Duration: 00:00:00.001 19:21:03 Load type hierarchy and UCFGs: Begin: 2024-07-10T19:21:03.829613252Z, End: 2024-07-10T19:21:03.830363060Z, Duration: 00:00:00.000 19:21:03 Load type hierarchy: Begin: 2024-07-10T19:21:03.829708263Z, End: 2024-07-10T19:21:03.830013726Z, Duration: 00:00:00.000 19:21:03 Load UCFGs: Begin: 2024-07-10T19:21:03.830181588Z, End: 2024-07-10T19:21:03.830260329Z, Duration: 00:00:00.000 19:21:03 INFO: csharp security sensor peak memory: 206 MB 19:21:03 INFO: Sensor CSharpSecuritySensor [security] (done) | time=3ms 19:21:03 INFO: Sensor PhpSecuritySensor [security] 19:21:03 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 19:21:03 INFO: Load type hierarchy and UCFGs: Starting 19:21:03 INFO: Load type hierarchy: Starting 19:21:03 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 19:21:03 INFO: Read 0 type definitions 19:21:03 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:03 INFO: Load UCFGs: Starting 19:21:03 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:03 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:21:03 INFO: No UCFGs have been included for analysis. 19:21:03 INFO: php security sensor: Time spent was 00:00:00.001 19:21:03 INFO: php security sensor: Begin: 2024-07-10T19:21:03.832018317Z, End: 2024-07-10T19:21:03.833627305Z, Duration: 00:00:00.001 19:21:03 Load type hierarchy and UCFGs: Begin: 2024-07-10T19:21:03.832480343Z, End: 2024-07-10T19:21:03.833250891Z, Duration: 00:00:00.000 19:21:03 Load type hierarchy: Begin: 2024-07-10T19:21:03.832545474Z, End: 2024-07-10T19:21:03.832832367Z, Duration: 00:00:00.000 19:21:03 Load UCFGs: Begin: 2024-07-10T19:21:03.833006379Z, End: 2024-07-10T19:21:03.833109440Z, Duration: 00:00:00.000 19:21:03 INFO: php security sensor peak memory: 207 MB 19:21:03 INFO: Sensor PhpSecuritySensor [security] (done) | time=3ms 19:21:03 INFO: Sensor PythonSecuritySensor [security] 19:21:03 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:03 INFO: Load type hierarchy and UCFGs: Starting 19:21:03 INFO: Load type hierarchy: Starting 19:21:03 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:21:03 INFO: Read 451 type definitions 19:21:04 INFO: Load type hierarchy: Time spent was 00:00:00.165 19:21:04 INFO: Load UCFGs: Starting 19:21:04 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:21:04 INFO: Load UCFGs: Time spent was 00:00:00.537 19:21:04 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.703 19:21:04 INFO: Analyzing 2437 UCFGs to detect vulnerabilities. 19:21:04 INFO: Check cache: Starting 19:21:04 INFO: Load cache: Starting 19:21:04 INFO: Load cache: Time spent was 00:00:00.000 19:21:04 INFO: Check cache: Time spent was 00:00:00.000 19:21:04 INFO: Create runtime call graph: Starting 19:21:04 INFO: Variable Type Analysis #1: Starting 19:21:04 INFO: Create runtime type propagation graph: Starting 19:21:04 INFO: Create runtime type propagation graph: Time spent was 00:00:00.043 19:21:04 INFO: Run SCC (Tarjan) on 7176 nodes: Starting 19:21:04 INFO: Run SCC (Tarjan) on 7176 nodes: Time spent was 00:00:00.029 19:21:04 INFO: Tarjan found 7176 strongly connected components 19:21:04 INFO: Propagate runtime types to strongly connected components: Starting 19:21:04 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.040 19:21:04 INFO: Variable Type Analysis #1: Time spent was 00:00:00.115 19:21:04 INFO: Variable Type Analysis #2: Starting 19:21:04 INFO: Create runtime type propagation graph: Starting 19:21:04 INFO: Create runtime type propagation graph: Time spent was 00:00:00.029 19:21:04 INFO: Run SCC (Tarjan) on 7101 nodes: Starting 19:21:04 INFO: Run SCC (Tarjan) on 7101 nodes: Time spent was 00:00:00.005 19:21:04 INFO: Tarjan found 7101 strongly connected components 19:21:04 INFO: Propagate runtime types to strongly connected components: Starting 19:21:04 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.017 19:21:04 INFO: Variable Type Analysis #2: Time spent was 00:00:00.053 19:21:04 INFO: Create runtime call graph: Time spent was 00:00:00.175 19:21:04 INFO: Load config: Starting 19:21:04 INFO: Load config: Time spent was 00:00:00.151 19:21:04 INFO: Compute entry points: Starting 19:21:05 INFO: Compute entry points: Time spent was 00:00:00.241 19:21:05 INFO: All rules entry points : 5 19:21:05 INFO: Slice call graph: Starting 19:21:05 INFO: Retained UCFGs : 33 19:21:05 INFO: Slice call graph: Time spent was 00:00:00.000 19:21:05 INFO: Live variable analysis: Starting 19:21:05 INFO: Live variable analysis: Time spent was 00:00:00.013 19:21:05 INFO: Taint analysis for python: Starting 19:21:05 INFO: 0 / 33 UCFGs simulated, memory usage: 98 MB 19:21:05 INFO: 24 / 33 UCFGs simulated, memory usage: 118 MB 19:21:05 INFO: Taint analysis for python: Time spent was 00:00:00.202 19:21:05 INFO: Report issues: Starting 19:21:05 INFO: Report issues: Time spent was 00:00:00.002 19:21:05 INFO: Store cache: Starting 19:21:05 INFO: Store cache: Time spent was 00:00:00.004 19:21:05 INFO: python security sensor: Time spent was 00:00:01.498 19:21:05 INFO: python security sensor: Begin: 2024-07-10T19:21:03.834698026Z, End: 2024-07-10T19:21:05.333146113Z, Duration: 00:00:01.498 19:21:05 Load type hierarchy and UCFGs: Begin: 2024-07-10T19:21:03.834995051Z, End: 2024-07-10T19:21:04.538475823Z, Duration: 00:00:00.703 19:21:05 Load type hierarchy: Begin: 2024-07-10T19:21:03.835114592Z, End: 2024-07-10T19:21:04.000821073Z, Duration: 00:00:00.165 19:21:05 Load UCFGs: Begin: 2024-07-10T19:21:04.001014615Z, End: 2024-07-10T19:21:04.538167210Z, Duration: 00:00:00.537 19:21:05 Check cache: Begin: 2024-07-10T19:21:04.538653375Z, End: 2024-07-10T19:21:04.539080679Z, Duration: 00:00:00.000 19:21:05 Load cache: Begin: 2024-07-10T19:21:04.538718906Z, End: 2024-07-10T19:21:04.538793916Z, Duration: 00:00:00.000 19:21:05 Create runtime call graph: Begin: 2024-07-10T19:21:04.539195171Z, End: 2024-07-10T19:21:04.714233112Z, Duration: 00:00:00.175 19:21:05 Variable Type Analysis #1: Begin: 2024-07-10T19:21:04.539818857Z, End: 2024-07-10T19:21:04.655345692Z, Duration: 00:00:00.115 19:21:05 Create runtime type propagation graph: Begin: 2024-07-10T19:21:04.541189563Z, End: 2024-07-10T19:21:04.584996638Z, Duration: 00:00:00.043 19:21:05 Run SCC (Tarjan) on 7176 nodes: Begin: 2024-07-10T19:21:04.585506813Z, End: 2024-07-10T19:21:04.614561820Z, Duration: 00:00:00.029 19:21:05 Propagate runtime types to strongly connected components: Begin: 2024-07-10T19:21:04.614805982Z, End: 2024-07-10T19:21:04.654918528Z, Duration: 00:00:00.040 19:21:05 Variable Type Analysis #2: Begin: 2024-07-10T19:21:04.657379264Z, End: 2024-07-10T19:21:04.711195269Z, Duration: 00:00:00.053 19:21:05 Create runtime type propagation graph: Begin: 2024-07-10T19:21:04.657468185Z, End: 2024-07-10T19:21:04.686917916Z, Duration: 00:00:00.029 19:21:05 Run SCC (Tarjan) on 7101 nodes: Begin: 2024-07-10T19:21:04.687241229Z, End: 2024-07-10T19:21:04.692883430Z, Duration: 00:00:00.005 19:21:05 Propagate runtime types to strongly connected components: Begin: 2024-07-10T19:21:04.693064712Z, End: 2024-07-10T19:21:04.710965866Z, Duration: 00:00:00.017 19:21:05 Load config: Begin: 2024-07-10T19:21:04.714369493Z, End: 2024-07-10T19:21:04.865443444Z, Duration: 00:00:00.151 19:21:05 Compute entry points: Begin: 2024-07-10T19:21:04.865782429Z, End: 2024-07-10T19:21:05.107027649Z, Duration: 00:00:00.241 19:21:05 Slice call graph: Begin: 2024-07-10T19:21:05.107419423Z, End: 2024-07-10T19:21:05.108344682Z, Duration: 00:00:00.000 19:21:05 Live variable analysis: Begin: 2024-07-10T19:21:05.108463864Z, End: 2024-07-10T19:21:05.121889819Z, Duration: 00:00:00.013 19:21:05 Taint analysis for python: Begin: 2024-07-10T19:21:05.122849390Z, End: 2024-07-10T19:21:05.325658192Z, Duration: 00:00:00.202 19:21:05 Report issues: Begin: 2024-07-10T19:21:05.325780803Z, End: 2024-07-10T19:21:05.327969216Z, Duration: 00:00:00.002 19:21:05 Store cache: Begin: 2024-07-10T19:21:05.328101519Z, End: 2024-07-10T19:21:05.332480616Z, Duration: 00:00:00.004 19:21:05 INFO: python security sensor peak memory: 208 MB 19:21:05 INFO: Sensor PythonSecuritySensor [security] (done) | time=1501ms 19:21:05 INFO: Sensor JsSecuritySensor [security] 19:21:05 INFO: Enabled taint analysis rules: S5146, S6350, S2076, S5131, S5696, S6096, S5883, S5144, S2083, S6287, S5334, S2631, S6105, S3649, S5147 19:21:05 INFO: Load type hierarchy and UCFGs: Starting 19:21:05 INFO: Load type hierarchy: Starting 19:21:05 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 19:21:05 INFO: Read 0 type definitions 19:21:05 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:05 INFO: Load UCFGs: Starting 19:21:05 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:05 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 19:21:05 INFO: No UCFGs have been included for analysis. 19:21:05 INFO: js security sensor: Time spent was 00:00:00.001 19:21:05 INFO: js security sensor: Begin: 2024-07-10T19:21:05.335609339Z, End: 2024-07-10T19:21:05.337604241Z, Duration: 00:00:00.001 19:21:05 Load type hierarchy and UCFGs: Begin: 2024-07-10T19:21:05.335832042Z, End: 2024-07-10T19:21:05.337173827Z, Duration: 00:00:00.001 19:21:05 Load type hierarchy: Begin: 2024-07-10T19:21:05.335890812Z, End: 2024-07-10T19:21:05.336837133Z, Duration: 00:00:00.000 19:21:05 Load UCFGs: Begin: 2024-07-10T19:21:05.336964125Z, End: 2024-07-10T19:21:05.337046655Z, Duration: 00:00:00.000 19:21:05 INFO: js security sensor peak memory: 208 MB 19:21:05 INFO: Sensor JsSecuritySensor [security] (done) | time=4ms 19:21:05 INFO: ------------- Run sensors on project 19:21:05 INFO: Sensor Zero Coverage Sensor 19:21:05 INFO: Sensor Zero Coverage Sensor (done) | time=10ms 19:21:05 INFO: CPD Executor 5 files had no CPD blocks 19:21:05 INFO: CPD Executor Calculating CPD for 32 files 19:21:05 INFO: CPD Executor CPD calculation finished (done) | time=41ms 19:21:05 INFO: Analysis report generated in 214ms, dir size=680 KB 19:21:05 INFO: Analysis report compressed in 99ms, zip size=243 KB 19:21:06 INFO: Analysis report uploaded in 1036ms 19:21:06 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 19:21:06 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 19:21:06 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AZCeF59E1cnLNn175b6V 19:21:08 INFO: Sensor cache published successfully 19:21:08 INFO: Analysis total time: 29.610 s 19:21:08 INFO: ------------------------------------------------------------------------ 19:21:08 INFO: EXECUTION SUCCESS 19:21:08 INFO: ------------------------------------------------------------------------ 19:21:08 INFO: Total time: 35.782s 19:21:08 INFO: Final Memory: 47M/164M 19:21:08 INFO: ------------------------------------------------------------------------ 19:21:09 $ ssh-agent -k 19:21:09 unset SSH_AUTH_SOCK; 19:21:09 unset SSH_AGENT_PID; 19:21:09 echo Agent pid 5745 killed; 19:21:09 [ssh-agent] Stopped. 19:21:09 [PostBuildScript] - [INFO] Executing post build scripts. 19:21:09 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins18369533175674030047.sh 19:21:09 ---> sysstat.sh 19:21:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15989472461564338852.sh 19:21:10 ---> package-listing.sh 19:21:10 ++ facter osfamily 19:21:10 ++ tr '[:upper:]' '[:lower:]' 19:21:10 + OS_FAMILY=debian 19:21:10 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 19:21:10 + START_PACKAGES=/tmp/packages_start.txt 19:21:10 + END_PACKAGES=/tmp/packages_end.txt 19:21:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:10 + PACKAGES=/tmp/packages_start.txt 19:21:10 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:10 + PACKAGES=/tmp/packages_end.txt 19:21:10 + case "${OS_FAMILY}" in 19:21:10 + dpkg -l 19:21:10 + grep '^ii' 19:21:10 + '[' -f /tmp/packages_start.txt ']' 19:21:10 + '[' -f /tmp/packages_end.txt ']' 19:21:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:10 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:10 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:10 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6065148807959147159.sh 19:21:10 ---> capture-instance-metadata.sh 19:21:10 Setup pyenv: 19:21:10 system 19:21:10 3.8.13 19:21:10 3.9.13 19:21:10 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:10 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z45K from file:/tmp/.os_lf_venv 19:21:12 lf-activate-venv(): INFO: Installing: lftools 19:21:22 lf-activate-venv(): INFO: Adding /tmp/venv-Z45K/bin to PATH 19:21:22 INFO: Running in OpenStack, capturing instance metadata 19:21:22 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2825704007334482827.sh 19:21:22 provisioning config files... 19:21:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config17719061283369641805tmp 19:21:22 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 19:21:22 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 19:21:22 [EnvInject] - Injecting environment variables from a build step. 19:21:22 [EnvInject] - Injecting as environment variables the properties content 19:21:22 SERVER_ID=logs 19:21:22 19:21:22 [EnvInject] - Variables injected successfully. 19:21:22 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11666519129041811392.sh 19:21:22 ---> create-netrc.sh 19:21:22 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15399968375477421801.sh 19:21:22 ---> python-tools-install.sh 19:21:22 Setup pyenv: 19:21:23 system 19:21:23 3.8.13 19:21:23 3.9.13 19:21:23 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:23 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z45K from file:/tmp/.os_lf_venv 19:21:24 lf-activate-venv(): INFO: Installing: lftools 19:21:34 lf-activate-venv(): INFO: Adding /tmp/venv-Z45K/bin to PATH 19:21:34 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins8164348140718826108.sh 19:21:34 ---> sudo-logs.sh 19:21:34 Archiving 'sudo' log.. 19:21:34 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14742166162170060461.sh 19:21:34 ---> job-cost.sh 19:21:34 Setup pyenv: 19:21:34 system 19:21:34 3.8.13 19:21:34 3.9.13 19:21:34 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z45K from file:/tmp/.os_lf_venv 19:21:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 19:21:40 lf-activate-venv(): INFO: Adding /tmp/venv-Z45K/bin to PATH 19:21:40 INFO: No Stack... 19:21:40 INFO: Retrieving Pricing Info for: v2-highcpu-2 19:21:40 INFO: Archiving Costs 19:21:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9243019175172647547.sh 19:21:40 ---> logs-deploy.sh 19:21:40 Setup pyenv: 19:21:40 system 19:21:40 3.8.13 19:21:40 3.9.13 19:21:40 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:41 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z45K from file:/tmp/.os_lf_venv 19:21:41 lf-activate-venv(): INFO: Installing: lftools 19:21:50 lf-activate-venv(): INFO: Adding /tmp/venv-Z45K/bin to PATH 19:21:51 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/260 19:21:51 INFO: archiving workspace using pattern(s): -p **/*.log 19:21:55 Archives upload complete. 19:21:55 INFO: archiving logs to Nexus 19:21:56 ---> uname -a: 19:21:56 Linux prd-ubuntu2004-builder-2c-2g-6244 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:56 19:21:56 19:21:56 ---> lscpu: 19:21:56 Architecture: x86_64 19:21:56 CPU op-mode(s): 32-bit, 64-bit 19:21:56 Byte Order: Little Endian 19:21:56 Address sizes: 40 bits physical, 48 bits virtual 19:21:56 CPU(s): 2 19:21:56 On-line CPU(s) list: 0,1 19:21:56 Thread(s) per core: 1 19:21:56 Core(s) per socket: 1 19:21:56 Socket(s): 2 19:21:56 NUMA node(s): 1 19:21:56 Vendor ID: AuthenticAMD 19:21:56 CPU family: 23 19:21:56 Model: 49 19:21:56 Model name: AMD EPYC-Rome Processor 19:21:56 Stepping: 0 19:21:56 CPU MHz: 2799.998 19:21:56 BogoMIPS: 5599.99 19:21:56 Virtualization: AMD-V 19:21:56 Hypervisor vendor: KVM 19:21:56 Virtualization type: full 19:21:56 L1d cache: 64 KiB 19:21:56 L1i cache: 64 KiB 19:21:56 L2 cache: 1 MiB 19:21:56 L3 cache: 32 MiB 19:21:56 NUMA node0 CPU(s): 0,1 19:21:56 Vulnerability Gather data sampling: Not affected 19:21:56 Vulnerability Itlb multihit: Not affected 19:21:56 Vulnerability L1tf: Not affected 19:21:56 Vulnerability Mds: Not affected 19:21:56 Vulnerability Meltdown: Not affected 19:21:56 Vulnerability Mmio stale data: Not affected 19:21:56 Vulnerability Retbleed: Vulnerable 19:21:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:21:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:21:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 19:21:56 Vulnerability Srbds: Not affected 19:21:56 Vulnerability Tsx async abort: Not affected 19:21:56 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:56 19:21:56 19:21:56 ---> nproc: 19:21:56 2 19:21:56 19:21:56 19:21:56 ---> df -h: 19:21:56 Filesystem Size Used Avail Use% Mounted on 19:21:56 udev 969M 0 969M 0% /dev 19:21:56 tmpfs 198M 1.0M 197M 1% /run 19:21:56 /dev/vda1 20G 8.7G 11G 46% / 19:21:56 tmpfs 986M 0 986M 0% /dev/shm 19:21:56 tmpfs 5.0M 0 5.0M 0% /run/lock 19:21:56 tmpfs 986M 0 986M 0% /sys/fs/cgroup 19:21:56 /dev/loop0 62M 62M 0 100% /snap/core20/1405 19:21:56 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 19:21:56 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 19:21:56 /dev/vda15 105M 6.1M 99M 6% /boot/efi 19:21:56 tmpfs 198M 0 198M 0% /run/user/1001 19:21:56 /dev/loop3 39M 39M 0 100% /snap/snapd/21759 19:21:56 19:21:56 19:21:56 ---> free -m: 19:21:56 total used free shared buff/cache available 19:21:56 Mem: 1971 427 232 2 1311 1354 19:21:56 Swap: 1023 1 1022 19:21:56 19:21:56 19:21:56 ---> ip addr: 19:21:56 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 19:21:56 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:21:56 inet 127.0.0.1/8 scope host lo 19:21:56 valid_lft forever preferred_lft forever 19:21:56 inet6 ::1/128 scope host 19:21:56 valid_lft forever preferred_lft forever 19:21:56 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 19:21:56 link/ether fa:16:3e:28:fb:0c brd ff:ff:ff:ff:ff:ff 19:21:56 inet 10.32.6.148/23 brd 10.32.7.255 scope global dynamic ens3 19:21:56 valid_lft 86084sec preferred_lft 86084sec 19:21:56 inet6 fe80::f816:3eff:fe28:fb0c/64 scope link 19:21:56 valid_lft forever preferred_lft forever 19:21:56 19:21:56 19:21:56 ---> sar -b -r -n DEV: 19:21:56 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-6244) 07/10/24 _x86_64_ (2 CPU) 19:21:56 19:21:56 19:16:43 LINUX RESTART (2 CPU) 19:21:56 19:21:56 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:21:56 19:18:01 234.53 119.46 115.08 0.00 2988.77 12515.36 0.00 19:21:56 19:19:01 66.76 13.90 52.86 0.00 1324.71 8900.12 0.00 19:21:56 19:20:01 46.91 1.98 44.93 0.00 170.90 16565.51 0.00 19:21:56 19:21:01 105.18 40.31 64.87 0.00 2661.56 32162.64 0.00 19:21:56 Average: 113.35 43.92 69.44 0.00 1786.59 17535.49 0.00 19:21:56 19:21:56 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:21:56 19:18:01 145080 1449568 341788 16.93 56968 1325428 826932 26.96 430340 1252000 84444 19:21:56 19:19:01 95544 1419764 364796 18.07 69364 1319128 902792 29.43 463884 1247172 21008 19:21:56 19:20:01 92384 1370800 412224 20.42 76680 1259572 962016 31.36 468640 1237556 112680 19:21:56 19:21:01 71672 1141632 630836 31.25 86292 1057528 1153824 37.62 623408 1108332 16768 19:21:56 Average: 101170 1345441 437411 21.67 72326 1240414 961391 31.34 496568 1211265 58725 19:21:56 19:21:56 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:21:56 19:18:01 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 19:21:56 19:18:01 ens3 253.52 156.44 1286.07 53.63 0.00 0.00 0.00 0.00 19:21:56 19:19:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 19:21:56 19:19:01 ens3 20.73 19.61 50.10 8.06 0.00 0.00 0.00 0.00 19:21:56 19:20:01 lo 0.57 0.57 0.05 0.05 0.00 0.00 0.00 0.00 19:21:56 19:20:01 ens3 139.36 108.10 2801.75 9.69 0.00 0.00 0.00 0.00 19:21:56 19:21:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 19:21:56 19:21:01 ens3 354.24 240.73 3292.17 21.64 0.00 0.00 0.00 0.00 19:21:56 Average: lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 19:21:56 Average: ens3 191.97 131.22 1857.48 23.26 0.00 0.00 0.00 0.00 19:21:56 19:21:56 19:21:56 ---> sar -P ALL: 19:21:56 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-6244) 07/10/24 _x86_64_ (2 CPU) 19:21:56 19:21:56 19:16:43 LINUX RESTART (2 CPU) 19:21:56 19:21:56 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:21:56 19:18:01 all 37.29 26.08 18.46 7.79 0.14 10.25 19:21:56 19:18:01 0 37.56 24.22 17.65 8.25 0.14 12.19 19:21:56 19:18:01 1 37.03 27.94 19.26 7.33 0.14 8.31 19:21:56 19:19:01 all 22.80 0.00 2.18 3.56 0.08 71.39 19:21:56 19:19:01 0 19.19 0.00 2.18 4.79 0.08 73.77 19:21:56 19:19:01 1 26.40 0.00 2.19 2.34 0.07 69.01 19:21:56 19:20:01 all 18.88 0.00 2.25 2.45 0.09 76.33 19:21:56 19:20:01 0 26.20 0.00 3.03 1.12 0.10 69.56 19:21:56 19:20:01 1 11.53 0.00 1.46 3.79 0.08 83.13 19:21:56 19:21:01 all 41.38 0.00 3.45 4.21 0.11 50.86 19:21:56 19:21:01 0 59.26 0.00 4.20 4.75 0.12 31.66 19:21:56 19:21:01 1 23.49 0.00 2.69 3.67 0.10 70.06 19:21:56 Average: all 30.08 6.47 6.55 4.50 0.10 52.30 19:21:56 Average: 0 35.56 6.00 6.73 4.72 0.11 46.87 19:21:56 Average: 1 24.59 6.94 6.37 4.27 0.10 57.73 19:21:56 19:21:56 19:21:56