19:17:00 Started by timer 19:17:00 Running as SYSTEM 19:17:00 [EnvInject] - Loading node environment variables. 19:17:00 Building remotely on prd-ubuntu2004-builder-2c-2g-1284 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 19:17:00 [ssh-agent] Looking for ssh-agent implementation... 19:17:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:00 $ ssh-agent 19:17:00 SSH_AUTH_SOCK=/tmp/ssh-eBgz3gSMVNjR/agent.6441 19:17:00 SSH_AGENT_PID=6446 19:17:00 [ssh-agent] Started. 19:17:00 Running ssh-add (command line suppressed) 19:17:00 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_15890148198270407390.key (jenkins-ssh) 19:17:00 [ssh-agent] Using credentials jenkins (jenkins) 19:17:00 The recommended git tool is: NONE 19:17:02 using credential jenkins 19:17:02 Wiping out workspace first. 19:17:02 Cloning the remote Git repository 19:17:02 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:17:02 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 19:17:02 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:17:02 > git --version # timeout=10 19:17:02 > git --version # 'git version 2.25.1' 19:17:02 using GIT_SSH to set credentials jenkins 19:17:02 > 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:03 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 19:17:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:03 Avoid second fetch 19:17:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 19:17:03 Checking out Revision be2fe296264e5f58c44f271af83a875baa747849 (refs/remotes/origin/master) 19:17:03 > git config core.sparsecheckout # timeout=10 19:17:03 > git checkout -f be2fe296264e5f58c44f271af83a875baa747849 # timeout=10 19:17:04 Commit message: "Fix A1 simulator extensions" 19:17:04 > git rev-list --no-walk 646bba005cabd05f734fa1ece2725ce284d6c6b0 # timeout=10 19:17:07 provisioning config files... 19:17:07 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:17:07 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:17:07 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14147858417602796374.sh 19:17:07 ---> python-tools-install.sh 19:17:07 Setup pyenv: 19:17:07 * system (set by /opt/pyenv/version) 19:17:07 * 3.8.13 (set by /opt/pyenv/version) 19:17:07 * 3.9.13 (set by /opt/pyenv/version) 19:17:07 * 3.10.6 (set by /opt/pyenv/version) 19:17:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ga6P 19:17:12 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:17:16 lf-activate-venv(): INFO: Installing: lftools 19:17:45 lf-activate-venv(): INFO: Adding /tmp/venv-ga6P/bin to PATH 19:17:45 Generating Requirements File 19:18:05 Python 3.10.6 19:18:05 pip 24.2 from /tmp/venv-ga6P/lib/python3.10/site-packages/pip (python 3.10) 19:18:06 appdirs==1.4.4 19:18:06 argcomplete==3.4.0 19:18:06 aspy.yaml==1.3.0 19:18:06 attrs==23.2.0 19:18:06 autopage==0.5.2 19:18:06 beautifulsoup4==4.12.3 19:18:06 boto3==1.34.151 19:18:06 botocore==1.34.151 19:18:06 bs4==0.0.2 19:18:06 cachetools==5.4.0 19:18:06 certifi==2024.7.4 19:18:06 cffi==1.16.0 19:18:06 cfgv==3.4.0 19:18:06 chardet==5.2.0 19:18:06 charset-normalizer==3.3.2 19:18:06 click==8.1.7 19:18:06 cliff==4.7.0 19:18:06 cmd2==2.4.3 19:18:06 cryptography==3.3.2 19:18:06 debtcollector==3.0.0 19:18:06 decorator==5.1.1 19:18:06 defusedxml==0.7.1 19:18:06 Deprecated==1.2.14 19:18:06 distlib==0.3.8 19:18:06 dnspython==2.6.1 19:18:06 docker==4.2.2 19:18:06 dogpile.cache==1.3.3 19:18:06 email_validator==2.2.0 19:18:06 filelock==3.15.4 19:18:06 future==1.0.0 19:18:06 gitdb==4.0.11 19:18:06 GitPython==3.1.43 19:18:06 google-auth==2.32.0 19:18:06 httplib2==0.22.0 19:18:06 identify==2.6.0 19:18:06 idna==3.7 19:18:06 importlib-resources==1.5.0 19:18:06 iso8601==2.1.0 19:18:06 Jinja2==3.1.4 19:18:06 jmespath==1.0.1 19:18:06 jsonpatch==1.33 19:18:06 jsonpointer==3.0.0 19:18:06 jsonschema==4.23.0 19:18:06 jsonschema-specifications==2023.12.1 19:18:06 keystoneauth1==5.7.0 19:18:06 kubernetes==30.1.0 19:18:06 lftools==0.37.10 19:18:06 lxml==5.2.2 19:18:06 MarkupSafe==2.1.5 19:18:06 msgpack==1.0.8 19:18:06 multi_key_dict==2.0.3 19:18:06 munch==4.0.0 19:18:06 netaddr==1.3.0 19:18:06 netifaces==0.11.0 19:18:06 niet==1.4.2 19:18:06 nodeenv==1.9.1 19:18:06 oauth2client==4.1.3 19:18:06 oauthlib==3.2.2 19:18:06 openstacksdk==3.3.0 19:18:06 os-client-config==2.1.0 19:18:06 os-service-types==1.7.0 19:18:06 osc-lib==3.1.0 19:18:06 oslo.config==9.5.0 19:18:06 oslo.context==5.5.0 19:18:06 oslo.i18n==6.3.0 19:18:06 oslo.log==6.1.1 19:18:06 oslo.serialization==5.4.0 19:18:06 oslo.utils==7.2.0 19:18:06 packaging==24.1 19:18:06 pbr==6.0.0 19:18:06 platformdirs==4.2.2 19:18:06 prettytable==3.10.2 19:18:06 pyasn1==0.6.0 19:18:06 pyasn1_modules==0.4.0 19:18:06 pycparser==2.22 19:18:06 pygerrit2==2.0.15 19:18:06 PyGithub==2.3.0 19:18:06 PyJWT==2.8.0 19:18:06 PyNaCl==1.5.0 19:18:06 pyparsing==2.4.7 19:18:06 pyperclip==1.9.0 19:18:06 pyrsistent==0.20.0 19:18:06 python-cinderclient==9.5.0 19:18:06 python-dateutil==2.9.0.post0 19:18:06 python-heatclient==3.5.0 19:18:06 python-jenkins==1.8.2 19:18:06 python-keystoneclient==5.4.0 19:18:06 python-magnumclient==4.6.0 19:18:06 python-novaclient==18.6.0 19:18:06 python-openstackclient==6.6.1 19:18:06 python-swiftclient==4.6.0 19:18:06 PyYAML==6.0.1 19:18:06 referencing==0.35.1 19:18:06 requests==2.32.3 19:18:06 requests-oauthlib==2.0.0 19:18:06 requestsexceptions==1.4.0 19:18:06 rfc3986==2.0.0 19:18:06 rpds-py==0.19.1 19:18:06 rsa==4.9 19:18:06 ruamel.yaml==0.18.6 19:18:06 ruamel.yaml.clib==0.2.8 19:18:06 s3transfer==0.10.2 19:18:06 simplejson==3.19.2 19:18:06 six==1.16.0 19:18:06 smmap==5.0.1 19:18:06 soupsieve==2.5 19:18:06 stevedore==5.2.0 19:18:06 tabulate==0.9.0 19:18:06 toml==0.10.2 19:18:06 tomlkit==0.13.0 19:18:06 tqdm==4.66.4 19:18:06 typing_extensions==4.12.2 19:18:06 tzdata==2024.1 19:18:06 urllib3==1.26.19 19:18:06 virtualenv==20.26.3 19:18:06 wcwidth==0.2.13 19:18:06 websocket-client==1.8.0 19:18:06 wrapt==1.16.0 19:18:06 xdg==6.0.0 19:18:06 xmltodict==0.13.0 19:18:06 yq==3.4.3 19:18:06 [EnvInject] - Injecting environment variables from a build step. 19:18:06 [EnvInject] - Injecting as environment variables the properties content 19:18:06 SET_JDK_VERSION=openjdk17 19:18:06 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 19:18:06 19:18:06 [EnvInject] - Variables injected successfully. 19:18:06 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins1492893619620579524.sh 19:18:06 ---> update-java-alternatives.sh 19:18:06 ---> Updating Java version 19:18:06 ---> Ubuntu/Debian system detected 19:18:06 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 19:18:06 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 19:18:06 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 19:18:07 openjdk version "17.0.9" 2023-10-17 19:18:07 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 19:18:07 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 19:18:07 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 19:18:07 [EnvInject] - Injecting environment variables from a build step. 19:18:07 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 19:18:07 [EnvInject] - Variables injected successfully. 19:18:07 [EnvInject] - Injecting environment variables from a build step. 19:18:07 [EnvInject] - Injecting as environment variables the properties content 19:18:07 PYTHON=python3 19:18:07 19:18:07 [EnvInject] - Variables injected successfully. 19:18:07 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9481348110355329031.sh 19:18:07 ---> tox-install.sh 19:18:07 + source /home/jenkins/lf-env.sh 19:18:07 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:07 ++ mktemp -d /tmp/venv-XXXX 19:18:07 + lf_venv=/tmp/venv-a3of 19:18:07 + local venv_file=/tmp/.os_lf_venv 19:18:07 + local python=python3 19:18:07 + local options 19:18:07 + local set_path=true 19:18:07 + local install_args= 19:18:07 ++ 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:07 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:07 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:07 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:07 + true 19:18:07 + case $1 in 19:18:07 + venv_file=/tmp/.toxenv 19:18:07 + shift 2 19:18:07 + true 19:18:07 + case $1 in 19:18:07 + shift 19:18:07 + break 19:18:07 + case $python in 19:18:07 + local pkg_list= 19:18:07 + [[ -d /opt/pyenv ]] 19:18:07 + echo 'Setup pyenv:' 19:18:07 Setup pyenv: 19:18:07 + export PYENV_ROOT=/opt/pyenv 19:18:07 + PYENV_ROOT=/opt/pyenv 19:18:07 + 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:07 + PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:18:07 + pyenv versions 19:18:07 system 19:18:07 3.8.13 19:18:07 3.9.13 19:18:07 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:07 + command -v pyenv 19:18:07 ++ pyenv init - --no-rehash 19:18:07 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 19:18:07 export PATH="/opt/pyenv/shims:${PATH}" 19:18:07 export PYENV_SHELL=bash 19:18:07 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:07 pyenv() { 19:18:07 local command 19:18:07 command="${1:-}" 19:18:07 if [ "$#" -gt 0 ]; then 19:18:07 shift 19:18:07 fi 19:18:07 19:18:07 case "$command" in 19:18:07 rehash|shell) 19:18:07 eval "$(pyenv "sh-$command" "$@")" 19:18:07 ;; 19:18:07 *) 19:18:07 command pyenv "$command" "$@" 19:18:07 ;; 19:18:07 esac 19:18:07 }' 19:18:07 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 19:18:07 ++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:18:07 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:18:07 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:18:07 ++ export PYENV_SHELL=bash 19:18:07 ++ PYENV_SHELL=bash 19:18:07 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:07 +++ complete -F _pyenv pyenv 19:18:07 ++ lf-pyver python3 19:18:07 ++ local py_version_xy=python3 19:18:07 ++ local py_version_xyz= 19:18:07 ++ grep -E '^[0-9.]*[0-9]$' 19:18:07 ++ awk '{ print $1 }' 19:18:07 ++ sed 's/^[ *]* //' 19:18:07 ++ pyenv versions 19:18:07 ++ local command 19:18:07 ++ command=versions 19:18:07 ++ '[' 1 -gt 0 ']' 19:18:07 ++ shift 19:18:07 ++ case "$command" in 19:18:07 ++ command pyenv versions 19:18:07 ++ pyenv versions 19:18:07 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:07 +++ tail -n 1 19:18:07 +++ sort -V 19:18:07 +++ grep '^3' /tmp/.pyenv_versions 19:18:07 ++ py_version_xyz=3.10.6 19:18:07 ++ [[ -z 3.10.6 ]] 19:18:07 ++ echo 3.10.6 19:18:07 ++ return 0 19:18:07 + pyenv local 3.10.6 19:18:07 + local command 19:18:07 + command=local 19:18:07 + '[' 2 -gt 0 ']' 19:18:07 + shift 19:18:07 + case "$command" in 19:18:07 + command pyenv local 3.10.6 19:18:07 + pyenv local 3.10.6 19:18:07 + for arg in "$@" 19:18:07 + case $arg in 19:18:07 + pkg_list+='tox ' 19:18:07 + for arg in "$@" 19:18:07 + case $arg in 19:18:07 + pkg_list+='virtualenv ' 19:18:07 + for arg in "$@" 19:18:07 + case $arg in 19:18:07 + pkg_list+='urllib3~=1.26.15 ' 19:18:07 + [[ -f /tmp/.toxenv ]] 19:18:07 + [[ ! -f /tmp/.toxenv ]] 19:18:07 + [[ -n '' ]] 19:18:07 + python3 -m venv /tmp/venv-a3of 19:18:11 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a3of' 19:18:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a3of 19:18:11 + echo /tmp/venv-a3of 19:18:11 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:18:11 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:18:11 + /tmp/venv-a3of/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:14 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:14 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:14 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:14 + /tmp/venv-a3of/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:16 + type python3 19:18:16 + true 19:18:16 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-a3of/bin to PATH' 19:18:16 lf-activate-venv(): INFO: Adding /tmp/venv-a3of/bin to PATH 19:18:16 + PATH=/tmp/venv-a3of/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:18:16 + return 0 19:18:16 + python3 --version 19:18:16 Python 3.10.6 19:18:16 + python3 -m pip --version 19:18:16 pip 24.2 from /tmp/venv-a3of/lib/python3.10/site-packages/pip (python 3.10) 19:18:16 + python3 -m pip freeze 19:18:16 cachetools==5.4.0 19:18:16 chardet==5.2.0 19:18:16 colorama==0.4.6 19:18:16 distlib==0.3.8 19:18:16 filelock==3.15.4 19:18:16 packaging==24.1 19:18:16 platformdirs==4.2.2 19:18:16 pluggy==1.5.0 19:18:16 pyproject-api==1.7.1 19:18:16 tomli==2.0.1 19:18:16 tox==4.16.0 19:18:16 urllib3==1.26.19 19:18:16 virtualenv==20.26.3 19:18:17 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins17537044826918393985.sh 19:18:17 [EnvInject] - Injecting environment variables from a build step. 19:18:17 [EnvInject] - Injecting as environment variables the properties content 19:18:17 PARALLEL=False 19:18:17 19:18:17 [EnvInject] - Variables injected successfully. 19:18:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3904394858774574881.sh 19:18:17 ---> tox-run.sh 19:18:17 + 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:17 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:17 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:18:17 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:17 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 19:18:17 + source /home/jenkins/lf-env.sh 19:18:17 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:17 ++ mktemp -d /tmp/venv-XXXX 19:18:17 + lf_venv=/tmp/venv-2w8j 19:18:17 + local venv_file=/tmp/.os_lf_venv 19:18:17 + local python=python3 19:18:17 + local options 19:18:17 + local set_path=true 19:18:17 + local install_args= 19:18:17 ++ 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:17 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:17 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:17 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:17 + true 19:18:17 + case $1 in 19:18:17 + venv_file=/tmp/.toxenv 19:18:17 + shift 2 19:18:17 + true 19:18:17 + case $1 in 19:18:17 + shift 19:18:17 + break 19:18:17 + case $python in 19:18:17 + local pkg_list= 19:18:17 + [[ -d /opt/pyenv ]] 19:18:17 + echo 'Setup pyenv:' 19:18:17 Setup pyenv: 19:18:17 + export PYENV_ROOT=/opt/pyenv 19:18:17 + PYENV_ROOT=/opt/pyenv 19:18:17 + 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:17 + 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:17 + pyenv versions 19:18:17 system 19:18:17 3.8.13 19:18:17 3.9.13 19:18:17 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:17 + command -v pyenv 19:18:17 ++ pyenv init - --no-rehash 19:18:17 + 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:17 export PATH="/opt/pyenv/shims:${PATH}" 19:18:17 export PYENV_SHELL=bash 19:18:17 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:17 pyenv() { 19:18:17 local command 19:18:17 command="${1:-}" 19:18:17 if [ "$#" -gt 0 ]; then 19:18:17 shift 19:18:17 fi 19:18:17 19:18:17 case "$command" in 19:18:17 rehash|shell) 19:18:17 eval "$(pyenv "sh-$command" "$@")" 19:18:17 ;; 19:18:17 *) 19:18:17 command pyenv "$command" "$@" 19:18:17 ;; 19:18:17 esac 19:18:17 }' 19:18:17 +++ 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:17 ++ 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:17 ++ 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:17 ++ 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:17 ++ export PYENV_SHELL=bash 19:18:17 ++ PYENV_SHELL=bash 19:18:17 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:17 +++ complete -F _pyenv pyenv 19:18:17 ++ lf-pyver python3 19:18:17 ++ local py_version_xy=python3 19:18:17 ++ local py_version_xyz= 19:18:17 ++ pyenv versions 19:18:17 ++ local command 19:18:17 ++ command=versions 19:18:17 ++ grep -E '^[0-9.]*[0-9]$' 19:18:17 ++ '[' 1 -gt 0 ']' 19:18:17 ++ shift 19:18:17 ++ case "$command" in 19:18:17 ++ command pyenv versions 19:18:17 ++ pyenv versions 19:18:17 ++ awk '{ print $1 }' 19:18:17 ++ sed 's/^[ *]* //' 19:18:17 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:17 +++ grep '^3' /tmp/.pyenv_versions 19:18:17 +++ tail -n 1 19:18:17 +++ sort -V 19:18:17 ++ py_version_xyz=3.10.6 19:18:17 ++ [[ -z 3.10.6 ]] 19:18:17 ++ echo 3.10.6 19:18:17 ++ return 0 19:18:17 + pyenv local 3.10.6 19:18:17 + local command 19:18:17 + command=local 19:18:17 + '[' 2 -gt 0 ']' 19:18:17 + shift 19:18:17 + case "$command" in 19:18:17 + command pyenv local 3.10.6 19:18:17 + pyenv local 3.10.6 19:18:17 + for arg in "$@" 19:18:17 + case $arg in 19:18:17 + pkg_list+='tox ' 19:18:17 + for arg in "$@" 19:18:17 + case $arg in 19:18:17 + pkg_list+='virtualenv ' 19:18:17 + for arg in "$@" 19:18:17 + case $arg in 19:18:17 + pkg_list+='urllib3~=1.26.15 ' 19:18:17 + [[ -f /tmp/.toxenv ]] 19:18:17 ++ cat /tmp/.toxenv 19:18:17 + lf_venv=/tmp/venv-a3of 19:18:17 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a3of from' file:/tmp/.toxenv 19:18:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a3of from file:/tmp/.toxenv 19:18:17 + /tmp/venv-a3of/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:18 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:18 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:18 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:18 + /tmp/venv-a3of/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:19 + type python3 19:18:19 + true 19:18:19 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-a3of/bin to PATH' 19:18:19 lf-activate-venv(): INFO: Adding /tmp/venv-a3of/bin to PATH 19:18:19 + PATH=/tmp/venv-a3of/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:19 + return 0 19:18:19 + [[ -d /opt/pyenv ]] 19:18:19 + echo '---> Setting up pyenv' 19:18:19 ---> Setting up pyenv 19:18:19 + export PYENV_ROOT=/opt/pyenv 19:18:19 + PYENV_ROOT=/opt/pyenv 19:18:19 + export PATH=/opt/pyenv/bin:/tmp/venv-a3of/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:19 + PATH=/opt/pyenv/bin:/tmp/venv-a3of/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:19 ++ pwd 19:18:19 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 19:18:19 + export PYTHONPATH 19:18:19 + export TOX_TESTENV_PASSENV=PYTHONPATH 19:18:19 + TOX_TESTENV_PASSENV=PYTHONPATH 19:18:19 + tox --version 19:18:19 4.16.0 from /tmp/venv-a3of/lib/python3.10/site-packages/tox/__init__.py 19:18:19 + PARALLEL=False 19:18:19 + TOX_OPTIONS_LIST= 19:18:19 + [[ -n '' ]] 19:18:19 + case ${PARALLEL,,} in 19:18:19 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 19:18:19 + tox 19:18:20 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 19:18:28 code: freeze> python -m pip freeze --all 19:18:28 code: attrs==23.2.0,certifi==2024.7.4,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.6.0,exceptiongroup==1.2.2,Flask==2.2.5,idna==3.7,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.2.0,Jinja2==3.1.4,jsonschema==4.23.0,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.5,packaging==24.1,pip==24.1,pluggy==1.5.0,pytest==8.3.2,pytest-cov==5.0.0,PyYAML==6.0.1,referencing==0.35.1,requests==2.32.3,rpds-py==0.19.1,setuptools==70.1.0,tomli==2.0.1,urllib3==2.2.2,Werkzeug==2.2.3,wheel==0.43.0 19:18:28 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:28 ============================= test session starts ============================== 19:18:28 platform linux -- Python 3.10.6, pytest-8.3.2, pluggy-1.5.0 19:18:28 cachedir: .tox/code/.pytest_cache 19:18:28 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:28 plugins: cov-5.0.0 19:18:28 collected 4 items 19:18:28 19:18:29 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:29 -------------------------------- live log setup -------------------------------- 19:18:29 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:29 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:29 or provide the path to your local installation by passing swagger_path= 19:18:29 19:18:29 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:29 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:29 or provide the path to your local installation by passing swagger_path= 19:18:29 19:18:29 PASSED [ 25%] 19:18:29 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 19:18:39 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 19:18:39 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 19:18:39 -------------------------------- live log call --------------------------------- 19:18:39 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:39 * Running on http://127.0.0.1:8086 19:18:39 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:18:49 INFO werkzeug:_internal.py:224 127.0.0.1 - - [31/Jul/2024 19:18:49] "POST /statustest HTTP/1.1" 201 - 19:18:49 PASSED [100%] 19:18:50 19:18:50 =============================== warnings summary =============================== 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:50 /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:50 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:50 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:50 /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:50 from jsonschema import Draft4Validator, RefResolver 19:18:50 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:50 /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:50 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:50 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:50 /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:50 app.json_encoder = FlaskJSONEncoder 19:18:50 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:50 /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:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:50 19:18:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:50 /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:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:50 19:18:50 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:50 19:18:50 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:50 Name Stmts Miss Cover Missing 19:18:50 --------------------------------------------------------------------------------------------------------- 19:18:50 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:50 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:50 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:50 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:50 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:50 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:50 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:50 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:50 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:50 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:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:50 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:50 --------------------------------------------------------------------------------------------------------- 19:18:50 TOTAL 973 113 88% 19:18:50 Coverage HTML written to dir htmlcov 19:18:50 Coverage XML written to file coverage.xml 19:18:50 19:18:50 Required test coverage of 70% reached. Total coverage: 88.39% 19:18:50 ======================= 4 passed, 118 warnings in 21.50s ======================= 19:18:50 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:50 ============================= test session starts ============================== 19:18:50 platform linux -- Python 3.10.6, pytest-8.3.2, pluggy-1.5.0 19:18:50 cachedir: .tox/code/.pytest_cache 19:18:50 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:50 plugins: cov-5.0.0 19:18:50 collected 1 item 19:18:50 19:18:50 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:51 -------------------------------- live log setup -------------------------------- 19:18:51 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:51 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:51 or provide the path to your local installation by passing swagger_path= 19:18:51 19:18:51 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:51 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:51 or provide the path to your local installation by passing swagger_path= 19:18:51 19:19:01 PASSED [100%] 19:19:01 19:19:01 =============================== warnings summary =============================== 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 /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:01 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 /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:01 from jsonschema import Draft4Validator, RefResolver 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 /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:01 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 /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:01 app.json_encoder = FlaskJSONEncoder 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 /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:01 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:19:01 /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:01 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:19:01 /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:01 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 /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:01 warnings.warn( 19:19:01 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:19:01 /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:01 return json.dumps(obj, **kwargs) 19:19:01 19:19:01 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:01 19:19:01 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:01 Name Stmts Miss Cover Missing 19:19:01 --------------------------------------------------------------------------------------------------------- 19:19:01 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:01 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:01 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:01 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:01 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:01 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:01 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:01 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:01 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:01 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:01 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:01 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:01 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:01 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:01 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:01 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:01 --------------------------------------------------------------------------------------------------------- 19:19:01 TOTAL 1440 152 89% 19:19:01 Coverage HTML written to dir htmlcov 19:19:01 Coverage XML written to file coverage.xml 19:19:01 19:19:01 Required test coverage of 70% reached. Total coverage: 89.44% 19:19:01 ======================= 1 passed, 65 warnings in 11.30s ======================== 19:19:02 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:02 ============================= test session starts ============================== 19:19:02 platform linux -- Python 3.10.6, pytest-8.3.2, pluggy-1.5.0 19:19:02 cachedir: .tox/code/.pytest_cache 19:19:02 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:19:02 plugins: cov-5.0.0 19:19:02 collected 4 items 19:19:02 19:19:02 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:02 -------------------------------- live log setup -------------------------------- 19:19:02 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:02 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:02 or provide the path to your local installation by passing swagger_path= 19:19:02 19:19:02 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:02 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:02 or provide the path to your local installation by passing swagger_path= 19:19:02 19:19:02 PASSED [ 25%] 19:19:03 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 19:19:13 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 19:19:13 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 19:19:13 -------------------------------- live log call --------------------------------- 19:19:13 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:13 * Running on http://127.0.0.1:8086 19:19:13 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:19:23 INFO werkzeug:_internal.py:224 127.0.0.1 - - [31/Jul/2024 19:19:23] "POST /statustest HTTP/1.1" 200 - 19:19:23 PASSED [100%] 19:19:24 19:19:24 =============================== warnings summary =============================== 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:24 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 19:19:24 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:24 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:24 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 19:19:24 from jsonschema import Draft4Validator, RefResolver 19:19:24 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:24 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 19:19:24 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:24 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:24 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 19:19:24 app.json_encoder = FlaskJSONEncoder 19:19:24 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:24 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. 19:19:24 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:24 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:24 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 19:19:24 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:24 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:24 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 19:19:24 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:24 19:19:24 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:24 19:19:24 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:24 Name Stmts Miss Cover Missing 19:19:24 --------------------------------------------------------------------------------------------------------- 19:19:24 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:24 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 19:19:24 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 19:19:24 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:24 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:24 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:24 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 19:19:24 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 19:19:24 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:24 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:24 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:24 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 19:19:24 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 19:19:24 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 19:19:24 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:24 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:24 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:24 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 19:19:24 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:24 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:24 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 19:19:24 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:24 --------------------------------------------------------------------------------------------------------- 19:19:24 TOTAL 2219 282 87% 19:19:24 Coverage HTML written to dir htmlcov 19:19:24 Coverage XML written to file coverage.xml 19:19:24 19:19:24 Required test coverage of 70% reached. Total coverage: 87.29% 19:19:24 ======================= 4 passed, 65 warnings in 21.77s ======================== 19:19:24 code: commands[3]> coverage xml -i 19:19:24 Wrote XML report to coverage.xml 19:19:24 code: OK ✔ in 1 minute 4.61 seconds 19:19:24 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:05 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.4.0,certifi==2024.7.4,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.1,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.15.4,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.1,nwdiag==3.0.0,packaging==24.1,pbr==6.0.0,pillow==10.4.0,pip==24.1,platformdirs==4.2.2,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.2,pyproject-api==1.7.1,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==70.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.2.0,tomli==2.0.1,tox==4.16.0,urllib3==1.26.19,virtualenv==20.26.3,webcolors==24.6.0,wheel==0.43.0 19:20:05 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:05 Running Sphinx v5.3.0 19:20:05 making output directory... done 19:20:05 building [mo]: targets for 0 po files that are out of date 19:20:05 building [html]: targets for 6 source files that are out of date 19:20:05 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:05 reading sources... [ 16%] callout-server 19:20:05 reading sources... [ 33%] index 19:20:05 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:06 writing output... [ 33%] index 19:20:06 writing output... [ 50%] kafka-message-dispatcher 19:20:06 writing output... [ 66%] overview 19:20:06 writing output... [ 83%] release-notes 19:20:06 writing output... [100%] simulator-api 19:20:06 19:20:06 generating indices... genindex done 19:20:06 writing additional pages... search done 19:20:06 copying images... [100%] images/yaml_logo.png 19:20:06 19:20:06 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 19:20:06 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 19:20:06 19:20:06 copying static files... done 19:20:06 copying extra files... done 19:20:06 dumping search index in English (code: en)... done 19:20:06 dumping object inventory... done 19:20:06 build succeeded. 19:20:06 19:20:06 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 42.54 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:30 docs-linkcheck: freeze> python -m pip freeze --all 19:20:31 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,cachetools==5.4.0,certifi==2024.7.4,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.1,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.15.4,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.1,nwdiag==3.0.0,packaging==24.1,pbr==6.0.0,pillow==10.4.0,pip==24.1,platformdirs==4.2.2,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.2,pyproject-api==1.7.1,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==70.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.2.0,tomli==2.0.1,tox==4.16.0,urllib3==1.26.19,virtualenv==20.26.3,webcolors==24.6.0,wheel==0.43.0 19:20:31 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:31 Running Sphinx v5.3.0 19:20:31 making output directory... done 19:20:31 building [mo]: targets for 0 po files that are out of date 19:20:31 building [linkcheck]: targets for 6 source files that are out of date 19:20:31 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:31 reading sources... [ 16%] callout-server 19:20:31 reading sources... [ 33%] index 19:20:31 reading sources... [ 50%] kafka-message-dispatcher 19:20:31 reading sources... [ 66%] overview 19:20:31 reading sources... [ 83%] release-notes 19:20:32 reading sources... [100%] simulator-api 19:20:32 19:20:32 looking for now-outdated files... none found 19:20:32 pickling environment... done 19:20:32 checking consistency... done 19:20:32 preparing documents... done 19:20:32 writing output... [ 16%] callout-server 19:20:32 writing output... [ 33%] index 19:20:32 writing output... [ 50%] kafka-message-dispatcher 19:20:32 writing output... [ 66%] overview 19:20:32 writing output... [ 83%] release-notes 19:20:32 writing output... [100%] simulator-api 19:20:32 19:20:32 19:20:32 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 19:20:32 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 19:20:32 ( 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:32 ( 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:32 ( 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:32 build succeeded. 19:20:32 19:20:32 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 19:20:32 code: OK (64.60=setup[8.56]+cmd[21.91,11.64,22.11,0.39] seconds) 19:20:32 docs: OK (42.54=setup[40.82]+cmd[1.71,0.00] seconds) 19:20:32 docs-linkcheck: OK (25.31=setup[24.18]+cmd[1.13] seconds) 19:20:32 congratulations :) (132.62 seconds) 19:20:32 + tox_status=0 19:20:32 + echo '---> Completed tox runs' 19:20:32 ---> Completed tox runs 19:20:32 + for i in .tox/*/log 19:20:32 ++ echo .tox/code/log 19:20:32 ++ awk -F/ '{print $2}' 19:20:32 + tox_env=code 19:20:32 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 19:20:32 + for i in .tox/*/log 19:20:32 ++ echo .tox/docs-linkcheck/log 19:20:32 ++ awk -F/ '{print $2}' 19:20:32 + tox_env=docs-linkcheck 19:20:32 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 19:20:32 + for i in .tox/*/log 19:20:32 ++ echo .tox/docs/log 19:20:32 ++ awk -F/ '{print $2}' 19:20:32 + tox_env=docs 19:20:32 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 19:20:32 + DOC_DIR=docs/_build/html 19:20:32 + [[ -d docs/_build/html ]] 19:20:32 + echo '---> Archiving generated docs' 19:20:32 ---> Archiving generated docs 19:20:32 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:20:32 + echo '---> tox-run.sh ends' 19:20:32 ---> tox-run.sh ends 19:20:32 + test 0 -eq 0 19:20:32 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-1284 19:20:33 [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:34 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:34 INFO: Project root configuration file: NONE 19:20:34 INFO: SonarScanner 4.6.2.2472 19:20:34 INFO: Java 17.0.9 Private Build (64-bit) 19:20:34 INFO: Linux 5.4.0-169-generic amd64 19:20:34 INFO: User cache: /home/jenkins/.sonar/cache 19:20:36 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:36 INFO: Project root configuration file: NONE 19:20:36 INFO: Analyzing on SonarCloud 19:20:36 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 19:20:37 INFO: Load global settings 19:20:37 INFO: Load global settings (done) | time=301ms 19:20:37 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=217ms 19:20:37 INFO: Load/download plugins 19:20:38 INFO: Load/download plugins (done) | time=906ms 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:40 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=486ms 19:20:40 INFO: Process project properties 19:20:40 INFO: Project key: o-ran-sc_sim-a1-interface 19:20:40 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 19:20:40 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 19:20:40 INFO: Load project branches 19:20:40 INFO: Load project branches (done) | time=499ms 19:20:40 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 19:20:41 INFO: Detected project binding: NOT_BOUND 19:20:41 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=473ms 19:20:41 INFO: Load project pull requests 19:20:41 INFO: Load project pull requests (done) | time=176ms 19:20:41 INFO: Load branch configuration 19:20:41 INFO: Load branch configuration (done) | time=2ms 19:20:41 INFO: Load quality profiles 19:20:41 INFO: Load quality profiles (done) | time=567ms 19:20:41 INFO: Load active rules 19:20:51 INFO: Load active rules (done) | time=9643ms 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:52 INFO: 4 languages detected in 112 preprocessed files 19:20:52 INFO: 0 files ignored because of inclusion/exclusion patterns 19:20:52 INFO: 22 files ignored because of scm ignore settings 19:20:52 INFO: Loading plugins for detected languages 19:20:52 INFO: Load/download plugins 19:20:53 INFO: Load/download plugins (done) | time=1359ms 19:20:53 INFO: Load project repositories 19:20:54 INFO: Load project repositories (done) | time=238ms 19:20:54 INFO: Indexing files... 19:20:54 INFO: Project configuration: 19:20:54 INFO: Excluded sources: **/build-wrapper-dump.json 19:20:54 INFO: 112 files indexed 19:20:54 INFO: Quality profile for docker: Sonar way 19:20:54 INFO: Quality profile for json: SonarQube Way 19:20:54 INFO: Quality profile for py: Sonar way 19:20:54 INFO: Quality profile for yaml: Sonar way 19:20:54 INFO: ------------- Run sensors on module sim-a1-interface 19:20:54 INFO: Load metrics repository 19:20:54 INFO: Load metrics repository (done) | time=167ms 19:20:54 INFO: Sensor cache enabled 19:20:54 INFO: Load sensor cache 19:20:57 INFO: Load sensor cache (374 KB) | time=3493ms 19:20:58 INFO: Sensor Python Sensor [python] 19:20:58 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:58 INFO: Starting global symbols computation 19:20:58 INFO: 37 source files to be analyzed 19:21:00 INFO: 37/37 source files have been analyzed 19:21:00 INFO: Starting rules execution 19:21:00 INFO: 37 source files to be analyzed 19:21:04 INFO: 37/37 source files have been analyzed 19:21:04 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:04 INFO: Sensor Python Sensor [python] (done) | time=5857ms 19:21:04 INFO: Sensor Cobertura Sensor for Python coverage [python] 19:21:04 INFO: Python test coverage 19:21:04 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 19:21:04 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=362ms 19:21:04 INFO: Sensor PythonXUnitSensor [python] 19:21:05 INFO: Sensor PythonXUnitSensor [python] (done) | time=201ms 19:21:05 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 19:21:05 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:05 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=12ms 19:21:05 INFO: Sensor JaCoCo XML Report Importer [jacoco] 19:21:05 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:05 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 19:21:05 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms 19:21:05 INFO: Sensor IaC CloudFormation Sensor [iac] 19:21:05 INFO: 0 source files to be analyzed 19:21:05 INFO: 0/0 source files have been analyzed 19:21:05 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=42ms 19:21:05 INFO: Sensor IaC Kubernetes Sensor [iac] 19:21:05 INFO: 0 source files to be parsed 19:21:05 INFO: 0/0 source files have been parsed 19:21:05 INFO: 0 source files to be analyzed 19:21:05 INFO: 0/0 source files have been analyzed 19:21:05 INFO: 0 source files to be checked 19:21:05 INFO: 0/0 source files have been checked 19:21:05 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=61ms 19:21:05 INFO: Sensor IaC AzureResourceManager Sensor [iac] 19:21:05 INFO: 0 source files to be analyzed 19:21:05 INFO: 0/0 source files have been analyzed 19:21:05 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=70ms 19:21:05 INFO: Sensor Java Config Sensor [iac] 19:21:05 INFO: 0 source files to be analyzed 19:21:05 INFO: 0/0 source files have been analyzed 19:21:05 INFO: Sensor Java Config Sensor [iac] (done) | time=6ms 19:21:05 INFO: Sensor JavaScript inside YAML analysis [javascript] 19:21:05 INFO: No input files found for analysis 19:21:05 INFO: Hit the cache for 0 out of 0 19:21:05 INFO: Miss the cache for 0 out of 0 19:21:05 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=37ms 19:21:05 INFO: Sensor CSS Rules [javascript] 19:21:05 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 19:21:05 INFO: Sensor CSS Rules [javascript] (done) | time=1ms 19:21:05 INFO: Sensor IaC Docker Sensor [iac] 19:21:05 INFO: 3 source files to be analyzed 19:21:05 INFO: 3/3 source files have been analyzed 19:21:05 INFO: Sensor IaC Docker Sensor [iac] (done) | time=178ms 19:21:05 INFO: Sensor Serverless configuration file sensor [security] 19:21:05 INFO: 0 Serverless function entries were found in the project 19:21:05 INFO: 0 Serverless function handlers were kept as entrypoints 19:21:05 INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms 19:21:05 INFO: Sensor AWS SAM template file sensor [security] 19:21:05 INFO: Sensor AWS SAM template file sensor [security] (done) | time=11ms 19:21:05 INFO: Sensor AWS SAM Inline template file sensor [security] 19:21:05 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=5ms 19:21:05 INFO: Sensor javabugs [dbd] 19:21:05 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 19:21:05 INFO: No IR files have been included for analysis. 19:21:05 INFO: Sensor javabugs [dbd] (done) | time=1ms 19:21:05 INFO: Sensor pythonbugs [dbd] 19:21:05 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 19:21:05 INFO: Analyzing 100 functions to detect bugs. 19:21:06 INFO: Sensor pythonbugs [dbd] (done) | time=524ms 19:21:06 INFO: Sensor TextAndSecretsSensor [text] 19:21:06 INFO: Available processors: 2 19:21:06 INFO: Using 2 threads for analysis. 19:21:06 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:06 * The filename starts with "test" 19:21:06 * The filename contains "test." or "tests." 19:21:06 * Any directory in the file path is named: "doc", "docs", "test" or "tests" 19:21:06 * Any directory in the file path has a name ending in "test" or "tests" 19:21:06 19:21:06 INFO: Using git CLI to retrieve untracked files 19:21:06 INFO: Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git 19:21:06 INFO: 92 source files to be analyzed 19:21:06 INFO: 92/92 source files have been analyzed 19:21:06 INFO: Sensor TextAndSecretsSensor [text] (done) | time=933ms 19:21:06 INFO: Sensor JavaSecuritySensor [security] 19:21:06 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 19:21:06 INFO: Load type hierarchy and UCFGs: Starting 19:21:06 INFO: Load type hierarchy: Starting 19:21:06 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 19:21:06 INFO: Read 0 type definitions 19:21:06 INFO: Load type hierarchy: Time spent was 00:00:00.002 19:21:06 INFO: Load UCFGs: Starting 19:21:06 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:06 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 19:21:06 INFO: No UCFGs have been included for analysis. 19:21:06 INFO: java security sensor: Time spent was 00:00:00.047 19:21:06 INFO: java security sensor: Begin: 2024-07-31T19:21:06.941588774Z, End: 2024-07-31T19:21:06.989186982Z, Duration: 00:00:00.047 19:21:06 Load type hierarchy and UCFGs: Begin: 2024-07-31T19:21:06.943577940Z, End: 2024-07-31T19:21:06.946303337Z, Duration: 00:00:00.002 19:21:06 Load type hierarchy: Begin: 2024-07-31T19:21:06.943690480Z, End: 2024-07-31T19:21:06.945691526Z, Duration: 00:00:00.002 19:21:06 Load UCFGs: Begin: 2024-07-31T19:21:06.946044117Z, End: 2024-07-31T19:21:06.946133427Z, Duration: 00:00:00.000 19:21:06 INFO: java security sensor peak memory: 189 MB 19:21:06 INFO: Sensor JavaSecuritySensor [security] (done) | time=53ms 19:21:06 INFO: Sensor CSharpSecuritySensor [security] 19:21:06 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:07 INFO: Load type hierarchy and UCFGs: Starting 19:21:07 INFO: Load type hierarchy: Starting 19:21:07 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 19:21:07 INFO: Read 0 type definitions 19:21:07 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:07 INFO: Load UCFGs: Starting 19:21:07 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:07 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:21:07 INFO: No UCFGs have been included for analysis. 19:21:07 INFO: csharp security sensor: Time spent was 00:00:00.001 19:21:07 INFO: csharp security sensor: Begin: 2024-07-31T19:21:06.995444941Z, End: 2024-07-31T19:21:06.996893495Z, Duration: 00:00:00.001 19:21:07 Load type hierarchy and UCFGs: Begin: 2024-07-31T19:21:06.995720882Z, End: 2024-07-31T19:21:06.996323303Z, Duration: 00:00:00.000 19:21:07 Load type hierarchy: Begin: 2024-07-31T19:21:06.995773832Z, End: 2024-07-31T19:21:06.996062433Z, Duration: 00:00:00.000 19:21:07 Load UCFGs: Begin: 2024-07-31T19:21:06.996162113Z, End: 2024-07-31T19:21:06.996232163Z, Duration: 00:00:00.000 19:21:07 INFO: csharp security sensor peak memory: 189 MB 19:21:07 INFO: Sensor CSharpSecuritySensor [security] (done) | time=3ms 19:21:07 INFO: Sensor PhpSecuritySensor [security] 19:21:07 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 19:21:07 INFO: Load type hierarchy and UCFGs: Starting 19:21:07 INFO: Load type hierarchy: Starting 19:21:07 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 19:21:07 INFO: Read 0 type definitions 19:21:07 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:07 INFO: Load UCFGs: Starting 19:21:07 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:07 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 19:21:07 INFO: No UCFGs have been included for analysis. 19:21:07 INFO: php security sensor: Time spent was 00:00:00.004 19:21:07 INFO: php security sensor: Begin: 2024-07-31T19:21:06.998978651Z, End: 2024-07-31T19:21:07.003919586Z, Duration: 00:00:00.004 19:21:07 Load type hierarchy and UCFGs: Begin: 2024-07-31T19:21:06.999280682Z, End: 2024-07-31T19:21:07.000698776Z, Duration: 00:00:00.001 19:21:07 Load type hierarchy: Begin: 2024-07-31T19:21:06.999404992Z, End: 2024-07-31T19:21:06.999697633Z, Duration: 00:00:00.000 19:21:07 Load UCFGs: Begin: 2024-07-31T19:21:07.000391615Z, End: 2024-07-31T19:21:07.000504146Z, Duration: 00:00:00.000 19:21:07 INFO: php security sensor peak memory: 189 MB 19:21:07 INFO: Sensor PhpSecuritySensor [security] (done) | time=7ms 19:21:07 INFO: Sensor PythonSecuritySensor [security] 19:21:07 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:07 INFO: Load type hierarchy and UCFGs: Starting 19:21:07 INFO: Load type hierarchy: Starting 19:21:07 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:21:07 INFO: Read 451 type definitions 19:21:07 INFO: Load type hierarchy: Time spent was 00:00:00.090 19:21:07 INFO: Load UCFGs: Starting 19:21:07 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:21:07 INFO: Load UCFGs: Time spent was 00:00:00.441 19:21:07 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.533 19:21:07 INFO: Analyzing 2437 UCFGs to detect vulnerabilities. 19:21:07 INFO: Check cache: Starting 19:21:07 INFO: Load cache: Starting 19:21:07 INFO: Load cache: Time spent was 00:00:00.000 19:21:07 INFO: Check cache: Time spent was 00:00:00.000 19:21:07 INFO: Create runtime call graph: Starting 19:21:07 INFO: Variable Type Analysis #1: Starting 19:21:07 INFO: Create runtime type propagation graph: Starting 19:21:07 INFO: Create runtime type propagation graph: Time spent was 00:00:00.040 19:21:07 INFO: Run SCC (Tarjan) on 7177 nodes: Starting 19:21:07 INFO: Run SCC (Tarjan) on 7177 nodes: Time spent was 00:00:00.010 19:21:07 INFO: Tarjan found 7177 strongly connected components 19:21:07 INFO: Propagate runtime types to strongly connected components: Starting 19:21:07 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.028 19:21:07 INFO: Variable Type Analysis #1: Time spent was 00:00:00.080 19:21:07 INFO: Variable Type Analysis #2: Starting 19:21:07 INFO: Create runtime type propagation graph: Starting 19:21:07 INFO: Create runtime type propagation graph: Time spent was 00:00:00.026 19:21:07 INFO: Run SCC (Tarjan) on 7102 nodes: Starting 19:21:07 INFO: Run SCC (Tarjan) on 7102 nodes: Time spent was 00:00:00.005 19:21:07 INFO: Tarjan found 7102 strongly connected components 19:21:07 INFO: Propagate runtime types to strongly connected components: Starting 19:21:07 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.017 19:21:07 INFO: Variable Type Analysis #2: Time spent was 00:00:00.049 19:21:07 INFO: Create runtime call graph: Time spent was 00:00:00.134 19:21:07 INFO: Load config: Starting 19:21:07 INFO: Load config: Time spent was 00:00:00.218 19:21:07 INFO: Compute entry points: Starting 19:21:08 INFO: Compute entry points: Time spent was 00:00:00.171 19:21:08 INFO: All rules entry points : 5 19:21:08 INFO: Slice call graph: Starting 19:21:08 INFO: Retained UCFGs : 33 19:21:08 INFO: Slice call graph: Time spent was 00:00:00.000 19:21:08 INFO: Live variable analysis: Starting 19:21:08 INFO: Live variable analysis: Time spent was 00:00:00.008 19:21:08 INFO: Taint analysis for python: Starting 19:21:08 INFO: 0 / 33 UCFGs simulated, memory usage: 141 MB 19:21:08 INFO: 24 / 33 UCFGs simulated, memory usage: 76 MB 19:21:08 INFO: Taint analysis for python: Time spent was 00:00:00.214 19:21:08 INFO: Report issues: Starting 19:21:08 INFO: Report issues: Time spent was 00:00:00.002 19:21:08 INFO: Store cache: Starting 19:21:08 INFO: Store cache: Time spent was 00:00:00.008 19:21:08 INFO: python security sensor: Time spent was 00:00:01.308 19:21:08 INFO: python security sensor: Begin: 2024-07-31T19:21:07.005563442Z, End: 2024-07-31T19:21:08.313831038Z, Duration: 00:00:01.308 19:21:08 Load type hierarchy and UCFGs: Begin: 2024-07-31T19:21:07.005763373Z, End: 2024-07-31T19:21:07.539100096Z, Duration: 00:00:00.533 19:21:08 Load type hierarchy: Begin: 2024-07-31T19:21:07.005831143Z, End: 2024-07-31T19:21:07.096718970Z, Duration: 00:00:00.090 19:21:08 Load UCFGs: Begin: 2024-07-31T19:21:07.096853031Z, End: 2024-07-31T19:21:07.538169612Z, Duration: 00:00:00.441 19:21:08 Check cache: Begin: 2024-07-31T19:21:07.539288056Z, End: 2024-07-31T19:21:07.539764458Z, Duration: 00:00:00.000 19:21:08 Load cache: Begin: 2024-07-31T19:21:07.539380547Z, End: 2024-07-31T19:21:07.539469307Z, Duration: 00:00:00.000 19:21:08 Create runtime call graph: Begin: 2024-07-31T19:21:07.539889458Z, End: 2024-07-31T19:21:07.674852940Z, Duration: 00:00:00.134 19:21:08 Variable Type Analysis #1: Begin: 2024-07-31T19:21:07.540583311Z, End: 2024-07-31T19:21:07.621086882Z, Duration: 00:00:00.080 19:21:08 Create runtime type propagation graph: Begin: 2024-07-31T19:21:07.541514104Z, End: 2024-07-31T19:21:07.581644054Z, Duration: 00:00:00.040 19:21:08 Run SCC (Tarjan) on 7177 nodes: Begin: 2024-07-31T19:21:07.582200756Z, End: 2024-07-31T19:21:07.592666553Z, Duration: 00:00:00.010 19:21:08 Propagate runtime types to strongly connected components: Begin: 2024-07-31T19:21:07.592871104Z, End: 2024-07-31T19:21:07.620873921Z, Duration: 00:00:00.028 19:21:08 Variable Type Analysis #2: Begin: 2024-07-31T19:21:07.623070999Z, End: 2024-07-31T19:21:07.672353351Z, Duration: 00:00:00.049 19:21:08 Create runtime type propagation graph: Begin: 2024-07-31T19:21:07.623138549Z, End: 2024-07-31T19:21:07.649185900Z, Duration: 00:00:00.026 19:21:08 Run SCC (Tarjan) on 7102 nodes: Begin: 2024-07-31T19:21:07.649384511Z, End: 2024-07-31T19:21:07.654946710Z, Duration: 00:00:00.005 19:21:08 Propagate runtime types to strongly connected components: Begin: 2024-07-31T19:21:07.655080881Z, End: 2024-07-31T19:21:07.672235521Z, Duration: 00:00:00.017 19:21:08 Load config: Begin: 2024-07-31T19:21:07.674956570Z, End: 2024-07-31T19:21:07.893247973Z, Duration: 00:00:00.218 19:21:08 Compute entry points: Begin: 2024-07-31T19:21:07.905479105Z, End: 2024-07-31T19:21:08.076531885Z, Duration: 00:00:00.171 19:21:08 Slice call graph: Begin: 2024-07-31T19:21:08.076721885Z, End: 2024-07-31T19:21:08.077703639Z, Duration: 00:00:00.000 19:21:08 Live variable analysis: Begin: 2024-07-31T19:21:08.077794560Z, End: 2024-07-31T19:21:08.086693616Z, Duration: 00:00:00.008 19:21:08 Taint analysis for python: Begin: 2024-07-31T19:21:08.086892727Z, End: 2024-07-31T19:21:08.301809929Z, Duration: 00:00:00.214 19:21:08 Report issues: Begin: 2024-07-31T19:21:08.301906349Z, End: 2024-07-31T19:21:08.304470250Z, Duration: 00:00:00.002 19:21:08 Store cache: Begin: 2024-07-31T19:21:08.304531430Z, End: 2024-07-31T19:21:08.312934174Z, Duration: 00:00:00.008 19:21:08 INFO: python security sensor peak memory: 189 MB 19:21:08 INFO: Sensor PythonSecuritySensor [security] (done) | time=1310ms 19:21:08 INFO: Sensor JsSecuritySensor [security] 19:21:08 INFO: Enabled taint analysis rules: S2631, S5883, S2083, S2076, S5696, S5147, S6350, S5146, S5131, S6287, S5334, S6105, S5144, S3649, S6096 19:21:08 INFO: Load type hierarchy and UCFGs: Starting 19:21:08 INFO: Load type hierarchy: Starting 19:21:08 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 19:21:08 INFO: Read 0 type definitions 19:21:08 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:08 INFO: Load UCFGs: Starting 19:21:08 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:08 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:21:08 INFO: No UCFGs have been included for analysis. 19:21:08 INFO: js security sensor: Time spent was 00:00:00.002 19:21:08 INFO: js security sensor: Begin: 2024-07-31T19:21:08.317563233Z, End: 2024-07-31T19:21:08.320423474Z, Duration: 00:00:00.002 19:21:08 Load type hierarchy and UCFGs: Begin: 2024-07-31T19:21:08.317747804Z, End: 2024-07-31T19:21:08.318228266Z, Duration: 00:00:00.000 19:21:08 Load type hierarchy: Begin: 2024-07-31T19:21:08.317803954Z, End: 2024-07-31T19:21:08.318074765Z, Duration: 00:00:00.000 19:21:08 Load UCFGs: Begin: 2024-07-31T19:21:08.318132915Z, End: 2024-07-31T19:21:08.318185615Z, Duration: 00:00:00.000 19:21:08 INFO: js security sensor peak memory: 189 MB 19:21:08 INFO: Sensor JsSecuritySensor [security] (done) | time=4ms 19:21:08 INFO: ------------- Run sensors on project 19:21:08 INFO: Sensor Zero Coverage Sensor 19:21:08 INFO: Sensor Zero Coverage Sensor (done) | time=9ms 19:21:08 INFO: SCM Publisher SCM provider for this project is: git 19:21:08 INFO: SCM Publisher 5 source files to be analyzed 19:21:08 INFO: SCM Publisher 5/5 source files have been analyzed (done) | time=215ms 19:21:08 INFO: CPD Executor 5 files had no CPD blocks 19:21:08 INFO: CPD Executor Calculating CPD for 32 files 19:21:08 INFO: CPD Executor CPD calculation finished (done) | time=41ms 19:21:09 INFO: Analysis report generated in 571ms, dir size=685 KB 19:21:09 INFO: Analysis report compressed in 315ms, zip size=244 KB 19:21:10 INFO: Analysis report uploaded in 772ms 19:21:10 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 19:21:10 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 19:21:10 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AZEKPTi9_Z1cd4hyjR_n 19:21:12 INFO: Sensor cache published successfully 19:21:12 INFO: Analysis total time: 32.668 s 19:21:12 INFO: ------------------------------------------------------------------------ 19:21:12 INFO: EXECUTION SUCCESS 19:21:12 INFO: ------------------------------------------------------------------------ 19:21:12 INFO: Total time: 38.055s 19:21:12 INFO: Final Memory: 49M/170M 19:21:12 INFO: ------------------------------------------------------------------------ 19:21:13 $ ssh-agent -k 19:21:13 unset SSH_AUTH_SOCK; 19:21:13 unset SSH_AGENT_PID; 19:21:13 echo Agent pid 6446 killed; 19:21:13 [ssh-agent] Stopped. 19:21:13 [PostBuildScript] - [INFO] Executing post build scripts. 19:21:13 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5409411080264193498.sh 19:21:13 ---> sysstat.sh 19:21:14 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13367581509663581164.sh 19:21:14 ---> package-listing.sh 19:21:14 ++ tr '[:upper:]' '[:lower:]' 19:21:14 ++ facter osfamily 19:21:14 + OS_FAMILY=debian 19:21:14 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 19:21:14 + START_PACKAGES=/tmp/packages_start.txt 19:21:14 + END_PACKAGES=/tmp/packages_end.txt 19:21:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:14 + PACKAGES=/tmp/packages_start.txt 19:21:14 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:14 + PACKAGES=/tmp/packages_end.txt 19:21:14 + case "${OS_FAMILY}" in 19:21:14 + dpkg -l 19:21:14 + grep '^ii' 19:21:14 + '[' -f /tmp/packages_start.txt ']' 19:21:14 + '[' -f /tmp/packages_end.txt ']' 19:21:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:14 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:14 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:14 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10846087741915516895.sh 19:21:14 ---> capture-instance-metadata.sh 19:21:14 Setup pyenv: 19:21:14 system 19:21:14 3.8.13 19:21:14 3.9.13 19:21:14 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:14 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ga6P from file:/tmp/.os_lf_venv 19:21:16 lf-activate-venv(): INFO: Installing: lftools 19:21:25 lf-activate-venv(): INFO: Adding /tmp/venv-ga6P/bin to PATH 19:21:25 INFO: Running in OpenStack, capturing instance metadata 19:21:26 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11653449430687899610.sh 19:21:26 provisioning config files... 19:21:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config10671848654497986575tmp 19:21:26 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 19:21:26 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 19:21:26 [EnvInject] - Injecting environment variables from a build step. 19:21:26 [EnvInject] - Injecting as environment variables the properties content 19:21:26 SERVER_ID=logs 19:21:26 19:21:26 [EnvInject] - Variables injected successfully. 19:21:26 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7418484281826796658.sh 19:21:26 ---> create-netrc.sh 19:21:26 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14474026820781770252.sh 19:21:26 ---> python-tools-install.sh 19:21:26 Setup pyenv: 19:21:26 system 19:21:26 3.8.13 19:21:26 3.9.13 19:21:26 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ga6P from file:/tmp/.os_lf_venv 19:21:27 lf-activate-venv(): INFO: Installing: lftools 19:21:36 lf-activate-venv(): INFO: Adding /tmp/venv-ga6P/bin to PATH 19:21:36 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16907507232718218215.sh 19:21:36 ---> sudo-logs.sh 19:21:36 Archiving 'sudo' log.. 19:21:36 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13384963089168619969.sh 19:21:36 ---> job-cost.sh 19:21:36 Setup pyenv: 19:21:36 system 19:21:36 3.8.13 19:21:36 3.9.13 19:21:36 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ga6P from file:/tmp/.os_lf_venv 19:21:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 19:21:41 lf-activate-venv(): INFO: Adding /tmp/venv-ga6P/bin to PATH 19:21:41 INFO: No Stack... 19:21:42 INFO: Retrieving Pricing Info for: v2-highcpu-2 19:21:42 INFO: Archiving Costs 19:21:42 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13759291241882197118.sh 19:21:42 ---> logs-deploy.sh 19:21:42 Setup pyenv: 19:21:42 system 19:21:42 3.8.13 19:21:42 3.9.13 19:21:42 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ga6P from file:/tmp/.os_lf_venv 19:21:43 lf-activate-venv(): INFO: Installing: lftools 19:21:53 lf-activate-venv(): INFO: Adding /tmp/venv-ga6P/bin to PATH 19:21:53 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/263 19:21:53 INFO: archiving workspace using pattern(s): -p **/*.log 19:21:59 Archives upload complete. 19:21:59 INFO: archiving logs to Nexus 19:22:00 ---> uname -a: 19:22:00 Linux prd-ubuntu2004-builder-2c-2g-1284 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:22:00 19:22:00 19:22:00 ---> lscpu: 19:22:00 Architecture: x86_64 19:22:00 CPU op-mode(s): 32-bit, 64-bit 19:22:00 Byte Order: Little Endian 19:22:00 Address sizes: 40 bits physical, 48 bits virtual 19:22:00 CPU(s): 2 19:22:00 On-line CPU(s) list: 0,1 19:22:00 Thread(s) per core: 1 19:22:00 Core(s) per socket: 1 19:22:00 Socket(s): 2 19:22:00 NUMA node(s): 1 19:22:00 Vendor ID: AuthenticAMD 19:22:00 CPU family: 23 19:22:00 Model: 49 19:22:00 Model name: AMD EPYC-Rome Processor 19:22:00 Stepping: 0 19:22:00 CPU MHz: 2800.000 19:22:00 BogoMIPS: 5600.00 19:22:00 Virtualization: AMD-V 19:22:00 Hypervisor vendor: KVM 19:22:00 Virtualization type: full 19:22:00 L1d cache: 64 KiB 19:22:00 L1i cache: 64 KiB 19:22:00 L2 cache: 1 MiB 19:22:00 L3 cache: 32 MiB 19:22:00 NUMA node0 CPU(s): 0,1 19:22:00 Vulnerability Gather data sampling: Not affected 19:22:00 Vulnerability Itlb multihit: Not affected 19:22:00 Vulnerability L1tf: Not affected 19:22:00 Vulnerability Mds: Not affected 19:22:00 Vulnerability Meltdown: Not affected 19:22:00 Vulnerability Mmio stale data: Not affected 19:22:00 Vulnerability Retbleed: Vulnerable 19:22:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:22:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:22:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 19:22:00 Vulnerability Srbds: Not affected 19:22:00 Vulnerability Tsx async abort: Not affected 19:22:00 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:22:00 19:22:00 19:22:00 ---> nproc: 19:22:00 2 19:22:00 19:22:00 19:22:00 ---> df -h: 19:22:00 Filesystem Size Used Avail Use% Mounted on 19:22:00 udev 969M 0 969M 0% /dev 19:22:00 tmpfs 198M 1.0M 197M 1% /run 19:22:00 /dev/vda1 20G 8.8G 11G 46% / 19:22:00 tmpfs 986M 0 986M 0% /dev/shm 19:22:00 tmpfs 5.0M 0 5.0M 0% /run/lock 19:22:00 tmpfs 986M 0 986M 0% /sys/fs/cgroup 19:22:00 /dev/loop0 68M 68M 0 100% /snap/lxd/22753 19:22:00 /dev/loop1 62M 62M 0 100% /snap/core20/1405 19:22:00 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 19:22:00 /dev/vda15 105M 6.1M 99M 6% /boot/efi 19:22:00 tmpfs 198M 0 198M 0% /run/user/1001 19:22:00 /dev/loop3 39M 39M 0 100% /snap/snapd/21759 19:22:00 19:22:00 19:22:00 ---> free -m: 19:22:00 total used free shared buff/cache available 19:22:00 Mem: 1971 435 195 2 1340 1342 19:22:00 Swap: 1023 1 1022 19:22:00 19:22:00 19:22:00 ---> ip addr: 19:22:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 19:22:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:22:00 inet 127.0.0.1/8 scope host lo 19:22:00 valid_lft forever preferred_lft forever 19:22:00 inet6 ::1/128 scope host 19:22:00 valid_lft forever preferred_lft forever 19:22:00 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 19:22:00 link/ether fa:16:3e:33:93:f7 brd ff:ff:ff:ff:ff:ff 19:22:00 inet 10.32.7.156/23 brd 10.32.7.255 scope global dynamic ens3 19:22:00 valid_lft 86078sec preferred_lft 86078sec 19:22:00 inet6 fe80::f816:3eff:fe33:93f7/64 scope link 19:22:00 valid_lft forever preferred_lft forever 19:22:00 19:22:00 19:22:00 ---> sar -b -r -n DEV: 19:22:00 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-1284) 07/31/24 _x86_64_ (2 CPU) 19:22:00 19:22:00 19:16:41 LINUX RESTART (2 CPU) 19:22:00 19:22:00 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:22:00 19:18:01 222.01 112.49 109.51 0.00 2902.42 13208.60 0.00 19:22:00 19:19:01 61.39 14.68 46.71 0.00 1466.69 9408.43 0.00 19:22:00 19:20:01 54.57 2.52 52.05 0.00 185.27 21624.66 0.00 19:22:00 19:21:01 103.60 43.14 60.46 0.00 3106.55 29890.08 0.00 19:22:00 Average: 110.40 43.21 67.18 0.00 1915.24 18532.63 0.00 19:22:00 19:22:00 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:22:00 19:18:01 128340 1413408 375916 18.62 56340 1307436 847076 27.62 462476 1235272 80632 19:22:00 19:19:01 96220 1414864 368060 18.23 67300 1316460 892384 29.09 464140 1245860 8692 19:22:00 19:20:01 69168 1357600 422888 20.95 77880 1266756 961536 31.35 475940 1249560 63076 19:22:00 19:21:01 70420 1128672 642908 31.85 87288 1046924 1146228 37.37 633880 1100348 14484 19:22:00 Average: 91037 1328636 452443 22.41 72202 1234394 961806 31.36 509109 1207760 41721 19:22:00 19:22:00 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:22:00 19:18:01 ens3 138.38 112.73 1055.17 34.58 0.00 0.00 0.00 0.00 19:22:00 19:18:01 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 19:22:00 19:19:01 ens3 18.45 17.25 36.99 8.05 0.00 0.00 0.00 0.00 19:22:00 19:19:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 19:22:00 19:20:01 ens3 178.17 150.68 3435.81 12.67 0.00 0.00 0.00 0.00 19:22:00 19:20:01 lo 0.57 0.57 0.05 0.05 0.00 0.00 0.00 0.00 19:22:00 19:21:01 ens3 322.08 198.33 2857.17 18.55 0.00 0.00 0.00 0.00 19:22:00 19:21:01 lo 0.73 0.73 0.08 0.08 0.00 0.00 0.00 0.00 19:22:00 Average: ens3 164.27 119.75 1846.28 18.46 0.00 0.00 0.00 0.00 19:22:00 Average: lo 0.97 0.97 0.09 0.09 0.00 0.00 0.00 0.00 19:22:00 19:22:00 19:22:00 ---> sar -P ALL: 19:22:00 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-1284) 07/31/24 _x86_64_ (2 CPU) 19:22:00 19:22:00 19:16:41 LINUX RESTART (2 CPU) 19:22:00 19:22:00 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:22:00 19:18:01 all 36.90 23.37 16.71 8.39 0.08 14.55 19:22:00 19:18:01 0 31.21 23.59 16.93 6.76 0.08 21.42 19:22:00 19:18:01 1 42.58 23.14 16.49 10.01 0.08 7.69 19:22:00 19:19:01 all 20.66 0.00 2.00 4.21 0.08 73.04 19:22:00 19:19:01 0 11.44 0.00 2.15 4.09 0.10 82.21 19:22:00 19:19:01 1 30.00 0.00 1.85 4.34 0.07 63.74 19:22:00 19:20:01 all 19.97 0.00 2.30 3.26 0.08 74.39 19:22:00 19:20:01 0 5.00 0.00 1.39 0.74 0.08 92.79 19:22:00 19:20:01 1 35.12 0.00 3.22 5.81 0.08 55.77 19:22:00 19:21:01 all 35.20 0.00 3.17 4.46 0.08 57.08 19:22:00 19:21:01 0 16.99 0.00 2.05 3.32 0.08 77.55 19:22:00 19:21:01 1 53.42 0.00 4.29 5.60 0.08 36.61 19:22:00 Average: all 28.14 5.78 6.01 5.07 0.08 54.92 19:22:00 Average: 0 16.07 5.81 5.58 3.72 0.09 68.73 19:22:00 Average: 1 40.27 5.75 6.44 6.43 0.08 41.03 19:22:00 19:22:00 19:22:00