00:47:35 Started by user Jessica Wagantall 00:47:35 Running as SYSTEM 00:47:35 [EnvInject] - Loading node environment variables. 00:47:35 Building remotely on prd-ubuntu2004-builder-2c-2g-306 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 00:47:35 [ssh-agent] Looking for ssh-agent implementation... 00:47:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:47:35 $ ssh-agent 00:47:35 SSH_AUTH_SOCK=/tmp/ssh-rPl46xmmZpPb/agent.6557 00:47:35 SSH_AGENT_PID=6561 00:47:35 [ssh-agent] Started. 00:47:35 Running ssh-add (command line suppressed) 00:47:35 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_6715145011563788715.key (jenkins-ssh) 00:47:35 [ssh-agent] Using credentials jenkins (jenkins) 00:47:35 The recommended git tool is: NONE 00:47:37 using credential jenkins 00:47:37 Wiping out workspace first. 00:47:37 Cloning the remote Git repository 00:47:37 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 00:47:37 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 00:47:37 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 00:47:37 > git --version # timeout=10 00:47:37 > git --version # 'git version 2.25.1' 00:47:37 using GIT_SSH to set credentials jenkins 00:47:38 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:38 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 00:47:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:39 Avoid second fetch 00:47:39 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:47:39 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 00:47:39 > git config core.sparsecheckout # timeout=10 00:47:39 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 00:47:39 Commit message: "Fix build failure" 00:47:39 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 00:47:39 provisioning config files... 00:47:39 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:47:39 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:47:39 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6701161243688066108.sh 00:47:39 ---> python-tools-install.sh 00:47:39 Setup pyenv: 00:47:39 * system (set by /opt/pyenv/version) 00:47:39 * 3.8.13 (set by /opt/pyenv/version) 00:47:39 * 3.9.13 (set by /opt/pyenv/version) 00:47:39 * 3.10.6 (set by /opt/pyenv/version) 00:47:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jAWo 00:47:44 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:47:48 lf-activate-venv(): INFO: Installing: lftools 00:48:23 lf-activate-venv(): INFO: Adding /tmp/venv-jAWo/bin to PATH 00:48:23 Generating Requirements File 00:48:56 Python 3.10.6 00:48:56 pip 23.3.2 from /tmp/venv-jAWo/lib/python3.10/site-packages/pip (python 3.10) 00:48:56 appdirs==1.4.4 00:48:56 argcomplete==3.2.2 00:48:56 aspy.yaml==1.3.0 00:48:56 attrs==23.2.0 00:48:56 autopage==0.5.2 00:48:56 beautifulsoup4==4.12.3 00:48:56 boto3==1.34.29 00:48:56 botocore==1.34.29 00:48:56 bs4==0.0.2 00:48:56 cachetools==5.3.2 00:48:56 certifi==2023.11.17 00:48:56 cffi==1.16.0 00:48:56 cfgv==3.4.0 00:48:56 chardet==5.2.0 00:48:56 charset-normalizer==3.3.2 00:48:56 click==8.1.7 00:48:56 cliff==4.5.0 00:48:56 cmd2==2.4.3 00:48:56 cryptography==3.3.2 00:48:56 debtcollector==2.5.0 00:48:56 decorator==5.1.1 00:48:56 defusedxml==0.7.1 00:48:56 Deprecated==1.2.14 00:48:56 distlib==0.3.8 00:48:56 dnspython==2.5.0 00:48:56 docker==4.2.2 00:48:56 dogpile.cache==1.3.0 00:48:56 email-validator==2.1.0.post1 00:48:56 filelock==3.13.1 00:48:56 future==0.18.3 00:48:56 gitdb==4.0.11 00:48:56 GitPython==3.1.41 00:48:56 google-auth==2.27.0 00:48:56 httplib2==0.22.0 00:48:56 identify==2.5.33 00:48:56 idna==3.6 00:48:56 importlib-resources==1.5.0 00:48:56 iso8601==2.1.0 00:48:56 Jinja2==3.1.3 00:48:56 jmespath==1.0.1 00:48:56 jsonpatch==1.33 00:48:56 jsonpointer==2.4 00:48:56 jsonschema==4.21.1 00:48:56 jsonschema-specifications==2023.12.1 00:48:56 keystoneauth1==5.5.0 00:48:56 kubernetes==29.0.0 00:48:56 lftools==0.37.8 00:48:56 lxml==5.1.0 00:48:56 MarkupSafe==2.1.4 00:48:56 msgpack==1.0.7 00:48:56 multi_key_dict==2.0.3 00:48:56 munch==4.0.0 00:48:56 netaddr==0.10.1 00:48:56 netifaces==0.11.0 00:48:56 niet==1.4.2 00:48:56 nodeenv==1.8.0 00:48:56 oauth2client==4.1.3 00:48:56 oauthlib==3.2.2 00:48:56 openstacksdk==0.62.0 00:48:56 os-client-config==2.1.0 00:48:56 os-service-types==1.7.0 00:48:56 osc-lib==3.0.0 00:48:56 oslo.config==9.3.0 00:48:56 oslo.context==5.3.0 00:48:56 oslo.i18n==6.2.0 00:48:56 oslo.log==5.4.0 00:48:56 oslo.serialization==5.3.0 00:48:56 oslo.utils==7.0.0 00:48:56 packaging==23.2 00:48:56 pbr==6.0.0 00:48:56 platformdirs==4.1.0 00:48:56 prettytable==3.9.0 00:48:56 pyasn1==0.5.1 00:48:56 pyasn1-modules==0.3.0 00:48:56 pycparser==2.21 00:48:56 pygerrit2==2.0.15 00:48:56 PyGithub==2.1.1 00:48:56 pyinotify==0.9.6 00:48:56 PyJWT==2.8.0 00:48:56 PyNaCl==1.5.0 00:48:56 pyparsing==2.4.7 00:48:56 pyperclip==1.8.2 00:48:56 pyrsistent==0.20.0 00:48:56 python-cinderclient==9.4.0 00:48:56 python-dateutil==2.8.2 00:48:56 python-heatclient==3.4.0 00:48:56 python-jenkins==1.8.2 00:48:56 python-keystoneclient==5.3.0 00:48:56 python-magnumclient==4.3.0 00:48:56 python-novaclient==18.4.0 00:48:56 python-openstackclient==6.0.0 00:48:56 python-swiftclient==4.4.0 00:48:56 pytz==2023.4 00:48:56 PyYAML==6.0.1 00:48:56 referencing==0.33.0 00:48:56 requests==2.31.0 00:48:56 requests-oauthlib==1.3.1 00:48:56 requestsexceptions==1.4.0 00:48:56 rfc3986==2.0.0 00:48:56 rpds-py==0.17.1 00:48:56 rsa==4.9 00:48:56 ruamel.yaml==0.18.5 00:48:56 ruamel.yaml.clib==0.2.8 00:48:56 s3transfer==0.10.0 00:48:56 simplejson==3.19.2 00:48:56 six==1.16.0 00:48:56 smmap==5.0.1 00:48:56 soupsieve==2.5 00:48:56 stevedore==5.1.0 00:48:56 tabulate==0.9.0 00:48:56 toml==0.10.2 00:48:56 tomlkit==0.12.3 00:48:56 tqdm==4.66.1 00:48:56 typing_extensions==4.9.0 00:48:56 tzdata==2023.4 00:48:56 urllib3==1.26.18 00:48:56 virtualenv==20.25.0 00:48:56 wcwidth==0.2.13 00:48:56 websocket-client==1.7.0 00:48:56 wrapt==1.16.0 00:48:56 xdg==6.0.0 00:48:56 xmltodict==0.13.0 00:48:56 yq==3.2.3 00:48:57 [EnvInject] - Injecting environment variables from a build step. 00:48:57 [EnvInject] - Injecting as environment variables the properties content 00:48:57 SET_JDK_VERSION=openjdk17 00:48:57 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:48:57 00:48:57 [EnvInject] - Variables injected successfully. 00:48:57 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins4821151896650215793.sh 00:48:57 ---> update-java-alternatives.sh 00:48:57 ---> Updating Java version 00:48:57 ---> Ubuntu/Debian system detected 00:48:57 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:48:57 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:48:57 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 00:48:58 openjdk version "17.0.9" 2023-10-17 00:48:58 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 00:48:58 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 00:48:58 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:48:58 [EnvInject] - Injecting environment variables from a build step. 00:48:58 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:48:58 [EnvInject] - Variables injected successfully. 00:48:58 [EnvInject] - Injecting environment variables from a build step. 00:48:58 [EnvInject] - Injecting as environment variables the properties content 00:48:58 PYTHON=python3 00:48:58 00:48:58 [EnvInject] - Variables injected successfully. 00:48:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5600950677718058398.sh 00:48:58 ---> tox-install.sh 00:48:58 + source /home/jenkins/lf-env.sh 00:48:58 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:48:58 ++ mktemp -d /tmp/venv-XXXX 00:48:58 + lf_venv=/tmp/venv-Fi6M 00:48:58 + local venv_file=/tmp/.os_lf_venv 00:48:58 + local python=python3 00:48:58 + local options 00:48:58 + local set_path=true 00:48:58 + local install_args= 00:48:58 ++ 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 00:48:58 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:48:58 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:48:58 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:48:58 + true 00:48:58 + case $1 in 00:48:58 + venv_file=/tmp/.toxenv 00:48:58 + shift 2 00:48:58 + true 00:48:58 + case $1 in 00:48:58 + shift 00:48:58 + break 00:48:58 + case $python in 00:48:58 + local pkg_list= 00:48:58 + [[ -d /opt/pyenv ]] 00:48:58 + echo 'Setup pyenv:' 00:48:58 Setup pyenv: 00:48:58 + export PYENV_ROOT=/opt/pyenv 00:48:58 + PYENV_ROOT=/opt/pyenv 00:48:58 + 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 00:48:58 + 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 00:48:58 + pyenv versions 00:48:58 system 00:48:58 3.8.13 00:48:58 3.9.13 00:48:58 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 00:48:58 + command -v pyenv 00:48:58 ++ pyenv init - --no-rehash 00:48:58 + 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[*]}"'\'')" 00:48:58 export PATH="/opt/pyenv/shims:${PATH}" 00:48:58 export PYENV_SHELL=bash 00:48:58 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:48:58 pyenv() { 00:48:58 local command 00:48:58 command="${1:-}" 00:48:58 if [ "$#" -gt 0 ]; then 00:48:58 shift 00:48:58 fi 00:48:58 00:48:58 case "$command" in 00:48:58 rehash|shell) 00:48:58 eval "$(pyenv "sh-$command" "$@")" 00:48:58 ;; 00:48:58 *) 00:48:58 command pyenv "$command" "$@" 00:48:58 ;; 00:48:58 esac 00:48:58 }' 00:48:58 +++ 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[*]}"' 00:48:58 ++ 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 00:48:58 ++ 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 00:48:58 ++ 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 00:48:58 ++ export PYENV_SHELL=bash 00:48:58 ++ PYENV_SHELL=bash 00:48:58 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:48:58 +++ complete -F _pyenv pyenv 00:48:58 ++ lf-pyver python3 00:48:58 ++ local py_version_xy=python3 00:48:58 ++ local py_version_xyz= 00:48:58 ++ pyenv versions 00:48:58 ++ local command 00:48:58 ++ command=versions 00:48:58 ++ '[' 1 -gt 0 ']' 00:48:58 ++ shift 00:48:58 ++ case "$command" in 00:48:58 ++ command pyenv versions 00:48:58 ++ pyenv versions 00:48:58 ++ sed 's/^[ *]* //' 00:48:58 ++ grep -E '^[0-9.]*[0-9]$' 00:48:58 ++ awk '{ print $1 }' 00:48:58 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:48:58 +++ grep '^3' /tmp/.pyenv_versions 00:48:58 +++ tail -n 1 00:48:58 +++ sort -V 00:48:58 ++ py_version_xyz=3.10.6 00:48:58 ++ [[ -z 3.10.6 ]] 00:48:58 ++ echo 3.10.6 00:48:58 ++ return 0 00:48:58 + pyenv local 3.10.6 00:48:58 + local command 00:48:58 + command=local 00:48:58 + '[' 2 -gt 0 ']' 00:48:58 + shift 00:48:58 + case "$command" in 00:48:58 + command pyenv local 3.10.6 00:48:58 + pyenv local 3.10.6 00:48:58 + for arg in "$@" 00:48:58 + case $arg in 00:48:58 + pkg_list+='tox ' 00:48:58 + for arg in "$@" 00:48:58 + case $arg in 00:48:58 + pkg_list+='virtualenv ' 00:48:58 + for arg in "$@" 00:48:58 + case $arg in 00:48:58 + pkg_list+='urllib3~=1.26.15 ' 00:48:58 + [[ -f /tmp/.toxenv ]] 00:48:58 + [[ ! -f /tmp/.toxenv ]] 00:48:58 + [[ -n '' ]] 00:48:58 + python3 -m venv /tmp/venv-Fi6M 00:49:02 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Fi6M' 00:49:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Fi6M 00:49:02 + echo /tmp/venv-Fi6M 00:49:02 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:49:02 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:49:02 + /tmp/venv-Fi6M/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:49:05 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:49:05 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:49:05 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:49:05 + /tmp/venv-Fi6M/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:49:07 + type python3 00:49:07 + true 00:49:07 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Fi6M/bin to PATH' 00:49:07 lf-activate-venv(): INFO: Adding /tmp/venv-Fi6M/bin to PATH 00:49:07 + PATH=/tmp/venv-Fi6M/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 00:49:07 + return 0 00:49:07 + python3 --version 00:49:07 Python 3.10.6 00:49:07 + python3 -m pip --version 00:49:07 pip 23.3.2 from /tmp/venv-Fi6M/lib/python3.10/site-packages/pip (python 3.10) 00:49:07 + python3 -m pip freeze 00:49:08 cachetools==5.3.2 00:49:08 chardet==5.2.0 00:49:08 colorama==0.4.6 00:49:08 distlib==0.3.8 00:49:08 filelock==3.13.1 00:49:08 packaging==23.2 00:49:08 platformdirs==4.1.0 00:49:08 pluggy==1.4.0 00:49:08 pyproject-api==1.6.1 00:49:08 tomli==2.0.1 00:49:08 tox==4.12.1 00:49:08 urllib3==1.26.18 00:49:08 virtualenv==20.25.0 00:49:08 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins4129670427844192282.sh 00:49:08 [EnvInject] - Injecting environment variables from a build step. 00:49:08 [EnvInject] - Injecting as environment variables the properties content 00:49:08 PARALLEL=False 00:49:08 00:49:08 [EnvInject] - Variables injected successfully. 00:49:08 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9747137251005800710.sh 00:49:08 ---> tox-run.sh 00:49:08 + 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 00:49:08 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 00:49:08 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 00:49:08 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 00:49:08 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 00:49:08 + source /home/jenkins/lf-env.sh 00:49:08 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:49:08 ++ mktemp -d /tmp/venv-XXXX 00:49:08 + lf_venv=/tmp/venv-YU9L 00:49:08 + local venv_file=/tmp/.os_lf_venv 00:49:08 + local python=python3 00:49:08 + local options 00:49:08 + local set_path=true 00:49:08 + local install_args= 00:49:08 ++ 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 00:49:08 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:49:08 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:49:08 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:49:08 + true 00:49:08 + case $1 in 00:49:08 + venv_file=/tmp/.toxenv 00:49:08 + shift 2 00:49:08 + true 00:49:08 + case $1 in 00:49:08 + shift 00:49:08 + break 00:49:08 + case $python in 00:49:08 + local pkg_list= 00:49:08 + [[ -d /opt/pyenv ]] 00:49:08 + echo 'Setup pyenv:' 00:49:08 Setup pyenv: 00:49:08 + export PYENV_ROOT=/opt/pyenv 00:49:08 + PYENV_ROOT=/opt/pyenv 00:49:08 + 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 00:49:08 + 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 00:49:08 + pyenv versions 00:49:08 system 00:49:08 3.8.13 00:49:08 3.9.13 00:49:08 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 00:49:08 + command -v pyenv 00:49:08 ++ pyenv init - --no-rehash 00:49:08 + 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[*]}"'\'')" 00:49:08 export PATH="/opt/pyenv/shims:${PATH}" 00:49:08 export PYENV_SHELL=bash 00:49:08 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:49:08 pyenv() { 00:49:08 local command 00:49:08 command="${1:-}" 00:49:08 if [ "$#" -gt 0 ]; then 00:49:08 shift 00:49:08 fi 00:49:08 00:49:08 case "$command" in 00:49:08 rehash|shell) 00:49:08 eval "$(pyenv "sh-$command" "$@")" 00:49:08 ;; 00:49:08 *) 00:49:08 command pyenv "$command" "$@" 00:49:08 ;; 00:49:08 esac 00:49:08 }' 00:49:08 +++ 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[*]}"' 00:49:08 ++ 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 00:49:08 ++ 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 00:49:08 ++ 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 00:49:08 ++ export PYENV_SHELL=bash 00:49:08 ++ PYENV_SHELL=bash 00:49:08 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:49:08 +++ complete -F _pyenv pyenv 00:49:08 ++ lf-pyver python3 00:49:08 ++ local py_version_xy=python3 00:49:08 ++ local py_version_xyz= 00:49:08 ++ pyenv versions 00:49:08 ++ local command 00:49:08 ++ command=versions 00:49:08 ++ '[' 1 -gt 0 ']' 00:49:08 ++ shift 00:49:08 ++ case "$command" in 00:49:08 ++ command pyenv versions 00:49:08 ++ pyenv versions 00:49:08 ++ sed 's/^[ *]* //' 00:49:08 ++ grep -E '^[0-9.]*[0-9]$' 00:49:08 ++ awk '{ print $1 }' 00:49:08 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:49:08 +++ grep '^3' /tmp/.pyenv_versions 00:49:08 +++ tail -n 1 00:49:08 +++ sort -V 00:49:08 ++ py_version_xyz=3.10.6 00:49:08 ++ [[ -z 3.10.6 ]] 00:49:08 ++ echo 3.10.6 00:49:08 ++ return 0 00:49:08 + pyenv local 3.10.6 00:49:08 + local command 00:49:08 + command=local 00:49:08 + '[' 2 -gt 0 ']' 00:49:08 + shift 00:49:08 + case "$command" in 00:49:08 + command pyenv local 3.10.6 00:49:08 + pyenv local 3.10.6 00:49:08 + for arg in "$@" 00:49:08 + case $arg in 00:49:08 + pkg_list+='tox ' 00:49:08 + for arg in "$@" 00:49:08 + case $arg in 00:49:08 + pkg_list+='virtualenv ' 00:49:08 + for arg in "$@" 00:49:08 + case $arg in 00:49:08 + pkg_list+='urllib3~=1.26.15 ' 00:49:08 + [[ -f /tmp/.toxenv ]] 00:49:08 ++ cat /tmp/.toxenv 00:49:08 + lf_venv=/tmp/venv-Fi6M 00:49:08 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Fi6M from' file:/tmp/.toxenv 00:49:08 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Fi6M from file:/tmp/.toxenv 00:49:08 + /tmp/venv-Fi6M/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:49:09 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:49:09 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:49:09 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:49:09 + /tmp/venv-Fi6M/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:49:10 + type python3 00:49:10 + true 00:49:10 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Fi6M/bin to PATH' 00:49:10 lf-activate-venv(): INFO: Adding /tmp/venv-Fi6M/bin to PATH 00:49:10 + PATH=/tmp/venv-Fi6M/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 00:49:10 + return 0 00:49:10 + [[ -d /opt/pyenv ]] 00:49:10 + echo '---> Setting up pyenv' 00:49:10 ---> Setting up pyenv 00:49:10 + export PYENV_ROOT=/opt/pyenv 00:49:10 + PYENV_ROOT=/opt/pyenv 00:49:10 + export PATH=/opt/pyenv/bin:/tmp/venv-Fi6M/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 00:49:10 + PATH=/opt/pyenv/bin:/tmp/venv-Fi6M/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 00:49:10 ++ pwd 00:49:10 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 00:49:10 + export PYTHONPATH 00:49:10 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:49:10 + TOX_TESTENV_PASSENV=PYTHONPATH 00:49:10 + tox --version 00:49:11 4.12.1 from /tmp/venv-Fi6M/lib/python3.10/site-packages/tox/__init__.py 00:49:11 + PARALLEL=False 00:49:11 + TOX_OPTIONS_LIST= 00:49:11 + [[ -n '' ]] 00:49:11 + case ${PARALLEL,,} in 00:49:11 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 00:49:11 + tox 00:49:12 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 00:49:20 code: freeze> python -m pip freeze --all 00:49:20 code: attrs==23.2.0,certifi==2023.11.17,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.4.1,exceptiongroup==1.2.0,Flask==2.2.5,idna==3.6,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.1.2,Jinja2==3.1.3,jsonschema==4.21.1,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.4,packaging==23.2,pip==23.3.1,pluggy==1.4.0,pytest==8.0.0,pytest-cov==4.1.0,PyYAML==6.0.1,referencing==0.33.0,requests==2.31.0,rpds-py==0.17.1,setuptools==69.0.2,tomli==2.0.1,urllib3==2.1.0,Werkzeug==2.2.3,wheel==0.42.0 00:49:20 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 00:49:21 ============================= test session starts ============================== 00:49:21 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 00:49:21 cachedir: .tox/code/.pytest_cache 00:49:21 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 00:49:21 plugins: cov-4.1.0 00:49:21 collected 4 items 00:49:21 00:49:21 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 00:49:21 -------------------------------- live log setup -------------------------------- 00:49:21 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 00:49:21 Please install connexion with extra install: pip install connexion[swagger-ui] 00:49:21 or provide the path to your local installation by passing swagger_path= 00:49:21 00:49:21 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 00:49:21 Please install connexion with extra install: pip install connexion[swagger-ui] 00:49:21 or provide the path to your local installation by passing swagger_path= 00:49:21 00:49:21 PASSED [ 25%] 00:49:22 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 00:49:32 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 00:49:32 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 00:49:32 -------------------------------- live log call --------------------------------- 00:49:32 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. 00:49:32 * Running on http://127.0.0.1:8086 00:49:32 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 00:49:42 INFO werkzeug:_internal.py:224 127.0.0.1 - - [30/Jan/2024 00:49:42] "POST /statustest HTTP/1.1" 201 - 00:49:42 PASSED [100%] 00:49:42 00:49:42 =============================== warnings summary =============================== 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 00:49:42 /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. 00:49:42 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 00:49:42 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 00:49:42 /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. 00:49:42 from jsonschema import Draft4Validator, RefResolver 00:49:42 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 00:49:42 /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. 00:49:42 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 00:49:42 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 00:49:42 /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. 00:49:42 app.json_encoder = FlaskJSONEncoder 00:49:42 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 00:49:42 /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. 00:49:42 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 00:49:42 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 00:49:42 /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. 00:49:42 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 00:49:42 00:49:42 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:49:42 00:49:42 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:49:42 Name Stmts Miss Cover Missing 00:49:42 --------------------------------------------------------------------------------------------------------- 00:49:42 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 00:49:42 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 00:49:42 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 00:49:42 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 00:49:42 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 00:49:42 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 00:49:42 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 00:49:42 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 00:49:42 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 00:49:42 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 00:49:42 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 00:49:42 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 00:49:42 --------------------------------------------------------------------------------------------------------- 00:49:42 TOTAL 973 113 88% 00:49:42 Coverage HTML written to dir htmlcov 00:49:42 Coverage XML written to file coverage.xml 00:49:42 00:49:42 Required test coverage of 70% reached. Total coverage: 88.39% 00:49:42 ======================= 4 passed, 118 warnings in 21.38s ======================= 00:49:42 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 00:49:43 ============================= test session starts ============================== 00:49:43 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 00:49:43 cachedir: .tox/code/.pytest_cache 00:49:43 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 00:49:43 plugins: cov-4.1.0 00:49:43 collected 1 item 00:49:43 00:49:43 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:43 -------------------------------- live log setup -------------------------------- 00:49:43 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 00:49:43 Please install connexion with extra install: pip install connexion[swagger-ui] 00:49:43 or provide the path to your local installation by passing swagger_path= 00:49:43 00:49:43 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 00:49:43 Please install connexion with extra install: pip install connexion[swagger-ui] 00:49:43 or provide the path to your local installation by passing swagger_path= 00:49:43 00:49:53 PASSED [100%] 00:49:54 00:49:54 =============================== warnings summary =============================== 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 /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. 00:49:54 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 /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. 00:49:54 from jsonschema import Draft4Validator, RefResolver 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 /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. 00:49:54 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 /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. 00:49:54 app.json_encoder = FlaskJSONEncoder 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 /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. 00:49:54 for error in instance_validator.iter_errors(instance['default'], instance): 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 00:49:54 /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. 00:49:54 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 00:49:54 /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. 00:49:54 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 /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. 00:49:54 warnings.warn( 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 00:49:54 /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. 00:49:54 return json.dumps(obj, **kwargs) 00:49:54 00:49:54 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:49:54 00:49:54 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:49:54 Name Stmts Miss Cover Missing 00:49:54 --------------------------------------------------------------------------------------------------------- 00:49:54 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 00:49:54 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 00:49:54 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 00:49:54 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 00:49:54 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 00:49:54 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 00:49:54 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 00:49:54 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 00:49:54 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 00:49:54 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 00:49:54 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 00:49:54 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 00:49:54 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 00:49:54 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 00:49:54 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 00:49:54 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 00:49:54 --------------------------------------------------------------------------------------------------------- 00:49:54 TOTAL 1440 152 89% 00:49:54 Coverage HTML written to dir htmlcov 00:49:54 Coverage XML written to file coverage.xml 00:49:54 00:49:54 Required test coverage of 70% reached. Total coverage: 89.44% 00:49:54 ======================= 1 passed, 65 warnings in 11.16s ======================== 00:49:54 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 00:49:54 ============================= test session starts ============================== 00:49:54 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 00:49:54 cachedir: .tox/code/.pytest_cache 00:49:54 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 00:49:54 plugins: cov-4.1.0 00:49:54 collected 4 items 00:49:54 00:49:54 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:49:55 -------------------------------- live log setup -------------------------------- 00:49:55 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 00:49:55 Please install connexion with extra install: pip install connexion[swagger-ui] 00:49:55 or provide the path to your local installation by passing swagger_path= 00:49:55 00:49:55 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 00:49:55 Please install connexion with extra install: pip install connexion[swagger-ui] 00:49:55 or provide the path to your local installation by passing swagger_path= 00:49:55 00:49:55 PASSED [ 25%] 00:49:55 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 00:50:05 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 00:50:05 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 00:50:05 -------------------------------- live log call --------------------------------- 00:50:05 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. 00:50:05 * Running on http://127.0.0.1:8086 00:50:05 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 00:50:15 INFO werkzeug:_internal.py:224 127.0.0.1 - - [30/Jan/2024 00:50:15] "POST /statustest HTTP/1.1" 200 - 00:50:15 PASSED [100%] 00:50:15 00:50:15 =============================== warnings summary =============================== 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:50:15 /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. 00:50:15 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 00:50:15 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:50:15 /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. 00:50:15 from jsonschema import Draft4Validator, RefResolver 00:50:15 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:50:15 /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. 00:50:15 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 00:50:15 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:50:15 /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. 00:50:15 app.json_encoder = FlaskJSONEncoder 00:50:15 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 00:50:15 /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. 00:50:15 for error in instance_validator.iter_errors(instance['default'], instance): 00:50:15 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 00:50:15 /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. 00:50:15 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 00:50:15 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 00:50:15 /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. 00:50:15 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 00:50:15 00:50:15 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:50:15 00:50:15 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:50:15 Name Stmts Miss Cover Missing 00:50:15 --------------------------------------------------------------------------------------------------------- 00:50:15 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 00:50:15 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 00:50:15 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 00:50:15 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 00:50:15 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 00:50:15 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 00:50:15 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 00:50:15 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 00:50:15 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 00:50:15 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 00:50:15 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 00:50:15 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 00:50:15 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 00:50:15 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 00:50:15 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 00:50:15 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 00:50:15 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 00:50:15 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 00:50:15 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 00:50:15 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 00:50:15 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 00:50:15 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 00:50:15 --------------------------------------------------------------------------------------------------------- 00:50:15 TOTAL 2219 282 87% 00:50:15 Coverage HTML written to dir htmlcov 00:50:15 Coverage XML written to file coverage.xml 00:50:15 00:50:15 Required test coverage of 70% reached. Total coverage: 87.29% 00:50:15 ======================= 4 passed, 65 warnings in 21.53s ======================== 00:50:16 code: commands[3]> coverage xml -i 00:50:16 Wrote XML report to coverage.xml 00:50:16 code: OK ✔ in 1 minute 4.78 seconds 00:50:16 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 00:50:48 docs: freeze> python -m pip freeze --all 00:50:49 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.4,matplotlib==3.8.2,numpy==1.26.3,nwdiag==3.0.0,packaging==23.2,pbr==6.0.0,pillow==10.2.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.4.0,Pygments==2.17.2,pyparsing==3.1.1,pyproject-api==1.6.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,restructuredtext-lint==1.4.0,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.1.0,tomli==2.0.1,tox==4.12.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 00:50:49 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 00:50:49 Running Sphinx v5.3.0 00:50:49 making output directory... done 00:50:49 building [mo]: targets for 0 po files that are out of date 00:50:49 building [html]: targets for 6 source files that are out of date 00:50:49 updating environment: [new config] 6 added, 0 changed, 0 removed 00:50:49 reading sources... [ 16%] callout-server 00:50:49 reading sources... [ 33%] index 00:50:49 reading sources... [ 50%] kafka-message-dispatcher 00:50:50 reading sources... [ 66%] overview 00:50:50 reading sources... [ 83%] release-notes 00:50:50 reading sources... [100%] simulator-api 00:50:50 00:50:50 looking for now-outdated files... none found 00:50:50 pickling environment... done 00:50:50 checking consistency... done 00:50:50 preparing documents... done 00:50:50 writing output... [ 16%] callout-server 00:50:50 writing output... [ 33%] index 00:50:50 writing output... [ 50%] kafka-message-dispatcher 00:50:50 writing output... [ 66%] overview 00:50:50 writing output... [ 83%] release-notes 00:50:50 writing output... [100%] simulator-api 00:50:50 00:50:50 generating indices... genindex done 00:50:50 writing additional pages... search done 00:50:50 copying images... [100%] images/yaml_logo.png 00:50:50 00:50:50 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 00:50:50 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 00:50:50 00:50:50 copying static files... done 00:50:50 copying extra files... done 00:50:50 dumping search index in English (code: en)... done 00:50:50 dumping object inventory... done 00:50:50 build succeeded. 00:50:50 00:50:50 The HTML pages are in docs/_build/html. 00:50:50 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 00:50:50 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 00:50:51 docs: OK ✔ in 34.57 seconds 00:50:51 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 00:51:14 docs-linkcheck: freeze> python -m pip freeze --all 00:51:14 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.4,matplotlib==3.8.2,numpy==1.26.3,nwdiag==3.0.0,packaging==23.2,pbr==6.0.0,pillow==10.2.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.4.0,Pygments==2.17.2,pyparsing==3.1.1,pyproject-api==1.6.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,restructuredtext-lint==1.4.0,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.1.0,tomli==2.0.1,tox==4.12.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 00:51:14 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 00:51:14 Running Sphinx v5.3.0 00:51:15 making output directory... done 00:51:15 building [mo]: targets for 0 po files that are out of date 00:51:15 building [linkcheck]: targets for 6 source files that are out of date 00:51:15 updating environment: [new config] 6 added, 0 changed, 0 removed 00:51:15 reading sources... [ 16%] callout-server 00:51:15 reading sources... [ 33%] index 00:51:15 reading sources... [ 50%] kafka-message-dispatcher 00:51:15 reading sources... [ 66%] overview 00:51:15 reading sources... [ 83%] release-notes 00:51:15 reading sources... [100%] simulator-api 00:51:15 00:51:15 looking for now-outdated files... none found 00:51:15 pickling environment... done 00:51:15 checking consistency... done 00:51:15 preparing documents... done 00:51:15 writing output... [ 16%] callout-server 00:51:15 writing output... [ 33%] index 00:51:15 writing output... [ 50%] kafka-message-dispatcher 00:51:15 writing output... [ 66%] overview 00:51:15 writing output... [ 83%] release-notes 00:51:15 writing output... [100%] simulator-api 00:51:15 00:51:15 00:51:15 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 00:51:15 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 00:51:15 ( 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 00:51:15 ( 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 00:51:15 ( 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 00:51:15 build succeeded. 00:51:15 00:51:15 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 00:51:15 code: OK (64.77=setup[9.31]+cmd[21.78,11.49,21.87,0.32] seconds) 00:51:15 docs: OK (34.57=setup[33.06]+cmd[1.51,0.00] seconds) 00:51:15 docs-linkcheck: OK (24.75=setup[23.63]+cmd[1.12] seconds) 00:51:15 congratulations :) (124.26 seconds) 00:51:15 + tox_status=0 00:51:15 + echo '---> Completed tox runs' 00:51:15 ---> Completed tox runs 00:51:15 + for i in .tox/*/log 00:51:15 ++ echo .tox/code/log 00:51:15 ++ awk -F/ '{print $2}' 00:51:15 + tox_env=code 00:51:15 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 00:51:15 + for i in .tox/*/log 00:51:15 ++ echo .tox/docs-linkcheck/log 00:51:15 ++ awk -F/ '{print $2}' 00:51:15 + tox_env=docs-linkcheck 00:51:15 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 00:51:15 + for i in .tox/*/log 00:51:15 ++ echo .tox/docs/log 00:51:15 ++ awk -F/ '{print $2}' 00:51:15 + tox_env=docs 00:51:15 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 00:51:15 + DOC_DIR=docs/_build/html 00:51:15 + [[ -d docs/_build/html ]] 00:51:15 + echo '---> Archiving generated docs' 00:51:15 ---> Archiving generated docs 00:51:15 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 00:51:15 + echo '---> tox-run.sh ends' 00:51:15 ---> tox-run.sh ends 00:51:15 + test 0 -eq 0 00:51:15 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-306 00:51:16 [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 00:51:17 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:51:17 INFO: Project root configuration file: NONE 00:51:17 INFO: SonarScanner 4.6.2.2472 00:51:17 INFO: Java 17.0.9 Private Build (64-bit) 00:51:17 INFO: Linux 5.4.0-169-generic amd64 00:51:18 INFO: User cache: /home/jenkins/.sonar/cache 00:51:20 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:51:20 INFO: Project root configuration file: NONE 00:51:20 INFO: Analyzing on SonarCloud 00:51:20 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:51:20 INFO: Load global settings 00:51:21 INFO: Load global settings (done) | time=292ms 00:51:21 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:51:21 INFO: User cache: /home/jenkins/.sonar/cache 00:51:21 INFO: Loading required plugins 00:51:21 INFO: Load plugins index 00:51:21 INFO: Load plugins index (done) | time=232ms 00:51:21 INFO: Load/download plugins 00:51:22 INFO: Load/download plugins (done) | time=1125ms 00:51:23 INFO: Found an active CI vendor: 'Jenkins' 00:51:23 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 00:51:23 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=200ms 00:51:23 INFO: Process project properties 00:51:23 INFO: Project key: o-ran-sc_sim-a1-interface 00:51:23 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 00:51:23 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 00:51:23 INFO: Load project branches 00:51:23 INFO: Load project branches (done) | time=213ms 00:51:23 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 00:51:23 INFO: Detected project binding: NOT_BOUND 00:51:23 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=189ms 00:51:23 INFO: Load project pull requests 00:51:24 INFO: Load project pull requests (done) | time=183ms 00:51:24 INFO: Load branch configuration 00:51:24 INFO: Load branch configuration (done) | time=3ms 00:51:24 INFO: Load quality profiles 00:51:24 INFO: Load quality profiles (done) | time=262ms 00:51:24 INFO: Load active rules 00:51:34 INFO: Load active rules (done) | time=10330ms 00:51:34 INFO: Organization key: o-ran-sc 00:51:34 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. 00:51:34 INFO: Preprocessing files... 00:51:35 INFO: 4 languages detected in 112 preprocessed files 00:51:35 INFO: 0 files ignored because of inclusion/exclusion patterns 00:51:35 INFO: 22 files ignored because of scm ignore settings 00:51:35 INFO: Loading plugins for detected languages 00:51:35 INFO: Load/download plugins 00:51:36 INFO: Load/download plugins (done) | time=1179ms 00:51:36 INFO: Load project repositories 00:51:37 INFO: Load project repositories (done) | time=277ms 00:51:37 INFO: Indexing files... 00:51:37 INFO: Project configuration: 00:51:37 INFO: Excluded sources: **/build-wrapper-dump.json 00:51:37 INFO: 112 files indexed 00:51:37 INFO: Quality profile for docker: Sonar way 00:51:37 INFO: Quality profile for json: SonarQube Way 00:51:37 INFO: Quality profile for py: Sonar way 00:51:37 INFO: Quality profile for yaml: Sonar way 00:51:37 INFO: ------------- Run sensors on module sim-a1-interface 00:51:37 INFO: Load metrics repository 00:51:37 INFO: Load metrics repository (done) | time=192ms 00:51:37 INFO: Sensor cache enabled 00:51:37 INFO: Load sensor cache 00:51:39 INFO: Load sensor cache (357 KB) | time=2131ms 00:51:40 INFO: Sensor Python Sensor [python] 00:51:40 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" 00:51:40 INFO: Starting global symbols computation 00:51:40 INFO: 37 source files to be analyzed 00:51:41 INFO: 37/37 source files have been analyzed 00:51:41 INFO: Starting rules execution 00:51:41 INFO: 37 source files to be analyzed 00:51:45 INFO: 37/37 source files have been analyzed 00:51:45 INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 37 files. These files were not parsed. 00:51:45 INFO: Sensor Python Sensor [python] (done) | time=5004ms 00:51:45 INFO: Sensor Cobertura Sensor for Python coverage [python] 00:51:45 INFO: Python test coverage 00:51:45 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 00:51:45 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=389ms 00:51:45 INFO: Sensor PythonXUnitSensor [python] 00:51:46 INFO: Sensor PythonXUnitSensor [python] (done) | time=207ms 00:51:46 INFO: Sensor JaCoCo XML Report Importer [jacoco] 00:51:46 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 00:51:46 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 00:51:46 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms 00:51:46 INFO: Sensor IaC CloudFormation Sensor [iac] 00:51:46 INFO: 0 source files to be analyzed 00:51:46 INFO: 0/0 source files have been analyzed 00:51:46 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=38ms 00:51:46 INFO: Sensor IaC Kubernetes Sensor [iac] 00:51:46 INFO: 0 source files to be analyzed 00:51:46 INFO: 0/0 source files have been analyzed 00:51:46 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=79ms 00:51:46 INFO: Sensor IaC AzureResourceManager Sensor [iac] 00:51:46 INFO: 0 source files to be analyzed 00:51:46 INFO: 0/0 source files have been analyzed 00:51:46 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=68ms 00:51:46 INFO: Sensor JavaScript inside YAML analysis [javascript] 00:51:46 INFO: No input files found for analysis 00:51:46 INFO: Hit the cache for 0 out of 0 00:51:46 INFO: Miss the cache for 0 out of 0 00:51:46 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=23ms 00:51:46 INFO: Sensor CSS Rules [javascript] 00:51:46 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 00:51:46 INFO: Sensor CSS Rules [javascript] (done) | time=2ms 00:51:46 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 00:51:46 INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities 00:51:46 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=10ms 00:51:46 INFO: Sensor TextAndSecretsSensor [text] 00:51:46 INFO: 69 source files to be analyzed 00:51:47 INFO: 69/69 source files have been analyzed 00:51:47 INFO: Sensor TextAndSecretsSensor [text] (done) | time=897ms 00:51:47 INFO: Sensor IaC Docker Sensor [iac] 00:51:47 INFO: 3 source files to be analyzed 00:51:47 INFO: 3/3 source files have been analyzed 00:51:47 INFO: Sensor IaC Docker Sensor [iac] (done) | time=168ms 00:51:47 INFO: Sensor Serverless configuration file sensor [security] 00:51:47 INFO: 0 Serverless function entries were found in the project 00:51:47 INFO: 0 Serverless function handlers were kept as entrypoints 00:51:47 INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms 00:51:47 INFO: Sensor AWS SAM template file sensor [security] 00:51:47 INFO: Sensor AWS SAM template file sensor [security] (done) | time=9ms 00:51:47 INFO: Sensor AWS SAM Inline template file sensor [security] 00:51:47 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=7ms 00:51:47 INFO: Sensor javabugs [dbd] 00:51:47 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 00:51:47 INFO: No IR files have been included for analysis. 00:51:47 INFO: Sensor javabugs [dbd] (done) | time=2ms 00:51:47 INFO: Sensor pythonbugs [dbd] 00:51:47 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 00:51:47 INFO: Analyzing 71 functions to detect bugs. 00:51:47 INFO: Sensor pythonbugs [dbd] (done) | time=522ms 00:51:47 INFO: Sensor JavaSecuritySensor [security] 00:51:47 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 00:51:47 INFO: Load type hierarchy and UCFGs: Starting 00:51:47 INFO: Load type hierarchy: Starting 00:51:47 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 00:51:47 INFO: Read 0 type definitions 00:51:47 INFO: Load type hierarchy: Time spent was 00:00:00.002 00:51:47 INFO: Load UCFGs: Starting 00:51:47 INFO: Load UCFGs: Time spent was 00:00:00.000 00:51:47 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.003 00:51:47 INFO: No UCFGs have been included for analysis. 00:51:47 INFO: java security sensor: Time spent was 00:00:00.005 00:51:47 INFO: Sensor JavaSecuritySensor [security] (done) | time=36ms 00:51:47 INFO: Sensor CSharpSecuritySensor [security] 00:51:47 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 00:51:47 INFO: Load type hierarchy and UCFGs: Starting 00:51:47 INFO: Load type hierarchy: Starting 00:51:47 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 00:51:47 INFO: Read 0 type definitions 00:51:47 INFO: Load type hierarchy: Time spent was 00:00:00.000 00:51:47 INFO: Load UCFGs: Starting 00:51:47 INFO: Load UCFGs: Time spent was 00:00:00.000 00:51:47 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 00:51:47 INFO: No UCFGs have been included for analysis. 00:51:47 INFO: csharp security sensor: Time spent was 00:00:00.000 00:51:47 INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms 00:51:47 INFO: Sensor PhpSecuritySensor [security] 00:51:47 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 00:51:47 INFO: Load type hierarchy and UCFGs: Starting 00:51:47 INFO: Load type hierarchy: Starting 00:51:47 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 00:51:47 INFO: Read 0 type definitions 00:51:47 INFO: Load type hierarchy: Time spent was 00:00:00.000 00:51:47 INFO: Load UCFGs: Starting 00:51:47 INFO: Load UCFGs: Time spent was 00:00:00.000 00:51:47 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 00:51:47 INFO: No UCFGs have been included for analysis. 00:51:47 INFO: php security sensor: Time spent was 00:00:00.000 00:51:47 INFO: Sensor PhpSecuritySensor [security] (done) | time=0ms 00:51:47 INFO: Sensor PythonSecuritySensor [security] 00:51:47 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 00:51:47 INFO: Load type hierarchy and UCFGs: Starting 00:51:47 INFO: Load type hierarchy: Starting 00:51:47 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 00:51:48 INFO: Read 450 type definitions 00:51:48 INFO: Load type hierarchy: Time spent was 00:00:00.084 00:51:48 INFO: Load UCFGs: Starting 00:51:48 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 00:51:48 INFO: Load UCFGs: Time spent was 00:00:00.517 00:51:48 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.602 00:51:48 INFO: Analyzing 2431 UCFGs to detect vulnerabilities. 00:51:48 INFO: Check cache: Starting 00:51:48 INFO: Load cache: Starting 00:51:48 INFO: Load cache: Time spent was 00:00:00.001 00:51:48 INFO: Check cache: Time spent was 00:00:00.001 00:51:48 INFO: Create runtime call graph: Starting 00:51:48 INFO: Variable Type Analysis #1: Starting 00:51:48 INFO: Create runtime type propagation graph: Starting 00:51:48 INFO: Create runtime type propagation graph: Time spent was 00:00:00.043 00:51:48 INFO: Run SCC (Tarjan) on 7080 nodes: Starting 00:51:48 INFO: Run SCC (Tarjan) on 7080 nodes: Time spent was 00:00:00.011 00:51:48 INFO: Tarjan found 7080 strongly connected components 00:51:48 INFO: Propagate runtime types to strongly connected components: Starting 00:51:48 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.027 00:51:48 INFO: Variable Type Analysis #1: Time spent was 00:00:00.083 00:51:48 INFO: Variable Type Analysis #2: Starting 00:51:48 INFO: Create runtime type propagation graph: Starting 00:51:48 INFO: Create runtime type propagation graph: Time spent was 00:00:00.028 00:51:48 INFO: Run SCC (Tarjan) on 7006 nodes: Starting 00:51:48 INFO: Run SCC (Tarjan) on 7006 nodes: Time spent was 00:00:00.005 00:51:48 INFO: Tarjan found 7006 strongly connected components 00:51:48 INFO: Propagate runtime types to strongly connected components: Starting 00:51:48 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.017 00:51:48 INFO: Variable Type Analysis #2: Time spent was 00:00:00.053 00:51:48 INFO: Create runtime call graph: Time spent was 00:00:00.142 00:51:48 INFO: Load config: Starting 00:51:48 INFO: Load config: Time spent was 00:00:00.145 00:51:48 INFO: Compute entry points: Starting 00:51:49 INFO: Compute entry points: Time spent was 00:00:00.216 00:51:49 INFO: All rules entry points : 5 00:51:49 INFO: Slice call graph: Starting 00:51:49 INFO: Retained UCFGs : 31 00:51:49 INFO: Slice call graph: Time spent was 00:00:00.000 00:51:49 INFO: Live variable analysis: Starting 00:51:49 INFO: Live variable analysis: Time spent was 00:00:00.013 00:51:49 INFO: Taint analysis for python: Starting 00:51:49 INFO: 0 / 31 UCFGs simulated, memory usage: 131 MB 00:51:49 INFO: 22 / 31 UCFGs simulated, memory usage: 87 MB 00:51:49 INFO: Taint analysis for python: Time spent was 00:00:00.221 00:51:49 INFO: Report issues: Starting 00:51:49 INFO: Report issues: Time spent was 00:00:00.003 00:51:49 INFO: Store cache: Starting 00:51:49 INFO: Store cache: Time spent was 00:00:00.015 00:51:49 INFO: python security sensor: Time spent was 00:00:01.373 00:51:49 INFO: python security sensor: Begin: 2024-01-30T00:51:47.952113788Z, End: 2024-01-30T00:51:49.325883750Z, Duration: 00:00:01.373 00:51:49 Load type hierarchy and UCFGs: Begin: 2024-01-30T00:51:47.952231580Z, End: 2024-01-30T00:51:48.555015133Z, Duration: 00:00:00.602 00:51:49 Load type hierarchy: Begin: 2024-01-30T00:51:47.952249561Z, End: 2024-01-30T00:51:48.037052644Z, Duration: 00:00:00.084 00:51:49 Load UCFGs: Begin: 2024-01-30T00:51:48.037274187Z, End: 2024-01-30T00:51:48.554670857Z, Duration: 00:00:00.517 00:51:49 Check cache: Begin: 2024-01-30T00:51:48.555942500Z, End: 2024-01-30T00:51:48.557596400Z, Duration: 00:00:00.001 00:51:49 Load cache: Begin: 2024-01-30T00:51:48.556035542Z, End: 2024-01-30T00:51:48.557292204Z, Duration: 00:00:00.001 00:51:49 Create runtime call graph: Begin: 2024-01-30T00:51:48.557710281Z, End: 2024-01-30T00:51:48.699734471Z, Duration: 00:00:00.142 00:51:49 Variable Type Analysis #1: Begin: 2024-01-30T00:51:48.558481535Z, End: 2024-01-30T00:51:48.641913088Z, Duration: 00:00:00.083 00:51:49 Create runtime type propagation graph: Begin: 2024-01-30T00:51:48.559250679Z, End: 2024-01-30T00:51:48.602821909Z, Duration: 00:00:00.043 00:51:49 Run SCC (Tarjan) on 7080 nodes: Begin: 2024-01-30T00:51:48.603289597Z, End: 2024-01-30T00:51:48.614305354Z, Duration: 00:00:00.011 00:51:49 Propagate runtime types to strongly connected components: Begin: 2024-01-30T00:51:48.614552028Z, End: 2024-01-30T00:51:48.641615042Z, Duration: 00:00:00.027 00:51:49 Variable Type Analysis #2: Begin: 2024-01-30T00:51:48.643977384Z, End: 2024-01-30T00:51:48.697150865Z, Duration: 00:00:00.053 00:51:49 Create runtime type propagation graph: Begin: 2024-01-30T00:51:48.644069786Z, End: 2024-01-30T00:51:48.673013684Z, Duration: 00:00:00.028 00:51:49 Run SCC (Tarjan) on 7006 nodes: Begin: 2024-01-30T00:51:48.673304988Z, End: 2024-01-30T00:51:48.679248705Z, Duration: 00:00:00.005 00:51:49 Propagate runtime types to strongly connected components: Begin: 2024-01-30T00:51:48.679426428Z, End: 2024-01-30T00:51:48.696975282Z, Duration: 00:00:00.017 00:51:49 Load config: Begin: 2024-01-30T00:51:48.699856294Z, End: 2024-01-30T00:51:48.845638380Z, Duration: 00:00:00.145 00:51:49 Compute entry points: Begin: 2024-01-30T00:51:48.851278261Z, End: 2024-01-30T00:51:49.068203800Z, Duration: 00:00:00.216 00:51:49 Slice call graph: Begin: 2024-01-30T00:51:49.068582627Z, End: 2024-01-30T00:51:49.069484773Z, Duration: 00:00:00.000 00:51:49 Live variable analysis: Begin: 2024-01-30T00:51:49.069602595Z, End: 2024-01-30T00:51:49.083565363Z, Duration: 00:00:00.013 00:51:49 Taint analysis for python: Begin: 2024-01-30T00:51:49.085075639Z, End: 2024-01-30T00:51:49.306794192Z, Duration: 00:00:00.221 00:51:49 Report issues: Begin: 2024-01-30T00:51:49.306915084Z, End: 2024-01-30T00:51:49.309920247Z, Duration: 00:00:00.003 00:51:49 Store cache: Begin: 2024-01-30T00:51:49.310040219Z, End: 2024-01-30T00:51:49.325168897Z, Duration: 00:00:00.015 00:51:49 INFO: python security sensor peak memory: 164 MB 00:51:49 INFO: Sensor PythonSecuritySensor [security] (done) | time=1376ms 00:51:49 INFO: Sensor JsSecuritySensor [security] 00:51:49 INFO: Enabled taint analysis rules: S5131, S5696, S5334, S2631, S5146, S6287, S5144, S6105, S2083, S5147, S5883, S2076, S3649, S6096, S6350 00:51:49 INFO: Load type hierarchy and UCFGs: Starting 00:51:49 INFO: Load type hierarchy: Starting 00:51:49 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 00:51:49 INFO: Read 0 type definitions 00:51:49 INFO: Load type hierarchy: Time spent was 00:00:00.000 00:51:49 INFO: Load UCFGs: Starting 00:51:49 INFO: Load UCFGs: Time spent was 00:00:00.000 00:51:49 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 00:51:49 INFO: No UCFGs have been included for analysis. 00:51:49 INFO: js security sensor: Time spent was 00:00:00.001 00:51:49 INFO: Sensor JsSecuritySensor [security] (done) | time=2ms 00:51:49 INFO: ------------- Run sensors on project 00:51:49 INFO: Sensor Zero Coverage Sensor 00:51:49 INFO: Sensor Zero Coverage Sensor (done) | time=11ms 00:51:49 INFO: CPD Executor 5 files had no CPD blocks 00:51:49 INFO: CPD Executor Calculating CPD for 32 files 00:51:49 INFO: CPD Executor CPD calculation finished (done) | time=41ms 00:51:49 INFO: Analysis report generated in 212ms, dir size=682 KB 00:51:49 INFO: Analysis report compressed in 98ms, zip size=243 KB 00:51:50 INFO: Analysis report uploaded in 1074ms 00:51:50 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 00:51:50 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 00:51:50 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AY1X2dbceLKpfHsenqeP 00:51:52 INFO: Sensor cache published successfully 00:51:52 INFO: Analysis total time: 29.822 s 00:51:52 INFO: ------------------------------------------------------------------------ 00:51:52 INFO: EXECUTION SUCCESS 00:51:52 INFO: ------------------------------------------------------------------------ 00:51:52 INFO: Total time: 35.393s 00:51:52 INFO: Final Memory: 47M/164M 00:51:52 INFO: ------------------------------------------------------------------------ 00:51:53 $ ssh-agent -k 00:51:53 unset SSH_AUTH_SOCK; 00:51:53 unset SSH_AGENT_PID; 00:51:53 echo Agent pid 6561 killed; 00:51:53 [ssh-agent] Stopped. 00:51:54 [PostBuildScript] - [INFO] Executing post build scripts. 00:51:54 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10339042258913041493.sh 00:51:54 ---> sysstat.sh 00:51:54 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11306333393689981748.sh 00:51:54 ---> package-listing.sh 00:51:54 ++ tr '[:upper:]' '[:lower:]' 00:51:54 ++ facter osfamily 00:51:54 + OS_FAMILY=debian 00:51:54 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 00:51:54 + START_PACKAGES=/tmp/packages_start.txt 00:51:54 + END_PACKAGES=/tmp/packages_end.txt 00:51:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:51:54 + PACKAGES=/tmp/packages_start.txt 00:51:54 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 00:51:54 + PACKAGES=/tmp/packages_end.txt 00:51:54 + case "${OS_FAMILY}" in 00:51:54 + grep '^ii' 00:51:54 + dpkg -l 00:51:54 + '[' -f /tmp/packages_start.txt ']' 00:51:54 + '[' -f /tmp/packages_end.txt ']' 00:51:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:51:54 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 00:51:54 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 00:51:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 00:51:54 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16073983000683424289.sh 00:51:54 ---> capture-instance-metadata.sh 00:51:54 Setup pyenv: 00:51:55 system 00:51:55 3.8.13 00:51:55 3.9.13 00:51:55 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 00:51:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jAWo from file:/tmp/.os_lf_venv 00:51:57 lf-activate-venv(): INFO: Installing: lftools 00:52:11 lf-activate-venv(): INFO: Adding /tmp/venv-jAWo/bin to PATH 00:52:11 INFO: Running in OpenStack, capturing instance metadata 00:52:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7247028890233586946.sh 00:52:12 provisioning config files... 00:52:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config1963457001979022118tmp 00:52:12 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:52:12 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:52:12 [EnvInject] - Injecting environment variables from a build step. 00:52:12 [EnvInject] - Injecting as environment variables the properties content 00:52:12 SERVER_ID=logs 00:52:12 00:52:12 [EnvInject] - Variables injected successfully. 00:52:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17207444754174640028.sh 00:52:12 ---> create-netrc.sh 00:52:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins3363396981400943988.sh 00:52:12 ---> python-tools-install.sh 00:52:12 Setup pyenv: 00:52:12 system 00:52:12 3.8.13 00:52:12 3.9.13 00:52:12 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 00:52:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jAWo from file:/tmp/.os_lf_venv 00:52:14 lf-activate-venv(): INFO: Installing: lftools 00:52:25 lf-activate-venv(): INFO: Adding /tmp/venv-jAWo/bin to PATH 00:52:25 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10785215276021017230.sh 00:52:25 ---> sudo-logs.sh 00:52:25 Archiving 'sudo' log.. 00:52:25 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins8565396571863379319.sh 00:52:25 ---> job-cost.sh 00:52:25 Setup pyenv: 00:52:25 system 00:52:25 3.8.13 00:52:25 3.9.13 00:52:25 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 00:52:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jAWo from file:/tmp/.os_lf_venv 00:52:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:52:38 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 00:52:38 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 00:52:39 lf-activate-venv(): INFO: Adding /tmp/venv-jAWo/bin to PATH 00:52:39 INFO: No Stack... 00:52:39 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:52:40 INFO: Archiving Costs 00:52:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8295607220483305770.sh 00:52:40 ---> logs-deploy.sh 00:52:40 Setup pyenv: 00:52:40 system 00:52:40 3.8.13 00:52:40 3.9.13 00:52:40 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 00:52:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jAWo from file:/tmp/.os_lf_venv 00:52:41 lf-activate-venv(): INFO: Installing: lftools 00:52:53 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 00:52:53 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 00:52:54 lf-activate-venv(): INFO: Adding /tmp/venv-jAWo/bin to PATH 00:52:54 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/234 00:52:54 INFO: archiving workspace using pattern(s): -p **/*.log 00:52:57 Archives upload complete. 00:52:57 INFO: archiving logs to Nexus 00:52:58 ---> uname -a: 00:52:58 Linux prd-ubuntu2004-builder-2c-2g-306 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:52:58 00:52:58 00:52:58 ---> lscpu: 00:52:58 Architecture: x86_64 00:52:58 CPU op-mode(s): 32-bit, 64-bit 00:52:58 Byte Order: Little Endian 00:52:58 Address sizes: 40 bits physical, 48 bits virtual 00:52:58 CPU(s): 2 00:52:58 On-line CPU(s) list: 0,1 00:52:58 Thread(s) per core: 1 00:52:58 Core(s) per socket: 1 00:52:58 Socket(s): 2 00:52:58 NUMA node(s): 1 00:52:58 Vendor ID: AuthenticAMD 00:52:58 CPU family: 23 00:52:58 Model: 49 00:52:58 Model name: AMD EPYC-Rome Processor 00:52:58 Stepping: 0 00:52:58 CPU MHz: 2799.996 00:52:58 BogoMIPS: 5599.99 00:52:58 Virtualization: AMD-V 00:52:58 Hypervisor vendor: KVM 00:52:58 Virtualization type: full 00:52:58 L1d cache: 64 KiB 00:52:58 L1i cache: 64 KiB 00:52:58 L2 cache: 1 MiB 00:52:58 L3 cache: 32 MiB 00:52:58 NUMA node0 CPU(s): 0,1 00:52:58 Vulnerability Gather data sampling: Not affected 00:52:58 Vulnerability Itlb multihit: Not affected 00:52:58 Vulnerability L1tf: Not affected 00:52:58 Vulnerability Mds: Not affected 00:52:58 Vulnerability Meltdown: Not affected 00:52:58 Vulnerability Mmio stale data: Not affected 00:52:58 Vulnerability Retbleed: Vulnerable 00:52:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:52:58 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:52:58 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 00:52:58 Vulnerability Srbds: Not affected 00:52:58 Vulnerability Tsx async abort: Not affected 00:52:58 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 00:52:58 00:52:58 00:52:58 ---> nproc: 00:52:58 2 00:52:58 00:52:58 00:52:58 ---> df -h: 00:52:58 Filesystem Size Used Avail Use% Mounted on 00:52:58 udev 969M 0 969M 0% /dev 00:52:58 tmpfs 198M 1.0M 197M 1% /run 00:52:58 /dev/vda1 20G 8.8G 11G 46% / 00:52:58 tmpfs 986M 0 986M 0% /dev/shm 00:52:58 tmpfs 5.0M 0 5.0M 0% /run/lock 00:52:58 tmpfs 986M 0 986M 0% /sys/fs/cgroup 00:52:58 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 00:52:58 /dev/loop0 62M 62M 0 100% /snap/core20/1405 00:52:58 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 00:52:58 /dev/vda15 105M 6.1M 99M 6% /boot/efi 00:52:58 tmpfs 198M 0 198M 0% /run/user/1001 00:52:58 /dev/loop3 92M 92M 0 100% /snap/lxd/24061 00:52:58 00:52:58 00:52:58 ---> free -m: 00:52:58 total used free shared buff/cache available 00:52:58 Mem: 1971 476 138 2 1356 1310 00:52:58 Swap: 1023 3 1020 00:52:58 00:52:58 00:52:58 ---> ip addr: 00:52:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:52:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:52:58 inet 127.0.0.1/8 scope host lo 00:52:58 valid_lft forever preferred_lft forever 00:52:58 inet6 ::1/128 scope host 00:52:58 valid_lft forever preferred_lft forever 00:52:58 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:52:58 link/ether fa:16:3e:a7:26:80 brd ff:ff:ff:ff:ff:ff 00:52:58 inet 10.32.7.237/23 brd 10.32.7.255 scope global dynamic ens3 00:52:58 valid_lft 86054sec preferred_lft 86054sec 00:52:58 inet6 fe80::f816:3eff:fea7:2680/64 scope link 00:52:58 valid_lft forever preferred_lft forever 00:52:58 00:52:58 00:52:58 ---> sar -b -r -n DEV: 00:52:58 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-306) 01/30/24 _x86_64_ (2 CPU) 00:52:58 00:52:58 00:47:16 LINUX RESTART (2 CPU) 00:52:58 00:52:58 00:48:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:52:58 00:49:01 136.66 64.44 72.22 0.00 2770.60 12967.31 0.00 00:52:58 00:50:01 38.51 5.70 32.81 0.00 258.76 6436.39 0.00 00:52:58 00:51:01 72.40 2.22 70.19 0.00 122.91 23912.81 0.00 00:52:58 00:52:01 94.30 56.06 38.24 0.00 3152.68 23245.85 0.00 00:52:58 Average: 85.47 32.11 53.36 0.00 1576.30 16640.87 0.00 00:52:58 00:52:58 00:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:52:58 00:49:01 89000 1438328 344740 17.08 64108 1359348 810008 26.41 428740 1297736 86848 00:52:58 00:50:01 110616 1428416 354340 17.55 69900 1314628 872176 28.44 446652 1250588 1608 00:52:58 00:51:01 93628 1391860 388628 19.25 82980 1267504 912704 29.76 399612 1297760 133736 00:52:58 00:52:01 397576 1412812 359056 17.79 86020 1004124 832656 27.15 376280 1031672 22836 00:52:58 Average: 172705 1417854 361691 17.92 75752 1236401 856886 27.94 412821 1219439 61257 00:52:58 00:52:58 00:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:52:58 00:49:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 00:52:58 00:49:01 ens3 53.01 49.43 686.50 7.09 0.00 0.00 0.00 0.00 00:52:58 00:50:01 lo 0.83 0.83 0.07 0.07 0.00 0.00 0.00 0.00 00:52:58 00:50:01 ens3 13.51 13.75 33.66 3.77 0.00 0.00 0.00 0.00 00:52:58 00:51:01 lo 0.83 0.83 0.08 0.08 0.00 0.00 0.00 0.00 00:52:58 00:51:01 ens3 116.95 97.87 2403.08 10.91 0.00 0.00 0.00 0.00 00:52:58 00:52:01 lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 00:52:58 00:52:01 ens3 468.24 289.00 3500.23 41.89 0.00 0.00 0.00 0.00 00:52:58 Average: lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 00:52:58 Average: ens3 162.94 112.52 1655.94 15.91 0.00 0.00 0.00 0.00 00:52:58 00:52:58 00:52:58 ---> sar -P ALL: 00:52:58 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-306) 01/30/24 _x86_64_ (2 CPU) 00:52:58 00:52:58 00:47:16 LINUX RESTART (2 CPU) 00:52:58 00:52:58 00:48:01 CPU %user %nice %system %iowait %steal %idle 00:52:58 00:49:01 all 38.56 11.11 9.75 6.23 0.10 34.24 00:52:58 00:49:01 0 42.43 8.71 8.81 7.96 0.10 31.99 00:52:58 00:49:01 1 34.70 13.50 10.69 4.52 0.10 36.49 00:52:58 00:50:01 all 15.50 0.00 1.33 2.37 0.08 80.73 00:52:58 00:50:01 0 3.47 0.00 1.01 3.76 0.07 91.70 00:52:58 00:50:01 1 27.47 0.00 1.65 0.98 0.08 69.81 00:52:58 00:51:01 all 29.85 0.00 2.72 4.23 0.08 63.12 00:52:58 00:51:01 0 18.94 0.00 2.50 3.01 0.08 75.47 00:52:58 00:51:01 1 40.81 0.00 2.94 5.45 0.08 50.71 00:52:58 00:52:01 all 42.22 0.00 3.50 2.90 0.08 51.29 00:52:58 00:52:01 0 48.17 0.00 3.82 2.38 0.08 45.55 00:52:58 00:52:01 1 36.25 0.00 3.18 3.42 0.08 57.06 00:52:58 Average: all 31.53 2.77 4.32 3.93 0.09 57.36 00:52:58 Average: 0 28.26 2.17 4.03 4.27 0.08 61.18 00:52:58 Average: 1 34.80 3.37 4.62 3.59 0.09 53.53 00:52:58 00:52:58 00:52:58