03:10:03 Started by timer 03:10:03 Running as SYSTEM 03:10:03 [EnvInject] - Loading node environment variables. 03:10:03 Building remotely on prd-ubuntu1804-builder-2c-2g-402 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:10:03 [ssh-agent] Looking for ssh-agent implementation... 03:10:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:03 $ ssh-agent 03:10:03 SSH_AUTH_SOCK=/tmp/ssh-BZ9DAjxd2Aux/agent.1680 03:10:03 SSH_AGENT_PID=1682 03:10:03 [ssh-agent] Started. 03:10:03 Running ssh-add (command line suppressed) 03:10:03 Identity added: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/private_key_5725056701893200234.key (jenkins-ssh) 03:10:03 [ssh-agent] Using credentials jenkins (jenkins) 03:10:03 The recommended git tool is: NONE 03:10:05 using credential jenkins 03:10:05 Wiping out workspace first. 03:10:05 Cloning the remote Git repository 03:10:05 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:10:05 > git init /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube # timeout=10 03:10:05 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:10:05 > git --version # timeout=10 03:10:05 > git --version # 'git version 2.17.1' 03:10:05 using GIT_SSH to set credentials jenkins 03:10:05 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:06 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 03:10:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:06 Avoid second fetch 03:10:06 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 03:10:06 Checking out Revision 79a667087e15d69adcb22625d624e0d1578af7e5 (refs/remotes/origin/master) 03:10:06 > git config core.sparsecheckout # timeout=10 03:10:06 > git checkout -f 79a667087e15d69adcb22625d624e0d1578af7e5 # timeout=10 03:10:07 Commit message: "Committer change" 03:10:07 > git rev-list --no-walk 79a667087e15d69adcb22625d624e0d1578af7e5 # timeout=10 03:10:07 > git remote # timeout=10 03:10:07 > git submodule init # timeout=10 03:10:07 > git submodule sync # timeout=10 03:10:07 > git config --get remote.origin.url # timeout=10 03:10:07 > git submodule init # timeout=10 03:10:07 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 03:10:07 > git config --get submodule.nodeb-rnib.url # timeout=10 03:10:07 > git config -f .gitmodules --get submodule.nodeb-rnib.path # timeout=10 03:10:07 > git submodule update --init --recursive nodeb-rnib # timeout=10 03:10:07 provisioning config files... 03:10:07 copy managed file [npmrc] to file:/home/jenkins/.npmrc 03:10:07 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 03:10:07 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins7565832651545086895.sh 03:10:07 ---> python-tools-install.sh 03:10:07 Setup pyenv: 03:10:07 * system (set by /opt/pyenv/version) 03:10:07 * 3.8.13 (set by /opt/pyenv/version) 03:10:07 * 3.9.13 (set by /opt/pyenv/version) 03:10:07 * 3.10.6 (set by /opt/pyenv/version) 03:10:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QXfq 03:10:12 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 03:10:16 lf-activate-venv(): INFO: Installing: lftools 03:10:50 lf-activate-venv(): INFO: Adding /tmp/venv-QXfq/bin to PATH 03:10:50 Generating Requirements File 03:11:19 Python 3.10.6 03:11:20 pip 24.0 from /tmp/venv-QXfq/lib/python3.10/site-packages/pip (python 3.10) 03:11:21 appdirs==1.4.4 03:11:21 argcomplete==3.2.3 03:11:21 aspy.yaml==1.3.0 03:11:21 attrs==23.2.0 03:11:21 autopage==0.5.2 03:11:21 beautifulsoup4==4.12.3 03:11:21 boto3==1.34.75 03:11:21 botocore==1.34.75 03:11:21 bs4==0.0.2 03:11:21 cachetools==5.3.3 03:11:21 certifi==2024.2.2 03:11:21 cffi==1.16.0 03:11:21 cfgv==3.4.0 03:11:21 chardet==5.2.0 03:11:21 charset-normalizer==3.3.2 03:11:21 click==8.1.7 03:11:21 cliff==4.6.0 03:11:21 cmd2==2.4.3 03:11:21 cryptography==3.3.2 03:11:21 debtcollector==3.0.0 03:11:21 decorator==5.1.1 03:11:21 defusedxml==0.7.1 03:11:21 Deprecated==1.2.14 03:11:21 distlib==0.3.8 03:11:21 dnspython==2.6.1 03:11:21 docker==4.2.2 03:11:21 dogpile.cache==1.3.2 03:11:21 email_validator==2.1.1 03:11:21 filelock==3.13.3 03:11:21 future==1.0.0 03:11:21 gitdb==4.0.11 03:11:21 GitPython==3.1.43 03:11:21 google-auth==2.29.0 03:11:21 httplib2==0.22.0 03:11:21 identify==2.5.35 03:11:21 idna==3.6 03:11:21 importlib-resources==1.5.0 03:11:21 iso8601==2.1.0 03:11:21 Jinja2==3.1.3 03:11:21 jmespath==1.0.1 03:11:21 jsonpatch==1.33 03:11:21 jsonpointer==2.4 03:11:21 jsonschema==4.21.1 03:11:21 jsonschema-specifications==2023.12.1 03:11:21 keystoneauth1==5.6.0 03:11:21 kubernetes==29.0.0 03:11:21 lftools==0.37.10 03:11:21 lxml==5.2.0 03:11:21 MarkupSafe==2.1.5 03:11:21 msgpack==1.0.8 03:11:21 multi_key_dict==2.0.3 03:11:21 munch==4.0.0 03:11:21 netaddr==1.2.1 03:11:21 netifaces==0.11.0 03:11:21 niet==1.4.2 03:11:21 nodeenv==1.8.0 03:11:21 oauth2client==4.1.3 03:11:21 oauthlib==3.2.2 03:11:21 openstacksdk==3.0.0 03:11:21 os-client-config==2.1.0 03:11:21 os-service-types==1.7.0 03:11:21 osc-lib==3.0.1 03:11:21 oslo.config==9.4.0 03:11:21 oslo.context==5.5.0 03:11:21 oslo.i18n==6.3.0 03:11:21 oslo.log==5.5.0 03:11:21 oslo.serialization==5.4.0 03:11:21 oslo.utils==7.1.0 03:11:21 packaging==24.0 03:11:21 pbr==6.0.0 03:11:21 platformdirs==4.2.0 03:11:21 prettytable==3.10.0 03:11:21 pyasn1==0.6.0 03:11:21 pyasn1_modules==0.4.0 03:11:21 pycparser==2.22 03:11:21 pygerrit2==2.0.15 03:11:21 PyGithub==2.3.0 03:11:21 pyinotify==0.9.6 03:11:21 PyJWT==2.8.0 03:11:21 PyNaCl==1.5.0 03:11:21 pyparsing==2.4.7 03:11:21 pyperclip==1.8.2 03:11:21 pyrsistent==0.20.0 03:11:21 python-cinderclient==9.5.0 03:11:21 python-dateutil==2.9.0.post0 03:11:21 python-heatclient==3.5.0 03:11:21 python-jenkins==1.8.2 03:11:21 python-keystoneclient==5.4.0 03:11:21 python-magnumclient==4.4.0 03:11:21 python-novaclient==18.6.0 03:11:21 python-openstackclient==6.6.0 03:11:21 python-swiftclient==4.5.0 03:11:21 PyYAML==6.0.1 03:11:21 referencing==0.34.0 03:11:21 requests==2.31.0 03:11:21 requests-oauthlib==2.0.0 03:11:21 requestsexceptions==1.4.0 03:11:21 rfc3986==2.0.0 03:11:21 rpds-py==0.18.0 03:11:21 rsa==4.9 03:11:21 ruamel.yaml==0.18.6 03:11:21 ruamel.yaml.clib==0.2.8 03:11:21 s3transfer==0.10.1 03:11:21 simplejson==3.19.2 03:11:21 six==1.16.0 03:11:21 smmap==5.0.1 03:11:21 soupsieve==2.5 03:11:21 stevedore==5.2.0 03:11:21 tabulate==0.9.0 03:11:21 toml==0.10.2 03:11:21 tomlkit==0.12.4 03:11:21 tqdm==4.66.2 03:11:21 typing_extensions==4.10.0 03:11:21 tzdata==2024.1 03:11:21 urllib3==1.26.18 03:11:21 virtualenv==20.25.1 03:11:21 wcwidth==0.2.13 03:11:21 websocket-client==1.7.0 03:11:21 wrapt==1.16.0 03:11:21 xdg==6.0.0 03:11:21 xmltodict==0.13.0 03:11:21 yq==3.2.3 03:11:21 [EnvInject] - Injecting environment variables from a build step. 03:11:21 [EnvInject] - Injecting as environment variables the properties content 03:11:21 SET_JDK_VERSION=openjdk17 03:11:21 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 03:11:21 03:11:21 [EnvInject] - Variables injected successfully. 03:11:21 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/sh /tmp/jenkins1085399150642689959.sh 03:11:21 ---> update-java-alternatives.sh 03:11:21 ---> Updating Java version 03:11:21 ---> Ubuntu/Debian system detected 03:11:22 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 03:11:22 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 03:11:22 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 03:11:22 openjdk version "17.0.7" 2023-04-18 03:11:22 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 03:11:22 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 03:11:22 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 03:11:22 [EnvInject] - Injecting environment variables from a build step. 03:11:22 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 03:11:22 [EnvInject] - Variables injected successfully. 03:11:22 [EnvInject] - Injecting environment variables from a build step. 03:11:22 [EnvInject] - Injecting as environment variables the properties content 03:11:22 PYTHON=python3 03:11:22 03:11:22 [EnvInject] - Variables injected successfully. 03:11:22 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11943206255552926679.sh 03:11:22 ---> tox-install.sh 03:11:22 + source /home/jenkins/lf-env.sh 03:11:22 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 03:11:22 ++ mktemp -d /tmp/venv-XXXX 03:11:22 + lf_venv=/tmp/venv-Ohmw 03:11:22 + local venv_file=/tmp/.os_lf_venv 03:11:22 + local python=python3 03:11:22 + local options 03:11:22 + local set_path=true 03:11:22 + local install_args= 03:11:22 ++ 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 03:11:22 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:22 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:22 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 03:11:22 + true 03:11:22 + case $1 in 03:11:22 + venv_file=/tmp/.toxenv 03:11:22 + shift 2 03:11:22 + true 03:11:22 + case $1 in 03:11:22 + shift 03:11:22 + break 03:11:22 + case $python in 03:11:22 + local pkg_list= 03:11:22 + [[ -d /opt/pyenv ]] 03:11:22 + echo 'Setup pyenv:' 03:11:22 Setup pyenv: 03:11:22 + export PYENV_ROOT=/opt/pyenv 03:11:22 + PYENV_ROOT=/opt/pyenv 03:11:22 + 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 03:11:22 + 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 03:11:22 + pyenv versions 03:11:22 system 03:11:22 3.8.13 03:11:22 3.9.13 03:11:22 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:11:22 + command -v pyenv 03:11:22 ++ pyenv init - --no-rehash 03:11:22 + 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[*]}"'\'')" 03:11:22 export PATH="/opt/pyenv/shims:${PATH}" 03:11:22 export PYENV_SHELL=bash 03:11:22 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:11:22 pyenv() { 03:11:22 local command 03:11:22 command="${1:-}" 03:11:22 if [ "$#" -gt 0 ]; then 03:11:22 shift 03:11:22 fi 03:11:22 03:11:22 case "$command" in 03:11:22 rehash|shell) 03:11:22 eval "$(pyenv "sh-$command" "$@")" 03:11:22 ;; 03:11:22 *) 03:11:22 command pyenv "$command" "$@" 03:11:22 ;; 03:11:22 esac 03:11:22 }' 03:11:22 +++ 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[*]}"' 03:11:22 ++ 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 03:11:22 ++ 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 03:11:22 ++ 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 03:11:22 ++ export PYENV_SHELL=bash 03:11:22 ++ PYENV_SHELL=bash 03:11:22 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:11:22 +++ complete -F _pyenv pyenv 03:11:22 ++ lf-pyver python3 03:11:22 ++ local py_version_xy=python3 03:11:22 ++ local py_version_xyz= 03:11:22 ++ grep -E '^[0-9.]*[0-9]$' 03:11:22 ++ pyenv versions 03:11:22 ++ sed 's/^[ *]* //' 03:11:22 ++ local command 03:11:22 ++ command=versions 03:11:22 ++ '[' 1 -gt 0 ']' 03:11:22 ++ shift 03:11:22 ++ case "$command" in 03:11:22 ++ awk '{ print $1 }' 03:11:22 ++ command pyenv versions 03:11:22 ++ pyenv versions 03:11:22 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:22 +++ grep '^3' /tmp/.pyenv_versions 03:11:22 +++ sort -V 03:11:22 +++ tail -n 1 03:11:22 ++ py_version_xyz=3.10.6 03:11:22 ++ [[ -z 3.10.6 ]] 03:11:22 ++ echo 3.10.6 03:11:22 ++ return 0 03:11:22 + pyenv local 3.10.6 03:11:22 + local command 03:11:22 + command=local 03:11:22 + '[' 2 -gt 0 ']' 03:11:22 + shift 03:11:22 + case "$command" in 03:11:22 + command pyenv local 3.10.6 03:11:22 + pyenv local 3.10.6 03:11:22 + for arg in "$@" 03:11:22 + case $arg in 03:11:22 + pkg_list+='tox ' 03:11:22 + for arg in "$@" 03:11:22 + case $arg in 03:11:22 + pkg_list+='virtualenv ' 03:11:22 + for arg in "$@" 03:11:22 + case $arg in 03:11:22 + pkg_list+='urllib3~=1.26.15 ' 03:11:22 + [[ -f /tmp/.toxenv ]] 03:11:22 + [[ ! -f /tmp/.toxenv ]] 03:11:22 + [[ -n '' ]] 03:11:22 + python3 -m venv /tmp/venv-Ohmw 03:11:26 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ohmw' 03:11:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ohmw 03:11:26 + echo /tmp/venv-Ohmw 03:11:26 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 03:11:26 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 03:11:26 + /tmp/venv-Ohmw/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:11:29 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:11:29 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:11:29 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:11:29 + /tmp/venv-Ohmw/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:11:32 + type python3 03:11:32 + true 03:11:32 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Ohmw/bin to PATH' 03:11:32 lf-activate-venv(): INFO: Adding /tmp/venv-Ohmw/bin to PATH 03:11:32 + PATH=/tmp/venv-Ohmw/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 03:11:32 + return 0 03:11:32 + python3 --version 03:11:32 Python 3.10.6 03:11:32 + python3 -m pip --version 03:11:32 pip 24.0 from /tmp/venv-Ohmw/lib/python3.10/site-packages/pip (python 3.10) 03:11:32 + python3 -m pip freeze 03:11:32 cachetools==5.3.3 03:11:32 chardet==5.2.0 03:11:32 colorama==0.4.6 03:11:32 distlib==0.3.8 03:11:32 filelock==3.13.3 03:11:32 packaging==24.0 03:11:32 platformdirs==4.2.0 03:11:32 pluggy==1.4.0 03:11:32 pyproject-api==1.6.1 03:11:32 tomli==2.0.1 03:11:32 tox==4.14.2 03:11:32 urllib3==1.26.18 03:11:32 virtualenv==20.25.1 03:11:32 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins14295060322380342822.sh 03:11:32 ---> install-deb-rmr.sh 03:11:32 + version_file=rmr-version.yaml 03:11:32 + [[ -f rmr-version.yaml ]] 03:11:32 ++ grep '^repo:' rmr-version.yaml 03:11:32 ++ cut -d: -f2 03:11:32 ++ xargs 03:11:32 + repo= 03:11:32 ++ grep '^version:' rmr-version.yaml 03:11:32 ++ cut -d: -f2 03:11:32 ++ xargs 03:11:32 + ver=4.9.4 03:11:32 + [[ -z 4.9.4 ]] 03:11:32 + repo=release 03:11:32 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:11:32 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.4_amd64.deb/download.deb 03:11:32 2024-04-02 03:11:32 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486039.deb?Expires=1712027792&Signature=JQFfCPwhh1X3p5ktz5QDdEiUp1c5NwEgFJgxD3brsw5jZ2lqtkeV4mw1-utDbZIgRGp0jBZd3E3Z~QF4Uyed7deK4PuzPx0yCCCC6Hn5btbpb4dbwQ9lD~GXQk-KeQPh-TU17ayCGNKQWfRAm2IZRLb6Dzife~j4JyX8c~zH2i5CqyWFbClJmh20-Ot5awVuscUbsRrVhXcWqgqEt5fh~6xFwCqxW2pMyZf~JHrAHjGZAKaOnccHPt8Nb~zNCNrRXtpcjwqOq58FkjcdmEAoa3A8oXz0YaWWQEqN5nEbHZ9zHeYOY5hdRrIMiVB2Bn~Ptx1GigQk5owNC~uofthh2Q__&Key-Pair-Id=K1ZMSF1EKC3AZL [246552/246552] -> "rmr_4.9.4_amd64.deb" [1] 03:11:32 + sudo dpkg -i rmr_4.9.4_amd64.deb 03:11:33 Selecting previously unselected package rmr. 03:11:34 (Reading database ... 188029 files and directories currently installed.) 03:11:34 Preparing to unpack rmr_4.9.4_amd64.deb ... 03:11:34 Unpacking rmr (4.9.4) ... 03:11:35 Setting up rmr (4.9.4) ... 03:11:35 + rm -f rmr_4.9.4_amd64.deb 03:11:35 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:11:35 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.4_amd64.deb/download.deb 03:11:35 2024-04-02 03:11:35 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486035.deb?Expires=1712027795&Signature=wV7j03QPmC6bLOBRQzGd95kOrIH5HC9cqaG2mtIKGKlYxrsV4wcG-OAcSi46p5RgkJd8HkgIvwwcVIrNhP7xVyFswuCPjNjh6NhDP5e5FXYyn~Hg9Nyzx1fNjzPySASGTwOxhZd9VxHuhsPZe0WEXAVsX2iHUYTkkZyzEYHUgsJl7VbOCR4SSp7hm~FC~npQdy6GnVW~ZwwcaMyWXB9-nZbIYs2cRkzzfynp4vRsVe5f9CbdJ-V3yBn45NQHjFF8qfR01B-yLYiLZzByHsa0f32zAFI1oz6UxEWbUINfTYK9fSWjsDfM0SCVk-GvQbjqR2Ep4V5KzolkpaI5BfqBdQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [128860/128860] -> "rmr-dev_4.9.4_amd64.deb" [1] 03:11:35 + sudo dpkg -i rmr-dev_4.9.4_amd64.deb 03:11:35 Selecting previously unselected package rmr-dev. 03:11:35 (Reading database ... 188037 files and directories currently installed.) 03:11:35 Preparing to unpack rmr-dev_4.9.4_amd64.deb ... 03:11:35 Unpacking rmr-dev (4.9.4) ... 03:11:35 Setting up rmr-dev (4.9.4) ... 03:11:35 + rm -f rmr-dev_4.9.4_amd64.deb 03:11:35 + echo '---> install-deb-rmr.sh ends' 03:11:35 ---> install-deb-rmr.sh ends 03:11:35 + echo '---> install-deb-e2ap.sh' 03:11:35 ---> install-deb-e2ap.sh 03:11:35 + set -eux 03:11:35 + version_file=e2ap-version.yaml 03:11:35 + [[ -f e2ap-version.yaml ]] 03:11:35 ++ grep '^repo:' e2ap-version.yaml 03:11:35 ++ xargs 03:11:35 ++ cut -d: -f2 03:11:35 + repo= 03:11:35 ++ grep '^version:' e2ap-version.yaml 03:11:35 ++ cut -d: -f2 03:11:35 ++ xargs 03:11:35 + ver=1.1.0 03:11:35 + [[ -z 1.1.0 ]] 03:11:35 + repo=release 03:11:35 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:11:35 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_1.1.0_amd64.deb/download.deb 03:11:35 2024-04-02 03:11:35 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517358.deb?Expires=1712027795&Signature=i~BOPrjY3d0SUddmxcE0nVdzgq6LWNSdnEbDwlMAm6wnOPHdpWU8~L2d3d3HQB1FPTeg1CNlk8X83eu3Is6FyIk9kONwURxzSxzZbII4i7SBWnc0hS5YkQu8Z5t6nyjfQZHs9v-FIvm30W-YXd1CCYZMlgVCUXnD89953S6zVOhImHIFA4WCtBe2QeP5mOuX0kW538IvGlGGlZgjWiU3IUPosguaQyAFR07yQDmqs36gCirR5cGTQ8meTLOEclytTCJ21cQd86jXYtIMdLvDFmo1jySZ5AFcdk9pkyadW5RTK8t~28N5ukn1sjPAN2PBnWBvtmqlr~l3Ot7-FmWkpQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [341294/341294] -> "riclibe2ap_1.1.0_amd64.deb" [1] 03:11:35 + sudo dpkg -i riclibe2ap_1.1.0_amd64.deb 03:11:35 Selecting previously unselected package riclibe2ap. 03:11:35 (Reading database ... 188044 files and directories currently installed.) 03:11:35 Preparing to unpack riclibe2ap_1.1.0_amd64.deb ... 03:11:35 Unpacking riclibe2ap (1.1.0) ... 03:11:35 Setting up riclibe2ap (1.1.0) ... 03:11:36 + rm -f riclibe2ap_1.1.0_amd64.deb 03:11:36 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:11:36 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap-dev_1.1.0_amd64.deb/download.deb 03:11:36 2024-04-02 03:11:36 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517359.deb?Expires=1712027796&Signature=FFKjybaCuBTH6nFQq9tseCMaBIclM0Whm9KtMsDjGFKZRTdryIGIR3KkkLGNHEFirVwBwJpHpbeFZDT2n5mZwYZnNnONKXzq3Te0W0UaC88Nsxc0jk~wTYRhCq399GuBnLCst3CW88LpbvSLnA49d6kriuPTn92wB3rcPDcqpJuDI-5FjoGMbDthaX9jRzFUgl94xpM3vwHdcRgIF0ARFAvhSH8WIdIk2eQst2ZafIY~abJrR~4ii37vzMjspTarwkSVz3GTbkxMFZHSLskox7rf9MV8CtEUXiMra~TL4I-4zqXc4SL2i6szHaZf3wKjDQgCYXi8rQJ9B66LvleAQQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [823070/823070] -> "riclibe2ap-dev_1.1.0_amd64.deb" [1] 03:11:36 + sudo dpkg -i riclibe2ap-dev_1.1.0_amd64.deb 03:11:36 Selecting previously unselected package riclibe2ap-dev. 03:11:36 (Reading database ... 188047 files and directories currently installed.) 03:11:36 Preparing to unpack riclibe2ap-dev_1.1.0_amd64.deb ... 03:11:36 Unpacking riclibe2ap-dev (1.1.0) ... 03:11:36 Setting up riclibe2ap-dev (1.1.0) ... 03:11:36 + rm -f riclibe2ap-dev_1.1.0_amd64.deb 03:11:36 + echo '---> install-deb-e2ap.sh ends' 03:11:36 ---> install-deb-e2ap.sh ends 03:11:36 [EnvInject] - Injecting environment variables from a build step. 03:11:36 [EnvInject] - Injecting as environment variables the properties content 03:11:36 PARALLEL=False 03:11:36 03:11:36 [EnvInject] - Variables injected successfully. 03:11:36 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6420099024138422545.sh 03:11:36 ---> tox-run.sh 03:11:36 + PATH=/home/jenkins/.local/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 03:11:36 + ARCHIVE_TOX_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox 03:11:36 + ARCHIVE_DOC_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/docs 03:11:36 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox 03:11:36 + cd /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/. 03:11:36 + source /home/jenkins/lf-env.sh 03:11:36 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 03:11:36 ++ mktemp -d /tmp/venv-XXXX 03:11:36 + lf_venv=/tmp/venv-rtz3 03:11:36 + local venv_file=/tmp/.os_lf_venv 03:11:36 + local python=python3 03:11:36 + local options 03:11:36 + local set_path=true 03:11:36 + local install_args= 03:11:36 ++ 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 03:11:36 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:36 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:36 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 03:11:36 + true 03:11:36 + case $1 in 03:11:36 + venv_file=/tmp/.toxenv 03:11:36 + shift 2 03:11:36 + true 03:11:36 + case $1 in 03:11:36 + shift 03:11:36 + break 03:11:36 + case $python in 03:11:36 + local pkg_list= 03:11:36 + [[ -d /opt/pyenv ]] 03:11:36 + echo 'Setup pyenv:' 03:11:36 Setup pyenv: 03:11:36 + export PYENV_ROOT=/opt/pyenv 03:11:36 + PYENV_ROOT=/opt/pyenv 03:11:36 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/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 03:11:36 + PATH=/opt/pyenv/bin:/home/jenkins/.local/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 03:11:36 + pyenv versions 03:11:36 system 03:11:36 3.8.13 03:11:36 3.9.13 03:11:36 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:11:36 + command -v pyenv 03:11:36 ++ pyenv init - --no-rehash 03:11:36 + 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[*]}"'\'')" 03:11:36 export PATH="/opt/pyenv/shims:${PATH}" 03:11:36 export PYENV_SHELL=bash 03:11:36 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:11:36 pyenv() { 03:11:36 local command 03:11:36 command="${1:-}" 03:11:36 if [ "$#" -gt 0 ]; then 03:11:36 shift 03:11:36 fi 03:11:36 03:11:36 case "$command" in 03:11:36 rehash|shell) 03:11:36 eval "$(pyenv "sh-$command" "$@")" 03:11:36 ;; 03:11:36 *) 03:11:36 command pyenv "$command" "$@" 03:11:36 ;; 03:11:36 esac 03:11:36 }' 03:11:36 +++ 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[*]}"' 03:11:36 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/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 03:11:36 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 03:11:36 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 03:11:36 ++ export PYENV_SHELL=bash 03:11:36 ++ PYENV_SHELL=bash 03:11:36 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:11:36 +++ complete -F _pyenv pyenv 03:11:36 ++ lf-pyver python3 03:11:36 ++ local py_version_xy=python3 03:11:36 ++ local py_version_xyz= 03:11:36 ++ pyenv versions 03:11:36 ++ local command 03:11:36 ++ command=versions 03:11:36 ++ awk '{ print $1 }' 03:11:36 ++ '[' 1 -gt 0 ']' 03:11:36 ++ shift 03:11:36 ++ case "$command" in 03:11:36 ++ command pyenv versions 03:11:36 ++ pyenv versions 03:11:36 ++ sed 's/^[ *]* //' 03:11:36 ++ grep -E '^[0-9.]*[0-9]$' 03:11:36 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:36 +++ grep '^3' /tmp/.pyenv_versions 03:11:36 +++ sort -V 03:11:36 +++ tail -n 1 03:11:36 ++ py_version_xyz=3.10.6 03:11:36 ++ [[ -z 3.10.6 ]] 03:11:36 ++ echo 3.10.6 03:11:36 ++ return 0 03:11:36 + pyenv local 3.10.6 03:11:36 + local command 03:11:36 + command=local 03:11:36 + '[' 2 -gt 0 ']' 03:11:36 + shift 03:11:36 + case "$command" in 03:11:36 + command pyenv local 3.10.6 03:11:36 + pyenv local 3.10.6 03:11:36 + for arg in "$@" 03:11:36 + case $arg in 03:11:36 + pkg_list+='tox ' 03:11:36 + for arg in "$@" 03:11:36 + case $arg in 03:11:36 + pkg_list+='virtualenv ' 03:11:36 + for arg in "$@" 03:11:36 + case $arg in 03:11:36 + pkg_list+='urllib3~=1.26.15 ' 03:11:36 + [[ -f /tmp/.toxenv ]] 03:11:36 ++ cat /tmp/.toxenv 03:11:36 + lf_venv=/tmp/venv-Ohmw 03:11:36 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ohmw from' file:/tmp/.toxenv 03:11:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ohmw from file:/tmp/.toxenv 03:11:36 + /tmp/venv-Ohmw/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:11:37 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:11:37 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:11:37 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:11:37 + /tmp/venv-Ohmw/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:11:39 + type python3 03:11:39 + true 03:11:39 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Ohmw/bin to PATH' 03:11:39 lf-activate-venv(): INFO: Adding /tmp/venv-Ohmw/bin to PATH 03:11:39 + PATH=/tmp/venv-Ohmw/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 03:11:39 + return 0 03:11:39 + [[ -d /opt/pyenv ]] 03:11:39 + echo '---> Setting up pyenv' 03:11:39 ---> Setting up pyenv 03:11:39 + export PYENV_ROOT=/opt/pyenv 03:11:39 + PYENV_ROOT=/opt/pyenv 03:11:39 + export PATH=/opt/pyenv/bin:/tmp/venv-Ohmw/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 03:11:39 + PATH=/opt/pyenv/bin:/tmp/venv-Ohmw/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 03:11:39 ++ pwd 03:11:39 + PYTHONPATH=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:11:39 + export PYTHONPATH 03:11:39 + export TOX_TESTENV_PASSENV=PYTHONPATH 03:11:39 + TOX_TESTENV_PASSENV=PYTHONPATH 03:11:39 + tox --version 03:11:39 4.14.2 from /tmp/venv-Ohmw/lib/python3.10/site-packages/tox/__init__.py 03:11:39 + PARALLEL=False 03:11:39 + TOX_OPTIONS_LIST= 03:11:39 + [[ -n code,flake8 ]] 03:11:39 + TOX_OPTIONS_LIST=' -e code,flake8' 03:11:39 + case ${PARALLEL,,} in 03:11:39 + tox -e code,flake8 03:11:39 + tee -a /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/tox.log 03:11:40 code: install_deps> python -I -m pip install coverage pytest pytest-cov six 03:11:43 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 03:11:45 .pkg: _optional_hooks> python /tmp/venv-Ohmw/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:45 .pkg: get_requires_for_build_sdist> python /tmp/venv-Ohmw/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:45 .pkg: get_requires_for_build_wheel> python /tmp/venv-Ohmw/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:45 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 03:11:46 .pkg: freeze> python -m pip freeze --all 03:11:46 .pkg: pip==24.0,setuptools==69.1.0,wheel==0.42.0 03:11:46 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Ohmw/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:46 .pkg: build_sdist> python /tmp/venv-Ohmw/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:47 code: install_package_deps> python -I -m pip install inotify inotify-simple mdclogpy msgpack 'protobuf<3.21.0' requests 'ricsdl<4.0.0,>=3.0.0' 03:11:54 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.tox/.tmp/package/1/ricxappframe-3.2.3.tar.gz 03:11:55 code: freeze> python -m pip freeze --all 03:11:55 code: async-timeout==4.0.3,certifi==2024.2.2,charset-normalizer==3.3.2,coverage==7.4.4,exceptiongroup==1.2.0,hiredis==2.0.0,idna==3.6,iniconfig==2.0.0,inotify==0.2.10,inotify_simple==1.3.5,mdclogpy==1.1.4,msgpack==1.0.8,nose==1.3.7,packaging==24.0,pip==24.0,pluggy==1.4.0,protobuf==3.20.3,pytest==8.1.1,pytest-cov==5.0.0,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe @ file:///w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.tox/.tmp/package/1/ricxappframe-3.2.3.tar.gz#sha256=a8a441f2144b1fb16886553b242ba30dc5008c23eb5a48b362e91e1f4319b29a,setuptools==69.1.0,six==1.16.0,tomli==2.0.1,urllib3==2.2.1,wheel==0.42.0 03:11:55 code: commands[0]> pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml 03:11:57 ============================= test session starts ============================== 03:11:57 platform linux -- Python 3.10.6, pytest-8.1.1, pluggy-1.4.0 03:11:57 cachedir: .tox/code/.pytest_cache 03:11:57 rootdir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:11:57 plugins: cov-5.0.0 03:11:57 collected 75 items 03:11:57 03:11:57 tests/test_Logger.py .............. [ 18%] 03:11:57 tests/test_alarm.py .. [ 21%] 03:12:01 tests/test_config.py ... [ 25%] 03:12:47 tests/test_e2ap.py ........ [ 36%] 03:12:47 tests/test_init.py ... [ 40%] 03:13:17 tests/test_metric.py .. [ 42%] 03:13:22 tests/test_rest.py . [ 44%] 03:13:22 tests/test_rmr.py ............. [ 61%] 03:13:31 tests/test_rmr_mocks.py ... [ 65%] 03:13:31 tests/test_rmrclib.py .. [ 68%] 03:13:31 tests/test_sdl.py ..... [ 74%] 03:13:33 tests/test_subscribe.py .... [ 80%] 03:13:33 tests/test_symptomdata.py .... [ 85%] 03:13:33 tests/test_xapps.py ........... [100%] 03:16:32 03:16:32 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 03:16:32 03:16:32 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 03:16:32 Name Stmts Miss Cover Missing 03:16:32 ----------------------------------------------------------------------- 03:16:32 ricxappframe/__init__.py 0 0 100% 03:16:32 ricxappframe/alarm/__init__.py 0 0 100% 03:16:32 ricxappframe/alarm/alarm.py 94 2 98% 250-251 03:16:32 ricxappframe/alarm/exceptions.py 2 0 100% 03:16:32 ricxappframe/constants.py 5 0 100% 03:16:32 ricxappframe/e2ap/__init__.py 0 0 100% 03:16:32 ricxappframe/e2ap/asn1.py 224 0 100% 03:16:32 ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% 03:16:32 ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% 03:16:32 ricxappframe/e2ap/asn1clib/types.py 16 0 100% 03:16:32 ricxappframe/logger/__init__.py 0 0 100% 03:16:32 ricxappframe/logger/mdclogger.py 133 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 03:16:32 ricxappframe/metric/__init__.py 0 0 100% 03:16:32 ricxappframe/metric/exceptions.py 2 0 100% 03:16:32 ricxappframe/metric/metric.py 58 3 95% 122, 201-202 03:16:32 ricxappframe/rmr/__init__.py 0 0 100% 03:16:32 ricxappframe/rmr/exceptions.py 4 0 100% 03:16:32 ricxappframe/rmr/helpers.py 28 0 100% 03:16:32 ricxappframe/rmr/rmr.py 156 3 98% 257, 454, 544 03:16:32 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% 03:16:32 ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 6 92% 39, 59, 79, 115, 133, 148 03:16:32 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% 03:16:32 ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 03:16:32 ricxappframe/util/__init__.py 0 0 100% 03:16:32 ricxappframe/util/constants.py 11 0 100% 03:16:32 ricxappframe/xapp_frame.py 301 45 85% 146-151, 173-174, 176-177, 181-183, 187-195, 222-236, 249-251, 256-257, 270-271, 273, 304-306, 335-336, 366-367, 680-681, 769, 813, 980 03:16:32 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 03:16:32 ricxappframe/xapp_rmr.py 40 0 100% 03:16:32 ricxappframe/xapp_sdl.py 94 1 99% 53 03:16:32 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 03:16:32 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 03:16:32 ----------------------------------------------------------------------- 03:16:32 TOTAL 1550 118 92% 03:16:32 Coverage HTML written to dir htmlcov 03:16:32 Coverage XML written to file coverage.xml 03:16:32 03:16:32 Required test coverage of 70% reached. Total coverage: 92.39% 03:16:32 ======================== 75 passed in 276.31s (0:04:36) ======================== 03:16:36 code: commands[1]> coverage xml -i 03:16:36 Wrote XML report to coverage.xml 03:16:37 code: OK ✔ in 4 minutes 57.01 seconds 03:16:37 flake8: install_deps> python -I -m pip install flake8 03:16:39 flake8: freeze> python -m pip freeze --all 03:16:40 flake8: flake8==7.0.0,mccabe==0.7.0,pip==24.0,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.1.0,wheel==0.42.0 03:16:40 flake8: commands[0]> flake8 setup.py ricxappframe tests 03:16:41 code: OK (297.01=setup[15.92]+cmd[280.75,0.34] seconds) 03:16:41 flake8: OK (4.07=setup[3.17]+cmd[0.90] seconds) 03:16:41 congratulations :) (301.25 seconds) 03:16:41 + tox_status=0 03:16:41 + echo '---> Completed tox runs' 03:16:41 ---> Completed tox runs 03:16:41 + for i in .tox/*/log 03:16:41 ++ echo .tox/code/log 03:16:41 ++ awk -F/ '{print $2}' 03:16:41 + tox_env=code 03:16:41 + cp -r .tox/code/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/code 03:16:41 + for i in .tox/*/log 03:16:41 ++ echo .tox/flake8/log 03:16:41 ++ awk -F/ '{print $2}' 03:16:41 + tox_env=flake8 03:16:41 + cp -r .tox/flake8/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/flake8 03:16:41 + DOC_DIR=docs/_build/html 03:16:41 + [[ -d docs/_build/html ]] 03:16:41 + echo '---> tox-run.sh ends' 03:16:41 ---> tox-run.sh ends 03:16:41 + test 0 -eq 0 03:16:41 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-ubuntu1804-builder-2c-2g-402 03:16:42 [ric-plt-xapp-frame-py-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_ric-plt-xapp-frame-py -Dsonar.projectName=ric-plt-xapp-frame-py -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=ricxappframe -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.exclusions=setup.py,tests/*.py -Dsonar.projectBaseDir=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:16:42 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:42 INFO: Project root configuration file: NONE 03:16:42 INFO: SonarScanner 4.6.2.2472 03:16:42 INFO: Java 17.0.7 Private Build (64-bit) 03:16:42 INFO: Linux 4.15.0-213-generic amd64 03:16:42 INFO: User cache: /home/jenkins/.sonar/cache 03:16:44 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:44 INFO: Project root configuration file: NONE 03:16:44 INFO: Analyzing on SonarCloud 03:16:44 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 03:16:45 INFO: Load global settings 03:16:45 INFO: Load global settings (done) | time=292ms 03:16:45 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 03:16:45 INFO: User cache: /home/jenkins/.sonar/cache 03:16:45 INFO: Loading required plugins 03:16:45 INFO: Load plugins index 03:16:45 INFO: Load plugins index (done) | time=255ms 03:16:45 INFO: Load/download plugins 03:16:46 INFO: Load/download plugins (done) | time=930ms 03:16:47 INFO: Found an active CI vendor: 'Jenkins' 03:16:47 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' 03:16:47 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=207ms 03:16:47 INFO: Process project properties 03:16:47 INFO: Project key: o-ran-sc_ric-plt-xapp-frame-py 03:16:47 INFO: Base dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:16:47 INFO: Working dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork 03:16:47 INFO: Load project branches 03:16:47 INFO: Load project branches (done) | time=215ms 03:16:47 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' 03:16:47 INFO: Detected project binding: NOT_BOUND 03:16:47 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=196ms 03:16:47 INFO: Load project pull requests 03:16:48 INFO: Load project pull requests (done) | time=193ms 03:16:48 INFO: Load branch configuration 03:16:48 INFO: Load branch configuration (done) | time=4ms 03:16:48 INFO: Load quality profiles 03:16:48 INFO: Load quality profiles (done) | time=276ms 03:16:48 INFO: Load active rules 03:17:00 INFO: Load active rules (done) | time=12507ms 03:17:01 INFO: Organization key: o-ran-sc 03:17:01 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. 03:17:01 INFO: Preprocessing files... 03:17:01 INFO: 2 languages detected in 72 preprocessed files 03:17:01 INFO: 0 files ignored because of inclusion/exclusion patterns 03:17:01 INFO: 68 files ignored because of scm ignore settings 03:17:01 INFO: Loading plugins for detected languages 03:17:01 INFO: Load/download plugins 03:17:02 INFO: Load/download plugins (done) | time=452ms 03:17:02 INFO: Load project repositories 03:17:02 INFO: Load project repositories (done) | time=253ms 03:17:02 INFO: Indexing files... 03:17:02 INFO: Project configuration: 03:17:02 INFO: Excluded sources: **/build-wrapper-dump.json, setup.py, tests/*.py 03:17:02 INFO: 72 files indexed 03:17:02 INFO: Quality profile for json: SonarQube Way 03:17:02 INFO: Quality profile for py: Sonar way 03:17:02 INFO: ------------- Run sensors on module ric-plt-xapp-frame-py 03:17:02 INFO: Load metrics repository 03:17:02 INFO: Load metrics repository (done) | time=505ms 03:17:02 INFO: Sensor cache enabled 03:17:02 INFO: Load sensor cache 03:17:04 INFO: Load sensor cache (985 KB) | time=1920ms 03:17:05 INFO: Sensor Python Sensor [python] 03:17:05 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" 03:17:05 INFO: Starting global symbols computation 03:17:05 INFO: 70 source files to be analyzed 03:17:07 INFO: 70/70 source files have been analyzed 03:17:07 INFO: Starting rules execution 03:17:07 INFO: 70 source files to be analyzed 03:17:13 INFO: 70/70 source files have been analyzed 03:17:13 INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 70 files. These files were not parsed. 03:17:13 INFO: Sensor Python Sensor [python] (done) | time=7852ms 03:17:13 INFO: Sensor Cobertura Sensor for Python coverage [python] 03:17:13 INFO: Python test coverage 03:17:13 INFO: Parsing report '/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/coverage.xml' 03:17:13 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=260ms 03:17:13 INFO: Sensor PythonXUnitSensor [python] 03:17:13 INFO: Sensor PythonXUnitSensor [python] (done) | time=73ms 03:17:13 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 03:17:13 INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities 03:17:13 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=29ms 03:17:13 INFO: Sensor JaCoCo XML Report Importer [jacoco] 03:17:13 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 03:17:13 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 03:17:13 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms 03:17:13 INFO: Sensor IaC CloudFormation Sensor [iac] 03:17:13 INFO: 0 source files to be analyzed 03:17:13 INFO: 0/0 source files have been analyzed 03:17:13 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=12ms 03:17:13 INFO: Sensor IaC AzureResourceManager Sensor [iac] 03:17:13 INFO: 0 source files to be analyzed 03:17:13 INFO: 0/0 source files have been analyzed 03:17:13 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=82ms 03:17:13 INFO: Sensor IaC Docker Sensor [iac] 03:17:13 INFO: 0 source files to be analyzed 03:17:13 INFO: 0/0 source files have been analyzed 03:17:13 INFO: Sensor IaC Docker Sensor [iac] (done) | time=49ms 03:17:13 INFO: Sensor Serverless configuration file sensor [security] 03:17:13 INFO: 0 Serverless function entries were found in the project 03:17:13 INFO: 0 Serverless function handlers were kept as entrypoints 03:17:13 INFO: Sensor Serverless configuration file sensor [security] (done) | time=5ms 03:17:13 INFO: Sensor AWS SAM template file sensor [security] 03:17:13 INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms 03:17:13 INFO: Sensor AWS SAM Inline template file sensor [security] 03:17:13 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=2ms 03:17:13 INFO: Sensor javabugs [dbd] 03:17:13 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/java 03:17:13 INFO: No IR files have been included for analysis. 03:17:13 INFO: Sensor javabugs [dbd] (done) | time=1ms 03:17:13 INFO: Sensor pythonbugs [dbd] 03:17:13 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/python 03:17:13 INFO: Analyzing 336 functions to detect bugs. 03:17:15 INFO: Sensor pythonbugs [dbd] (done) | time=1722ms 03:17:15 INFO: Sensor TextAndSecretsSensor [text] 03:17:15 INFO: Available processors: 2 03:17:15 INFO: Using 2 threads for analysis. 03:17:16 INFO: 72 source files to be analyzed 03:17:17 INFO: 72/72 source files have been analyzed 03:17:17 INFO: Sensor TextAndSecretsSensor [text] (done) | time=1486ms 03:17:17 INFO: Sensor JavaSecuritySensor [security] 03:17:17 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 03:17:17 INFO: Load type hierarchy and UCFGs: Starting 03:17:17 INFO: Load type hierarchy: Starting 03:17:17 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/java 03:17:17 INFO: Read 0 type definitions 03:17:17 INFO: Load type hierarchy: Time spent was 00:00:00.001 03:17:17 INFO: Load UCFGs: Starting 03:17:17 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:17 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 03:17:17 INFO: No UCFGs have been included for analysis. 03:17:17 INFO: java security sensor: Time spent was 00:00:00.005 03:17:17 INFO: Sensor JavaSecuritySensor [security] (done) | time=40ms 03:17:17 INFO: Sensor CSharpSecuritySensor [security] 03:17:17 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 03:17:17 INFO: Load type hierarchy and UCFGs: Starting 03:17:17 INFO: Load type hierarchy: Starting 03:17:17 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/ucfg2/cs 03:17:17 INFO: Read 0 type definitions 03:17:17 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:17 INFO: Load UCFGs: Starting 03:17:17 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:17 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 03:17:17 INFO: No UCFGs have been included for analysis. 03:17:17 INFO: csharp security sensor: Time spent was 00:00:00.002 03:17:17 INFO: Sensor CSharpSecuritySensor [security] (done) | time=16ms 03:17:17 INFO: Sensor PhpSecuritySensor [security] 03:17:17 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 03:17:17 INFO: Load type hierarchy and UCFGs: Starting 03:17:17 INFO: Load type hierarchy: Starting 03:17:17 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/php 03:17:17 INFO: Read 0 type definitions 03:17:17 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:17 INFO: Load UCFGs: Starting 03:17:17 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:17 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 03:17:17 INFO: No UCFGs have been included for analysis. 03:17:17 INFO: php security sensor: Time spent was 00:00:00.001 03:17:17 INFO: Sensor PhpSecuritySensor [security] (done) | time=2ms 03:17:17 INFO: Sensor PythonSecuritySensor [security] 03:17:17 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 03:17:17 INFO: Load type hierarchy and UCFGs: Starting 03:17:17 INFO: Load type hierarchy: Starting 03:17:17 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:17 INFO: Read 958 type definitions 03:17:17 INFO: Load type hierarchy: Time spent was 00:00:00.152 03:17:17 INFO: Load UCFGs: Starting 03:17:17 INFO: Reading UCFGs from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:18 INFO: Load UCFGs: Time spent was 00:00:00.746 03:17:18 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.900 03:17:18 INFO: Analyzing 4428 UCFGs to detect vulnerabilities. 03:17:18 INFO: Check cache: Starting 03:17:18 INFO: Load cache: Starting 03:17:18 INFO: Load cache: Time spent was 00:00:00.000 03:17:18 INFO: Check cache: Time spent was 00:00:00.000 03:17:18 INFO: Create runtime call graph: Starting 03:17:18 INFO: Variable Type Analysis #1: Starting 03:17:18 INFO: Create runtime type propagation graph: Starting 03:17:18 INFO: Create runtime type propagation graph: Time spent was 00:00:00.089 03:17:18 INFO: Run SCC (Tarjan) on 13918 nodes: Starting 03:17:18 INFO: Run SCC (Tarjan) on 13918 nodes: Time spent was 00:00:00.019 03:17:18 INFO: Tarjan found 13831 strongly connected components 03:17:18 INFO: Propagate runtime types to strongly connected components: Starting 03:17:18 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.065 03:17:18 INFO: Variable Type Analysis #1: Time spent was 00:00:00.184 03:17:18 INFO: Variable Type Analysis #2: Starting 03:17:18 INFO: Create runtime type propagation graph: Starting 03:17:18 INFO: Create runtime type propagation graph: Time spent was 00:00:00.060 03:17:18 INFO: Run SCC (Tarjan) on 13745 nodes: Starting 03:17:18 INFO: Run SCC (Tarjan) on 13745 nodes: Time spent was 00:00:00.011 03:17:18 INFO: Tarjan found 13709 strongly connected components 03:17:18 INFO: Propagate runtime types to strongly connected components: Starting 03:17:18 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.036 03:17:18 INFO: Variable Type Analysis #2: Time spent was 00:00:00.108 03:17:18 INFO: Create runtime call graph: Time spent was 00:00:00.298 03:17:18 INFO: Load config: Starting 03:17:18 INFO: Load config: Time spent was 00:00:00.154 03:17:18 INFO: Compute entry points: Starting 03:17:18 INFO: Compute entry points: Time spent was 00:00:00.276 03:17:18 INFO: All rules entry points : 3 03:17:18 INFO: Slice call graph: Starting 03:17:18 INFO: Retained UCFGs : 16 03:17:18 INFO: Slice call graph: Time spent was 00:00:00.000 03:17:18 INFO: Live variable analysis: Starting 03:17:18 INFO: Live variable analysis: Time spent was 00:00:00.005 03:17:18 INFO: Taint analysis for python: Starting 03:17:18 INFO: 0 / 16 UCFGs simulated, memory usage: 165 MB 03:17:18 INFO: 7 / 16 UCFGs simulated, memory usage: 107 MB 03:17:18 INFO: Taint analysis for python: Time spent was 00:00:00.082 03:17:18 INFO: Report issues: Starting 03:17:18 INFO: Report issues: Time spent was 00:00:00.003 03:17:18 INFO: Store cache: Starting 03:17:18 INFO: Store cache: Time spent was 00:00:00.006 03:17:18 INFO: python security sensor: Time spent was 00:00:01.730 03:17:18 INFO: python security sensor: Begin: 2024-04-02T03:17:17.193580332Z, End: 2024-04-02T03:17:18.924107243Z, Duration: 00:00:01.730 03:17:18 Load type hierarchy and UCFGs: Begin: 2024-04-02T03:17:17.193751114Z, End: 2024-04-02T03:17:18.094078042Z, Duration: 00:00:00.900 03:17:18 Load type hierarchy: Begin: 2024-04-02T03:17:17.193792484Z, End: 2024-04-02T03:17:17.346789498Z, Duration: 00:00:00.152 03:17:18 Load UCFGs: Begin: 2024-04-02T03:17:17.347071410Z, End: 2024-04-02T03:17:18.093756299Z, Duration: 00:00:00.746 03:17:18 Check cache: Begin: 2024-04-02T03:17:18.094191293Z, End: 2024-04-02T03:17:18.094531616Z, Duration: 00:00:00.000 03:17:18 Load cache: Begin: 2024-04-02T03:17:18.094238293Z, End: 2024-04-02T03:17:18.094293593Z, Duration: 00:00:00.000 03:17:18 Create runtime call graph: Begin: 2024-04-02T03:17:18.095228833Z, End: 2024-04-02T03:17:18.393448318Z, Duration: 00:00:00.298 03:17:18 Variable Type Analysis #1: Begin: 2024-04-02T03:17:18.095799048Z, End: 2024-04-02T03:17:18.279801758Z, Duration: 00:00:00.184 03:17:18 Create runtime type propagation graph: Begin: 2024-04-02T03:17:18.103701485Z, End: 2024-04-02T03:17:18.193101999Z, Duration: 00:00:00.089 03:17:18 Run SCC (Tarjan) on 13918 nodes: Begin: 2024-04-02T03:17:18.193602664Z, End: 2024-04-02T03:17:18.213441276Z, Duration: 00:00:00.019 03:17:18 Propagate runtime types to strongly connected components: Begin: 2024-04-02T03:17:18.213769929Z, End: 2024-04-02T03:17:18.279561586Z, Duration: 00:00:00.065 03:17:18 Variable Type Analysis #2: Begin: 2024-04-02T03:17:18.281791778Z, End: 2024-04-02T03:17:18.390515359Z, Duration: 00:00:00.108 03:17:18 Create runtime type propagation graph: Begin: 2024-04-02T03:17:18.281854548Z, End: 2024-04-02T03:17:18.342191062Z, Duration: 00:00:00.060 03:17:18 Run SCC (Tarjan) on 13745 nodes: Begin: 2024-04-02T03:17:18.342436624Z, End: 2024-04-02T03:17:18.353584152Z, Duration: 00:00:00.011 03:17:18 Propagate runtime types to strongly connected components: Begin: 2024-04-02T03:17:18.353766554Z, End: 2024-04-02T03:17:18.390247447Z, Duration: 00:00:00.036 03:17:18 Load config: Begin: 2024-04-02T03:17:18.393545339Z, End: 2024-04-02T03:17:18.547980123Z, Duration: 00:00:00.154 03:17:18 Compute entry points: Begin: 2024-04-02T03:17:18.548125485Z, End: 2024-04-02T03:17:18.824715901Z, Duration: 00:00:00.276 03:17:18 Slice call graph: Begin: 2024-04-02T03:17:18.824895093Z, End: 2024-04-02T03:17:18.825727760Z, Duration: 00:00:00.000 03:17:18 Live variable analysis: Begin: 2024-04-02T03:17:18.825787561Z, End: 2024-04-02T03:17:18.831277014Z, Duration: 00:00:00.005 03:17:18 Taint analysis for python: Begin: 2024-04-02T03:17:18.831469016Z, End: 2024-04-02T03:17:18.914393789Z, Duration: 00:00:00.082 03:17:18 Report issues: Begin: 2024-04-02T03:17:18.914467429Z, End: 2024-04-02T03:17:18.917781511Z, Duration: 00:00:00.003 03:17:18 Store cache: Begin: 2024-04-02T03:17:18.917907533Z, End: 2024-04-02T03:17:18.924016732Z, Duration: 00:00:00.006 03:17:18 INFO: python security sensor peak memory: 188 MB 03:17:18 INFO: Sensor PythonSecuritySensor [security] (done) | time=1732ms 03:17:18 INFO: Sensor JsSecuritySensor [security] 03:17:18 INFO: Enabled taint analysis rules: S5334, S5696, S6096, S5883, S5131, S2083, S3649, S6105, S5144, S5147, S2631, S5146, S6350, S6287, S2076 03:17:18 INFO: Load type hierarchy and UCFGs: Starting 03:17:18 INFO: Load type hierarchy: Starting 03:17:18 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/js 03:17:18 INFO: Read 0 type definitions 03:17:18 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:18 INFO: Load UCFGs: Starting 03:17:18 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:18 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 03:17:18 INFO: No UCFGs have been included for analysis. 03:17:18 INFO: js security sensor: Time spent was 00:00:00.000 03:17:18 INFO: Sensor JsSecuritySensor [security] (done) | time=1ms 03:17:18 INFO: ------------- Run sensors on project 03:17:18 INFO: Sensor Zero Coverage Sensor 03:17:18 INFO: Sensor Zero Coverage Sensor (done) | time=12ms 03:17:18 INFO: CPD Executor 18 files had no CPD blocks 03:17:18 INFO: CPD Executor Calculating CPD for 52 files 03:17:19 INFO: CPD Executor CPD calculation finished (done) | time=58ms 03:17:19 INFO: Analysis report generated in 266ms, dir size=1 MB 03:17:19 INFO: Analysis report compressed in 129ms, zip size=404 KB 03:17:20 INFO: Analysis report uploaded in 1341ms 03:17:20 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-plt-xapp-frame-py 03:17:20 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 03:17:20 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AY6cz7BzA5ilTc2gRp1y 03:17:23 INFO: Sensor cache published successfully 03:17:23 INFO: Analysis total time: 36.232 s 03:17:23 INFO: ------------------------------------------------------------------------ 03:17:23 INFO: EXECUTION SUCCESS 03:17:23 INFO: ------------------------------------------------------------------------ 03:17:23 INFO: Total time: 40.991s 03:17:23 INFO: Final Memory: 54M/190M 03:17:23 INFO: ------------------------------------------------------------------------ 03:17:24 $ ssh-agent -k 03:17:24 unset SSH_AUTH_SOCK; 03:17:24 unset SSH_AGENT_PID; 03:17:24 echo Agent pid 1682 killed; 03:17:24 [ssh-agent] Stopped. 03:17:24 [PostBuildScript] - [INFO] Executing post build scripts. 03:17:24 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins17395246862666368615.sh 03:17:24 ---> sysstat.sh 03:17:25 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins1948827114911337405.sh 03:17:25 ---> package-listing.sh 03:17:25 ++ tr '[:upper:]' '[:lower:]' 03:17:25 ++ facter osfamily 03:17:25 + OS_FAMILY=debian 03:17:25 + workspace=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:17:25 + START_PACKAGES=/tmp/packages_start.txt 03:17:25 + END_PACKAGES=/tmp/packages_end.txt 03:17:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:17:25 + PACKAGES=/tmp/packages_start.txt 03:17:25 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:25 + PACKAGES=/tmp/packages_end.txt 03:17:25 + case "${OS_FAMILY}" in 03:17:25 + dpkg -l 03:17:25 + grep '^ii' 03:17:25 + '[' -f /tmp/packages_start.txt ']' 03:17:25 + '[' -f /tmp/packages_end.txt ']' 03:17:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:25 + true 03:17:25 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:25 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/ 03:17:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/ 03:17:25 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins8781043853619888485.sh 03:17:25 ---> capture-instance-metadata.sh 03:17:25 Setup pyenv: 03:17:25 system 03:17:25 3.8.13 03:17:25 3.9.13 03:17:25 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QXfq from file:/tmp/.os_lf_venv 03:17:27 lf-activate-venv(): INFO: Installing: lftools 03:17:39 lf-activate-venv(): INFO: Adding /tmp/venv-QXfq/bin to PATH 03:17:39 INFO: Running in OpenStack, capturing instance metadata 03:17:39 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins4393555198378386769.sh 03:17:39 provisioning config files... 03:17:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/config437773562629560150tmp 03:17:39 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 03:17:39 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 03:17:39 [EnvInject] - Injecting environment variables from a build step. 03:17:39 [EnvInject] - Injecting as environment variables the properties content 03:17:39 SERVER_ID=logs 03:17:39 03:17:39 [EnvInject] - Variables injected successfully. 03:17:39 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins7141446030218172825.sh 03:17:39 ---> create-netrc.sh 03:17:40 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins4893214704401917750.sh 03:17:40 ---> python-tools-install.sh 03:17:40 Setup pyenv: 03:17:40 system 03:17:40 3.8.13 03:17:40 3.9.13 03:17:40 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QXfq from file:/tmp/.os_lf_venv 03:17:41 lf-activate-venv(): INFO: Installing: lftools 03:17:51 lf-activate-venv(): INFO: Adding /tmp/venv-QXfq/bin to PATH 03:17:51 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins9868983169510003952.sh 03:17:51 ---> sudo-logs.sh 03:17:51 Archiving 'sudo' log.. 03:17:52 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins4303257299380217788.sh 03:17:52 ---> job-cost.sh 03:17:52 Setup pyenv: 03:17:52 system 03:17:52 3.8.13 03:17:52 3.9.13 03:17:52 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:52 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QXfq from file:/tmp/.os_lf_venv 03:17:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 03:17:59 lf-activate-venv(): INFO: Adding /tmp/venv-QXfq/bin to PATH 03:17:59 INFO: No Stack... 03:17:59 INFO: Retrieving Pricing Info for: v2-highcpu-2 03:17:59 INFO: Archiving Costs 03:17:59 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11177168531396415682.sh 03:17:59 ---> logs-deploy.sh 03:17:59 Setup pyenv: 03:17:59 system 03:17:59 3.8.13 03:17:59 3.9.13 03:17:59 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QXfq from file:/tmp/.os_lf_venv 03:18:01 lf-activate-venv(): INFO: Installing: lftools 03:18:12 lf-activate-venv(): INFO: Adding /tmp/venv-QXfq/bin to PATH 03:18:12 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-xapp-frame-py-tox-sonarqube/214 03:18:12 INFO: archiving workspace using pattern(s): -p **/*.log 03:18:15 Archives upload complete. 03:18:15 INFO: archiving logs to Nexus 03:18:16 ---> uname -a: 03:18:16 Linux prd-ubuntu1804-builder-2c-2g-402 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 03:18:16 03:18:16 03:18:16 ---> lscpu: 03:18:16 Architecture: x86_64 03:18:16 CPU op-mode(s): 32-bit, 64-bit 03:18:16 Byte Order: Little Endian 03:18:16 CPU(s): 2 03:18:16 On-line CPU(s) list: 0,1 03:18:16 Thread(s) per core: 1 03:18:16 Core(s) per socket: 1 03:18:16 Socket(s): 2 03:18:16 NUMA node(s): 1 03:18:16 Vendor ID: AuthenticAMD 03:18:16 CPU family: 23 03:18:16 Model: 49 03:18:16 Model name: AMD EPYC-Rome Processor 03:18:16 Stepping: 0 03:18:16 CPU MHz: 2799.998 03:18:16 BogoMIPS: 5599.99 03:18:16 Virtualization: AMD-V 03:18:16 Hypervisor vendor: KVM 03:18:16 Virtualization type: full 03:18:16 L1d cache: 32K 03:18:16 L1i cache: 32K 03:18:16 L2 cache: 512K 03:18:16 L3 cache: 16384K 03:18:16 NUMA node0 CPU(s): 0,1 03:18:16 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 xtopology 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 arat npt nrip_save umip rdpid arch_capabilities 03:18:16 03:18:16 03:18:16 ---> nproc: 03:18:16 2 03:18:16 03:18:16 03:18:16 ---> df -h: 03:18:16 Filesystem Size Used Avail Use% Mounted on 03:18:16 udev 984M 0 984M 0% /dev 03:18:16 tmpfs 200M 668K 199M 1% /run 03:18:16 /dev/vda1 20G 7.4G 12G 39% / 03:18:16 tmpfs 997M 0 997M 0% /dev/shm 03:18:16 tmpfs 5.0M 0 5.0M 0% /run/lock 03:18:16 tmpfs 997M 0 997M 0% /sys/fs/cgroup 03:18:16 /dev/vda15 105M 5.3M 100M 5% /boot/efi 03:18:16 tmpfs 200M 0 200M 0% /run/user/1001 03:18:16 03:18:16 03:18:16 ---> free -m: 03:18:16 total used free shared buff/cache available 03:18:16 Mem: 1992 343 293 0 1355 1478 03:18:16 Swap: 1023 0 1023 03:18:16 03:18:16 03:18:16 ---> ip addr: 03:18:16 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 03:18:16 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:18:16 inet 127.0.0.1/8 scope host lo 03:18:16 valid_lft forever preferred_lft forever 03:18:16 inet6 ::1/128 scope host 03:18:16 valid_lft forever preferred_lft forever 03:18:16 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 03:18:16 link/ether fa:16:3e:a7:8b:d2 brd ff:ff:ff:ff:ff:ff 03:18:16 inet 10.32.6.63/23 brd 10.32.7.255 scope global dynamic ens3 03:18:16 valid_lft 85889sec preferred_lft 85889sec 03:18:16 inet6 fe80::f816:3eff:fea7:8bd2/64 scope link 03:18:16 valid_lft forever preferred_lft forever 03:18:16 03:18:16 03:18:16 ---> sar -b -r -n DEV: 03:18:16 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-402) 04/02/24 _x86_64_ (2 CPU) 03:18:16 03:18:16 03:09:46 LINUX RESTART (2 CPU) 03:18:16 03:18:16 03:10:01 tps rtps wtps bread/s bwrtn/s 03:18:16 03:11:02 113.41 54.77 58.63 2562.00 9842.20 03:18:16 03:12:01 149.83 73.79 76.04 4404.20 10596.27 03:18:16 03:13:01 14.21 0.03 14.18 0.27 2608.50 03:18:16 03:14:01 1.17 0.00 1.17 0.00 19.99 03:18:16 03:15:01 1.52 0.00 1.52 0.00 21.20 03:18:16 03:16:01 1.33 0.00 1.33 0.00 19.73 03:18:16 03:17:01 26.74 23.22 3.51 793.47 1420.49 03:18:16 03:18:01 66.41 41.84 24.56 2709.95 4907.18 03:18:16 Average: 46.62 24.11 22.51 1302.42 3665.57 03:18:16 03:18:16 03:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:18:16 03:11:02 144716 1539688 1895916 92.91 49692 1434688 541776 17.54 400784 1351856 110944 03:18:16 03:12:01 97032 1519428 1943600 95.25 67552 1441388 660708 21.39 486688 1306760 75128 03:18:16 03:13:01 95384 1517956 1945248 95.33 67628 1441396 776128 25.12 488644 1306812 100 03:18:16 03:14:01 88128 1510796 1952504 95.68 67688 1441396 1122792 36.35 494840 1306636 260 03:18:16 03:15:01 86016 1508764 1954616 95.78 67760 1441400 1229940 39.81 497036 1306640 48 03:18:16 03:16:01 84124 1506920 1956508 95.88 67812 1441404 1304276 42.22 498616 1306644 188 03:18:16 03:17:01 75820 1455800 1964812 96.28 69272 1403296 680580 22.03 500124 1325032 72788 03:18:16 03:18:01 387272 1575312 1653360 81.02 72868 1206004 506980 16.41 402940 1111452 26984 03:18:16 Average: 132312 1516833 1908320 93.52 66284 1406372 852898 27.61 471209 1290229 35805 03:18:16 03:18:16 03:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:18:16 03:11:02 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 03:18:16 03:11:02 ens3 308.41 181.35 1374.53 61.74 0.00 0.00 0.00 0.00 03:18:16 03:12:01 lo 2.98 2.98 0.33 0.33 0.00 0.00 0.00 0.00 03:18:16 03:12:01 ens3 48.71 42.07 241.93 8.55 0.00 0.00 0.00 0.00 03:18:16 03:13:01 lo 2.47 2.47 0.15 0.15 0.00 0.00 0.00 0.00 03:18:16 03:13:01 ens3 0.80 0.83 0.11 0.11 0.00 0.00 0.00 0.00 03:18:16 03:14:01 lo 13.76 13.76 1.07 1.07 0.00 0.00 0.00 0.00 03:18:16 03:14:01 ens3 1.58 1.58 0.25 0.25 0.00 0.00 0.00 0.00 03:18:16 03:15:01 lo 18.00 18.00 0.94 0.94 0.00 0.00 0.00 0.00 03:18:16 03:15:01 ens3 0.70 0.72 0.09 0.09 0.00 0.00 0.00 0.00 03:18:16 03:16:01 lo 18.40 18.40 0.96 0.96 0.00 0.00 0.00 0.00 03:18:16 03:16:01 ens3 1.30 1.17 0.42 0.36 0.00 0.00 0.00 0.00 03:18:16 03:17:01 lo 11.23 11.23 0.60 0.60 0.00 0.00 0.00 0.00 03:18:16 03:17:01 ens3 239.15 113.93 1527.52 13.22 0.00 0.00 0.00 0.00 03:18:16 03:18:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 03:18:16 03:18:01 ens3 94.27 65.62 358.84 37.87 0.00 0.00 0.00 0.00 03:18:16 Average: lo 8.66 8.66 0.53 0.53 0.00 0.00 0.00 0.00 03:18:16 Average: ens3 86.97 50.94 438.49 15.29 0.00 0.00 0.00 0.00 03:18:16 03:18:16 03:18:16 ---> sar -P ALL: 03:18:16 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-402) 04/02/24 _x86_64_ (2 CPU) 03:18:16 03:18:16 03:09:46 LINUX RESTART (2 CPU) 03:18:16 03:18:16 03:10:01 CPU %user %nice %system %iowait %steal %idle 03:18:16 03:11:02 all 42.78 0.00 3.08 5.52 0.10 48.51 03:18:16 03:11:02 0 57.80 0.00 4.13 8.66 0.12 29.30 03:18:16 03:11:02 1 27.78 0.00 2.02 2.39 0.08 67.73 03:18:16 03:12:01 all 35.57 0.00 3.10 8.04 0.09 53.20 03:18:16 03:12:01 0 25.20 0.00 2.80 10.72 0.09 61.20 03:18:16 03:12:01 1 45.94 0.00 3.42 5.34 0.09 45.21 03:18:16 03:13:01 all 0.95 0.00 0.17 0.34 0.04 98.50 03:18:16 03:13:01 0 1.74 0.00 0.27 0.51 0.07 97.42 03:18:16 03:13:01 1 0.13 0.00 0.08 0.17 0.03 99.58 03:18:16 03:14:01 all 0.69 0.00 0.22 0.03 0.08 99.00 03:18:16 03:14:01 0 0.77 0.00 0.25 0.02 0.07 98.90 03:18:16 03:14:01 1 0.62 0.00 0.18 0.05 0.07 99.08 03:18:16 03:15:01 all 0.31 0.00 0.23 0.03 0.07 99.36 03:18:16 03:15:01 0 0.30 0.00 0.24 0.05 0.07 99.34 03:18:16 03:15:01 1 0.30 0.00 0.20 0.02 0.07 99.41 03:18:16 03:16:01 all 0.93 0.00 0.26 0.03 0.07 98.71 03:18:16 03:16:01 0 1.66 0.00 0.38 0.07 0.10 97.79 03:18:16 03:16:01 1 0.20 0.00 0.13 0.00 0.05 99.62 03:18:16 03:17:01 all 12.27 0.00 1.15 0.88 0.08 85.62 03:18:16 03:17:01 0 12.36 0.00 1.26 1.56 0.08 84.75 03:18:16 03:17:01 1 12.22 0.00 1.04 0.18 0.05 86.51 03:18:16 03:18:01 all 51.45 0.00 2.20 2.87 0.09 43.39 03:18:16 03:18:01 0 39.10 0.00 2.06 3.24 0.08 55.51 03:18:16 03:18:01 1 63.73 0.00 2.35 2.52 0.10 31.30 03:18:16 Average: all 18.08 0.00 1.30 2.20 0.08 78.35 03:18:16 Average: 0 17.33 0.00 1.42 3.08 0.08 78.09 03:18:16 Average: 1 18.82 0.00 1.17 1.32 0.07 78.61 03:18:16 03:18:16 03:18:16