19:16:54 Started by timer 19:16:54 Running as SYSTEM 19:16:54 [EnvInject] - Loading node environment variables. 19:16:54 Building remotely on prd-ubuntu2004-builder-2c-2g-7218 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 19:16:54 [ssh-agent] Looking for ssh-agent implementation... 19:16:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:54 $ ssh-agent 19:16:54 SSH_AUTH_SOCK=/tmp/ssh-Ajs2yaMCv0yl/agent.5773 19:16:54 SSH_AGENT_PID=5775 19:16:54 [ssh-agent] Started. 19:16:54 Running ssh-add (command line suppressed) 19:16:54 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_11544542826639044221.key (jenkins-ssh) 19:16:54 [ssh-agent] Using credentials jenkins (jenkins) 19:16:54 The recommended git tool is: NONE 19:16:56 using credential jenkins 19:16:56 Wiping out workspace first. 19:16:56 Cloning the remote Git repository 19:16:56 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:56 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 19:16:57 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:57 > git --version # timeout=10 19:16:57 > git --version # 'git version 2.25.1' 19:16:57 using GIT_SSH to set credentials jenkins 19:16:57 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:57 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 19:16:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:58 Avoid second fetch 19:16:58 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 19:16:58 Checking out Revision be2fe296264e5f58c44f271af83a875baa747849 (refs/remotes/origin/master) 19:16:58 > git config core.sparsecheckout # timeout=10 19:16:58 > git checkout -f be2fe296264e5f58c44f271af83a875baa747849 # timeout=10 19:16:58 Commit message: "Fix A1 simulator extensions" 19:16:58 > git rev-list --no-walk be2fe296264e5f58c44f271af83a875baa747849 # timeout=10 19:17:01 provisioning config files... 19:17:01 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:17:01 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:17:01 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9689141417394047107.sh 19:17:01 ---> python-tools-install.sh 19:17:01 Setup pyenv: 19:17:01 * system (set by /opt/pyenv/version) 19:17:01 * 3.8.13 (set by /opt/pyenv/version) 19:17:02 * 3.9.13 (set by /opt/pyenv/version) 19:17:02 * 3.10.6 (set by /opt/pyenv/version) 19:17:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CGlR 19:17:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:17:10 lf-activate-venv(): INFO: Installing: lftools 19:17:40 lf-activate-venv(): INFO: Adding /tmp/venv-CGlR/bin to PATH 19:17:40 Generating Requirements File 19:18:00 Python 3.10.6 19:18:00 pip 24.2 from /tmp/venv-CGlR/lib/python3.10/site-packages/pip (python 3.10) 19:18:01 appdirs==1.4.4 19:18:01 argcomplete==3.5.1 19:18:01 aspy.yaml==1.3.0 19:18:01 attrs==24.2.0 19:18:01 autopage==0.5.2 19:18:01 beautifulsoup4==4.12.3 19:18:01 boto3==1.35.36 19:18:01 botocore==1.35.36 19:18:01 bs4==0.0.2 19:18:01 cachetools==5.5.0 19:18:01 certifi==2024.8.30 19:18:01 cffi==1.17.1 19:18:01 cfgv==3.4.0 19:18:01 chardet==5.2.0 19:18:01 charset-normalizer==3.3.2 19:18:01 click==8.1.7 19:18:01 cliff==4.7.0 19:18:01 cmd2==2.4.3 19:18:01 cryptography==3.3.2 19:18:01 debtcollector==3.0.0 19:18:01 decorator==5.1.1 19:18:01 defusedxml==0.7.1 19:18:01 Deprecated==1.2.14 19:18:01 distlib==0.3.9 19:18:01 dnspython==2.7.0 19:18:01 docker==4.2.2 19:18:01 dogpile.cache==1.3.3 19:18:01 durationpy==0.9 19:18:01 email_validator==2.2.0 19:18:01 filelock==3.16.1 19:18:01 future==1.0.0 19:18:01 gitdb==4.0.11 19:18:01 GitPython==3.1.43 19:18:01 google-auth==2.35.0 19:18:01 httplib2==0.22.0 19:18:01 identify==2.6.1 19:18:01 idna==3.10 19:18:01 importlib-resources==1.5.0 19:18:01 iso8601==2.1.0 19:18:01 Jinja2==3.1.4 19:18:01 jmespath==1.0.1 19:18:01 jsonpatch==1.33 19:18:01 jsonpointer==3.0.0 19:18:01 jsonschema==4.23.0 19:18:01 jsonschema-specifications==2024.10.1 19:18:01 keystoneauth1==5.8.0 19:18:01 kubernetes==31.0.0 19:18:01 lftools==0.37.10 19:18:01 lxml==5.3.0 19:18:01 MarkupSafe==3.0.1 19:18:01 msgpack==1.1.0 19:18:01 multi_key_dict==2.0.3 19:18:01 munch==4.0.0 19:18:01 netaddr==1.3.0 19:18:01 netifaces==0.11.0 19:18:01 niet==1.4.2 19:18:01 nodeenv==1.9.1 19:18:01 oauth2client==4.1.3 19:18:01 oauthlib==3.2.2 19:18:01 openstacksdk==4.0.0 19:18:01 os-client-config==2.1.0 19:18:01 os-service-types==1.7.0 19:18:01 osc-lib==3.1.0 19:18:01 oslo.config==9.6.0 19:18:01 oslo.context==5.6.0 19:18:01 oslo.i18n==6.4.0 19:18:01 oslo.log==6.1.2 19:18:01 oslo.serialization==5.5.0 19:18:01 oslo.utils==7.3.0 19:18:01 packaging==24.1 19:18:01 pbr==6.1.0 19:18:01 platformdirs==4.3.6 19:18:01 prettytable==3.11.0 19:18:01 pyasn1==0.6.1 19:18:01 pyasn1_modules==0.4.1 19:18:01 pycparser==2.22 19:18:01 pygerrit2==2.0.15 19:18:01 PyGithub==2.4.0 19:18:01 PyJWT==2.9.0 19:18:01 PyNaCl==1.5.0 19:18:01 pyparsing==2.4.7 19:18:01 pyperclip==1.9.0 19:18:01 pyrsistent==0.20.0 19:18:01 python-cinderclient==9.6.0 19:18:01 python-dateutil==2.9.0.post0 19:18:01 python-heatclient==4.0.0 19:18:01 python-jenkins==1.8.2 19:18:01 python-keystoneclient==5.5.0 19:18:01 python-magnumclient==4.7.0 19:18:01 python-openstackclient==7.1.3 19:18:01 python-swiftclient==4.6.0 19:18:01 PyYAML==6.0.2 19:18:01 referencing==0.35.1 19:18:01 requests==2.32.3 19:18:01 requests-oauthlib==2.0.0 19:18:01 requestsexceptions==1.4.0 19:18:01 rfc3986==2.0.0 19:18:01 rpds-py==0.20.0 19:18:01 rsa==4.9 19:18:01 ruamel.yaml==0.18.6 19:18:01 ruamel.yaml.clib==0.2.8 19:18:01 s3transfer==0.10.3 19:18:01 simplejson==3.19.3 19:18:01 six==1.16.0 19:18:01 smmap==5.0.1 19:18:01 soupsieve==2.6 19:18:01 stevedore==5.3.0 19:18:01 tabulate==0.9.0 19:18:01 toml==0.10.2 19:18:01 tomlkit==0.13.2 19:18:01 tqdm==4.66.5 19:18:01 typing_extensions==4.12.2 19:18:01 tzdata==2024.2 19:18:01 urllib3==1.26.20 19:18:01 virtualenv==20.26.6 19:18:01 wcwidth==0.2.13 19:18:01 websocket-client==1.8.0 19:18:01 wrapt==1.16.0 19:18:01 xdg==6.0.0 19:18:01 xmltodict==0.14.0 19:18:01 yq==3.4.3 19:18:01 [EnvInject] - Injecting environment variables from a build step. 19:18:01 [EnvInject] - Injecting as environment variables the properties content 19:18:01 SET_JDK_VERSION=openjdk17 19:18:01 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 19:18:01 19:18:01 [EnvInject] - Variables injected successfully. 19:18:01 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins6926668336520768338.sh 19:18:01 ---> update-java-alternatives.sh 19:18:01 ---> Updating Java version 19:18:01 ---> Ubuntu/Debian system detected 19:18:01 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 19:18:01 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 19:18:01 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:02 openjdk version "17.0.9" 2023-10-17 19:18:02 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 19:18:02 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 19:18:02 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 19:18:02 [EnvInject] - Injecting environment variables from a build step. 19:18:02 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 19:18:02 [EnvInject] - Variables injected successfully. 19:18:02 [EnvInject] - Injecting environment variables from a build step. 19:18:02 [EnvInject] - Injecting as environment variables the properties content 19:18:02 PYTHON=python3 19:18:02 19:18:02 [EnvInject] - Variables injected successfully. 19:18:02 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins4794859478888499041.sh 19:18:02 ---> tox-install.sh 19:18:02 + source /home/jenkins/lf-env.sh 19:18:02 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:02 ++ mktemp -d /tmp/venv-XXXX 19:18:02 + lf_venv=/tmp/venv-y0II 19:18:02 + local venv_file=/tmp/.os_lf_venv 19:18:02 + local python=python3 19:18:02 + local options 19:18:02 + local set_path=true 19:18:02 + local install_args= 19:18:02 ++ 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:02 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:02 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:02 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:02 + true 19:18:02 + case $1 in 19:18:02 + venv_file=/tmp/.toxenv 19:18:02 + shift 2 19:18:02 + true 19:18:02 + case $1 in 19:18:02 + shift 19:18:02 + break 19:18:02 + case $python in 19:18:02 + local pkg_list= 19:18:02 + [[ -d /opt/pyenv ]] 19:18:02 + echo 'Setup pyenv:' 19:18:02 Setup pyenv: 19:18:02 + export PYENV_ROOT=/opt/pyenv 19:18:02 + PYENV_ROOT=/opt/pyenv 19:18:02 + 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:02 + 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:02 + pyenv versions 19:18:02 system 19:18:02 3.8.13 19:18:02 3.9.13 19:18:02 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:02 + command -v pyenv 19:18:02 ++ pyenv init - --no-rehash 19:18:02 + 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:02 export PATH="/opt/pyenv/shims:${PATH}" 19:18:02 export PYENV_SHELL=bash 19:18:02 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:02 pyenv() { 19:18:02 local command 19:18:02 command="${1:-}" 19:18:02 if [ "$#" -gt 0 ]; then 19:18:02 shift 19:18:02 fi 19:18:02 19:18:02 case "$command" in 19:18:02 rehash|shell) 19:18:02 eval "$(pyenv "sh-$command" "$@")" 19:18:02 ;; 19:18:02 *) 19:18:02 command pyenv "$command" "$@" 19:18:02 ;; 19:18:02 esac 19:18:02 }' 19:18:02 +++ 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:02 ++ 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:02 ++ 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:02 ++ 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:02 ++ export PYENV_SHELL=bash 19:18:02 ++ PYENV_SHELL=bash 19:18:02 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:02 +++ complete -F _pyenv pyenv 19:18:02 ++ lf-pyver python3 19:18:02 ++ local py_version_xy=python3 19:18:02 ++ local py_version_xyz= 19:18:02 ++ grep -E '^[0-9.]*[0-9]$' 19:18:02 ++ awk '{ print $1 }' 19:18:02 ++ sed 's/^[ *]* //' 19:18:02 ++ pyenv versions 19:18:02 ++ local command 19:18:02 ++ command=versions 19:18:02 ++ '[' 1 -gt 0 ']' 19:18:02 ++ shift 19:18:02 ++ case "$command" in 19:18:02 ++ command pyenv versions 19:18:02 ++ pyenv versions 19:18:02 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:02 +++ tail -n 1 19:18:02 +++ sort -V 19:18:02 +++ grep '^3' /tmp/.pyenv_versions 19:18:02 ++ py_version_xyz=3.10.6 19:18:02 ++ [[ -z 3.10.6 ]] 19:18:02 ++ echo 3.10.6 19:18:02 ++ return 0 19:18:02 + pyenv local 3.10.6 19:18:02 + local command 19:18:02 + command=local 19:18:02 + '[' 2 -gt 0 ']' 19:18:02 + shift 19:18:02 + case "$command" in 19:18:02 + command pyenv local 3.10.6 19:18:02 + pyenv local 3.10.6 19:18:02 + for arg in "$@" 19:18:02 + case $arg in 19:18:02 + pkg_list+='tox ' 19:18:02 + for arg in "$@" 19:18:02 + case $arg in 19:18:02 + pkg_list+='virtualenv ' 19:18:02 + for arg in "$@" 19:18:02 + case $arg in 19:18:02 + pkg_list+='urllib3~=1.26.15 ' 19:18:02 + [[ -f /tmp/.toxenv ]] 19:18:02 + [[ ! -f /tmp/.toxenv ]] 19:18:02 + [[ -n '' ]] 19:18:02 + python3 -m venv /tmp/venv-y0II 19:18:06 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-y0II' 19:18:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-y0II 19:18:06 + echo /tmp/venv-y0II 19:18:06 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:18:06 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:18:06 + /tmp/venv-y0II/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:09 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:09 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:09 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:09 + /tmp/venv-y0II/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:11 + type python3 19:18:11 + true 19:18:11 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-y0II/bin to PATH' 19:18:11 lf-activate-venv(): INFO: Adding /tmp/venv-y0II/bin to PATH 19:18:11 + PATH=/tmp/venv-y0II/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:11 + return 0 19:18:11 + python3 --version 19:18:11 Python 3.10.6 19:18:11 + python3 -m pip --version 19:18:11 pip 24.2 from /tmp/venv-y0II/lib/python3.10/site-packages/pip (python 3.10) 19:18:11 + python3 -m pip freeze 19:18:12 cachetools==5.5.0 19:18:12 chardet==5.2.0 19:18:12 colorama==0.4.6 19:18:12 distlib==0.3.9 19:18:12 filelock==3.16.1 19:18:12 packaging==24.1 19:18:12 platformdirs==4.3.6 19:18:12 pluggy==1.5.0 19:18:12 pyproject-api==1.8.0 19:18:12 tomli==2.0.2 19:18:12 tox==4.21.2 19:18:12 typing_extensions==4.12.2 19:18:12 urllib3==1.26.20 19:18:12 virtualenv==20.26.6 19:18:12 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins7947376712037035429.sh 19:18:12 [EnvInject] - Injecting environment variables from a build step. 19:18:12 [EnvInject] - Injecting as environment variables the properties content 19:18:12 PARALLEL=False 19:18:12 19:18:12 [EnvInject] - Variables injected successfully. 19:18:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8997422432723243901.sh 19:18:12 ---> tox-run.sh 19:18:12 + 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:12 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:12 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:18:12 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:12 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 19:18:12 + source /home/jenkins/lf-env.sh 19:18:12 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:12 ++ mktemp -d /tmp/venv-XXXX 19:18:12 + lf_venv=/tmp/venv-x9VM 19:18:12 + local venv_file=/tmp/.os_lf_venv 19:18:12 + local python=python3 19:18:12 + local options 19:18:12 + local set_path=true 19:18:12 + local install_args= 19:18:12 ++ 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:12 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:12 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:12 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:12 + true 19:18:12 + case $1 in 19:18:12 + venv_file=/tmp/.toxenv 19:18:12 + shift 2 19:18:12 + true 19:18:12 + case $1 in 19:18:12 + shift 19:18:12 + break 19:18:12 + case $python in 19:18:12 + local pkg_list= 19:18:12 + [[ -d /opt/pyenv ]] 19:18:12 + echo 'Setup pyenv:' 19:18:12 Setup pyenv: 19:18:12 + export PYENV_ROOT=/opt/pyenv 19:18:12 + PYENV_ROOT=/opt/pyenv 19:18:12 + 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:12 + 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:12 + pyenv versions 19:18:12 system 19:18:12 3.8.13 19:18:12 3.9.13 19:18:12 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:12 + command -v pyenv 19:18:12 ++ pyenv init - --no-rehash 19:18:12 + 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:12 export PATH="/opt/pyenv/shims:${PATH}" 19:18:12 export PYENV_SHELL=bash 19:18:12 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:12 pyenv() { 19:18:12 local command 19:18:12 command="${1:-}" 19:18:12 if [ "$#" -gt 0 ]; then 19:18:12 shift 19:18:12 fi 19:18:12 19:18:12 case "$command" in 19:18:12 rehash|shell) 19:18:12 eval "$(pyenv "sh-$command" "$@")" 19:18:12 ;; 19:18:12 *) 19:18:12 command pyenv "$command" "$@" 19:18:12 ;; 19:18:12 esac 19:18:12 }' 19:18:12 +++ 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:12 ++ 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:12 ++ 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:12 ++ 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:12 ++ export PYENV_SHELL=bash 19:18:12 ++ PYENV_SHELL=bash 19:18:12 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:12 +++ complete -F _pyenv pyenv 19:18:12 ++ lf-pyver python3 19:18:12 ++ local py_version_xy=python3 19:18:12 ++ local py_version_xyz= 19:18:12 ++ pyenv versions 19:18:12 ++ local command 19:18:12 ++ command=versions 19:18:12 ++ grep -E '^[0-9.]*[0-9]$' 19:18:12 ++ '[' 1 -gt 0 ']' 19:18:12 ++ shift 19:18:12 ++ case "$command" in 19:18:12 ++ command pyenv versions 19:18:12 ++ pyenv versions 19:18:12 ++ awk '{ print $1 }' 19:18:12 ++ sed 's/^[ *]* //' 19:18:12 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:12 +++ grep '^3' /tmp/.pyenv_versions 19:18:12 +++ tail -n 1 19:18:12 +++ sort -V 19:18:12 ++ py_version_xyz=3.10.6 19:18:12 ++ [[ -z 3.10.6 ]] 19:18:12 ++ echo 3.10.6 19:18:12 ++ return 0 19:18:12 + pyenv local 3.10.6 19:18:12 + local command 19:18:12 + command=local 19:18:12 + '[' 2 -gt 0 ']' 19:18:12 + shift 19:18:12 + case "$command" in 19:18:12 + command pyenv local 3.10.6 19:18:12 + pyenv local 3.10.6 19:18:12 + for arg in "$@" 19:18:12 + case $arg in 19:18:12 + pkg_list+='tox ' 19:18:12 + for arg in "$@" 19:18:12 + case $arg in 19:18:12 + pkg_list+='virtualenv ' 19:18:12 + for arg in "$@" 19:18:12 + case $arg in 19:18:12 + pkg_list+='urllib3~=1.26.15 ' 19:18:12 + [[ -f /tmp/.toxenv ]] 19:18:12 ++ cat /tmp/.toxenv 19:18:12 + lf_venv=/tmp/venv-y0II 19:18:12 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-y0II from' file:/tmp/.toxenv 19:18:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-y0II from file:/tmp/.toxenv 19:18:12 + /tmp/venv-y0II/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:13 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:13 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:13 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:13 + /tmp/venv-y0II/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:14 + type python3 19:18:14 + true 19:18:14 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-y0II/bin to PATH' 19:18:14 lf-activate-venv(): INFO: Adding /tmp/venv-y0II/bin to PATH 19:18:14 + PATH=/tmp/venv-y0II/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:14 + return 0 19:18:14 + [[ -d /opt/pyenv ]] 19:18:14 + echo '---> Setting up pyenv' 19:18:14 ---> Setting up pyenv 19:18:14 + export PYENV_ROOT=/opt/pyenv 19:18:14 + PYENV_ROOT=/opt/pyenv 19:18:14 + export PATH=/opt/pyenv/bin:/tmp/venv-y0II/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:14 + PATH=/opt/pyenv/bin:/tmp/venv-y0II/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:14 ++ pwd 19:18:14 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 19:18:14 + export PYTHONPATH 19:18:14 + export TOX_TESTENV_PASSENV=PYTHONPATH 19:18:14 + TOX_TESTENV_PASSENV=PYTHONPATH 19:18:14 + tox --version 19:18:14 4.21.2 from /tmp/venv-y0II/lib/python3.10/site-packages/tox/__init__.py 19:18:14 + PARALLEL=False 19:18:14 + TOX_OPTIONS_LIST= 19:18:14 + [[ -n '' ]] 19:18:14 + case ${PARALLEL,,} in 19:18:14 + tox 19:18:14 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 19:18:16 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 19:18:23 code: freeze> python -m pip freeze --all 19:18:23 code: attrs==24.2.0,certifi==2024.8.30,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.6.2,exceptiongroup==1.2.2,Flask==2.2.5,idna==3.10,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.2.0,Jinja2==3.1.4,jsonschema==4.23.0,jsonschema-specifications==2024.10.1,MarkupSafe==3.0.1,packaging==24.1,pip==24.2,pluggy==1.5.0,pytest==8.3.3,pytest-cov==5.0.0,PyYAML==6.0.2,referencing==0.35.1,requests==2.32.3,rpds-py==0.20.0,setuptools==75.1.0,tomli==2.0.2,urllib3==2.2.3,Werkzeug==2.2.3,wheel==0.44.0 19:18:23 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:24 ============================= test session starts ============================== 19:18:24 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 19:18:24 cachedir: .tox/code/.pytest_cache 19:18:24 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:24 plugins: cov-5.0.0 19:18:24 collected 4 items 19:18:24 19:18:24 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:24 -------------------------------- live log setup -------------------------------- 19:18:24 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:24 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:24 or provide the path to your local installation by passing swagger_path= 19:18:24 19:18:24 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:24 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:24 or provide the path to your local installation by passing swagger_path= 19:18:24 19:18:24 PASSED [ 25%] 19:18:24 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 19:18:34 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 19:18:34 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 19:18:34 -------------------------------- live log call --------------------------------- 19:18:34 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:34 * Running on http://127.0.0.1:8086 19:18:34 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:18:44 INFO werkzeug:_internal.py:224 127.0.0.1 - - [09/Oct/2024 19:18:44] "POST /statustest HTTP/1.1" 201 - 19:18:44 PASSED [100%] 19:18:45 19:18:45 =============================== warnings summary =============================== 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:45 /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:45 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:45 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:45 /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:45 from jsonschema import Draft4Validator, RefResolver 19:18:45 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:45 /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:45 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:45 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:45 /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:45 app.json_encoder = FlaskJSONEncoder 19:18:45 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:45 /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:45 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:45 19:18:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:45 /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:45 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:45 19:18:45 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:45 19:18:45 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:45 Name Stmts Miss Cover Missing 19:18:45 --------------------------------------------------------------------------------------------------------- 19:18:45 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:45 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:45 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:45 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:45 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:45 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:45 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:45 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:45 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:45 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:45 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:45 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:45 --------------------------------------------------------------------------------------------------------- 19:18:45 TOTAL 973 113 88% 19:18:45 Coverage HTML written to dir htmlcov 19:18:45 Coverage XML written to file coverage.xml 19:18:45 19:18:45 Required test coverage of 70% reached. Total coverage: 88.39% 19:18:45 ======================= 4 passed, 118 warnings in 21.50s ======================= 19:18:45 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:45 ============================= test session starts ============================== 19:18:45 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 19:18:45 cachedir: .tox/code/.pytest_cache 19:18:45 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:45 plugins: cov-5.0.0 19:18:45 collected 1 item 19:18:45 19:18:45 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:46 -------------------------------- live log setup -------------------------------- 19:18:46 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:46 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:46 or provide the path to your local installation by passing swagger_path= 19:18:46 19:18:46 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:46 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:46 or provide the path to your local installation by passing swagger_path= 19:18:46 19:18:56 PASSED [100%] 19:18:57 19:18:57 =============================== warnings summary =============================== 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 /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:57 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 /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:57 from jsonschema import Draft4Validator, RefResolver 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 /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:57 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 /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:57 app.json_encoder = FlaskJSONEncoder 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. 19:18:57 for error in instance_validator.iter_errors(instance['default'], instance): 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:18:57 /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:57 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:18:57 /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:57 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:188: DeprecationWarning: Setting 'json_encoder' on the app or a blueprint is deprecated and will be removed in Flask 2.3. Customize 'app.json' instead. 19:18:57 warnings.warn( 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:57 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:230: DeprecationWarning: 'JSONEncoder' is deprecated and will be removed in Flask 2.3. Use 'Flask.json' to provide an alternate JSON implementation instead. 19:18:57 return json.dumps(obj, **kwargs) 19:18:57 19:18:57 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:57 19:18:57 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:57 Name Stmts Miss Cover Missing 19:18:57 --------------------------------------------------------------------------------------------------------- 19:18:57 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:57 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:57 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:57 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:57 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:57 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:57 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 19:18:57 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 19:18:57 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:18:57 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:57 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:57 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:57 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:57 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:57 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:18:57 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:57 --------------------------------------------------------------------------------------------------------- 19:18:57 TOTAL 1440 152 89% 19:18:57 Coverage HTML written to dir htmlcov 19:18:57 Coverage XML written to file coverage.xml 19:18:57 19:18:57 Required test coverage of 70% reached. Total coverage: 89.44% 19:18:57 ======================= 1 passed, 65 warnings in 11.33s ======================== 19:18:57 code: commands[2]> pytest -o log_cli=true --cov-append --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_std_2_0_0.py 19:18:57 ============================= test session starts ============================== 19:18:57 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 19:18:57 cachedir: .tox/code/.pytest_cache 19:18:57 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:57 plugins: cov-5.0.0 19:18:57 collected 4 items 19:18:57 19:18:57 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:18:58 -------------------------------- live log setup -------------------------------- 19:18:58 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:58 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:58 or provide the path to your local installation by passing swagger_path= 19:18:58 19:18:58 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:58 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:58 or provide the path to your local installation by passing swagger_path= 19:18:58 19:18:58 PASSED [ 25%] 19:18:58 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 19:19:08 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 19:19:08 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 19:19:08 -------------------------------- live log call --------------------------------- 19:19:08 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:08 * Running on http://127.0.0.1:8086 19:19:08 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:19:18 INFO werkzeug:_internal.py:224 127.0.0.1 - - [09/Oct/2024 19:19:18] "POST /statustest HTTP/1.1" 200 - 19:19:18 PASSED [100%] 19:19:19 19:19:19 =============================== warnings summary =============================== 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:19 /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:19 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:19 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:19 /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:19 from jsonschema import Draft4Validator, RefResolver 19:19:19 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:19 /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:19 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:19 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:19 /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:19 app.json_encoder = FlaskJSONEncoder 19:19:19 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:19 /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:19 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:19 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:19 /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:19 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:19 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:19 /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:19 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:19 19:19:19 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:19 19:19:19 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:19 Name Stmts Miss Cover Missing 19:19:19 --------------------------------------------------------------------------------------------------------- 19:19:19 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:19 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:19 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:19 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:19 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:19 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:19 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:19 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:19 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:19 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:19 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:19 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 19:19:19 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 19:19:19 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 19:19:19 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:19 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:19 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:19 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:19 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:19 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:19 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 19:19:19 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:19 --------------------------------------------------------------------------------------------------------- 19:19:19 TOTAL 2219 282 87% 19:19:19 Coverage HTML written to dir htmlcov 19:19:19 Coverage XML written to file coverage.xml 19:19:19 19:19:19 Required test coverage of 70% reached. Total coverage: 87.29% 19:19:19 ======================= 4 passed, 65 warnings in 21.79s ======================== 19:19:19 code: commands[3]> coverage xml -i 19:19:19 Wrote XML report to coverage.xml 19:19:19 code: OK ✔ in 1 minute 4.44 seconds 19:19:19 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:19:58 docs: freeze> python -m pip freeze --all 19:19:58 docs: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,cachetools==5.5.0,certifi==2024.8.30,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.3.0,cycler==0.12.1,distlib==0.3.9,doc8==0.11.2,docutils==0.16,filelock==3.16.1,fonttools==4.54.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.1,matplotlib==3.9.2,numpy==2.1.2,nwdiag==3.0.0,packaging==24.1,pbr==6.1.0,pillow==10.4.0,pip==24.2,platformdirs==4.3.6,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.4,pyproject-api==1.8.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==75.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.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.7,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.3.0,tomli==2.0.2,tox==4.21.2,typing_extensions==4.12.2,urllib3==1.26.20,virtualenv==20.26.6,webcolors==24.8.0,wheel==0.44.0 19:19:58 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:19:58 Running Sphinx v5.3.0 19:19:59 making output directory... done 19:19:59 building [mo]: targets for 0 po files that are out of date 19:19:59 building [html]: targets for 6 source files that are out of date 19:19:59 updating environment: [new config] 6 added, 0 changed, 0 removed 19:19:59 reading sources... [ 16%] callout-server 19:19:59 reading sources... [ 33%] index 19:19:59 reading sources... [ 50%] kafka-message-dispatcher 19:19:59 reading sources... [ 66%] overview 19:19:59 reading sources... [ 83%] release-notes 19:19:59 reading sources... [100%] simulator-api 19:19:59 19:19:59 looking for now-outdated files... none found 19:19:59 pickling environment... done 19:19:59 checking consistency... done 19:19:59 preparing documents... done 19:19:59 writing output... [ 16%] callout-server 19:19:59 writing output... [ 33%] index 19:19:59 writing output... [ 50%] kafka-message-dispatcher 19:19:59 writing output... [ 66%] overview 19:19:59 writing output... [ 83%] release-notes 19:19:59 writing output... [100%] simulator-api 19:19:59 19:19:59 generating indices... genindex done 19:19:59 writing additional pages... search done 19:19:59 copying images... [100%] images/yaml_logo.png 19:19:59 19:19:59 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 19:19:59 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 19:19:59 19:19:59 copying static files... done 19:19:59 copying extra files... done 19:19:59 dumping search index in English (code: en)... done 19:19:59 dumping object inventory... done 19:20:00 build succeeded. 19:20:00 19:20:00 The HTML pages are in docs/_build/html. 19:20:00 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 19:20:00 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:20:00 docs: OK ✔ in 40.53 seconds 19:20:00 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:21 docs-linkcheck: freeze> python -m pip freeze --all 19:20:21 docs-linkcheck: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,cachetools==5.5.0,certifi==2024.8.30,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.3.0,cycler==0.12.1,distlib==0.3.9,doc8==0.11.2,docutils==0.16,filelock==3.16.1,fonttools==4.54.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.1,matplotlib==3.9.2,numpy==2.1.2,nwdiag==3.0.0,packaging==24.1,pbr==6.1.0,pillow==10.4.0,pip==24.2,platformdirs==4.3.6,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.4,pyproject-api==1.8.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==75.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.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.7,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.3.0,tomli==2.0.2,tox==4.21.2,typing_extensions==4.12.2,urllib3==1.26.20,virtualenv==20.26.6,webcolors==24.8.0,wheel==0.44.0 19:20:21 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:21 Running Sphinx v5.3.0 19:20:22 making output directory... done 19:20:22 building [mo]: targets for 0 po files that are out of date 19:20:22 building [linkcheck]: targets for 6 source files that are out of date 19:20:22 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:22 reading sources... [ 16%] callout-server 19:20:22 reading sources... [ 33%] index 19:20:22 reading sources... [ 50%] kafka-message-dispatcher 19:20:22 reading sources... [ 66%] overview 19:20:22 reading sources... [ 83%] release-notes 19:20:22 reading sources... [100%] simulator-api 19:20:22 19:20:22 looking for now-outdated files... none found 19:20:22 pickling environment... done 19:20:22 checking consistency... done 19:20:22 preparing documents... done 19:20:22 writing output... [ 16%] callout-server 19:20:22 writing output... [ 33%] index 19:20:22 writing output... [ 50%] kafka-message-dispatcher 19:20:22 writing output... [ 66%] overview 19:20:22 writing output... [ 83%] release-notes 19:20:22 writing output... [100%] simulator-api 19:20:22 19:20:22 19:20:22 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 19:20:22 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 19:20:22 ( 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:22 ( 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:22 ( 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:22 build succeeded. 19:20:22 19:20:22 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 19:20:22 code: OK (64.44=setup[8.35]+cmd[21.91,11.68,22.12,0.38] seconds) 19:20:22 docs: OK (40.53=setup[38.85]+cmd[1.68,0.01] seconds) 19:20:22 docs-linkcheck: OK (22.50=setup[21.36]+cmd[1.14] seconds) 19:20:22 congratulations :) (127.63 seconds) 19:20:22 + tox_status=0 19:20:22 + echo '---> Completed tox runs' 19:20:22 ---> Completed tox runs 19:20:22 + for i in .tox/*/log 19:20:22 ++ echo .tox/code/log 19:20:22 ++ awk -F/ '{print $2}' 19:20:22 + tox_env=code 19:20:22 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 19:20:22 + for i in .tox/*/log 19:20:22 ++ echo .tox/docs-linkcheck/log 19:20:22 ++ awk -F/ '{print $2}' 19:20:22 + tox_env=docs-linkcheck 19:20:22 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 19:20:22 + for i in .tox/*/log 19:20:22 ++ echo .tox/docs/log 19:20:22 ++ awk -F/ '{print $2}' 19:20:22 + tox_env=docs 19:20:22 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 19:20:22 + DOC_DIR=docs/_build/html 19:20:22 + [[ -d docs/_build/html ]] 19:20:22 + echo '---> Archiving generated docs' 19:20:22 ---> Archiving generated docs 19:20:22 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:20:22 + echo '---> tox-run.sh ends' 19:20:22 ---> tox-run.sh ends 19:20:22 + test 0 -eq 0 19:20:22 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-7218 19:20:23 [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:24 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:24 INFO: Project root configuration file: NONE 19:20:24 INFO: SonarScanner 4.6.2.2472 19:20:24 INFO: Java 17.0.9 Private Build (64-bit) 19:20:24 INFO: Linux 5.4.0-169-generic amd64 19:20:25 INFO: User cache: /home/jenkins/.sonar/cache 19:20:26 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:26 INFO: Project root configuration file: NONE 19:20:26 INFO: Analyzing on SonarCloud 19:20:26 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 19:20:27 INFO: Load global settings 19:20:27 INFO: Load global settings (done) | time=353ms 19:20:27 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 19:20:28 INFO: Loading required plugins 19:20:28 INFO: Load plugins index 19:20:28 INFO: Load plugins index (done) | time=504ms 19:20:28 INFO: Load/download plugins 19:20:29 INFO: Load/download plugins (done) | time=736ms 19:20:29 INFO: Found an active CI vendor: 'Jenkins' 19:20:29 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 19:20:29 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=198ms 19:20:29 INFO: Process project properties 19:20:29 INFO: Project key: o-ran-sc_sim-a1-interface 19:20:29 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 19:20:29 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 19:20:29 INFO: Load project branches 19:20:30 INFO: Load project branches (done) | time=204ms 19:20:30 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 19:20:30 INFO: Detected project binding: NOT_BOUND 19:20:30 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=175ms 19:20:30 INFO: Load project pull requests 19:20:30 INFO: Load project pull requests (done) | time=165ms 19:20:30 INFO: Load branch configuration 19:20:30 INFO: Load branch configuration (done) | time=1ms 19:20:30 INFO: Load quality profiles 19:20:30 INFO: Load quality profiles (done) | time=271ms 19:20:30 INFO: Load active rules 19:20:43 INFO: Load active rules (done) | time=12838ms 19:20:43 INFO: Organization key: o-ran-sc 19:20:43 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:43 INFO: Preprocessing files... 19:20:44 INFO: 4 languages detected in 112 preprocessed files 19:20:44 INFO: 0 files ignored because of inclusion/exclusion patterns 19:20:44 INFO: 22 files ignored because of scm ignore settings 19:20:44 INFO: Loading plugins for detected languages 19:20:44 INFO: Load/download plugins 19:20:45 INFO: Load/download plugins (done) | time=1585ms 19:20:46 INFO: Load project repositories 19:20:46 INFO: Load project repositories (done) | time=259ms 19:20:46 INFO: Indexing files... 19:20:46 INFO: Project configuration: 19:20:46 INFO: Excluded sources: **/build-wrapper-dump.json 19:20:46 INFO: 112 files indexed 19:20:46 INFO: Quality profile for docker: Sonar way 19:20:46 INFO: Quality profile for json: SonarQube Way 19:20:46 INFO: Quality profile for py: Sonar way 19:20:46 INFO: Quality profile for yaml: Sonar way 19:20:46 INFO: ------------- Run sensors on module sim-a1-interface 19:20:46 INFO: Load metrics repository 19:20:47 INFO: Load metrics repository (done) | time=478ms 19:20:47 INFO: Sensor cache enabled 19:20:47 INFO: Load sensor cache 19:20:49 INFO: Load sensor cache (380 KB) | time=2550ms 19:20:50 INFO: Sensor Python Sensor [python] 19:20:50 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:50 INFO: Starting global symbols computation 19:20:50 INFO: 37 source files to be analyzed 19:20:51 INFO: 37/37 source files have been analyzed 19:20:51 INFO: Starting rules execution 19:20:51 INFO: 37 source files to be analyzed 19:20:56 INFO: 37/37 source files have been analyzed 19:20:56 INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 37 files. These files were not parsed. 19:20:56 INFO: Sensor Python Sensor [python] (done) | time=6414ms 19:20:56 INFO: Sensor Cobertura Sensor for Python coverage [python] 19:20:57 INFO: Python test coverage 19:20:57 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 19:20:57 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=401ms 19:20:57 INFO: Sensor PythonXUnitSensor [python] 19:20:57 INFO: Sensor PythonXUnitSensor [python] (done) | time=208ms 19:20:57 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 19:20:57 INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities 19:20:57 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=9ms 19:20:57 INFO: Sensor JaCoCo XML Report Importer [jacoco] 19:20:57 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 19:20:57 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 19:20:57 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms 19:20:57 INFO: Sensor IaC CloudFormation Sensor [iac] 19:20:57 INFO: 0 source files to be analyzed 19:20:57 INFO: 0/0 source files have been analyzed 19:20:57 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=34ms 19:20:57 INFO: Sensor IaC Kubernetes Sensor [iac] 19:20:57 INFO: 0 source files to be parsed 19:20:57 INFO: 0/0 source files have been parsed 19:20:57 INFO: 0 source files to be analyzed 19:20:57 INFO: 0/0 source files have been analyzed 19:20:57 INFO: 0 source files to be checked 19:20:57 INFO: 0/0 source files have been checked 19:20:57 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=70ms 19:20:57 INFO: Sensor IaC AzureResourceManager Sensor [iac] 19:20:57 INFO: 0 source files to be analyzed 19:20:57 INFO: 0/0 source files have been analyzed 19:20:57 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=79ms 19:20:57 INFO: Sensor Java Config Sensor [iac] 19:20:57 INFO: 0 source files to be analyzed 19:20:57 INFO: 0/0 source files have been analyzed 19:20:57 INFO: Sensor Java Config Sensor [iac] (done) | time=9ms 19:20:57 INFO: Sensor JavaScript inside YAML analysis [javascript] 19:20:57 INFO: No input files found for analysis 19:20:57 INFO: Hit the cache for 0 out of 0 19:20:57 INFO: Miss the cache for 0 out of 0 19:20:57 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=27ms 19:20:57 INFO: Sensor CSS Rules [javascript] 19:20:57 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 19:20:57 INFO: Sensor CSS Rules [javascript] (done) | time=1ms 19:20:57 INFO: Sensor IaC Docker Sensor [iac] 19:20:57 INFO: 3 source files to be analyzed 19:20:57 INFO: 3/3 source files have been analyzed 19:20:57 INFO: Sensor IaC Docker Sensor [iac] (done) | time=229ms 19:20:57 INFO: Sensor Serverless configuration file sensor [security] 19:20:57 INFO: 0 Serverless function entries were found in the project 19:20:58 INFO: 0 Serverless function handlers were kept as entrypoints 19:20:58 INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms 19:20:58 INFO: Sensor AWS SAM template file sensor [security] 19:20:58 INFO: Sensor AWS SAM template file sensor [security] (done) | time=5ms 19:20:58 INFO: Sensor AWS SAM Inline template file sensor [security] 19:20:58 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=5ms 19:20:58 INFO: Sensor javabugs [dbd] 19:20:58 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 19:20:58 INFO: No IR files have been included for analysis. 19:20:58 INFO: Sensor javabugs [dbd] (done) | time=2ms 19:20:58 INFO: Sensor pythonbugs [dbd] 19:20:58 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 19:20:58 INFO: Analyzing 100 functions to detect bugs. 19:20:58 INFO: Sensor pythonbugs [dbd] (done) | time=636ms 19:20:58 INFO: Sensor TextAndSecretsSensor [text] 19:20:58 INFO: Available processors: 2 19:20:58 INFO: Using 2 threads for analysis. 19:20:59 INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true: 19:20:59 * The filename starts with "test" 19:20:59 * The filename contains "test." or "tests." 19:20:59 * Any directory in the file path is named: "doc", "docs", "test" or "tests" 19:20:59 * Any directory in the file path has a name ending in "test" or "tests" 19:20:59 19:20:59 INFO: Using git CLI to retrieve untracked files 19:20:59 INFO: Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git 19:20:59 INFO: 92 source files to be analyzed 19:20:59 INFO: 92/92 source files have been analyzed 19:20:59 INFO: Sensor TextAndSecretsSensor [text] (done) | time=1051ms 19:20:59 INFO: Sensor JavaSecuritySensor [security] 19:20:59 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 19:20:59 INFO: Read 0 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.001 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 19:20:59 INFO: No UCFGs have been included for analysis. 19:20:59 INFO: java security sensor: Time spent was 00:00:00.051 19:20:59 INFO: java security sensor: Begin: 2024-10-09T19:20:59.711377509Z, End: 2024-10-09T19:20:59.762428846Z, Duration: 00:00:00.051 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-10-09T19:20:59.712487115Z, End: 2024-10-09T19:20:59.714387015Z, Duration: 00:00:00.001 19:20:59 Load type hierarchy: Begin: 2024-10-09T19:20:59.712534447Z, End: 2024-10-09T19:20:59.714110016Z, Duration: 00:00:00.001 19:20:59 Load UCFGs: Begin: 2024-10-09T19:20:59.714295672Z, End: 2024-10-09T19:20:59.714336393Z, Duration: 00:00:00.000 19:20:59 INFO: java security sensor peak memory: 233 MB 19:20:59 INFO: Sensor JavaSecuritySensor [security] (done) | time=54ms 19:20:59 INFO: Sensor CSharpSecuritySensor [security] 19:20:59 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6547, S6549, S6639, S6641, S6680, S6776, S7044 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 19:20:59 INFO: Read 0 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: No UCFGs have been included for analysis. 19:20:59 INFO: csharp security sensor: Time spent was 00:00:00.000 19:20:59 INFO: csharp security sensor: Begin: 2024-10-09T19:20:59.764302325Z, End: 2024-10-09T19:20:59.765204614Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-10-09T19:20:59.764537593Z, End: 2024-10-09T19:20:59.764968536Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy: Begin: 2024-10-09T19:20:59.764577304Z, End: 2024-10-09T19:20:59.764786680Z, Duration: 00:00:00.000 19:20:59 Load UCFGs: Begin: 2024-10-09T19:20:59.764857323Z, End: 2024-10-09T19:20:59.764905464Z, Duration: 00:00:00.000 19:20:59 INFO: csharp security sensor peak memory: 233 MB 19:20:59 INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms 19:20:59 INFO: Sensor PhpSecuritySensor [security] 19:20:59 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350, S7044 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 19:20:59 INFO: Read 0 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: No UCFGs have been included for analysis. 19:20:59 INFO: php security sensor: Time spent was 00:00:00.000 19:20:59 INFO: php security sensor: Begin: 2024-10-09T19:20:59.765736881Z, End: 2024-10-09T19:20:59.766491024Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-10-09T19:20:59.765880345Z, End: 2024-10-09T19:20:59.766239936Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy: Begin: 2024-10-09T19:20:59.765917117Z, End: 2024-10-09T19:20:59.766062971Z, Duration: 00:00:00.000 19:20:59 Load UCFGs: Begin: 2024-10-09T19:20:59.766132613Z, End: 2024-10-09T19:20:59.766173764Z, Duration: 00:00:00.000 19:20:59 INFO: php security sensor peak memory: 233 MB 19:20:59 INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms 19:20:59 INFO: Sensor PythonSecuritySensor [security] 19:20:59 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839, S7044 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:20:59 INFO: Read 451 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.149 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:21:00 INFO: Load UCFGs: Time spent was 00:00:00.484 19:21:00 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.636 19:21:00 INFO: Analyzing 2437 UCFGs to detect vulnerabilities. 19:21:00 INFO: Check cache: Starting 19:21:00 INFO: Load cache: Starting 19:21:00 INFO: Load cache: Time spent was 00:00:00.000 19:21:00 INFO: Check cache: Time spent was 00:00:00.000 19:21:00 INFO: Create runtime call graph: Starting 19:21:00 INFO: Variable Type Analysis #1: Starting 19:21:00 INFO: Create runtime type propagation graph: Starting 19:21:00 INFO: Create runtime type propagation graph: Time spent was 00:00:00.055 19:21:00 INFO: Run SCC (Tarjan) on 7177 nodes: Starting 19:21:00 INFO: Run SCC (Tarjan) on 7177 nodes: Time spent was 00:00:00.010 19:21:00 INFO: Tarjan found 7177 strongly connected components 19:21:00 INFO: Propagate runtime types to strongly connected components: Starting 19:21:00 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.038 19:21:00 INFO: Variable Type Analysis #1: Time spent was 00:00:00.106 19:21:00 INFO: Variable Type Analysis #2: Starting 19:21:00 INFO: Create runtime type propagation graph: Starting 19:21:00 INFO: Create runtime type propagation graph: Time spent was 00:00:00.029 19:21:00 INFO: Run SCC (Tarjan) on 7102 nodes: Starting 19:21:00 INFO: Run SCC (Tarjan) on 7102 nodes: Time spent was 00:00:00.006 19:21:00 INFO: Tarjan found 7102 strongly connected components 19:21:00 INFO: Propagate runtime types to strongly connected components: Starting 19:21:00 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.017 19:21:00 INFO: Variable Type Analysis #2: Time spent was 00:00:00.053 19:21:00 INFO: Create runtime call graph: Time spent was 00:00:00.164 19:21:00 INFO: Load config: Starting 19:21:00 INFO: Load config: Time spent was 00:00:00.149 19:21:00 INFO: Compute entry points: Starting 19:21:00 INFO: Compute entry points: Time spent was 00:00:00.168 19:21:00 INFO: All rules entry points : 5 19:21:00 INFO: Slice call graph: Starting 19:21:00 INFO: Retained UCFGs : 33 19:21:00 INFO: Slice call graph: Time spent was 00:00:00.000 19:21:00 INFO: Live variable analysis: Starting 19:21:00 INFO: Live variable analysis: Time spent was 00:00:00.018 19:21:00 INFO: Taint analysis for python: Starting 19:21:00 INFO: 0 / 33 UCFGs simulated, memory usage: 183 MB 19:21:01 INFO: 24 / 33 UCFGs simulated, memory usage: 202 MB 19:21:01 INFO: Taint analysis for python: Time spent was 00:00:00.194 19:21:01 INFO: Report issues: Starting 19:21:01 INFO: Report issues: Time spent was 00:00:00.002 19:21:01 INFO: Store cache: Starting 19:21:01 INFO: Store cache: Time spent was 00:00:00.013 19:21:01 INFO: python security sensor: Time spent was 00:00:01.369 19:21:01 INFO: python security sensor: Begin: 2024-10-09T19:20:59.767012821Z, End: 2024-10-09T19:21:01.136275150Z, Duration: 00:00:01.369 19:21:01 Load type hierarchy and UCFGs: Begin: 2024-10-09T19:20:59.767164225Z, End: 2024-10-09T19:21:00.404157053Z, Duration: 00:00:00.636 19:21:01 Load type hierarchy: Begin: 2024-10-09T19:20:59.767224967Z, End: 2024-10-09T19:20:59.916713230Z, Duration: 00:00:00.149 19:21:01 Load UCFGs: Begin: 2024-10-09T19:20:59.917536235Z, End: 2024-10-09T19:21:00.402159559Z, Duration: 00:00:00.484 19:21:01 Check cache: Begin: 2024-10-09T19:21:00.404304148Z, End: 2024-10-09T19:21:00.404649498Z, Duration: 00:00:00.000 19:21:01 Load cache: Begin: 2024-10-09T19:21:00.404353880Z, End: 2024-10-09T19:21:00.404411661Z, Duration: 00:00:00.000 19:21:01 Create runtime call graph: Begin: 2024-10-09T19:21:00.404736191Z, End: 2024-10-09T19:21:00.569461425Z, Duration: 00:00:00.164 19:21:01 Variable Type Analysis #1: Begin: 2024-10-09T19:21:00.405268698Z, End: 2024-10-09T19:21:00.511531215Z, Duration: 00:00:00.106 19:21:01 Create runtime type propagation graph: Begin: 2024-10-09T19:21:00.405871467Z, End: 2024-10-09T19:21:00.461755132Z, Duration: 00:00:00.055 19:21:01 Run SCC (Tarjan) on 7177 nodes: Begin: 2024-10-09T19:21:00.462215947Z, End: 2024-10-09T19:21:00.472675507Z, Duration: 00:00:00.010 19:21:01 Propagate runtime types to strongly connected components: Begin: 2024-10-09T19:21:00.472846423Z, End: 2024-10-09T19:21:00.511287097Z, Duration: 00:00:00.038 19:21:01 Variable Type Analysis #2: Begin: 2024-10-09T19:21:00.513468946Z, End: 2024-10-09T19:21:00.566826252Z, Duration: 00:00:00.053 19:21:01 Create runtime type propagation graph: Begin: 2024-10-09T19:21:00.513535729Z, End: 2024-10-09T19:21:00.542928097Z, Duration: 00:00:00.029 19:21:01 Run SCC (Tarjan) on 7102 nodes: Begin: 2024-10-09T19:21:00.543105332Z, End: 2024-10-09T19:21:00.549295208Z, Duration: 00:00:00.006 19:21:01 Propagate runtime types to strongly connected components: Begin: 2024-10-09T19:21:00.549439203Z, End: 2024-10-09T19:21:00.566712578Z, Duration: 00:00:00.017 19:21:01 Load config: Begin: 2024-10-09T19:21:00.569559888Z, End: 2024-10-09T19:21:00.718594165Z, Duration: 00:00:00.149 19:21:01 Compute entry points: Begin: 2024-10-09T19:21:00.735633834Z, End: 2024-10-09T19:21:00.903718293Z, Duration: 00:00:00.168 19:21:01 Slice call graph: Begin: 2024-10-09T19:21:00.904005462Z, End: 2024-10-09T19:21:00.904844389Z, Duration: 00:00:00.000 19:21:01 Live variable analysis: Begin: 2024-10-09T19:21:00.904937682Z, End: 2024-10-09T19:21:00.923706314Z, Duration: 00:00:00.018 19:21:01 Taint analysis for python: Begin: 2024-10-09T19:21:00.923958332Z, End: 2024-10-09T19:21:01.118808470Z, Duration: 00:00:00.194 19:21:01 Report issues: Begin: 2024-10-09T19:21:01.119197892Z, End: 2024-10-09T19:21:01.121884787Z, Duration: 00:00:00.002 19:21:01 Store cache: Begin: 2024-10-09T19:21:01.122002650Z, End: 2024-10-09T19:21:01.135231757Z, Duration: 00:00:00.013 19:21:01 INFO: python security sensor peak memory: 274 MB 19:21:01 INFO: Sensor PythonSecuritySensor [security] (done) | time=1371ms 19:21:01 INFO: Sensor JsSecuritySensor [security] 19:21:01 INFO: Enabled taint analysis rules: S5146, S6287, S5696, S6350, S3649, S2083, S5883, S2631, S5131, S5144, S6096, S5147, S6105, S2076, S5334 19:21:01 INFO: Load type hierarchy and UCFGs: Starting 19:21:01 INFO: Load type hierarchy: Starting 19:21:01 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 19:21:01 INFO: Read 0 type definitions 19:21:01 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:21:01 INFO: Load UCFGs: Starting 19:21:01 INFO: Load UCFGs: Time spent was 00:00:00.000 19:21:01 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 19:21:01 INFO: No UCFGs have been included for analysis. 19:21:01 INFO: js security sensor: Time spent was 00:00:00.004 19:21:01 INFO: js security sensor: Begin: 2024-10-09T19:21:01.138928974Z, End: 2024-10-09T19:21:01.143047464Z, Duration: 00:00:00.004 19:21:01 Load type hierarchy and UCFGs: Begin: 2024-10-09T19:21:01.139585625Z, End: 2024-10-09T19:21:01.141593808Z, Duration: 00:00:00.002 19:21:01 Load type hierarchy: Begin: 2024-10-09T19:21:01.139749560Z, End: 2024-10-09T19:21:01.140064520Z, Duration: 00:00:00.000 19:21:01 Load UCFGs: Begin: 2024-10-09T19:21:01.140278757Z, End: 2024-10-09T19:21:01.140427782Z, Duration: 00:00:00.000 19:21:01 INFO: js security sensor peak memory: 274 MB 19:21:01 INFO: Sensor JsSecuritySensor [security] (done) | time=5ms 19:21:01 INFO: ------------- Run sensors on project 19:21:01 INFO: Sensor Zero Coverage Sensor 19:21:01 INFO: Sensor Zero Coverage Sensor (done) | time=6ms 19:21:01 INFO: CPD Executor 5 files had no CPD blocks 19:21:01 INFO: CPD Executor Calculating CPD for 32 files 19:21:01 INFO: CPD Executor CPD calculation finished (done) | time=80ms 19:21:01 INFO: Analysis report generated in 211ms, dir size=707 KB 19:21:01 INFO: Analysis report compressed in 108ms, zip size=247 KB 19:21:02 INFO: Analysis report uploaded in 791ms 19:21:02 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 19:21:02 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 19:21:02 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AZJyukJTYM5u42Ay7_6- 19:21:04 INFO: Sensor cache published successfully 19:21:04 INFO: Analysis total time: 34.570 s 19:21:04 INFO: ------------------------------------------------------------------------ 19:21:04 INFO: EXECUTION SUCCESS 19:21:04 INFO: ------------------------------------------------------------------------ 19:21:04 INFO: Total time: 39.682s 19:21:04 INFO: Final Memory: 50M/174M 19:21:04 INFO: ------------------------------------------------------------------------ 19:21:05 $ ssh-agent -k 19:21:05 unset SSH_AUTH_SOCK; 19:21:05 unset SSH_AGENT_PID; 19:21:05 echo Agent pid 5775 killed; 19:21:05 [ssh-agent] Stopped. 19:21:05 [PostBuildScript] - [INFO] Executing post build scripts. 19:21:05 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9517398765916358818.sh 19:21:05 ---> sysstat.sh 19:21:05 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12303351462569412394.sh 19:21:05 ---> package-listing.sh 19:21:05 ++ tr '[:upper:]' '[:lower:]' 19:21:05 ++ facter osfamily 19:21:06 + OS_FAMILY=debian 19:21:06 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 19:21:06 + START_PACKAGES=/tmp/packages_start.txt 19:21:06 + END_PACKAGES=/tmp/packages_end.txt 19:21:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:06 + PACKAGES=/tmp/packages_start.txt 19:21:06 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:06 + PACKAGES=/tmp/packages_end.txt 19:21:06 + case "${OS_FAMILY}" in 19:21:06 + grep '^ii' 19:21:06 + dpkg -l 19:21:06 + '[' -f /tmp/packages_start.txt ']' 19:21:06 + '[' -f /tmp/packages_end.txt ']' 19:21:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:06 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:06 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7093888030061977404.sh 19:21:06 ---> capture-instance-metadata.sh 19:21:06 Setup pyenv: 19:21:06 system 19:21:06 3.8.13 19:21:06 3.9.13 19:21:06 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CGlR from file:/tmp/.os_lf_venv 19:21:07 lf-activate-venv(): INFO: Installing: lftools 19:21:17 lf-activate-venv(): INFO: Adding /tmp/venv-CGlR/bin to PATH 19:21:17 INFO: Running in OpenStack, capturing instance metadata 19:21:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins185821117800261942.sh 19:21:17 provisioning config files... 19:21:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config2037676410576586235tmp 19:21:17 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 19:21:17 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 19:21:17 [EnvInject] - Injecting environment variables from a build step. 19:21:17 [EnvInject] - Injecting as environment variables the properties content 19:21:17 SERVER_ID=logs 19:21:17 19:21:17 [EnvInject] - Variables injected successfully. 19:21:18 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4848901610261853855.sh 19:21:18 ---> create-netrc.sh 19:21:18 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13103195283652781045.sh 19:21:18 ---> python-tools-install.sh 19:21:18 Setup pyenv: 19:21:18 system 19:21:18 3.8.13 19:21:18 3.9.13 19:21:18 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:18 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CGlR from file:/tmp/.os_lf_venv 19:21:19 lf-activate-venv(): INFO: Installing: lftools 19:21:27 lf-activate-venv(): INFO: Adding /tmp/venv-CGlR/bin to PATH 19:21:27 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins18025929700665760217.sh 19:21:27 ---> sudo-logs.sh 19:21:27 Archiving 'sudo' log.. 19:21:28 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14206402268603954651.sh 19:21:28 ---> job-cost.sh 19:21:28 Setup pyenv: 19:21:28 system 19:21:28 3.8.13 19:21:28 3.9.13 19:21:28 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CGlR from file:/tmp/.os_lf_venv 19:21:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 19:21:34 lf-activate-venv(): INFO: Adding /tmp/venv-CGlR/bin to PATH 19:21:34 INFO: No Stack... 19:21:35 INFO: Retrieving Pricing Info for: v2-highcpu-2 19:21:35 INFO: Archiving Costs 19:21:35 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7141607522549576411.sh 19:21:35 ---> logs-deploy.sh 19:21:35 Setup pyenv: 19:21:35 system 19:21:35 3.8.13 19:21:35 3.9.13 19:21:35 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:35 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CGlR from file:/tmp/.os_lf_venv 19:21:36 lf-activate-venv(): INFO: Installing: lftools 19:21:45 lf-activate-venv(): INFO: Adding /tmp/venv-CGlR/bin to PATH 19:21:45 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/273 19:21:45 INFO: archiving workspace using pattern(s): -p **/*.log 19:21:49 Archives upload complete. 19:21:49 INFO: archiving logs to Nexus 19:21:50 ---> uname -a: 19:21:50 Linux prd-ubuntu2004-builder-2c-2g-7218 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 19:21:50 19:21:50 19:21:51 ---> lscpu: 19:21:51 Architecture: x86_64 19:21:51 CPU op-mode(s): 32-bit, 64-bit 19:21:51 Byte Order: Little Endian 19:21:51 Address sizes: 40 bits physical, 48 bits virtual 19:21:51 CPU(s): 2 19:21:51 On-line CPU(s) list: 0,1 19:21:51 Thread(s) per core: 1 19:21:51 Core(s) per socket: 1 19:21:51 Socket(s): 2 19:21:51 NUMA node(s): 1 19:21:51 Vendor ID: AuthenticAMD 19:21:51 CPU family: 23 19:21:51 Model: 49 19:21:51 Model name: AMD EPYC-Rome Processor 19:21:51 Stepping: 0 19:21:51 CPU MHz: 2800.000 19:21:51 BogoMIPS: 5600.00 19:21:51 Virtualization: AMD-V 19:21:51 Hypervisor vendor: KVM 19:21:51 Virtualization type: full 19:21:51 L1d cache: 64 KiB 19:21:51 L1i cache: 64 KiB 19:21:51 L2 cache: 1 MiB 19:21:51 L3 cache: 32 MiB 19:21:51 NUMA node0 CPU(s): 0,1 19:21:51 Vulnerability Gather data sampling: Not affected 19:21:51 Vulnerability Itlb multihit: Not affected 19:21:51 Vulnerability L1tf: Not affected 19:21:51 Vulnerability Mds: Not affected 19:21:51 Vulnerability Meltdown: Not affected 19:21:51 Vulnerability Mmio stale data: Not affected 19:21:51 Vulnerability Retbleed: Vulnerable 19:21:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:21:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:21:51 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 19:21:51 Vulnerability Srbds: Not affected 19:21:51 Vulnerability Tsx async abort: Not affected 19:21:51 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:51 19:21:51 19:21:51 ---> nproc: 19:21:51 2 19:21:51 19:21:51 19:21:51 ---> df -h: 19:21:51 Filesystem Size Used Avail Use% Mounted on 19:21:51 udev 969M 0 969M 0% /dev 19:21:51 tmpfs 198M 1020K 197M 1% /run 19:21:51 /dev/vda1 20G 8.8G 11G 46% / 19:21:51 tmpfs 986M 0 986M 0% /dev/shm 19:21:51 tmpfs 5.0M 0 5.0M 0% /run/lock 19:21:51 tmpfs 986M 0 986M 0% /sys/fs/cgroup 19:21:51 /dev/vda15 105M 6.1M 99M 6% /boot/efi 19:21:51 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 19:21:51 /dev/loop0 62M 62M 0 100% /snap/core20/1405 19:21:51 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 19:21:51 tmpfs 198M 0 198M 0% /run/user/1001 19:21:51 /dev/loop3 39M 39M 0 100% /snap/snapd/21759 19:21:51 19:21:51 19:21:51 ---> free -m: 19:21:51 total used free shared buff/cache available 19:21:51 Mem: 1971 406 321 2 1243 1370 19:21:51 Swap: 1023 2 1021 19:21:51 19:21:51 19:21:51 ---> ip addr: 19:21:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 19:21:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:21:51 inet 127.0.0.1/8 scope host lo 19:21:51 valid_lft forever preferred_lft forever 19:21:51 inet6 ::1/128 scope host 19:21:51 valid_lft forever preferred_lft forever 19:21:51 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 19:21:51 link/ether fa:16:3e:a3:02:53 brd ff:ff:ff:ff:ff:ff 19:21:51 inet 10.32.6.210/23 brd 10.32.7.255 scope global dynamic ens3 19:21:51 valid_lft 86083sec preferred_lft 86083sec 19:21:51 inet6 fe80::f816:3eff:fea3:253/64 scope link 19:21:51 valid_lft forever preferred_lft forever 19:21:51 19:21:51 19:21:51 ---> sar -b -r -n DEV: 19:21:51 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-7218) 10/09/24 _x86_64_ (2 CPU) 19:21:51 19:21:51 19:16:37 LINUX RESTART (2 CPU) 19:21:51 19:21:51 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:21:51 19:18:01 219.61 106.26 113.34 0.00 3052.61 17717.01 0.00 19:21:51 19:19:02 41.92 10.16 31.76 0.00 979.14 5134.02 0.00 19:21:51 19:20:01 61.97 4.27 57.70 0.00 349.36 23992.14 0.00 19:21:51 19:21:01 103.73 44.49 59.24 0.00 3140.01 29488.15 0.00 19:21:51 Average: 107.00 41.46 65.55 0.00 1886.74 19061.60 0.00 19:21:51 19:21:51 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:21:51 19:18:01 171440 1493288 283288 14.03 59248 1346512 774476 25.25 386580 1260916 14324 19:21:51 19:19:02 97516 1418284 356320 17.65 67292 1327932 899984 29.34 469588 1240052 1448 19:21:51 19:20:01 360644 1431056 343940 17.04 81996 1056924 894792 29.17 337852 1103260 128672 19:21:51 19:21:01 90528 1028684 743704 36.84 85772 930364 1256968 40.98 729108 988240 15480 19:21:51 Average: 180032 1342828 431813 21.39 73577 1165433 956555 31.19 480782 1148117 39981 19:21:51 19:21:51 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:21:51 19:18:01 ens3 79.14 73.03 944.01 9.01 0.00 0.00 0.00 0.00 19:21:51 19:18:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 19:21:51 19:19:02 ens3 17.51 16.93 36.68 4.80 0.00 0.00 0.00 0.00 19:21:51 19:19:02 lo 0.83 0.83 0.07 0.07 0.00 0.00 0.00 0.00 19:21:51 19:20:01 ens3 189.98 147.82 3737.75 12.79 0.00 0.00 0.00 0.00 19:21:51 19:20:01 lo 0.51 0.51 0.05 0.05 0.00 0.00 0.00 0.00 19:21:51 19:21:01 ens3 428.48 249.03 3008.70 25.24 0.00 0.00 0.00 0.00 19:21:51 19:21:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 19:21:51 Average: ens3 178.72 121.58 1924.07 12.96 0.00 0.00 0.00 0.00 19:21:51 Average: lo 0.92 0.92 0.09 0.09 0.00 0.00 0.00 0.00 19:21:51 19:21:51 19:21:51 ---> sar -P ALL: 19:21:51 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-7218) 10/09/24 _x86_64_ (2 CPU) 19:21:51 19:21:51 19:16:37 LINUX RESTART (2 CPU) 19:21:51 19:21:51 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:21:51 19:18:01 all 38.34 21.30 15.68 8.16 0.09 16.43 19:21:51 19:18:01 0 33.32 21.39 15.26 8.45 0.10 21.49 19:21:51 19:18:01 1 43.37 21.21 16.10 7.87 0.08 11.37 19:21:51 19:19:02 all 17.81 0.00 1.73 2.41 0.07 77.99 19:21:51 19:19:02 0 9.22 0.00 1.57 2.11 0.05 87.05 19:21:51 19:19:02 1 26.37 0.00 1.88 2.70 0.08 68.96 19:21:51 19:20:01 all 21.39 0.00 2.92 3.61 0.09 71.99 19:21:51 19:20:01 0 6.90 0.00 2.24 2.31 0.09 88.47 19:21:51 19:20:01 1 35.82 0.00 3.61 4.90 0.09 55.58 19:21:51 19:21:01 all 43.02 0.00 3.06 4.01 0.09 49.82 19:21:51 19:21:01 0 31.56 0.00 2.70 3.04 0.08 62.62 19:21:51 19:21:01 1 54.41 0.00 3.41 4.98 0.10 37.10 19:21:51 Average: all 30.17 5.32 5.84 4.54 0.08 54.04 19:21:51 Average: 0 20.29 5.35 5.45 3.98 0.08 64.85 19:21:51 Average: 1 40.01 5.29 6.24 5.11 0.09 43.27 19:21:51 19:21:51 19:21:51