03:09:57 Started by timer 03:09:57 Running as SYSTEM 03:09:57 [EnvInject] - Loading node environment variables. 03:09:57 Building remotely on prd-ubuntu1804-builder-2c-2g-312 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:09:57 [ssh-agent] Looking for ssh-agent implementation... 03:09:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:57 $ ssh-agent 03:09:57 SSH_AUTH_SOCK=/tmp/ssh-mbwhPIoEkBUr/agent.1723 03:09:57 SSH_AGENT_PID=1725 03:09:57 [ssh-agent] Started. 03:09:57 Running ssh-add (command line suppressed) 03:09:58 Identity added: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/private_key_8100305661102639403.key (jenkins-ssh) 03:09:58 [ssh-agent] Using credentials jenkins (jenkins) 03:09:58 The recommended git tool is: NONE 03:09:59 using credential jenkins 03:09:59 Wiping out workspace first. 03:09:59 Cloning the remote Git repository 03:09:59 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:09:59 > git init /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube # timeout=10 03:09:59 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:09:59 > git --version # timeout=10 03:09:59 > git --version # 'git version 2.17.1' 03:09:59 using GIT_SSH to set credentials jenkins 03:09:59 > 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:00 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 03:10:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:01 Avoid second fetch 03:10:01 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 03:10:01 Checking out Revision 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f (refs/remotes/origin/master) 03:10:01 > git config core.sparsecheckout # timeout=10 03:10:01 > git checkout -f 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f # timeout=10 03:10:01 Commit message: "I release step 2 of 2" 03:10:01 > git rev-list --no-walk 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f # timeout=10 03:10:01 > git remote # timeout=10 03:10:01 > git submodule init # timeout=10 03:10:01 > git submodule sync # timeout=10 03:10:01 > git config --get remote.origin.url # timeout=10 03:10:01 > git submodule init # timeout=10 03:10:01 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 03:10:01 > git config --get submodule.nodeb-rnib.url # timeout=10 03:10:01 > git config -f .gitmodules --get submodule.nodeb-rnib.path # timeout=10 03:10:01 > git submodule update --init --recursive nodeb-rnib # timeout=10 03:10:02 provisioning config files... 03:10:02 copy managed file [npmrc] to file:/home/jenkins/.npmrc 03:10:02 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 03:10:02 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins7018447934758854952.sh 03:10:02 ---> python-tools-install.sh 03:10:02 Setup pyenv: 03:10:02 * system (set by /opt/pyenv/version) 03:10:02 * 3.8.13 (set by /opt/pyenv/version) 03:10:02 * 3.9.13 (set by /opt/pyenv/version) 03:10:02 * 3.10.6 (set by /opt/pyenv/version) 03:10:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Fnb4 03:10:06 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 03:10:10 lf-activate-venv(): INFO: Installing: lftools 03:10:44 lf-activate-venv(): INFO: Adding /tmp/venv-Fnb4/bin to PATH 03:10:44 Generating Requirements File 03:11:18 Python 3.10.6 03:11:19 pip 23.3.2 from /tmp/venv-Fnb4/lib/python3.10/site-packages/pip (python 3.10) 03:11:20 appdirs==1.4.4 03:11:20 argcomplete==3.2.2 03:11:20 aspy.yaml==1.3.0 03:11:20 attrs==23.2.0 03:11:20 autopage==0.5.2 03:11:20 beautifulsoup4==4.12.3 03:11:20 boto3==1.34.29 03:11:20 botocore==1.34.29 03:11:20 bs4==0.0.2 03:11:20 cachetools==5.3.2 03:11:20 certifi==2023.11.17 03:11:20 cffi==1.16.0 03:11:20 cfgv==3.4.0 03:11:20 chardet==5.2.0 03:11:20 charset-normalizer==3.3.2 03:11:20 click==8.1.7 03:11:20 cliff==4.5.0 03:11:20 cmd2==2.4.3 03:11:20 cryptography==3.3.2 03:11:20 debtcollector==2.5.0 03:11:20 decorator==5.1.1 03:11:20 defusedxml==0.7.1 03:11:20 Deprecated==1.2.14 03:11:20 distlib==0.3.8 03:11:20 dnspython==2.5.0 03:11:20 docker==4.2.2 03:11:20 dogpile.cache==1.3.0 03:11:20 email-validator==2.1.0.post1 03:11:20 filelock==3.13.1 03:11:20 future==0.18.3 03:11:20 gitdb==4.0.11 03:11:20 GitPython==3.1.41 03:11:20 google-auth==2.27.0 03:11:20 httplib2==0.22.0 03:11:20 identify==2.5.33 03:11:20 idna==3.6 03:11:20 importlib-resources==1.5.0 03:11:20 iso8601==2.1.0 03:11:20 Jinja2==3.1.3 03:11:20 jmespath==1.0.1 03:11:20 jsonpatch==1.33 03:11:20 jsonpointer==2.4 03:11:20 jsonschema==4.21.1 03:11:20 jsonschema-specifications==2023.12.1 03:11:20 keystoneauth1==5.5.0 03:11:20 kubernetes==29.0.0 03:11:20 lftools==0.37.8 03:11:20 lxml==5.1.0 03:11:20 MarkupSafe==2.1.4 03:11:20 msgpack==1.0.7 03:11:20 multi_key_dict==2.0.3 03:11:20 munch==4.0.0 03:11:20 netaddr==0.10.1 03:11:20 netifaces==0.11.0 03:11:20 niet==1.4.2 03:11:20 nodeenv==1.8.0 03:11:20 oauth2client==4.1.3 03:11:20 oauthlib==3.2.2 03:11:20 openstacksdk==0.62.0 03:11:20 os-client-config==2.1.0 03:11:20 os-service-types==1.7.0 03:11:20 osc-lib==3.0.0 03:11:20 oslo.config==9.3.0 03:11:20 oslo.context==5.3.0 03:11:20 oslo.i18n==6.2.0 03:11:20 oslo.log==5.4.0 03:11:20 oslo.serialization==5.3.0 03:11:20 oslo.utils==7.0.0 03:11:20 packaging==23.2 03:11:20 pbr==6.0.0 03:11:20 platformdirs==4.1.0 03:11:20 prettytable==3.9.0 03:11:20 pyasn1==0.5.1 03:11:20 pyasn1-modules==0.3.0 03:11:20 pycparser==2.21 03:11:20 pygerrit2==2.0.15 03:11:20 PyGithub==2.1.1 03:11:20 pyinotify==0.9.6 03:11:20 PyJWT==2.8.0 03:11:20 PyNaCl==1.5.0 03:11:20 pyparsing==2.4.7 03:11:20 pyperclip==1.8.2 03:11:20 pyrsistent==0.20.0 03:11:20 python-cinderclient==9.4.0 03:11:20 python-dateutil==2.8.2 03:11:20 python-heatclient==3.4.0 03:11:20 python-jenkins==1.8.2 03:11:20 python-keystoneclient==5.3.0 03:11:20 python-magnumclient==4.3.0 03:11:20 python-novaclient==18.4.0 03:11:20 python-openstackclient==6.0.0 03:11:20 python-swiftclient==4.4.0 03:11:20 pytz==2023.4 03:11:20 PyYAML==6.0.1 03:11:20 referencing==0.33.0 03:11:20 requests==2.31.0 03:11:20 requests-oauthlib==1.3.1 03:11:20 requestsexceptions==1.4.0 03:11:20 rfc3986==2.0.0 03:11:20 rpds-py==0.17.1 03:11:20 rsa==4.9 03:11:20 ruamel.yaml==0.18.5 03:11:20 ruamel.yaml.clib==0.2.8 03:11:20 s3transfer==0.10.0 03:11:20 simplejson==3.19.2 03:11:20 six==1.16.0 03:11:20 smmap==5.0.1 03:11:20 soupsieve==2.5 03:11:20 stevedore==5.1.0 03:11:20 tabulate==0.9.0 03:11:20 toml==0.10.2 03:11:20 tomlkit==0.12.3 03:11:20 tqdm==4.66.1 03:11:20 typing_extensions==4.9.0 03:11:20 tzdata==2023.4 03:11:20 urllib3==1.26.18 03:11:20 virtualenv==20.25.0 03:11:20 wcwidth==0.2.13 03:11:20 websocket-client==1.7.0 03:11:20 wrapt==1.16.0 03:11:20 xdg==6.0.0 03:11:20 xmltodict==0.13.0 03:11:20 yq==3.2.3 03:11:20 [EnvInject] - Injecting environment variables from a build step. 03:11:20 [EnvInject] - Injecting as environment variables the properties content 03:11:20 SET_JDK_VERSION=openjdk17 03:11:20 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 03:11:20 03:11:20 [EnvInject] - Variables injected successfully. 03:11:20 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/sh /tmp/jenkins4879518300433331810.sh 03:11:20 ---> update-java-alternatives.sh 03:11:20 ---> Updating Java version 03:11:20 ---> Ubuntu/Debian system detected 03:11:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 03:11:20 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 03:11:20 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:21 openjdk version "17.0.7" 2023-04-18 03:11:21 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 03:11:21 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 03:11:21 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 03:11:21 [EnvInject] - Injecting environment variables from a build step. 03:11:21 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 03:11:21 [EnvInject] - Variables injected successfully. 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 PYTHON=python3 03:11:21 03:11:21 [EnvInject] - Variables injected successfully. 03:11:21 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6163967467277372752.sh 03:11:21 ---> tox-install.sh 03:11:21 + source /home/jenkins/lf-env.sh 03:11:21 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 03:11:21 ++ mktemp -d /tmp/venv-XXXX 03:11:21 + lf_venv=/tmp/venv-w1aW 03:11:21 + local venv_file=/tmp/.os_lf_venv 03:11:21 + local python=python3 03:11:21 + local options 03:11:21 + local set_path=true 03:11:21 + local install_args= 03:11:21 ++ 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:21 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:21 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:21 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 03:11:21 + true 03:11:21 + case $1 in 03:11:21 + venv_file=/tmp/.toxenv 03:11:21 + shift 2 03:11:21 + true 03:11:21 + case $1 in 03:11:21 + shift 03:11:21 + break 03:11:21 + case $python in 03:11:21 + local pkg_list= 03:11:21 + [[ -d /opt/pyenv ]] 03:11:21 + echo 'Setup pyenv:' 03:11:21 Setup pyenv: 03:11:21 + export PYENV_ROOT=/opt/pyenv 03:11:21 + PYENV_ROOT=/opt/pyenv 03:11:21 + 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:21 + 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:21 + pyenv versions 03:11:21 system 03:11:21 3.8.13 03:11:21 3.9.13 03:11:21 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:11:21 + command -v pyenv 03:11:21 ++ pyenv init - --no-rehash 03:11:21 + 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:21 export PATH="/opt/pyenv/shims:${PATH}" 03:11:21 export PYENV_SHELL=bash 03:11:21 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:11:21 pyenv() { 03:11:21 local command 03:11:21 command="${1:-}" 03:11:21 if [ "$#" -gt 0 ]; then 03:11:21 shift 03:11:21 fi 03:11:21 03:11:21 case "$command" in 03:11:21 rehash|shell) 03:11:21 eval "$(pyenv "sh-$command" "$@")" 03:11:21 ;; 03:11:21 *) 03:11:21 command pyenv "$command" "$@" 03:11:21 ;; 03:11:21 esac 03:11:21 }' 03:11:21 +++ 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:21 ++ 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:21 ++ 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:21 ++ 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:21 ++ export PYENV_SHELL=bash 03:11:21 ++ PYENV_SHELL=bash 03:11:21 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:11:21 +++ complete -F _pyenv pyenv 03:11:21 ++ lf-pyver python3 03:11:21 ++ local py_version_xy=python3 03:11:21 ++ local py_version_xyz= 03:11:21 ++ pyenv versions 03:11:21 ++ local command 03:11:21 ++ grep -E '^[0-9.]*[0-9]$' 03:11:21 ++ command=versions 03:11:21 ++ '[' 1 -gt 0 ']' 03:11:21 ++ shift 03:11:21 ++ case "$command" in 03:11:21 ++ command pyenv versions 03:11:21 ++ pyenv versions 03:11:21 ++ sed 's/^[ *]* //' 03:11:21 ++ awk '{ print $1 }' 03:11:21 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:21 +++ grep '^3' /tmp/.pyenv_versions 03:11:21 +++ tail -n 1 03:11:21 +++ sort -V 03:11:21 ++ py_version_xyz=3.10.6 03:11:21 ++ [[ -z 3.10.6 ]] 03:11:21 ++ echo 3.10.6 03:11:21 ++ return 0 03:11:21 + pyenv local 3.10.6 03:11:21 + local command 03:11:21 + command=local 03:11:21 + '[' 2 -gt 0 ']' 03:11:21 + shift 03:11:21 + case "$command" in 03:11:21 + command pyenv local 3.10.6 03:11:21 + pyenv local 3.10.6 03:11:21 + for arg in "$@" 03:11:21 + case $arg in 03:11:21 + pkg_list+='tox ' 03:11:21 + for arg in "$@" 03:11:21 + case $arg in 03:11:21 + pkg_list+='virtualenv ' 03:11:21 + for arg in "$@" 03:11:21 + case $arg in 03:11:21 + pkg_list+='urllib3~=1.26.15 ' 03:11:21 + [[ -f /tmp/.toxenv ]] 03:11:21 + [[ ! -f /tmp/.toxenv ]] 03:11:21 + [[ -n '' ]] 03:11:21 + python3 -m venv /tmp/venv-w1aW 03:11:25 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-w1aW' 03:11:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-w1aW 03:11:25 + echo /tmp/venv-w1aW 03:11:25 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 03:11:25 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 03:11:25 + /tmp/venv-w1aW/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:11:28 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:11:28 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:11:28 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:11:28 + /tmp/venv-w1aW/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:11:31 + type python3 03:11:31 + true 03:11:31 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-w1aW/bin to PATH' 03:11:31 lf-activate-venv(): INFO: Adding /tmp/venv-w1aW/bin to PATH 03:11:31 + PATH=/tmp/venv-w1aW/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:31 + return 0 03:11:31 + python3 --version 03:11:31 Python 3.10.6 03:11:31 + python3 -m pip --version 03:11:31 pip 23.3.2 from /tmp/venv-w1aW/lib/python3.10/site-packages/pip (python 3.10) 03:11:31 + python3 -m pip freeze 03:11:31 cachetools==5.3.2 03:11:31 chardet==5.2.0 03:11:31 colorama==0.4.6 03:11:31 distlib==0.3.8 03:11:31 filelock==3.13.1 03:11:31 packaging==23.2 03:11:31 platformdirs==4.1.0 03:11:31 pluggy==1.4.0 03:11:31 pyproject-api==1.6.1 03:11:31 tomli==2.0.1 03:11:31 tox==4.12.1 03:11:31 urllib3==1.26.18 03:11:31 virtualenv==20.25.0 03:11:31 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins3755350620476354628.sh 03:11:31 ---> install-deb-rmr.sh 03:11:31 + version_file=rmr-version.yaml 03:11:31 + [[ -f rmr-version.yaml ]] 03:11:31 ++ cut -d: -f2 03:11:31 ++ xargs 03:11:31 ++ grep '^repo:' rmr-version.yaml 03:11:31 + repo= 03:11:31 ++ grep '^version:' rmr-version.yaml 03:11:31 ++ cut -d: -f2 03:11:31 ++ 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-01-30 03:11:32 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486039.deb?Expires=1706584592&Signature=mFP1Vpbzu97sjjGiLps70zg3Yfm~~ST~ze5MAhMC4rY22Fd2YRbHDhoCTOSNL77AZVemjYsdWS9cv5QLh2PkR8NtFoP-kW-wqNANj9JjVUe02owpEs~MzvYGeHBOLFVeyGVb6W1MsESquepgAT-Pe6NevILCDR0-LkkQB-gHrDlimOorDKhW242nxAE69fFYXwjliEQ7PgMC88OB0-yPxlgn88WX4w7mZbwEeWsygrnYF3dQT1KCpul-jeLd~TPRl0PixFu4rqSpcXU6tenWZFVeyzdLYcAC8Eu5gD1ObqqEOPdI~8DtIYxLYA3zUtkpNxOOTcAAXgffAZdslzFCxg__&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:32 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:34 Setting up rmr (4.9.4) ... 03:11:34 + rm -f rmr_4.9.4_amd64.deb 03:11:34 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:11:34 + 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:34 2024-01-30 03:11:34 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486035.deb?Expires=1706584594&Signature=zUTLF4D53Pf-iLiOaRQz2hXOi6ZxBRQSKQBmV72w26E4Lux480R-ASgWDbubI149Tlbzn~z2A7RMTzXlQYastO~iFJ7J3aZgrQG7Fu0YAckPTwuM4BQy8bJQmlqqcXP1N-bbhojUMLss4Mh1WGCHenRJLWrw5HYcjMhhhEieBfMJCr0oWsB0ETmfo-HaXg7zZjcScD8aJm0MCrPvdH1vWNPEAsE3LJVmwGICeLuMdyuUZ9zXonW4TwB1~FZ~2nVGuJGTMqSWKrhZxAARKqHPhw-i8vQT0UU1QW4-VGPznRuzg84zNidXoCSPztYcCGQiw-xy2-2363Sg~polNisabw__&Key-Pair-Id=K1ZMSF1EKC3AZL [128860/128860] -> "rmr-dev_4.9.4_amd64.deb" [1] 03:11:34 + sudo dpkg -i rmr-dev_4.9.4_amd64.deb 03:11:34 Selecting previously unselected package rmr-dev. 03:11:34 (Reading database ... 188037 files and directories currently installed.) 03:11:34 Preparing to unpack rmr-dev_4.9.4_amd64.deb ... 03:11:34 Unpacking rmr-dev (4.9.4) ... 03:11:34 Setting up rmr-dev (4.9.4) ... 03:11:34 + rm -f rmr-dev_4.9.4_amd64.deb 03:11:34 + echo '---> install-deb-rmr.sh ends' 03:11:34 ---> install-deb-rmr.sh ends 03:11:34 + echo '---> install-deb-e2ap.sh' 03:11:34 ---> install-deb-e2ap.sh 03:11:34 + set -eux 03:11:34 + version_file=e2ap-version.yaml 03:11:34 + [[ -f e2ap-version.yaml ]] 03:11:34 ++ grep '^repo:' e2ap-version.yaml 03:11:34 ++ xargs 03:11:34 ++ cut -d: -f2 03:11:34 + repo= 03:11:34 ++ cut -d: -f2 03:11:34 ++ grep '^version:' e2ap-version.yaml 03:11:34 ++ xargs 03:11:34 + ver=1.1.0 03:11:34 + [[ -z 1.1.0 ]] 03:11:34 + repo=release 03:11:34 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:11:34 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_1.1.0_amd64.deb/download.deb 03:11:34 2024-01-30 03:11:34 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517358.deb?Expires=1706584594&Signature=Q19BQM9MbFoWFfGQX~owW91VNf7zVUzrnfWd35xh9Ejr5aj1-bzBp5rrx1pJBwZ5TQ58CwAP~If6fsBl7wcZNGEn9D8f1itrpv3z5k36cJlDsdSyAIp~pbcTRyRP2TSpu1O8K0J9HCOaeAgmFpOD4HE5LAwex8UqObJY2uKChgVkcwqhgStrmIKp-Bsh88oCKD~dy0RD-PBROonuQDtKoWTY7ku4viOAZn9789BCpAVKBBl~O~WmOPxwvEejEie1dDOJnaxPQmR5DbcSyy1htR1QFcWL1eSRuCcmL9z~pcSlD-WMwPRnUaDh~4fZxSgB6Y-jLBEmyn7pP7oxn4kI8w__&Key-Pair-Id=K1ZMSF1EKC3AZL [341294/341294] -> "riclibe2ap_1.1.0_amd64.deb" [1] 03:11:34 + sudo dpkg -i riclibe2ap_1.1.0_amd64.deb 03:11:34 Selecting previously unselected package riclibe2ap. 03:11:34 (Reading database ... 188044 files and directories currently installed.) 03:11:34 Preparing to unpack riclibe2ap_1.1.0_amd64.deb ... 03:11:34 Unpacking riclibe2ap (1.1.0) ... 03:11:34 Setting up riclibe2ap (1.1.0) ... 03:11:34 + rm -f riclibe2ap_1.1.0_amd64.deb 03:11:34 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:11:34 + 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:35 2024-01-30 03:11:35 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517359.deb?Expires=1706584594&Signature=lWeuDCvlpWDnGBLdECJ5hnlNVik2QxCBxEm9u0Rw5wxJ040TgKEv-JE-L2OTeLi~hy2j7RagUw447xON-M7zxChzG8Iq320~dXua1qMx0FTsMMqzFUMUxiULJjp-PTDscFBUUDKOtRQbrClzVid2RwpEYgttHvB24BpoFH1Gqu~gZZtvPwk2azDOa98Md2nifZ4IORQS0JmwKmfZjYRPP6tI3cEN3EOk9J8JP9v4oFEIsWDAkaFI2VY~HddjW6k07-0Ef3n2cmq22tI95~D49ob2FAeMI012UG1sQ8qVXNidPpb9nlpfm9n3KcDi2aV4BW1AwYR0IVCZ95tXsdmZ-A__&Key-Pair-Id=K1ZMSF1EKC3AZL [823070/823070] -> "riclibe2ap-dev_1.1.0_amd64.deb" [1] 03:11:35 + sudo dpkg -i riclibe2ap-dev_1.1.0_amd64.deb 03:11:35 Selecting previously unselected package riclibe2ap-dev. 03:11:35 (Reading database ... 188047 files and directories currently installed.) 03:11:35 Preparing to unpack riclibe2ap-dev_1.1.0_amd64.deb ... 03:11:35 Unpacking riclibe2ap-dev (1.1.0) ... 03:11:35 Setting up riclibe2ap-dev (1.1.0) ... 03:11:35 + rm -f riclibe2ap-dev_1.1.0_amd64.deb 03:11:35 + echo '---> install-deb-e2ap.sh ends' 03:11:35 ---> install-deb-e2ap.sh ends 03:11:35 [EnvInject] - Injecting environment variables from a build step. 03:11:35 [EnvInject] - Injecting as environment variables the properties content 03:11:35 PARALLEL=False 03:11:35 03:11:35 [EnvInject] - Variables injected successfully. 03:11:35 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17982779335014360555.sh 03:11:35 ---> tox-run.sh 03:11:35 + 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:35 + ARCHIVE_TOX_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox 03:11:35 + ARCHIVE_DOC_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/docs 03:11:35 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox 03:11:35 + cd /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/. 03:11:35 + source /home/jenkins/lf-env.sh 03:11:35 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 03:11:35 ++ mktemp -d /tmp/venv-XXXX 03:11:35 + lf_venv=/tmp/venv-sXPy 03:11:35 + local venv_file=/tmp/.os_lf_venv 03:11:35 + local python=python3 03:11:35 + local options 03:11:35 + local set_path=true 03:11:35 + local install_args= 03:11:35 ++ 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:35 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:35 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:35 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 03:11:35 + true 03:11:35 + case $1 in 03:11:35 + venv_file=/tmp/.toxenv 03:11:35 + shift 2 03:11:35 + true 03:11:35 + case $1 in 03:11:35 + shift 03:11:35 + break 03:11:35 + case $python in 03:11:35 + local pkg_list= 03:11:35 + [[ -d /opt/pyenv ]] 03:11:35 + echo 'Setup pyenv:' 03:11:35 Setup pyenv: 03:11:35 + export PYENV_ROOT=/opt/pyenv 03:11:35 + PYENV_ROOT=/opt/pyenv 03:11:35 + 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:35 + 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:35 + pyenv versions 03:11:35 system 03:11:35 3.8.13 03:11:35 3.9.13 03:11:35 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:11:35 + command -v pyenv 03:11:35 ++ pyenv init - --no-rehash 03:11:35 + 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:35 export PATH="/opt/pyenv/shims:${PATH}" 03:11:35 export PYENV_SHELL=bash 03:11:35 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:11:35 pyenv() { 03:11:35 local command 03:11:35 command="${1:-}" 03:11:35 if [ "$#" -gt 0 ]; then 03:11:35 shift 03:11:35 fi 03:11:35 03:11:35 case "$command" in 03:11:35 rehash|shell) 03:11:35 eval "$(pyenv "sh-$command" "$@")" 03:11:35 ;; 03:11:35 *) 03:11:35 command pyenv "$command" "$@" 03:11:35 ;; 03:11:35 esac 03:11:35 }' 03:11:35 +++ 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:35 ++ 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:35 ++ 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:35 ++ 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:35 ++ export PYENV_SHELL=bash 03:11:35 ++ PYENV_SHELL=bash 03:11:35 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:11:35 +++ complete -F _pyenv pyenv 03:11:35 ++ lf-pyver python3 03:11:35 ++ local py_version_xy=python3 03:11:35 ++ local py_version_xyz= 03:11:35 ++ awk '{ print $1 }' 03:11:35 ++ sed 's/^[ *]* //' 03:11:35 ++ pyenv versions 03:11:35 ++ local command 03:11:35 ++ command=versions 03:11:35 ++ '[' 1 -gt 0 ']' 03:11:35 ++ shift 03:11:35 ++ case "$command" in 03:11:35 ++ command pyenv versions 03:11:35 ++ pyenv versions 03:11:35 ++ grep -E '^[0-9.]*[0-9]$' 03:11:35 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:35 +++ tail -n 1 03:11:35 +++ grep '^3' /tmp/.pyenv_versions 03:11:35 +++ sort -V 03:11:35 ++ py_version_xyz=3.10.6 03:11:35 ++ [[ -z 3.10.6 ]] 03:11:35 ++ echo 3.10.6 03:11:35 ++ return 0 03:11:35 + pyenv local 3.10.6 03:11:35 + local command 03:11:35 + command=local 03:11:35 + '[' 2 -gt 0 ']' 03:11:35 + shift 03:11:35 + case "$command" in 03:11:35 + command pyenv local 3.10.6 03:11:35 + pyenv local 3.10.6 03:11:35 + for arg in "$@" 03:11:35 + case $arg in 03:11:35 + pkg_list+='tox ' 03:11:35 + for arg in "$@" 03:11:35 + case $arg in 03:11:35 + pkg_list+='virtualenv ' 03:11:35 + for arg in "$@" 03:11:35 + case $arg in 03:11:35 + pkg_list+='urllib3~=1.26.15 ' 03:11:35 + [[ -f /tmp/.toxenv ]] 03:11:35 ++ cat /tmp/.toxenv 03:11:35 + lf_venv=/tmp/venv-w1aW 03:11:35 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w1aW from' file:/tmp/.toxenv 03:11:35 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w1aW from file:/tmp/.toxenv 03:11:35 + /tmp/venv-w1aW/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:11:36 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:11:36 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:11:36 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:11:36 + /tmp/venv-w1aW/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:11:38 + type python3 03:11:38 + true 03:11:38 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-w1aW/bin to PATH' 03:11:38 lf-activate-venv(): INFO: Adding /tmp/venv-w1aW/bin to PATH 03:11:38 + PATH=/tmp/venv-w1aW/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:38 + return 0 03:11:38 + [[ -d /opt/pyenv ]] 03:11:38 + echo '---> Setting up pyenv' 03:11:38 ---> Setting up pyenv 03:11:38 + export PYENV_ROOT=/opt/pyenv 03:11:38 + PYENV_ROOT=/opt/pyenv 03:11:38 + export PATH=/opt/pyenv/bin:/tmp/venv-w1aW/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:38 + PATH=/opt/pyenv/bin:/tmp/venv-w1aW/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:38 ++ pwd 03:11:38 + PYTHONPATH=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:11:38 + export PYTHONPATH 03:11:38 + export TOX_TESTENV_PASSENV=PYTHONPATH 03:11:38 + TOX_TESTENV_PASSENV=PYTHONPATH 03:11:38 + tox --version 03:11:38 4.12.1 from /tmp/venv-w1aW/lib/python3.10/site-packages/tox/__init__.py 03:11:38 + PARALLEL=False 03:11:38 + TOX_OPTIONS_LIST= 03:11:38 + [[ -n code,flake8 ]] 03:11:38 + TOX_OPTIONS_LIST=' -e code,flake8' 03:11:38 + case ${PARALLEL,,} in 03:11:38 + tee -a /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/tox.log 03:11:38 + tox -e code,flake8 03:11:39 code: install_deps> python -I -m pip install coverage pytest pytest-cov six 03:11:42 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 03:11:44 .pkg: _optional_hooks> python /tmp/venv-w1aW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:44 .pkg: get_requires_for_build_sdist> python /tmp/venv-w1aW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:44 .pkg: get_requires_for_build_wheel> python /tmp/venv-w1aW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:44 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 03:11:44 .pkg: freeze> python -m pip freeze --all 03:11:45 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 03:11:45 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-w1aW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:45 .pkg: build_sdist> python /tmp/venv-w1aW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:45 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:52 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:53 code: freeze> python -m pip freeze --all 03:11:53 code: async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.4.1,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.7,nose==1.3.7,packaging==23.2,pip==23.3.1,pluggy==1.4.0,protobuf==3.20.3,pytest==8.0.0,pytest-cov==4.1.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=7e6597c3b4b107dfcbc3f6dae2ecc504f2010b650c40441d6a2fcf702db81faf,setuptools==69.0.2,six==1.16.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.0 03:11:53 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:54 ============================= test session starts ============================== 03:11:54 platform linux -- Python 3.10.6, pytest-8.0.0, pluggy-1.4.0 03:11:54 cachedir: .tox/code/.pytest_cache 03:11:54 rootdir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:11:54 plugins: cov-4.1.0 03:11:54 collected 75 items 03:11:54 03:11:54 tests/test_Logger.py .............. [ 18%] 03:11:54 tests/test_alarm.py .. [ 21%] 03:11:59 tests/test_config.py ... [ 25%] 03:12:44 tests/test_e2ap.py ........ [ 36%] 03:12:44 tests/test_init.py ... [ 40%] 03:13:14 tests/test_metric.py .. [ 42%] 03:13:19 tests/test_rest.py . [ 44%] 03:13:19 tests/test_rmr.py ............. [ 61%] 03:13:29 tests/test_rmr_mocks.py ... [ 65%] 03:13:29 tests/test_rmrclib.py .. [ 68%] 03:13:29 tests/test_sdl.py ..... [ 74%] 03:13:30 tests/test_subscribe.py .... [ 80%] 03:13:30 tests/test_symptomdata.py .... [ 85%] 03:13:30 tests/test_xapps.py ........... [100%] 03:16:29 03:16:29 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 03:16:29 03:16:29 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 03:16:29 Name Stmts Miss Cover Missing 03:16:29 ----------------------------------------------------------------------- 03:16:29 ricxappframe/__init__.py 0 0 100% 03:16:29 ricxappframe/alarm/__init__.py 0 0 100% 03:16:29 ricxappframe/alarm/alarm.py 94 2 98% 250-251 03:16:29 ricxappframe/alarm/exceptions.py 2 0 100% 03:16:29 ricxappframe/constants.py 5 0 100% 03:16:29 ricxappframe/e2ap/__init__.py 0 0 100% 03:16:29 ricxappframe/e2ap/asn1.py 224 0 100% 03:16:29 ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% 03:16:29 ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% 03:16:29 ricxappframe/e2ap/asn1clib/types.py 16 0 100% 03:16:29 ricxappframe/logger/__init__.py 0 0 100% 03:16:29 ricxappframe/logger/mdclogger.py 133 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 03:16:29 ricxappframe/metric/__init__.py 0 0 100% 03:16:29 ricxappframe/metric/exceptions.py 2 0 100% 03:16:29 ricxappframe/metric/metric.py 58 3 95% 122, 201-202 03:16:29 ricxappframe/rmr/__init__.py 0 0 100% 03:16:29 ricxappframe/rmr/exceptions.py 4 0 100% 03:16:29 ricxappframe/rmr/helpers.py 28 0 100% 03:16:29 ricxappframe/rmr/rmr.py 156 3 98% 257, 454, 544 03:16:29 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% 03:16:29 ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 6 92% 39, 59, 79, 115, 133, 148 03:16:29 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% 03:16:29 ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 03:16:29 ricxappframe/util/__init__.py 0 0 100% 03:16:29 ricxappframe/util/constants.py 11 0 100% 03:16:29 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:29 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 03:16:29 ricxappframe/xapp_rmr.py 40 0 100% 03:16:29 ricxappframe/xapp_sdl.py 94 1 99% 53 03:16:29 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 03:16:29 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 03:16:29 ----------------------------------------------------------------------- 03:16:29 TOTAL 1550 118 92% 03:16:29 Coverage HTML written to dir htmlcov 03:16:29 Coverage XML written to file coverage.xml 03:16:29 03:16:29 Required test coverage of 70% reached. Total coverage: 92.39% 03:16:29 ======================== 75 passed in 275.87s (0:04:35) ======================== 03:16:33 code: commands[1]> coverage xml -i 03:16:34 Wrote XML report to coverage.xml 03:16:34 .pkg: _exit> python /tmp/venv-w1aW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:16:34 code: OK ✔ in 4 minutes 55.44 seconds 03:16:34 flake8: install_deps> python -I -m pip install flake8 03:16:36 flake8: freeze> python -m pip freeze --all 03:16:37 flake8: flake8==7.0.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.0.2,wheel==0.42.0 03:16:37 flake8: commands[0]> flake8 setup.py ricxappframe tests 03:16:38 code: OK (295.44=setup[14.90]+cmd[280.19,0.35] seconds) 03:16:38 flake8: OK (4.04=setup[3.20]+cmd[0.84] seconds) 03:16:38 congratulations :) (299.64 seconds) 03:16:38 + tox_status=0 03:16:38 + echo '---> Completed tox runs' 03:16:38 ---> Completed tox runs 03:16:38 + for i in .tox/*/log 03:16:38 ++ echo .tox/code/log 03:16:38 ++ awk -F/ '{print $2}' 03:16:38 + tox_env=code 03:16:38 + cp -r .tox/code/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/code 03:16:38 + for i in .tox/*/log 03:16:38 ++ echo .tox/flake8/log 03:16:38 ++ awk -F/ '{print $2}' 03:16:38 + tox_env=flake8 03:16:38 + cp -r .tox/flake8/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/flake8 03:16:38 + DOC_DIR=docs/_build/html 03:16:38 + [[ -d docs/_build/html ]] 03:16:38 + echo '---> tox-run.sh ends' 03:16:38 ---> tox-run.sh ends 03:16:38 + test 0 -eq 0 03:16:38 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-312 03:16:39 [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:39 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:39 INFO: Project root configuration file: NONE 03:16:39 INFO: SonarScanner 4.6.2.2472 03:16:39 INFO: Java 17.0.7 Private Build (64-bit) 03:16:39 INFO: Linux 4.15.0-213-generic amd64 03:16:39 INFO: User cache: /home/jenkins/.sonar/cache 03:16:41 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:41 INFO: Project root configuration file: NONE 03:16:41 INFO: Analyzing on SonarCloud 03:16:41 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 03:16:42 INFO: Load global settings 03:16:42 INFO: Load global settings (done) | time=313ms 03:16:42 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 03:16:42 INFO: User cache: /home/jenkins/.sonar/cache 03:16:42 INFO: Loading required plugins 03:16:42 INFO: Load plugins index 03:16:42 INFO: Load plugins index (done) | time=294ms 03:16:42 INFO: Load/download plugins 03:16:43 INFO: Load/download plugins (done) | time=915ms 03:16:44 INFO: Found an active CI vendor: 'Jenkins' 03:16:44 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' 03:16:44 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=221ms 03:16:44 INFO: Process project properties 03:16:44 INFO: Project key: o-ran-sc_ric-plt-xapp-frame-py 03:16:44 INFO: Base dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:16:44 INFO: Working dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork 03:16:44 INFO: Load project branches 03:16:44 INFO: Load project branches (done) | time=211ms 03:16:44 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' 03:16:45 INFO: Detected project binding: NOT_BOUND 03:16:45 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=192ms 03:16:45 INFO: Load project pull requests 03:16:45 INFO: Load project pull requests (done) | time=231ms 03:16:45 INFO: Load branch configuration 03:16:45 INFO: Load branch configuration (done) | time=2ms 03:16:45 INFO: Load quality profiles 03:16:45 INFO: Load quality profiles (done) | time=263ms 03:16:45 INFO: Load active rules 03:16:57 INFO: Load active rules (done) | time=11704ms 03:16:57 INFO: Organization key: o-ran-sc 03:16:57 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:16:57 INFO: Preprocessing files... 03:16:57 INFO: 2 languages detected in 72 preprocessed files 03:16:57 INFO: 0 files ignored because of inclusion/exclusion patterns 03:16:57 INFO: 68 files ignored because of scm ignore settings 03:16:57 INFO: Loading plugins for detected languages 03:16:57 INFO: Load/download plugins 03:16:58 INFO: Load/download plugins (done) | time=364ms 03:16:58 INFO: Load project repositories 03:16:58 INFO: Load project repositories (done) | time=263ms 03:16:58 INFO: Indexing files... 03:16:58 INFO: Project configuration: 03:16:58 INFO: Excluded sources: **/build-wrapper-dump.json, setup.py, tests/*.py 03:16:58 INFO: 72 files indexed 03:16:58 INFO: Quality profile for json: SonarQube Way 03:16:58 INFO: Quality profile for py: Sonar way 03:16:58 INFO: ------------- Run sensors on module ric-plt-xapp-frame-py 03:16:58 INFO: Load metrics repository 03:16:59 INFO: Load metrics repository (done) | time=198ms 03:16:59 INFO: Sensor cache enabled 03:16:59 INFO: Load sensor cache 03:16:59 INFO: Load sensor cache (404) | time=577ms 03:17:00 INFO: Sensor Python Sensor [python] 03:17:00 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:00 INFO: Starting global symbols computation 03:17:00 INFO: 70 source files to be analyzed 03:17:02 INFO: 70/70 source files have been analyzed 03:17:02 INFO: Starting rules execution 03:17:02 INFO: 70 source files to be analyzed 03:17:08 INFO: 70/70 source files have been analyzed 03:17:08 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:08 INFO: Sensor Python Sensor [python] (done) | time=7500ms 03:17:08 INFO: Sensor Cobertura Sensor for Python coverage [python] 03:17:08 INFO: Python test coverage 03:17:08 INFO: Parsing report '/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/coverage.xml' 03:17:08 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=215ms 03:17:08 INFO: Sensor PythonXUnitSensor [python] 03:17:08 INFO: Sensor PythonXUnitSensor [python] (done) | time=68ms 03:17:08 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 03:17:08 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:08 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=25ms 03:17:08 INFO: Sensor JaCoCo XML Report Importer [jacoco] 03:17:08 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:08 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 03:17:08 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms 03:17:08 INFO: Sensor IaC CloudFormation Sensor [iac] 03:17:08 INFO: 0 source files to be analyzed 03:17:08 INFO: 0/0 source files have been analyzed 03:17:08 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=11ms 03:17:08 INFO: Sensor IaC AzureResourceManager Sensor [iac] 03:17:08 INFO: 0 source files to be analyzed 03:17:08 INFO: 0/0 source files have been analyzed 03:17:08 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=83ms 03:17:08 INFO: Sensor TextAndSecretsSensor [text] 03:17:08 INFO: 72 source files to be analyzed 03:17:10 INFO: 72/72 source files have been analyzed 03:17:10 INFO: Sensor TextAndSecretsSensor [text] (done) | time=1887ms 03:17:10 INFO: Sensor IaC Docker Sensor [iac] 03:17:10 INFO: 0 source files to be analyzed 03:17:10 INFO: 0/0 source files have been analyzed 03:17:10 INFO: Sensor IaC Docker Sensor [iac] (done) | time=29ms 03:17:10 INFO: Sensor Serverless configuration file sensor [security] 03:17:10 INFO: 0 Serverless function entries were found in the project 03:17:10 INFO: 0 Serverless function handlers were kept as entrypoints 03:17:10 INFO: Sensor Serverless configuration file sensor [security] (done) | time=4ms 03:17:10 INFO: Sensor AWS SAM template file sensor [security] 03:17:10 INFO: Sensor AWS SAM template file sensor [security] (done) | time=0ms 03:17:10 INFO: Sensor AWS SAM Inline template file sensor [security] 03:17:10 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms 03:17:10 INFO: Sensor javabugs [dbd] 03:17:10 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/java 03:17:10 INFO: No IR files have been included for analysis. 03:17:10 INFO: Sensor javabugs [dbd] (done) | time=1ms 03:17:10 INFO: Sensor pythonbugs [dbd] 03:17:10 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/python 03:17:10 INFO: Analyzing 308 functions to detect bugs. 03:17:11 INFO: Sensor pythonbugs [dbd] (done) | time=869ms 03:17:11 INFO: Sensor JavaSecuritySensor [security] 03:17:11 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 03:17:11 INFO: Load type hierarchy and UCFGs: Starting 03:17:11 INFO: Load type hierarchy: Starting 03:17:11 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/java 03:17:11 INFO: Read 0 type definitions 03:17:11 INFO: Load type hierarchy: Time spent was 00:00:00.001 03:17:11 INFO: Load UCFGs: Starting 03:17:11 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:11 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 03:17:11 INFO: No UCFGs have been included for analysis. 03:17:11 INFO: java security sensor: Time spent was 00:00:00.005 03:17:11 INFO: Sensor JavaSecuritySensor [security] (done) | time=45ms 03:17:11 INFO: Sensor CSharpSecuritySensor [security] 03:17:11 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:11 INFO: Load type hierarchy and UCFGs: Starting 03:17:11 INFO: Load type hierarchy: Starting 03:17:11 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/ucfg2/cs 03:17:11 INFO: Read 0 type definitions 03:17:11 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:11 INFO: Load UCFGs: Starting 03:17:11 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:11 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 03:17:11 INFO: No UCFGs have been included for analysis. 03:17:11 INFO: csharp security sensor: Time spent was 00:00:00.001 03:17:11 INFO: Sensor CSharpSecuritySensor [security] (done) | time=3ms 03:17:11 INFO: Sensor PhpSecuritySensor [security] 03:17:11 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 03:17:11 INFO: Load type hierarchy and UCFGs: Starting 03:17:11 INFO: Load type hierarchy: Starting 03:17:11 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/php 03:17:11 INFO: Read 0 type definitions 03:17:11 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:11 INFO: Load UCFGs: Starting 03:17:11 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:11 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 03:17:11 INFO: No UCFGs have been included for analysis. 03:17:11 INFO: php security sensor: Time spent was 00:00:00.000 03:17:11 INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms 03:17:11 INFO: Sensor PythonSecuritySensor [security] 03:17:11 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:11 INFO: Load type hierarchy and UCFGs: Starting 03:17:11 INFO: Load type hierarchy: Starting 03:17:11 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:11 INFO: Read 957 type definitions 03:17:11 INFO: Load type hierarchy: Time spent was 00:00:00.134 03:17:11 INFO: Load UCFGs: Starting 03:17:11 INFO: Reading UCFGs from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:11 INFO: Load UCFGs: Time spent was 00:00:00.585 03:17:11 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.719 03:17:11 INFO: Analyzing 4408 UCFGs to detect vulnerabilities. 03:17:11 INFO: Check cache: Starting 03:17:11 INFO: Load cache: Starting 03:17:11 INFO: Load cache: Time spent was 00:00:00.000 03:17:11 INFO: Check cache: Time spent was 00:00:00.000 03:17:11 INFO: Create runtime call graph: Starting 03:17:11 INFO: Variable Type Analysis #1: Starting 03:17:11 INFO: Create runtime type propagation graph: Starting 03:17:12 INFO: Create runtime type propagation graph: Time spent was 00:00:00.082 03:17:12 INFO: Run SCC (Tarjan) on 13840 nodes: Starting 03:17:12 INFO: Run SCC (Tarjan) on 13840 nodes: Time spent was 00:00:00.017 03:17:12 INFO: Tarjan found 13753 strongly connected components 03:17:12 INFO: Propagate runtime types to strongly connected components: Starting 03:17:12 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.051 03:17:12 INFO: Variable Type Analysis #1: Time spent was 00:00:00.153 03:17:12 INFO: Variable Type Analysis #2: Starting 03:17:12 INFO: Create runtime type propagation graph: Starting 03:17:12 INFO: Create runtime type propagation graph: Time spent was 00:00:00.063 03:17:12 INFO: Run SCC (Tarjan) on 13665 nodes: Starting 03:17:12 INFO: Run SCC (Tarjan) on 13665 nodes: Time spent was 00:00:00.011 03:17:12 INFO: Tarjan found 13629 strongly connected components 03:17:12 INFO: Propagate runtime types to strongly connected components: Starting 03:17:12 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.073 03:17:12 INFO: Variable Type Analysis #2: Time spent was 00:00:00.149 03:17:12 INFO: Create runtime call graph: Time spent was 00:00:00.310 03:17:12 INFO: Load config: Starting 03:17:12 INFO: Load config: Time spent was 00:00:00.150 03:17:12 INFO: Compute entry points: Starting 03:17:12 INFO: Compute entry points: Time spent was 00:00:00.284 03:17:12 INFO: All rules entry points : 3 03:17:12 INFO: Slice call graph: Starting 03:17:12 INFO: Retained UCFGs : 16 03:17:12 INFO: Slice call graph: Time spent was 00:00:00.000 03:17:12 INFO: Live variable analysis: Starting 03:17:12 INFO: Live variable analysis: Time spent was 00:00:00.009 03:17:12 INFO: Taint analysis for python: Starting 03:17:12 INFO: 0 / 16 UCFGs simulated, memory usage: 175 MB 03:17:12 INFO: 7 / 16 UCFGs simulated, memory usage: 181 MB 03:17:12 INFO: Taint analysis for python: Time spent was 00:00:00.084 03:17:12 INFO: Report issues: Starting 03:17:12 INFO: Report issues: Time spent was 00:00:00.002 03:17:12 INFO: Store cache: Starting 03:17:12 INFO: Store cache: Time spent was 00:00:00.020 03:17:12 INFO: python security sensor: Time spent was 00:00:01.585 03:17:12 INFO: python security sensor: Begin: 2024-01-30T03:17:11.270072836Z, End: 2024-01-30T03:17:12.855395720Z, Duration: 00:00:01.585 03:17:12 Load type hierarchy and UCFGs: Begin: 2024-01-30T03:17:11.270197739Z, End: 2024-01-30T03:17:11.990067456Z, Duration: 00:00:00.719 03:17:12 Load type hierarchy: Begin: 2024-01-30T03:17:11.270219189Z, End: 2024-01-30T03:17:11.404311217Z, Duration: 00:00:00.134 03:17:12 Load UCFGs: Begin: 2024-01-30T03:17:11.404577342Z, End: 2024-01-30T03:17:11.989759140Z, Duration: 00:00:00.585 03:17:12 Check cache: Begin: 2024-01-30T03:17:11.990359992Z, End: 2024-01-30T03:17:11.990783680Z, Duration: 00:00:00.000 03:17:12 Load cache: Begin: 2024-01-30T03:17:11.990438364Z, End: 2024-01-30T03:17:11.990511215Z, Duration: 00:00:00.000 03:17:12 Create runtime call graph: Begin: 2024-01-30T03:17:11.990897992Z, End: 2024-01-30T03:17:12.301054997Z, Duration: 00:00:00.310 03:17:12 Variable Type Analysis #1: Begin: 2024-01-30T03:17:11.991498475Z, End: 2024-01-30T03:17:12.144884373Z, Duration: 00:00:00.153 03:17:12 Create runtime type propagation graph: Begin: 2024-01-30T03:17:11.992492305Z, End: 2024-01-30T03:17:12.074616879Z, Duration: 00:00:00.082 03:17:12 Run SCC (Tarjan) on 13840 nodes: Begin: 2024-01-30T03:17:12.075153240Z, End: 2024-01-30T03:17:12.092856208Z, Duration: 00:00:00.017 03:17:12 Propagate runtime types to strongly connected components: Begin: 2024-01-30T03:17:12.093212926Z, End: 2024-01-30T03:17:12.144541546Z, Duration: 00:00:00.051 03:17:12 Variable Type Analysis #2: Begin: 2024-01-30T03:17:12.147876533Z, End: 2024-01-30T03:17:12.297361062Z, Duration: 00:00:00.149 03:17:12 Create runtime type propagation graph: Begin: 2024-01-30T03:17:12.147963155Z, End: 2024-01-30T03:17:12.211632626Z, Duration: 00:00:00.063 03:17:12 Run SCC (Tarjan) on 13665 nodes: Begin: 2024-01-30T03:17:12.211960852Z, End: 2024-01-30T03:17:12.223298392Z, Duration: 00:00:00.011 03:17:12 Propagate runtime types to strongly connected components: Begin: 2024-01-30T03:17:12.223542256Z, End: 2024-01-30T03:17:12.297013946Z, Duration: 00:00:00.073 03:17:12 Load config: Begin: 2024-01-30T03:17:12.301182751Z, End: 2024-01-30T03:17:12.451455765Z, Duration: 00:00:00.150 03:17:12 Compute entry points: Begin: 2024-01-30T03:17:12.451739381Z, End: 2024-01-30T03:17:12.735819537Z, Duration: 00:00:00.284 03:17:12 Slice call graph: Begin: 2024-01-30T03:17:12.736197785Z, End: 2024-01-30T03:17:12.736900649Z, Duration: 00:00:00.000 03:17:12 Live variable analysis: Begin: 2024-01-30T03:17:12.737010021Z, End: 2024-01-30T03:17:12.746403081Z, Duration: 00:00:00.009 03:17:12 Taint analysis for python: Begin: 2024-01-30T03:17:12.747185947Z, End: 2024-01-30T03:17:12.831811443Z, Duration: 00:00:00.084 03:17:12 Report issues: Begin: 2024-01-30T03:17:12.831940185Z, End: 2024-01-30T03:17:12.834538718Z, Duration: 00:00:00.002 03:17:12 Store cache: Begin: 2024-01-30T03:17:12.834680221Z, End: 2024-01-30T03:17:12.855163116Z, Duration: 00:00:00.020 03:17:12 INFO: python security sensor peak memory: 235 MB 03:17:12 INFO: Sensor PythonSecuritySensor [security] (done) | time=1591ms 03:17:12 INFO: Sensor JsSecuritySensor [security] 03:17:12 INFO: Enabled taint analysis rules: S3649, S5131, S6105, S5883, S5144, S6096, S2631, S5696, S5147, S6287, S6350, S5146, S2083, S2076, S5334 03:17:12 INFO: Load type hierarchy and UCFGs: Starting 03:17:12 INFO: Load type hierarchy: Starting 03:17:12 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/js 03:17:12 INFO: Read 0 type definitions 03:17:12 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:12 INFO: Load UCFGs: Starting 03:17:12 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:12 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 03:17:12 INFO: No UCFGs have been included for analysis. 03:17:12 INFO: js security sensor: Time spent was 00:00:00.000 03:17:12 INFO: Sensor JsSecuritySensor [security] (done) | time=1ms 03:17:12 INFO: ------------- Run sensors on project 03:17:12 INFO: Sensor Zero Coverage Sensor 03:17:12 INFO: Sensor Zero Coverage Sensor (done) | time=13ms 03:17:12 INFO: CPD Executor 18 files had no CPD blocks 03:17:12 INFO: CPD Executor Calculating CPD for 52 files 03:17:13 INFO: CPD Executor CPD calculation finished (done) | time=81ms 03:17:13 INFO: Analysis report generated in 223ms, dir size=1 MB 03:17:13 INFO: Analysis report compressed in 238ms, zip size=403 KB 03:17:14 INFO: Analysis report uploaded in 1221ms 03:17:14 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-plt-xapp-frame-py 03:17:14 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 03:17:14 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AY1YXvSSU4cu87Twug7Q 03:17:17 INFO: Sensor cache published successfully 03:17:17 INFO: Analysis total time: 32.973 s 03:17:17 INFO: ------------------------------------------------------------------------ 03:17:17 INFO: EXECUTION SUCCESS 03:17:17 INFO: ------------------------------------------------------------------------ 03:17:17 INFO: Total time: 37.928s 03:17:17 INFO: Final Memory: 56M/197M 03:17:17 INFO: ------------------------------------------------------------------------ 03:17:18 $ ssh-agent -k 03:17:18 unset SSH_AUTH_SOCK; 03:17:18 unset SSH_AGENT_PID; 03:17:18 echo Agent pid 1725 killed; 03:17:18 [ssh-agent] Stopped. 03:17:18 [PostBuildScript] - [INFO] Executing post build scripts. 03:17:18 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins13322811607707322175.sh 03:17:18 ---> sysstat.sh 03:17:18 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins17778574862438156805.sh 03:17:18 ---> package-listing.sh 03:17:18 ++ facter osfamily 03:17:18 ++ tr '[:upper:]' '[:lower:]' 03:17:18 + OS_FAMILY=debian 03:17:18 + workspace=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:17:18 + START_PACKAGES=/tmp/packages_start.txt 03:17:18 + END_PACKAGES=/tmp/packages_end.txt 03:17:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:17:18 + PACKAGES=/tmp/packages_start.txt 03:17:18 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:18 + PACKAGES=/tmp/packages_end.txt 03:17:18 + case "${OS_FAMILY}" in 03:17:18 + dpkg -l 03:17:18 + grep '^ii' 03:17:18 + '[' -f /tmp/packages_start.txt ']' 03:17:18 + '[' -f /tmp/packages_end.txt ']' 03:17:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:18 + true 03:17:18 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:18 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/ 03:17:18 + 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:18 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins15891171171736846292.sh 03:17:18 ---> capture-instance-metadata.sh 03:17:19 Setup pyenv: 03:17:19 system 03:17:19 3.8.13 03:17:19 3.9.13 03:17:19 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Fnb4 from file:/tmp/.os_lf_venv 03:17:21 lf-activate-venv(): INFO: Installing: lftools 03:17:36 lf-activate-venv(): INFO: Adding /tmp/venv-Fnb4/bin to PATH 03:17:36 INFO: Running in OpenStack, capturing instance metadata 03:17:37 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins7281667547307086480.sh 03:17:37 provisioning config files... 03:17:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/config4919134692578729899tmp 03:17:37 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 03:17:37 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 03:17:37 [EnvInject] - Injecting environment variables from a build step. 03:17:37 [EnvInject] - Injecting as environment variables the properties content 03:17:37 SERVER_ID=logs 03:17:37 03:17:37 [EnvInject] - Variables injected successfully. 03:17:37 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins6608303331482740876.sh 03:17:37 ---> create-netrc.sh 03:17:37 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins9827024312200030628.sh 03:17:37 ---> python-tools-install.sh 03:17:37 Setup pyenv: 03:17:37 system 03:17:37 3.8.13 03:17:37 3.9.13 03:17:37 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:37 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Fnb4 from file:/tmp/.os_lf_venv 03:17:39 lf-activate-venv(): INFO: Installing: lftools 03:17:50 lf-activate-venv(): INFO: Adding /tmp/venv-Fnb4/bin to PATH 03:17:50 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins15404356696898369583.sh 03:17:50 ---> sudo-logs.sh 03:17:50 Archiving 'sudo' log.. 03:17:50 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins3282724210645741679.sh 03:17:50 ---> job-cost.sh 03:17:50 Setup pyenv: 03:17:51 system 03:17:51 3.8.13 03:17:51 3.9.13 03:17:51 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:51 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Fnb4 from file:/tmp/.os_lf_venv 03:17:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 03:18:01 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. 03:18:01 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 03:18:01 lf-activate-venv(): INFO: Adding /tmp/venv-Fnb4/bin to PATH 03:18:01 INFO: No Stack... 03:18:02 INFO: Retrieving Pricing Info for: v2-highcpu-2 03:18:02 INFO: Archiving Costs 03:18:02 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins2104957945919142637.sh 03:18:02 ---> logs-deploy.sh 03:18:02 Setup pyenv: 03:18:02 system 03:18:02 3.8.13 03:18:02 3.9.13 03:18:02 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:18:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Fnb4 from file:/tmp/.os_lf_venv 03:18:03 lf-activate-venv(): INFO: Installing: lftools 03:18:16 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. 03:18:16 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 03:18:17 lf-activate-venv(): INFO: Adding /tmp/venv-Fnb4/bin to PATH 03:18:17 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-xapp-frame-py-tox-sonarqube/205 03:18:17 INFO: archiving workspace using pattern(s): -p **/*.log 03:18:19 Archives upload complete. 03:18:19 INFO: archiving logs to Nexus 03:18:20 ---> uname -a: 03:18:20 Linux prd-ubuntu1804-builder-2c-2g-312 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:20 03:18:20 03:18:20 ---> lscpu: 03:18:20 Architecture: x86_64 03:18:20 CPU op-mode(s): 32-bit, 64-bit 03:18:20 Byte Order: Little Endian 03:18:20 CPU(s): 2 03:18:20 On-line CPU(s) list: 0,1 03:18:20 Thread(s) per core: 1 03:18:20 Core(s) per socket: 1 03:18:20 Socket(s): 2 03:18:20 NUMA node(s): 1 03:18:20 Vendor ID: AuthenticAMD 03:18:20 CPU family: 23 03:18:20 Model: 49 03:18:20 Model name: AMD EPYC-Rome Processor 03:18:20 Stepping: 0 03:18:20 CPU MHz: 2799.996 03:18:20 BogoMIPS: 5599.99 03:18:20 Virtualization: AMD-V 03:18:20 Hypervisor vendor: KVM 03:18:20 Virtualization type: full 03:18:20 L1d cache: 32K 03:18:20 L1i cache: 32K 03:18:20 L2 cache: 512K 03:18:20 L3 cache: 16384K 03:18:20 NUMA node0 CPU(s): 0,1 03:18:20 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:20 03:18:20 03:18:20 ---> nproc: 03:18:20 2 03:18:20 03:18:20 03:18:20 ---> df -h: 03:18:20 Filesystem Size Used Avail Use% Mounted on 03:18:20 udev 984M 0 984M 0% /dev 03:18:20 tmpfs 200M 668K 199M 1% /run 03:18:20 /dev/vda1 20G 7.5G 12G 39% / 03:18:20 tmpfs 997M 0 997M 0% /dev/shm 03:18:20 tmpfs 5.0M 0 5.0M 0% /run/lock 03:18:20 tmpfs 997M 0 997M 0% /sys/fs/cgroup 03:18:20 /dev/vda15 105M 5.3M 100M 5% /boot/efi 03:18:20 tmpfs 200M 0 200M 0% /run/user/1001 03:18:20 03:18:20 03:18:20 ---> free -m: 03:18:20 total used free shared buff/cache available 03:18:20 Mem: 1992 337 299 0 1355 1482 03:18:20 Swap: 1023 0 1023 03:18:20 03:18:20 03:18:20 ---> ip addr: 03:18:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 03:18:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:18:20 inet 127.0.0.1/8 scope host lo 03:18:20 valid_lft forever preferred_lft forever 03:18:20 inet6 ::1/128 scope host 03:18:20 valid_lft forever preferred_lft forever 03:18:20 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 03:18:20 link/ether fa:16:3e:3d:e8:d7 brd ff:ff:ff:ff:ff:ff 03:18:20 inet 10.32.7.239/23 brd 10.32.7.255 scope global dynamic ens3 03:18:20 valid_lft 85879sec preferred_lft 85879sec 03:18:20 inet6 fe80::f816:3eff:fe3d:e8d7/64 scope link 03:18:20 valid_lft forever preferred_lft forever 03:18:20 03:18:20 03:18:20 ---> sar -b -r -n DEV: 03:18:20 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-312) 01/30/24 _x86_64_ (2 CPU) 03:18:20 03:18:20 03:09:41 LINUX RESTART (2 CPU) 03:18:20 03:18:20 03:10:01 tps rtps wtps bread/s bwrtn/s 03:18:20 03:11:01 123.44 55.11 68.33 2382.28 11547.16 03:18:20 03:12:01 141.74 69.93 71.81 3730.49 10136.89 03:18:20 03:13:01 12.53 0.02 12.51 0.13 2409.20 03:18:20 03:14:01 1.12 0.00 1.12 0.00 22.00 03:18:20 03:15:01 1.50 0.00 1.50 0.00 19.33 03:18:20 03:16:01 1.07 0.00 1.07 0.00 16.26 03:18:20 03:17:01 33.03 27.23 5.80 1254.06 2668.22 03:18:20 03:18:01 58.22 34.34 23.88 1851.96 4513.78 03:18:20 Average: 46.59 23.33 23.26 1152.47 3917.05 03:18:20 03:18:20 03:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:18:20 03:11:01 74364 1535304 1966268 96.36 50852 1498140 540008 17.48 419120 1401100 85868 03:18:20 03:12:01 109752 1508692 1930880 94.62 66060 1420528 736964 23.86 500660 1282984 68392 03:18:20 03:13:01 107372 1506328 1933260 94.74 66120 1420628 827964 26.80 503636 1282128 300 03:18:20 03:14:01 100936 1499956 1939696 95.05 66180 1420628 1149880 37.22 509300 1281964 204 03:18:20 03:15:01 99016 1498084 1941616 95.15 66228 1420624 1257024 40.69 511496 1281968 156 03:18:20 03:16:01 97532 1496644 1943100 95.22 66264 1420636 1331360 43.10 513056 1281972 180 03:18:20 03:17:01 96196 1357076 1944436 95.29 67704 1290016 781496 25.30 590688 1224040 73956 03:18:20 03:18:01 308624 1499320 1732008 84.88 73652 1205116 578868 18.74 484024 1102500 56676 03:18:20 Average: 124224 1487676 1916408 93.91 65382 1387040 900446 29.15 503998 1267332 35716 03:18:20 03:18:20 03:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:18:20 03:11:01 ens3 92.47 77.39 1082.90 12.96 0.00 0.00 0.00 0.00 03:18:20 03:11:01 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 03:18:20 03:12:01 ens3 32.34 28.54 101.35 8.65 0.00 0.00 0.00 0.00 03:18:20 03:12:01 lo 2.93 2.93 0.32 0.32 0.00 0.00 0.00 0.00 03:18:20 03:13:01 ens3 0.92 0.88 0.12 0.11 0.00 0.00 0.00 0.00 03:18:20 03:13:01 lo 2.63 2.63 0.16 0.16 0.00 0.00 0.00 0.00 03:18:20 03:14:01 ens3 1.43 1.42 0.23 0.23 0.00 0.00 0.00 0.00 03:18:20 03:14:01 lo 14.43 14.43 1.10 1.10 0.00 0.00 0.00 0.00 03:18:20 03:15:01 ens3 0.82 0.78 0.16 0.12 0.00 0.00 0.00 0.00 03:18:20 03:15:01 lo 18.03 18.03 0.94 0.94 0.00 0.00 0.00 0.00 03:18:20 03:16:01 ens3 0.77 0.75 0.09 0.12 0.00 0.00 0.00 0.00 03:18:20 03:16:01 lo 18.36 18.36 0.96 0.96 0.00 0.00 0.00 0.00 03:18:20 03:17:01 ens3 303.12 166.02 2135.20 15.61 0.00 0.00 0.00 0.00 03:18:20 03:17:01 lo 10.36 10.36 0.56 0.56 0.00 0.00 0.00 0.00 03:18:20 03:18:01 ens3 30.49 29.28 42.56 33.80 0.00 0.00 0.00 0.00 03:18:20 03:18:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 03:18:20 Average: ens3 57.80 38.14 420.35 8.95 0.00 0.00 0.00 0.00 03:18:20 Average: lo 8.59 8.59 0.53 0.53 0.00 0.00 0.00 0.00 03:18:20 03:18:20 03:18:20 ---> sar -P ALL: 03:18:20 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-312) 01/30/24 _x86_64_ (2 CPU) 03:18:20 03:18:20 03:09:41 LINUX RESTART (2 CPU) 03:18:20 03:18:20 03:10:01 CPU %user %nice %system %iowait %steal %idle 03:18:20 03:11:01 all 37.01 0.00 2.90 5.89 0.09 54.10 03:18:20 03:11:01 0 43.44 0.00 3.24 1.72 0.10 51.50 03:18:20 03:11:01 1 30.58 0.00 2.57 10.08 0.10 56.67 03:18:20 03:12:01 all 34.11 0.00 3.05 6.55 0.09 56.20 03:18:20 03:12:01 0 27.76 0.00 2.87 5.72 0.08 63.57 03:18:20 03:12:01 1 40.48 0.00 3.21 7.37 0.10 48.84 03:18:20 03:13:01 all 0.87 0.00 0.30 0.17 0.06 98.60 03:18:20 03:13:01 0 1.34 0.00 0.20 0.00 0.05 98.41 03:18:20 03:13:01 1 0.37 0.00 0.40 0.35 0.07 98.81 03:18:20 03:14:01 all 0.59 0.00 0.28 0.04 0.06 99.02 03:18:20 03:14:01 0 0.69 0.00 0.38 0.00 0.07 98.86 03:18:20 03:14:01 1 0.52 0.00 0.20 0.08 0.05 99.15 03:18:20 03:15:01 all 0.35 0.00 0.29 0.03 0.06 99.27 03:18:20 03:15:01 0 0.32 0.00 0.32 0.00 0.05 99.31 03:18:20 03:15:01 1 0.38 0.00 0.25 0.05 0.05 99.27 03:18:20 03:16:01 all 0.48 0.00 0.32 0.02 0.06 99.13 03:18:20 03:16:01 0 0.65 0.00 0.30 0.02 0.07 98.96 03:18:20 03:16:01 1 0.30 0.00 0.33 0.03 0.05 99.28 03:18:20 03:17:01 all 16.15 0.00 1.53 0.94 0.06 81.32 03:18:20 03:17:01 0 14.79 0.00 1.44 0.49 0.07 83.22 03:18:20 03:17:01 1 17.49 0.00 1.62 1.39 0.07 79.43 03:18:20 03:18:01 all 46.63 0.00 2.11 2.64 0.09 48.53 03:18:20 03:18:01 0 68.93 0.00 2.25 2.08 0.10 26.63 03:18:20 03:18:01 1 24.19 0.00 1.95 3.19 0.07 70.60 03:18:20 Average: all 17.02 0.00 1.35 2.04 0.07 79.52 03:18:20 Average: 0 19.76 0.00 1.38 1.25 0.07 77.54 03:18:20 Average: 1 14.28 0.00 1.32 2.82 0.07 81.51 03:18:20 03:18:20 03:18:20