03:10:07 Started by timer 03:10:07 Running as SYSTEM 03:10:07 [EnvInject] - Loading node environment variables. 03:10:08 Building remotely on prd-ubuntu1804-builder-2c-2g-1340 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:10:08 [ssh-agent] Looking for ssh-agent implementation... 03:10:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:08 $ ssh-agent 03:10:08 SSH_AUTH_SOCK=/tmp/ssh-iT7X7INRCaHP/agent.6039 03:10:08 SSH_AGENT_PID=6044 03:10:08 [ssh-agent] Started. 03:10:08 Running ssh-add (command line suppressed) 03:10:08 Identity added: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/private_key_801037394054533592.key (jenkins-ssh) 03:10:08 [ssh-agent] Using credentials jenkins (jenkins) 03:10:08 The recommended git tool is: NONE 03:10:10 using credential jenkins 03:10:10 Wiping out workspace first. 03:10:10 Cloning the remote Git repository 03:10:10 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:10:10 > git init /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube # timeout=10 03:10:10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:10:10 > git --version # timeout=10 03:10:10 > git --version # 'git version 2.25.1' 03:10:10 using GIT_SSH to set credentials jenkins 03:10:10 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 03:10:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:11 Avoid second fetch 03:10:11 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 03:10:11 Checking out Revision 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f (refs/remotes/origin/master) 03:10:11 > git config core.sparsecheckout # timeout=10 03:10:11 > git checkout -f 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f # timeout=10 03:10:11 Commit message: "I release step 2 of 2" 03:10:11 > git rev-list --no-walk e0de19a1c51e607b7e7a4a71a326a09486583539 # timeout=10 03:10:11 > git remote # timeout=10 03:10:11 > git submodule init # timeout=10 03:10:11 > git submodule sync # timeout=10 03:10:11 > git config --get remote.origin.url # timeout=10 03:10:11 > git submodule init # timeout=10 03:10:11 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 03:10:11 > git config --get submodule.nodeb-rnib.url # timeout=10 03:10:12 > git config -f .gitmodules --get submodule.nodeb-rnib.path # timeout=10 03:10:12 > git submodule update --init --recursive nodeb-rnib # timeout=10 03:10:12 provisioning config files... 03:10:12 copy managed file [npmrc] to file:/home/jenkins/.npmrc 03:10:12 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 03:10:12 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins16370586196010295431.sh 03:10:12 ---> python-tools-install.sh 03:10:12 Setup pyenv: 03:10:12 * system (set by /opt/pyenv/version) 03:10:12 * 3.8.13 (set by /opt/pyenv/version) 03:10:12 * 3.9.13 (set by /opt/pyenv/version) 03:10:12 * 3.10.6 (set by /opt/pyenv/version) 03:10:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SEnW 03:10:18 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 03:10:21 lf-activate-venv(): INFO: Installing: lftools 03:10:58 lf-activate-venv(): INFO: Adding /tmp/venv-SEnW/bin to PATH 03:10:58 Generating Requirements File 03:11:34 Python 3.10.6 03:11:34 pip 23.3.2 from /tmp/venv-SEnW/lib/python3.10/site-packages/pip (python 3.10) 03:11:35 appdirs==1.4.4 03:11:35 argcomplete==3.2.1 03:11:35 aspy.yaml==1.3.0 03:11:35 attrs==23.1.0 03:11:35 autopage==0.5.2 03:11:35 Babel==2.14.0 03:11:35 beautifulsoup4==4.12.2 03:11:35 boto3==1.34.2 03:11:35 botocore==1.34.2 03:11:35 bs4==0.0.1 03:11:35 cachetools==5.3.2 03:11:35 certifi==2023.11.17 03:11:35 cffi==1.16.0 03:11:35 cfgv==3.4.0 03:11:35 chardet==5.2.0 03:11:35 charset-normalizer==3.3.2 03:11:35 click==8.1.7 03:11:35 cliff==4.4.0 03:11:35 cmd2==2.4.3 03:11:35 cryptography==3.3.2 03:11:35 debtcollector==2.5.0 03:11:35 decorator==5.1.1 03:11:35 defusedxml==0.7.1 03:11:35 Deprecated==1.2.14 03:11:35 distlib==0.3.8 03:11:35 dnspython==2.4.2 03:11:35 docker==4.2.2 03:11:35 dogpile.cache==1.2.2 03:11:35 email-validator==2.1.0.post1 03:11:35 filelock==3.13.1 03:11:35 future==0.18.3 03:11:35 gitdb==4.0.11 03:11:35 GitPython==3.1.40 03:11:35 google-auth==2.25.2 03:11:35 httplib2==0.22.0 03:11:35 identify==2.5.33 03:11:35 idna==3.6 03:11:35 importlib-metadata==7.0.0 03:11:35 importlib-resources==1.5.0 03:11:35 iso8601==2.1.0 03:11:35 Jinja2==3.1.2 03:11:35 jmespath==1.0.1 03:11:35 jsonpatch==1.33 03:11:35 jsonpointer==2.4 03:11:35 jsonschema==4.20.0 03:11:35 jsonschema-specifications==2023.11.2 03:11:35 keystoneauth1==5.4.0 03:11:35 kubernetes==28.1.0 03:11:35 lftools==0.37.8 03:11:35 lxml==4.9.3 03:11:35 MarkupSafe==2.1.3 03:11:35 msgpack==1.0.7 03:11:35 multi-key-dict==2.0.3 03:11:35 munch==4.0.0 03:11:35 netaddr==0.9.0 03:11:35 netifaces==0.11.0 03:11:35 niet==1.4.2 03:11:35 nodeenv==1.8.0 03:11:35 oauth2client==4.1.3 03:11:35 oauthlib==3.2.2 03:11:35 openstacksdk==0.62.0 03:11:35 os-client-config==2.1.0 03:11:35 os-service-types==1.7.0 03:11:35 osc-lib==2.9.0 03:11:35 oslo.config==9.2.0 03:11:35 oslo.context==5.3.0 03:11:35 oslo.i18n==6.2.0 03:11:35 oslo.log==5.4.0 03:11:35 oslo.serialization==5.2.0 03:11:35 oslo.utils==6.3.0 03:11:35 packaging==23.2 03:11:35 pbr==6.0.0 03:11:35 platformdirs==4.1.0 03:11:35 prettytable==3.9.0 03:11:35 pyasn1==0.5.1 03:11:35 pyasn1-modules==0.3.0 03:11:35 pycparser==2.21 03:11:35 pygerrit2==2.0.15 03:11:35 PyGithub==2.1.1 03:11:35 pyinotify==0.9.6 03:11:35 PyJWT==2.8.0 03:11:35 PyNaCl==1.5.0 03:11:35 pyparsing==2.4.7 03:11:35 pyperclip==1.8.2 03:11:35 pyrsistent==0.20.0 03:11:35 python-cinderclient==9.4.0 03:11:35 python-dateutil==2.8.2 03:11:35 python-heatclient==3.3.0 03:11:35 python-jenkins==1.8.2 03:11:35 python-keystoneclient==5.2.0 03:11:35 python-magnumclient==4.3.0 03:11:35 python-novaclient==18.4.0 03:11:35 python-openstackclient==6.0.0 03:11:35 python-swiftclient==4.4.0 03:11:35 pytz==2023.3.post1 03:11:35 PyYAML==6.0.1 03:11:35 referencing==0.32.0 03:11:35 requests==2.31.0 03:11:35 requests-oauthlib==1.3.1 03:11:35 requestsexceptions==1.4.0 03:11:35 rfc3986==2.0.0 03:11:35 rpds-py==0.15.2 03:11:35 rsa==4.9 03:11:35 ruamel.yaml==0.18.5 03:11:35 ruamel.yaml.clib==0.2.8 03:11:35 s3transfer==0.9.0 03:11:35 simplejson==3.19.2 03:11:35 six==1.16.0 03:11:35 smmap==5.0.1 03:11:35 soupsieve==2.5 03:11:35 stevedore==5.1.0 03:11:35 tabulate==0.9.0 03:11:35 toml==0.10.2 03:11:35 tomlkit==0.12.3 03:11:35 tqdm==4.66.1 03:11:35 typing_extensions==4.9.0 03:11:35 tzdata==2023.3 03:11:35 urllib3==1.26.18 03:11:35 virtualenv==20.25.0 03:11:35 wcwidth==0.2.12 03:11:35 websocket-client==1.7.0 03:11:35 wrapt==1.16.0 03:11:35 xdg==6.0.0 03:11:35 xmltodict==0.13.0 03:11:35 yq==3.2.3 03:11:35 zipp==3.17.0 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 PYTHON=python3 03:11:35 03:11:35 [EnvInject] - Variables injected successfully. 03:11:35 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8717218981255250672.sh 03:11:35 ---> tox-install.sh 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-Y6bs 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:/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:/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:/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:/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:/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 ++ grep -E '^[0-9.]*[0-9]$' 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 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:35 +++ grep '^3' /tmp/.pyenv_versions 03:11:35 +++ tail -n 1 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 + [[ ! -f /tmp/.toxenv ]] 03:11:35 + [[ -n '' ]] 03:11:35 + python3 -m venv /tmp/venv-Y6bs 03:11:39 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y6bs' 03:11:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y6bs 03:11:39 + echo /tmp/venv-Y6bs 03:11:39 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 03:11:39 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 03:11:39 + /tmp/venv-Y6bs/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:11:42 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:11:42 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:11:42 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:11:42 + /tmp/venv-Y6bs/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:11:44 + type python3 03:11:44 + true 03:11:44 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Y6bs/bin to PATH' 03:11:44 lf-activate-venv(): INFO: Adding /tmp/venv-Y6bs/bin to PATH 03:11:44 + PATH=/tmp/venv-Y6bs/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 03:11:44 + return 0 03:11:44 + python3 --version 03:11:44 Python 3.10.6 03:11:44 + python3 -m pip --version 03:11:45 pip 23.3.2 from /tmp/venv-Y6bs/lib/python3.10/site-packages/pip (python 3.10) 03:11:45 + python3 -m pip freeze 03:11:45 cachetools==5.3.2 03:11:45 chardet==5.2.0 03:11:45 colorama==0.4.6 03:11:45 distlib==0.3.8 03:11:45 filelock==3.13.1 03:11:45 packaging==23.2 03:11:45 platformdirs==4.1.0 03:11:45 pluggy==1.3.0 03:11:45 pyproject-api==1.6.1 03:11:45 tomli==2.0.1 03:11:45 tox==4.11.4 03:11:45 urllib3==1.26.18 03:11:45 virtualenv==20.25.0 03:11:45 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins9100559406331945470.sh 03:11:45 ---> install-deb-rmr.sh 03:11:45 + version_file=rmr-version.yaml 03:11:45 + [[ -f rmr-version.yaml ]] 03:11:45 ++ grep '^repo:' rmr-version.yaml 03:11:45 ++ cut -d: -f2 03:11:45 ++ xargs 03:11:45 + repo= 03:11:45 ++ grep '^version:' rmr-version.yaml 03:11:45 ++ cut -d: -f2 03:11:45 ++ xargs 03:11:45 + ver=4.9.4 03:11:45 + [[ -z 4.9.4 ]] 03:11:45 + repo=release 03:11:45 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:11:45 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.4_amd64.deb/download.deb 03:11:45 2023-12-19 03:11:45 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486039.deb?Expires=1702955805&Signature=o4-mGh372OidYJPPeoy9eOaUWMdBeoRyI-hnm5WcL5oodd9EwAJk--uA~3LZzc9fnjdALtrXs4LycocKjdRdQh2XLF9pE-7lNgjB7gEwnloUzOxPz2e-7SjgsWgbF5y7p2xdN63lVBx8CUq6aSlfrvkm3LSmgEJRon17zCFY88LoJn9nsPYE61dJYErJJbS3dP254m2tCVK8nF65w4OAfMfTywslQCF~ZsfoUcgkJmFXnKZk4QJHnqMyuD5HrhNOpfcb9X4vX0V8TG1Uf959G1jv1fU8l~Y0EVLfJLEn~iQqGqqPAsjWjuDsXco-LdgFDG4DnH91UKxeg2f9bEls-w__&Key-Pair-Id=K1ZMSF1EKC3AZL [246552/246552] -> "rmr_4.9.4_amd64.deb" [1] 03:11:45 + sudo dpkg -i rmr_4.9.4_amd64.deb 03:11:45 Selecting previously unselected package rmr. 03:11:47 (Reading database ... 198606 files and directories currently installed.) 03:11:47 Preparing to unpack rmr_4.9.4_amd64.deb ... 03:11:47 Unpacking rmr (4.9.4) ... 03:11:47 Setting up rmr (4.9.4) ... 03:11:47 + rm -f rmr_4.9.4_amd64.deb 03:11:47 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:11:47 + 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:47 2023-12-19 03:11:47 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486035.deb?Expires=1702955807&Signature=NKgLVIboCnJdkwBFFlXaJrNPkIMRJh-6zOnIYP3QaZrtf5z-bp7zH58bnPfTGw-4Q1QDM~XuABrpAYR8rx3n93epYz135ZVJXWXsVHinqWIu-LonQOe9tXx~CoSMqDNS8OoGUtPHLKs4QVd8GOe4DkbT4O4iQvQm8U4k25PV~DnqNZ42gfXiEU8Dne79YgdL~oE4cr7wEhIW8UGuLNHLuUBcW~iQSqYB7L1sS9sXeKIT5QotZCRNb026T0fWJjahfC53hRBxHohPDORNwBD5phNLQNypHzHFMFvSv2p~hqBa5OTv9nVUrXfHlwvYSOCP1asFQ7LXbe5W3essXTG1WQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [128860/128860] -> "rmr-dev_4.9.4_amd64.deb" [1] 03:11:47 + sudo dpkg -i rmr-dev_4.9.4_amd64.deb 03:11:47 Selecting previously unselected package rmr-dev. 03:11:48 (Reading database ... 198614 files and directories currently installed.) 03:11:48 Preparing to unpack rmr-dev_4.9.4_amd64.deb ... 03:11:48 Unpacking rmr-dev (4.9.4) ... 03:11:48 Setting up rmr-dev (4.9.4) ... 03:11:48 + rm -f rmr-dev_4.9.4_amd64.deb 03:11:48 + echo '---> install-deb-rmr.sh ends' 03:11:48 ---> install-deb-rmr.sh ends 03:11:48 + echo '---> install-deb-e2ap.sh' 03:11:48 ---> install-deb-e2ap.sh 03:11:48 + set -eux 03:11:48 + version_file=e2ap-version.yaml 03:11:48 + [[ -f e2ap-version.yaml ]] 03:11:48 ++ grep '^repo:' e2ap-version.yaml 03:11:48 ++ cut -d: -f2 03:11:48 ++ xargs 03:11:48 + repo= 03:11:48 ++ grep '^version:' e2ap-version.yaml 03:11:48 ++ xargs 03:11:48 ++ cut -d: -f2 03:11:48 + ver=1.1.0 03:11:48 + [[ -z 1.1.0 ]] 03:11:48 + repo=release 03:11:48 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:11:48 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_1.1.0_amd64.deb/download.deb 03:11:48 2023-12-19 03:11:48 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517358.deb?Expires=1702955808&Signature=ltzqzQ1DETk7njyPC87OdsA3AxxVJLqqX-PNC6MjviNt0LuP2pBQF9RBvRXVmaztXEsZpxh2Kz9-1t-Fm0e6BEKDPhQV7rgT43E3RLPQyz7H~0CFLnkO8vlAD2yrrZrpe4aVXqyaBxAwAN3gYKoK10MyCpPkcIuOcAWkOOT1-DSbIiA6s6wS0NOHgQc~Y3R85pfxlXIYjD5yiJ11VJFbaNM5opAZ8qRMzkKql1cggNYg8R0jFarXFX31uRpJjXFxVfzmug3CSUmnG8JI6YbwsiEbDlzvnZMg9Kz31VDL7RcHBC3NcfGLJmIvEAA9kR9CkxhN3~LaSvH8FhdSH7KXEg__&Key-Pair-Id=K1ZMSF1EKC3AZL [341294/341294] -> "riclibe2ap_1.1.0_amd64.deb" [1] 03:11:48 + sudo dpkg -i riclibe2ap_1.1.0_amd64.deb 03:11:48 Selecting previously unselected package riclibe2ap. 03:11:48 (Reading database ... 198621 files and directories currently installed.) 03:11:48 Preparing to unpack riclibe2ap_1.1.0_amd64.deb ... 03:11:48 Unpacking riclibe2ap (1.1.0) ... 03:11:48 Setting up riclibe2ap (1.1.0) ... 03:11:48 + rm -f riclibe2ap_1.1.0_amd64.deb 03:11:48 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:11:48 + 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:49 2023-12-19 03:11:49 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517359.deb?Expires=1702955808&Signature=iLp2RidfHRlzYPGqWRCKmHECCkp6iunhi~z9y-~6FAKEBDMrgnlJOxWKAUMNoksrcJdV8H9mMsA4UC37xVsNE3OTg31cxZXwRcgaUZR0C7OGY4mCD2lAlK2cloprqplQqRTPgR4v4tyYNIJyhu5vp40cSGNTxslecTNjBy74h4qb2zFuZs8886rew57I~sPQXx0kzLXEUOzI2kaRgSq8g0Y40VpwbZxEiHRfv6CpYRoXznpLum6mE7ssUt4qb5jzvf8~hKklvTHoCZFgmPiTu2oVMvTUydzmKGpbsZ8zpVXmQQE52VMgCtTELnhGUZ-osgRmJb5Hr~9X5rhmdNhs2w__&Key-Pair-Id=K1ZMSF1EKC3AZL [823070/823070] -> "riclibe2ap-dev_1.1.0_amd64.deb" [1] 03:11:49 + sudo dpkg -i riclibe2ap-dev_1.1.0_amd64.deb 03:11:49 Selecting previously unselected package riclibe2ap-dev. 03:11:49 (Reading database ... 198624 files and directories currently installed.) 03:11:49 Preparing to unpack riclibe2ap-dev_1.1.0_amd64.deb ... 03:11:49 Unpacking riclibe2ap-dev (1.1.0) ... 03:11:49 Setting up riclibe2ap-dev (1.1.0) ... 03:11:49 + rm -f riclibe2ap-dev_1.1.0_amd64.deb 03:11:49 + echo '---> install-deb-e2ap.sh ends' 03:11:49 ---> install-deb-e2ap.sh ends 03:11:49 [EnvInject] - Injecting environment variables from a build step. 03:11:49 [EnvInject] - Injecting as environment variables the properties content 03:11:49 PARALLEL=False 03:11:49 03:11:49 [EnvInject] - Variables injected successfully. 03:11:49 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15148711732482033731.sh 03:11:49 ---> tox-run.sh 03:11:49 + PATH=/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 03:11:49 + ARCHIVE_TOX_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox 03:11:49 + ARCHIVE_DOC_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/docs 03:11:49 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox 03:11:49 + cd /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/. 03:11:49 + source /home/jenkins/lf-env.sh 03:11:49 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 03:11:49 ++ mktemp -d /tmp/venv-XXXX 03:11:49 + lf_venv=/tmp/venv-iD4g 03:11:49 + local venv_file=/tmp/.os_lf_venv 03:11:49 + local python=python3 03:11:49 + local options 03:11:49 + local set_path=true 03:11:49 + local install_args= 03:11:49 ++ 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:49 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:49 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:11:49 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 03:11:49 + true 03:11:49 + case $1 in 03:11:49 + venv_file=/tmp/.toxenv 03:11:49 + shift 2 03:11:49 + true 03:11:49 + case $1 in 03:11:49 + shift 03:11:49 + break 03:11:49 + case $python in 03:11:49 + local pkg_list= 03:11:49 + [[ -d /opt/pyenv ]] 03:11:49 + echo 'Setup pyenv:' 03:11:49 Setup pyenv: 03:11:49 + export PYENV_ROOT=/opt/pyenv 03:11:49 + PYENV_ROOT=/opt/pyenv 03:11:49 + 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:49 + 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:49 + pyenv versions 03:11:49 system 03:11:49 3.8.13 03:11:49 3.9.13 03:11:49 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:11:49 + command -v pyenv 03:11:49 ++ pyenv init - --no-rehash 03:11:49 + 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:49 export PATH="/opt/pyenv/shims:${PATH}" 03:11:49 export PYENV_SHELL=bash 03:11:49 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:11:49 pyenv() { 03:11:49 local command 03:11:49 command="${1:-}" 03:11:49 if [ "$#" -gt 0 ]; then 03:11:49 shift 03:11:49 fi 03:11:49 03:11:49 case "$command" in 03:11:49 rehash|shell) 03:11:49 eval "$(pyenv "sh-$command" "$@")" 03:11:49 ;; 03:11:49 *) 03:11:49 command pyenv "$command" "$@" 03:11:49 ;; 03:11:49 esac 03:11:49 }' 03:11:49 +++ 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:49 ++ 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:49 ++ 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:49 ++ 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:49 ++ export PYENV_SHELL=bash 03:11:49 ++ PYENV_SHELL=bash 03:11:49 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:11:49 +++ complete -F _pyenv pyenv 03:11:49 ++ lf-pyver python3 03:11:49 ++ local py_version_xy=python3 03:11:49 ++ local py_version_xyz= 03:11:49 ++ grep -E '^[0-9.]*[0-9]$' 03:11:49 ++ pyenv versions 03:11:49 ++ local command 03:11:49 ++ command=versions 03:11:49 ++ '[' 1 -gt 0 ']' 03:11:49 ++ shift 03:11:49 ++ case "$command" in 03:11:49 ++ command pyenv versions 03:11:49 ++ pyenv versions 03:11:49 ++ sed 's/^[ *]* //' 03:11:49 ++ awk '{ print $1 }' 03:11:49 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:49 +++ sort -V 03:11:49 +++ grep '^3' /tmp/.pyenv_versions 03:11:49 +++ tail -n 1 03:11:49 ++ py_version_xyz=3.10.6 03:11:49 ++ [[ -z 3.10.6 ]] 03:11:49 ++ echo 3.10.6 03:11:49 ++ return 0 03:11:49 + pyenv local 3.10.6 03:11:49 + local command 03:11:49 + command=local 03:11:49 + '[' 2 -gt 0 ']' 03:11:49 + shift 03:11:49 + case "$command" in 03:11:49 + command pyenv local 3.10.6 03:11:49 + pyenv local 3.10.6 03:11:49 + for arg in "$@" 03:11:49 + case $arg in 03:11:49 + pkg_list+='tox ' 03:11:49 + for arg in "$@" 03:11:49 + case $arg in 03:11:49 + pkg_list+='virtualenv ' 03:11:49 + for arg in "$@" 03:11:49 + case $arg in 03:11:49 + pkg_list+='urllib3~=1.26.15 ' 03:11:49 + [[ -f /tmp/.toxenv ]] 03:11:49 ++ cat /tmp/.toxenv 03:11:49 + lf_venv=/tmp/venv-Y6bs 03:11:49 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Y6bs from' file:/tmp/.toxenv 03:11:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Y6bs from file:/tmp/.toxenv 03:11:49 + /tmp/venv-Y6bs/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:11:50 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:11:50 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:11:50 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:11:50 + /tmp/venv-Y6bs/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:11:52 + type python3 03:11:52 + true 03:11:52 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Y6bs/bin to PATH' 03:11:52 lf-activate-venv(): INFO: Adding /tmp/venv-Y6bs/bin to PATH 03:11:52 + PATH=/tmp/venv-Y6bs/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:52 + return 0 03:11:52 + [[ -d /opt/pyenv ]] 03:11:52 + echo '---> Setting up pyenv' 03:11:52 ---> Setting up pyenv 03:11:52 + export PYENV_ROOT=/opt/pyenv 03:11:52 + PYENV_ROOT=/opt/pyenv 03:11:52 + export PATH=/opt/pyenv/bin:/tmp/venv-Y6bs/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:52 + PATH=/opt/pyenv/bin:/tmp/venv-Y6bs/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:52 ++ pwd 03:11:52 + PYTHONPATH=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:11:52 + export PYTHONPATH 03:11:52 + export TOX_TESTENV_PASSENV=PYTHONPATH 03:11:52 + TOX_TESTENV_PASSENV=PYTHONPATH 03:11:52 + tox --version 03:11:52 4.11.4 from /tmp/venv-Y6bs/lib/python3.10/site-packages/tox/__init__.py 03:11:52 + PARALLEL=False 03:11:52 + TOX_OPTIONS_LIST= 03:11:52 + [[ -n code,flake8 ]] 03:11:52 + TOX_OPTIONS_LIST=' -e code,flake8' 03:11:52 + case ${PARALLEL,,} in 03:11:52 + tox -e code,flake8 03:11:52 + tee -a /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/tox.log 03:11:53 code: install_deps> python -I -m pip install coverage pytest pytest-cov six 03:11:58 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 03:11:59 .pkg: _optional_hooks> python /tmp/venv-Y6bs/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:59 .pkg: get_requires_for_build_sdist> python /tmp/venv-Y6bs/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:59 .pkg: get_requires_for_build_wheel> python /tmp/venv-Y6bs/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:11:59 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 03:12:00 .pkg: freeze> python -m pip freeze --all 03:12:00 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 03:12:00 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Y6bs/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:12:00 .pkg: build_sdist> python /tmp/venv-Y6bs/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:12:00 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:12:07 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:12:08 code: freeze> python -m pip freeze --all 03:12:09 code: async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.3.3,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.3.0,protobuf==3.20.3,pytest==7.4.3,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=e5e35186c923907b2030b285f5c2962695d93731ac7a88ef7fc29b1699b41156,setuptools==69.0.2,six==1.16.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.0 03:12:09 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:12:10 ============================= test session starts ============================== 03:12:10 platform linux -- Python 3.10.6, pytest-7.4.3, pluggy-1.3.0 03:12:10 cachedir: .tox/code/.pytest_cache 03:12:10 rootdir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:12:10 plugins: cov-4.1.0 03:12:10 collected 75 items 03:12:10 03:12:10 tests/test_Logger.py .............. [ 18%] 03:12:10 tests/test_alarm.py .. [ 21%] 03:12:15 tests/test_config.py ... [ 25%] 03:13:01 tests/test_e2ap.py ........ [ 36%] 03:13:01 tests/test_init.py ... [ 40%] 03:13:31 tests/test_metric.py .. [ 42%] 03:13:35 tests/test_rest.py . [ 44%] 03:13:35 tests/test_rmr.py 1702955618778 28037/RMR [INFO] sends: ts=1702955618 src=prd-ubuntu1804-builder-2c-2g-1340:3564 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 03:13:38 ............. [ 61%] 03:13:45 tests/test_rmr_mocks.py ... [ 65%] 03:13:45 tests/test_rmrclib.py .. [ 68%] 03:13:45 tests/test_sdl.py ..... [ 74%] 03:13:46 tests/test_subscribe.py .... [ 80%] 03:13:46 tests/test_symptomdata.py .... [ 85%] 03:13:46 tests/test_xapps.py ........... [100%] 03:16:46 03:16:46 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 03:16:46 03:16:46 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 03:16:46 Name Stmts Miss Cover Missing 03:16:46 ----------------------------------------------------------------------- 03:16:46 ricxappframe/__init__.py 0 0 100% 03:16:46 ricxappframe/alarm/__init__.py 0 0 100% 03:16:46 ricxappframe/alarm/alarm.py 94 2 98% 250-251 03:16:46 ricxappframe/alarm/exceptions.py 2 0 100% 03:16:46 ricxappframe/constants.py 5 0 100% 03:16:46 ricxappframe/e2ap/__init__.py 0 0 100% 03:16:46 ricxappframe/e2ap/asn1.py 224 0 100% 03:16:46 ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% 03:16:46 ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% 03:16:46 ricxappframe/e2ap/asn1clib/types.py 16 0 100% 03:16:46 ricxappframe/logger/__init__.py 0 0 100% 03:16:46 ricxappframe/logger/mdclogger.py 133 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 03:16:46 ricxappframe/metric/__init__.py 0 0 100% 03:16:46 ricxappframe/metric/exceptions.py 2 0 100% 03:16:46 ricxappframe/metric/metric.py 58 3 95% 122, 201-202 03:16:46 ricxappframe/rmr/__init__.py 0 0 100% 03:16:46 ricxappframe/rmr/exceptions.py 4 0 100% 03:16:46 ricxappframe/rmr/helpers.py 28 0 100% 03:16:46 ricxappframe/rmr/rmr.py 156 3 98% 257, 454, 544 03:16:46 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% 03:16:46 ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 6 92% 39, 59, 79, 115, 133, 148 03:16:46 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% 03:16:46 ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 03:16:46 ricxappframe/util/__init__.py 0 0 100% 03:16:46 ricxappframe/util/constants.py 11 0 100% 03:16:46 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:46 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 03:16:46 ricxappframe/xapp_rmr.py 40 0 100% 03:16:46 ricxappframe/xapp_sdl.py 94 1 99% 53 03:16:46 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 03:16:46 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 03:16:46 ----------------------------------------------------------------------- 03:16:46 TOTAL 1550 118 92% 03:16:46 Coverage HTML written to dir htmlcov 03:16:46 Coverage XML written to file coverage.xml 03:16:46 03:16:46 Required test coverage of 70% reached. Total coverage: 92.39% 03:16:46 ======================== 75 passed in 276.65s (0:04:36) ======================== 03:16:50 code: commands[1]> coverage xml -i 03:16:50 Wrote XML report to coverage.xml 03:16:50 .pkg: _exit> python /tmp/venv-Y6bs/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:16:50 code: OK ✔ in 4 minutes 57.7 seconds 03:16:50 flake8: install_deps> python -I -m pip install flake8 03:16:52 flake8: freeze> python -m pip freeze --all 03:16:52 flake8: flake8==6.1.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.1.0,setuptools==69.0.2,wheel==0.42.0 03:16:52 flake8: commands[0]> flake8 setup.py ricxappframe tests 03:16:53 code: OK (297.70=setup[16.39]+cmd[281.02,0.29] seconds) 03:16:53 flake8: OK (3.11=setup[2.31]+cmd[0.79] seconds) 03:16:53 congratulations :) (300.96 seconds) 03:16:53 + tox_status=0 03:16:53 + echo '---> Completed tox runs' 03:16:53 ---> Completed tox runs 03:16:53 + for i in .tox/*/log 03:16:53 ++ echo .tox/code/log 03:16:53 ++ awk -F/ '{print $2}' 03:16:53 + tox_env=code 03:16:53 + cp -r .tox/code/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/code 03:16:53 + for i in .tox/*/log 03:16:53 ++ echo .tox/flake8/log 03:16:53 ++ awk -F/ '{print $2}' 03:16:53 + tox_env=flake8 03:16:53 + cp -r .tox/flake8/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/flake8 03:16:53 + DOC_DIR=docs/_build/html 03:16:53 + [[ -d docs/_build/html ]] 03:16:53 + echo '---> tox-run.sh ends' 03:16:53 ---> tox-run.sh ends 03:16:53 + test 0 -eq 0 03:16:53 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-1340 03:16:55 [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:55 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 03:16:55 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:55 INFO: Project root configuration file: NONE 03:16:55 INFO: SonarScanner 4.6.2.2472 03:16:55 INFO: Java 11.0.18 Ubuntu (64-bit) 03:16:55 INFO: Linux 5.4.0-146-generic amd64 03:16:55 INFO: User cache: /home/jenkins/.sonar/cache 03:16:57 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:57 INFO: Project root configuration file: NONE 03:16:57 INFO: Analyzing on SonarCloud 03:16:57 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 03:16:57 INFO: Load global settings 03:16:58 INFO: Load global settings (done) | time=590ms 03:16:58 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 03:16:58 INFO: User cache: /home/jenkins/.sonar/cache 03:16:58 INFO: Loading required plugins 03:16:58 INFO: Load plugins index 03:16:59 INFO: Load plugins index (done) | time=598ms 03:16:59 INFO: Load/download plugins 03:17:01 INFO: Load/download plugins (done) | time=1991ms 03:17:01 INFO: Found an active CI vendor: 'Jenkins' 03:17:01 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' 03:17:02 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=256ms 03:17:02 INFO: Process project properties 03:17:02 INFO: Project key: o-ran-sc_ric-plt-xapp-frame-py 03:17:02 INFO: Base dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:17:02 INFO: Working dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork 03:17:02 INFO: Load project branches 03:17:02 INFO: Load project branches (done) | time=512ms 03:17:02 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' 03:17:03 INFO: Detected project binding: NOT_BOUND 03:17:03 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=233ms 03:17:03 INFO: Load project pull requests 03:17:03 INFO: Load project pull requests (done) | time=544ms 03:17:03 INFO: Load branch configuration 03:17:03 INFO: Load branch configuration (done) | time=4ms 03:17:03 INFO: Load quality profiles 03:17:03 INFO: Load quality profiles (done) | time=325ms 03:17:03 INFO: Load active rules 03:17:16 INFO: Load active rules (done) | time=12435ms 03:17:16 INFO: Organization key: o-ran-sc 03:17:16 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:16 INFO: Preprocessing files... 03:17:17 INFO: 2 languages detected in 72 preprocessed files 03:17:17 INFO: 0 files ignored because of inclusion/exclusion patterns 03:17:17 INFO: 68 files ignored because of scm ignore settings 03:17:17 WARN: The version of Java (11.0.18) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. 03:17:17 INFO: Loading plugins for detected languages 03:17:17 INFO: Load/download plugins 03:17:17 INFO: Load/download plugins (done) | time=396ms 03:17:17 INFO: Load project repositories 03:17:18 INFO: Load project repositories (done) | time=261ms 03:17:18 INFO: Indexing files... 03:17:18 INFO: Project configuration: 03:17:18 INFO: Excluded sources: **/build-wrapper-dump.json, setup.py, tests/*.py 03:17:18 INFO: 72 files indexed 03:17:18 INFO: Quality profile for json: SonarQube Way 03:17:18 INFO: Quality profile for py: Sonar way 03:17:18 INFO: ------------- Run sensors on module ric-plt-xapp-frame-py 03:17:18 INFO: Load metrics repository 03:17:18 INFO: Load metrics repository (done) | time=193ms 03:17:18 INFO: Sensor cache enabled 03:17:18 INFO: Load sensor cache 03:17:19 INFO: Load sensor cache (404) | time=697ms 03:17:20 INFO: Sensor Python Sensor [python] 03:17:20 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:20 INFO: Starting global symbols computation 03:17:20 INFO: 70 source files to be analyzed 03:17:22 INFO: 70/70 source files have been analyzed 03:17:22 INFO: Starting rules execution 03:17:22 INFO: 70 source files to be analyzed 03:17:27 INFO: 70/70 source files have been analyzed 03:17:27 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:27 INFO: Sensor Python Sensor [python] (done) | time=7055ms 03:17:27 INFO: Sensor Cobertura Sensor for Python coverage [python] 03:17:27 INFO: Python test coverage 03:17:27 INFO: Parsing report '/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/coverage.xml' 03:17:27 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=173ms 03:17:27 INFO: Sensor PythonXUnitSensor [python] 03:17:27 INFO: Sensor PythonXUnitSensor [python] (done) | time=66ms 03:17:27 INFO: Sensor JaCoCo XML Report Importer [jacoco] 03:17:27 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:27 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 03:17:27 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms 03:17:27 INFO: Sensor IaC CloudFormation Sensor [iac] 03:17:27 INFO: 0 source files to be analyzed 03:17:27 INFO: 0/0 source files have been analyzed 03:17:27 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=14ms 03:17:27 INFO: Sensor IaC AzureResourceManager Sensor [iac] 03:17:27 INFO: 0 source files to be analyzed 03:17:27 INFO: 0/0 source files have been analyzed 03:17:27 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=58ms 03:17:27 INFO: Sensor CSS Rules [javascript] 03:17:27 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 03:17:27 INFO: Sensor CSS Rules [javascript] (done) | time=1ms 03:17:27 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 03:17:27 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:27 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=17ms 03:17:27 INFO: Sensor TextAndSecretsSensor [text] 03:17:28 INFO: 72 source files to be analyzed 03:17:29 INFO: 72/72 source files have been analyzed 03:17:29 INFO: Sensor TextAndSecretsSensor [text] (done) | time=2100ms 03:17:29 INFO: Sensor IaC Docker Sensor [iac] 03:17:29 INFO: 0 source files to be analyzed 03:17:29 INFO: 0/0 source files have been analyzed 03:17:29 INFO: Sensor IaC Docker Sensor [iac] (done) | time=52ms 03:17:29 INFO: Sensor Serverless configuration file sensor [security] 03:17:29 INFO: 0 Serverless function entries were found in the project 03:17:29 INFO: 0 Serverless function handlers were kept as entrypoints 03:17:29 INFO: Sensor Serverless configuration file sensor [security] (done) | time=6ms 03:17:29 INFO: Sensor AWS SAM template file sensor [security] 03:17:29 INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms 03:17:29 INFO: Sensor AWS SAM Inline template file sensor [security] 03:17:29 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms 03:17:29 INFO: Sensor javabugs [dbd] 03:17:29 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/java 03:17:29 INFO: No IR files have been included for analysis. 03:17:29 INFO: Sensor javabugs [dbd] (done) | time=2ms 03:17:29 INFO: Sensor pythonbugs [dbd] 03:17:30 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/python 03:17:30 INFO: Analyzing 308 functions to detect bugs. 03:17:30 INFO: Sensor pythonbugs [dbd] (done) | time=779ms 03:17:30 INFO: Sensor JavaSecuritySensor [security] 03:17:30 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 03:17:30 INFO: Load type hierarchy and UCFGs: Starting 03:17:30 INFO: Load type hierarchy: Starting 03:17:30 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/java 03:17:30 INFO: Read 0 type definitions 03:17:30 INFO: Load type hierarchy: Time spent was 00:00:00.017 03:17:30 INFO: Load UCFGs: Starting 03:17:30 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:30 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.018 03:17:30 INFO: No UCFGs have been included for analysis. 03:17:30 INFO: java security sensor: Time spent was 00:00:00.022 03:17:30 INFO: Sensor JavaSecuritySensor [security] (done) | time=65ms 03:17:30 INFO: Sensor CSharpSecuritySensor [security] 03:17:30 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:30 INFO: Load type hierarchy and UCFGs: Starting 03:17:30 INFO: Load type hierarchy: Starting 03:17:30 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/ucfg2/cs 03:17:30 INFO: Read 0 type definitions 03:17:30 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:30 INFO: Load UCFGs: Starting 03:17:30 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:30 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 03:17:30 INFO: No UCFGs have been included for analysis. 03:17:30 INFO: csharp security sensor: Time spent was 00:00:00.003 03:17:30 INFO: Sensor CSharpSecuritySensor [security] (done) | time=5ms 03:17:30 INFO: Sensor PhpSecuritySensor [security] 03:17:30 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 03:17:30 INFO: Load type hierarchy and UCFGs: Starting 03:17:30 INFO: Load type hierarchy: Starting 03:17:30 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/php 03:17:30 INFO: Read 0 type definitions 03:17:30 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:30 INFO: Load UCFGs: Starting 03:17:30 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:30 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 03:17:30 INFO: No UCFGs have been included for analysis. 03:17:30 INFO: php security sensor: Time spent was 00:00:00.007 03:17:30 INFO: Sensor PhpSecuritySensor [security] (done) | time=8ms 03:17:30 INFO: Sensor PythonSecuritySensor [security] 03:17:30 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776 03:17:30 INFO: Load type hierarchy and UCFGs: Starting 03:17:30 INFO: Load type hierarchy: Starting 03:17:30 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:30 INFO: Read 951 type definitions 03:17:30 INFO: Load type hierarchy: Time spent was 00:00:00.113 03:17:30 INFO: Load UCFGs: Starting 03:17:30 INFO: Reading UCFGs from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:31 INFO: Load UCFGs: Time spent was 00:00:00.629 03:17:31 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.743 03:17:31 INFO: Analyzing 4392 UCFGs to detect vulnerabilities. 03:17:31 INFO: Check cache: Starting 03:17:31 INFO: Load cache: Starting 03:17:31 INFO: Load cache: Time spent was 00:00:00.000 03:17:31 INFO: Check cache: Time spent was 00:00:00.000 03:17:31 INFO: Create runtime call graph: Starting 03:17:31 INFO: Variable Type Analysis #1: Starting 03:17:31 INFO: Create runtime type propagation graph: Starting 03:17:31 INFO: Create runtime type propagation graph: Time spent was 00:00:00.070 03:17:31 INFO: Run SCC (Tarjan) on 13808 nodes: Starting 03:17:31 INFO: Run SCC (Tarjan) on 13808 nodes: Time spent was 00:00:00.016 03:17:31 INFO: Tarjan found 13721 strongly connected components 03:17:31 INFO: Propagate runtime types to strongly connected components: Starting 03:17:31 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.043 03:17:31 INFO: Variable Type Analysis #1: Time spent was 00:00:00.134 03:17:31 INFO: Variable Type Analysis #2: Starting 03:17:31 INFO: Create runtime type propagation graph: Starting 03:17:31 INFO: Create runtime type propagation graph: Time spent was 00:00:00.047 03:17:31 INFO: Run SCC (Tarjan) on 13633 nodes: Starting 03:17:31 INFO: Run SCC (Tarjan) on 13633 nodes: Time spent was 00:00:00.010 03:17:31 INFO: Tarjan found 13597 strongly connected components 03:17:31 INFO: Propagate runtime types to strongly connected components: Starting 03:17:31 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.035 03:17:31 INFO: Variable Type Analysis #2: Time spent was 00:00:00.094 03:17:31 INFO: Create runtime call graph: Time spent was 00:00:00.235 03:17:31 INFO: Load config: Starting 03:17:31 INFO: Load config: Time spent was 00:00:00.161 03:17:31 INFO: Compute entry points: Starting 03:17:32 INFO: Compute entry points: Time spent was 00:00:00.230 03:17:32 INFO: All rules entry points : 3 03:17:32 INFO: Slice call graph: Starting 03:17:32 INFO: Retained UCFGs : 15 03:17:32 INFO: Slice call graph: Time spent was 00:00:00.001 03:17:32 INFO: Live variable analysis: Starting 03:17:32 INFO: Live variable analysis: Time spent was 00:00:00.010 03:17:32 INFO: Taint analysis for python: Starting 03:17:32 INFO: 0 / 15 UCFGs simulated, memory usage: 156 MB 03:17:32 INFO: 7 / 15 UCFGs simulated, memory usage: 162 MB 03:17:32 INFO: Taint analysis for python: Time spent was 00:00:00.088 03:17:32 INFO: Report issues: Starting 03:17:32 INFO: Report issues: Time spent was 00:00:00.003 03:17:32 INFO: Store cache: Starting 03:17:32 INFO: Store cache: Time spent was 00:00:00.014 03:17:32 INFO: python security sensor: Time spent was 00:00:01.492 03:17:32 INFO: python security sensor: Begin: 2023-12-19T03:17:30.841306Z, End: 2023-12-19T03:17:32.334142Z, Duration: 00:00:01.492 03:17:32 Load type hierarchy and UCFGs: Begin: 2023-12-19T03:17:30.841540Z, End: 2023-12-19T03:17:31.585463Z, Duration: 00:00:00.743 03:17:32 Load type hierarchy: Begin: 2023-12-19T03:17:30.841651Z, End: 2023-12-19T03:17:30.955149Z, Duration: 00:00:00.113 03:17:32 Load UCFGs: Begin: 2023-12-19T03:17:30.955337Z, End: 2023-12-19T03:17:31.585026Z, Duration: 00:00:00.629 03:17:32 Check cache: Begin: 2023-12-19T03:17:31.585674Z, End: 2023-12-19T03:17:31.586152Z, Duration: 00:00:00.000 03:17:32 Load cache: Begin: 2023-12-19T03:17:31.585771Z, End: 2023-12-19T03:17:31.585872Z, Duration: 00:00:00.000 03:17:32 Create runtime call graph: Begin: 2023-12-19T03:17:31.586263Z, End: 2023-12-19T03:17:31.821581Z, Duration: 00:00:00.235 03:17:32 Variable Type Analysis #1: Begin: 2023-12-19T03:17:31.587002Z, End: 2023-12-19T03:17:31.721041Z, Duration: 00:00:00.134 03:17:32 Create runtime type propagation graph: Begin: 2023-12-19T03:17:31.587973Z, End: 2023-12-19T03:17:31.658924Z, Duration: 00:00:00.070 03:17:32 Run SCC (Tarjan) on 13808 nodes: Begin: 2023-12-19T03:17:31.659528Z, End: 2023-12-19T03:17:31.676512Z, Duration: 00:00:00.016 03:17:32 Propagate runtime types to strongly connected components: Begin: 2023-12-19T03:17:31.676841Z, End: 2023-12-19T03:17:31.720710Z, Duration: 00:00:00.043 03:17:32 Variable Type Analysis #2: Begin: 2023-12-19T03:17:31.723375Z, End: 2023-12-19T03:17:31.818106Z, Duration: 00:00:00.094 03:17:32 Create runtime type propagation graph: Begin: 2023-12-19T03:17:31.723509Z, End: 2023-12-19T03:17:31.770854Z, Duration: 00:00:00.047 03:17:32 Run SCC (Tarjan) on 13633 nodes: Begin: 2023-12-19T03:17:31.771215Z, End: 2023-12-19T03:17:31.781517Z, Duration: 00:00:00.010 03:17:32 Propagate runtime types to strongly connected components: Begin: 2023-12-19T03:17:31.782249Z, End: 2023-12-19T03:17:31.817787Z, Duration: 00:00:00.035 03:17:32 Load config: Begin: 2023-12-19T03:17:31.821725Z, End: 2023-12-19T03:17:31.983204Z, Duration: 00:00:00.161 03:17:32 Compute entry points: Begin: 2023-12-19T03:17:31.983504Z, End: 2023-12-19T03:17:32.213690Z, Duration: 00:00:00.230 03:17:32 Slice call graph: Begin: 2023-12-19T03:17:32.213965Z, End: 2023-12-19T03:17:32.215115Z, Duration: 00:00:00.001 03:17:32 Live variable analysis: Begin: 2023-12-19T03:17:32.215240Z, End: 2023-12-19T03:17:32.225929Z, Duration: 00:00:00.010 03:17:32 Taint analysis for python: Begin: 2023-12-19T03:17:32.226256Z, End: 2023-12-19T03:17:32.315204Z, Duration: 00:00:00.088 03:17:32 Report issues: Begin: 2023-12-19T03:17:32.315289Z, End: 2023-12-19T03:17:32.318934Z, Duration: 00:00:00.003 03:17:32 Store cache: Begin: 2023-12-19T03:17:32.319032Z, End: 2023-12-19T03:17:32.334012Z, Duration: 00:00:00.014 03:17:32 INFO: python security sensor peak memory: 218 MB 03:17:32 INFO: Sensor PythonSecuritySensor [security] (done) | time=1496ms 03:17:32 INFO: Sensor JsSecuritySensor [security] 03:17:32 INFO: Enabled taint analysis rules: S2083, S5334, S3649, S2076, S6105, S6287, S5131, S6096, S6350, S2631, S5144, S5146, S5147, S5883, S5696 03:17:32 INFO: Load type hierarchy and UCFGs: Starting 03:17:32 INFO: Load type hierarchy: Starting 03:17:32 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/js 03:17:32 INFO: Read 0 type definitions 03:17:32 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:32 INFO: Load UCFGs: Starting 03:17:32 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:32 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 03:17:32 INFO: No UCFGs have been included for analysis. 03:17:32 INFO: js security sensor: Time spent was 00:00:00.001 03:17:32 INFO: Sensor JsSecuritySensor [security] (done) | time=3ms 03:17:32 INFO: ------------- Run sensors on project 03:17:32 INFO: Sensor Zero Coverage Sensor 03:17:32 INFO: Sensor Zero Coverage Sensor (done) | time=11ms 03:17:32 INFO: CPD Executor 18 files had no CPD blocks 03:17:32 INFO: CPD Executor Calculating CPD for 52 files 03:17:32 INFO: CPD Executor CPD calculation finished (done) | time=80ms 03:17:32 INFO: Analysis report generated in 191ms, dir size=1 MB 03:17:32 INFO: Analysis report compressed in 151ms, zip size=403 KB 03:17:33 INFO: Analysis report uploaded in 891ms 03:17:33 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-plt-xapp-frame-py 03:17:33 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 03:17:33 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYyAFCbaLxnc_Pgjga6E 03:17:36 INFO: Sensor cache published successfully 03:17:36 INFO: Analysis total time: 34.645 s 03:17:36 INFO: ------------------------------------------------------------------------ 03:17:36 INFO: EXECUTION SUCCESS 03:17:36 INFO: ------------------------------------------------------------------------ 03:17:36 INFO: Total time: 40.952s 03:17:36 INFO: Final Memory: 59M/200M 03:17:36 INFO: ------------------------------------------------------------------------ 03:17:37 $ ssh-agent -k 03:17:37 unset SSH_AUTH_SOCK; 03:17:37 unset SSH_AGENT_PID; 03:17:37 echo Agent pid 6044 killed; 03:17:37 [ssh-agent] Stopped. 03:17:37 [PostBuildScript] - [INFO] Executing post build scripts. 03:17:37 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins12854357946433346739.sh 03:17:37 ---> sysstat.sh 03:17:37 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins17780633068627125757.sh 03:17:37 ---> package-listing.sh 03:17:37 ++ facter osfamily 03:17:37 ++ tr '[:upper:]' '[:lower:]' 03:17:38 + OS_FAMILY=debian 03:17:38 + workspace=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:17:38 + START_PACKAGES=/tmp/packages_start.txt 03:17:38 + END_PACKAGES=/tmp/packages_end.txt 03:17:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:17:38 + PACKAGES=/tmp/packages_start.txt 03:17:38 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:38 + PACKAGES=/tmp/packages_end.txt 03:17:38 + case "${OS_FAMILY}" in 03:17:38 + dpkg -l 03:17:38 + grep '^ii' 03:17:38 + '[' -f /tmp/packages_start.txt ']' 03:17:38 + '[' -f /tmp/packages_end.txt ']' 03:17:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:38 + true 03:17:38 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:38 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/ 03:17:38 + 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:38 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins5275219578624920355.sh 03:17:38 ---> capture-instance-metadata.sh 03:17:38 Setup pyenv: 03:17:38 system 03:17:38 3.8.13 03:17:38 3.9.13 03:17:38 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:38 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SEnW from file:/tmp/.os_lf_venv 03:17:40 lf-activate-venv(): INFO: Installing: lftools 03:17:54 lf-activate-venv(): INFO: Adding /tmp/venv-SEnW/bin to PATH 03:17:54 INFO: Running in OpenStack, capturing instance metadata 03:17:55 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins4841513017487475429.sh 03:17:55 provisioning config files... 03:17:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/config1434964715998025628tmp 03:17:55 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 03:17:55 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 03:17:55 [EnvInject] - Injecting environment variables from a build step. 03:17:55 [EnvInject] - Injecting as environment variables the properties content 03:17:55 SERVER_ID=logs 03:17:55 03:17:55 [EnvInject] - Variables injected successfully. 03:17:55 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins6064274874090007617.sh 03:17:55 ---> create-netrc.sh 03:17:55 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins8647307748739709220.sh 03:17:55 ---> python-tools-install.sh 03:17:55 Setup pyenv: 03:17:55 system 03:17:55 3.8.13 03:17:55 3.9.13 03:17:55 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SEnW from file:/tmp/.os_lf_venv 03:17:56 lf-activate-venv(): INFO: Installing: lftools 03:18:08 lf-activate-venv(): INFO: Adding /tmp/venv-SEnW/bin to PATH 03:18:08 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins835247961923437684.sh 03:18:08 ---> sudo-logs.sh 03:18:08 Archiving 'sudo' log.. 03:18:08 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins1430292383627087285.sh 03:18:08 ---> job-cost.sh 03:18:08 Setup pyenv: 03:18:08 system 03:18:08 3.8.13 03:18:08 3.9.13 03:18:08 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:18:08 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SEnW from file:/tmp/.os_lf_venv 03:18:10 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 03:18:19 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:19 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 03:18:19 lf-activate-venv(): INFO: Adding /tmp/venv-SEnW/bin to PATH 03:18:19 INFO: No Stack... 03:18:19 INFO: Retrieving Pricing Info for: v2-highcpu-2 03:18:19 INFO: Archiving Costs 03:18:19 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1193674649962233988.sh 03:18:19 ---> logs-deploy.sh 03:18:19 Setup pyenv: 03:18:19 system 03:18:19 3.8.13 03:18:19 3.9.13 03:18:19 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:18:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SEnW from file:/tmp/.os_lf_venv 03:18:21 lf-activate-venv(): INFO: Installing: lftools 03:18:33 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:33 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 03:18:34 lf-activate-venv(): INFO: Adding /tmp/venv-SEnW/bin to PATH 03:18:34 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-xapp-frame-py-tox-sonarqube/199 03:18:34 INFO: archiving workspace using pattern(s): -p **/*.log 03:18:36 Archives upload complete. 03:18:36 INFO: archiving logs to Nexus 03:18:37 ---> uname -a: 03:18:37 Linux prd-ubuntu1804-builder-2c-2g-1340 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 03:18:37 03:18:37 03:18:37 ---> lscpu: 03:18:37 Architecture: x86_64 03:18:37 CPU op-mode(s): 32-bit, 64-bit 03:18:37 Byte Order: Little Endian 03:18:37 Address sizes: 40 bits physical, 48 bits virtual 03:18:37 CPU(s): 2 03:18:37 On-line CPU(s) list: 0,1 03:18:37 Thread(s) per core: 1 03:18:37 Core(s) per socket: 1 03:18:37 Socket(s): 2 03:18:37 NUMA node(s): 1 03:18:37 Vendor ID: AuthenticAMD 03:18:37 CPU family: 23 03:18:37 Model: 49 03:18:37 Model name: AMD EPYC-Rome Processor 03:18:37 Stepping: 0 03:18:37 CPU MHz: 2800.000 03:18:37 BogoMIPS: 5600.00 03:18:37 Virtualization: AMD-V 03:18:37 Hypervisor vendor: KVM 03:18:37 Virtualization type: full 03:18:37 L1d cache: 64 KiB 03:18:37 L1i cache: 64 KiB 03:18:37 L2 cache: 1 MiB 03:18:37 L3 cache: 32 MiB 03:18:37 NUMA node0 CPU(s): 0,1 03:18:37 Vulnerability Itlb multihit: Not affected 03:18:37 Vulnerability L1tf: Not affected 03:18:37 Vulnerability Mds: Not affected 03:18:37 Vulnerability Meltdown: Not affected 03:18:37 Vulnerability Mmio stale data: Not affected 03:18:37 Vulnerability Retbleed: Vulnerable 03:18:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:18:37 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:18:37 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 03:18:37 Vulnerability Srbds: Not affected 03:18:37 Vulnerability Tsx async abort: Not affected 03:18:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:18:37 03:18:37 03:18:37 ---> nproc: 03:18:37 2 03:18:37 03:18:37 03:18:37 ---> df -h: 03:18:37 Filesystem Size Used Avail Use% Mounted on 03:18:37 udev 975M 0 975M 0% /dev 03:18:37 tmpfs 199M 1012K 198M 1% /run 03:18:37 /dev/vda1 20G 8.7G 11G 46% / 03:18:37 tmpfs 992M 0 992M 0% /dev/shm 03:18:37 tmpfs 5.0M 0 5.0M 0% /run/lock 03:18:37 tmpfs 992M 0 992M 0% /sys/fs/cgroup 03:18:37 /dev/loop0 62M 62M 0 100% /snap/core20/1405 03:18:37 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 03:18:37 /dev/vda15 105M 6.1M 99M 6% /boot/efi 03:18:37 tmpfs 199M 0 199M 0% /run/user/1001 03:18:37 /dev/loop3 41M 41M 0 100% /snap/snapd/20290 03:18:37 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 03:18:37 03:18:37 03:18:37 ---> free -m: 03:18:37 total used free shared buff/cache available 03:18:37 Mem: 1983 426 341 2 1214 1364 03:18:37 Swap: 1023 1 1022 03:18:37 03:18:37 03:18:37 ---> ip addr: 03:18:37 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 03:18:37 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:18:37 inet 127.0.0.1/8 scope host lo 03:18:37 valid_lft forever preferred_lft forever 03:18:37 inet6 ::1/128 scope host 03:18:37 valid_lft forever preferred_lft forever 03:18:37 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 03:18:37 link/ether fa:16:3e:d0:96:6b brd ff:ff:ff:ff:ff:ff 03:18:37 inet 10.32.6.69/23 brd 10.32.7.255 scope global dynamic ens3 03:18:37 valid_lft 85870sec preferred_lft 85870sec 03:18:37 inet6 fe80::f816:3eff:fed0:966b/64 scope link 03:18:37 valid_lft forever preferred_lft forever 03:18:37 03:18:37 03:18:37 ---> sar -b -r -n DEV: 03:18:37 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1340) 12/19/23 _x86_64_ (2 CPU) 03:18:37 03:18:37 03:09:50 LINUX RESTART (2 CPU) 03:18:37 03:18:37 03:10:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:18:37 03:11:02 246.41 149.69 96.72 0.00 5721.41 11703.23 0.00 03:18:37 03:12:01 128.66 29.71 98.95 0.00 998.20 16486.70 0.00 03:18:37 03:13:01 14.33 1.62 12.71 0.00 110.11 2514.78 0.00 03:18:37 03:14:01 1.40 0.00 1.40 0.00 0.00 54.66 0.00 03:18:37 03:15:01 4.12 1.33 2.78 0.00 88.13 93.20 0.00 03:18:37 03:16:01 81.97 42.99 38.98 0.00 6137.38 9096.75 0.00 03:18:37 03:17:01 24.38 16.68 7.70 0.00 562.97 2602.50 0.00 03:18:37 03:18:01 42.48 27.98 14.50 0.00 1629.20 4578.44 0.00 03:18:37 Average: 67.85 33.76 34.09 0.00 1908.02 5869.53 0.00 03:18:37 03:18:37 03:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:18:37 03:11:02 223724 1475144 327520 16.13 53284 1278220 827692 26.88 411236 1204056 123712 03:18:37 03:12:01 82952 1401580 393244 19.37 67076 1311712 921172 29.92 501296 1227636 42724 03:18:37 03:13:01 104076 1396572 398152 19.61 68588 1282908 1110640 36.07 511688 1194456 1200 03:18:37 03:14:01 97272 1389828 404664 19.93 68652 1283024 1424124 46.25 517584 1194564 184 03:18:37 03:15:01 79228 1385792 408316 20.11 70384 1294676 1535000 49.85 522904 1205652 6424 03:18:37 03:16:01 132984 1374756 397688 19.58 95088 1218656 1572604 51.07 711836 953868 648 03:18:37 03:17:01 73724 1344628 428360 21.09 94568 1255148 907840 29.48 704868 1028000 75800 03:18:37 03:18:01 391980 1399996 376564 18.54 90576 1006824 798404 25.93 529264 901904 47296 03:18:37 Average: 148242 1396037 391814 19.29 76027 1241396 1137184 36.93 551334 1113767 37248 03:18:37 03:18:37 03:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:18:37 03:11:02 ens3 302.43 195.27 1396.09 63.02 0.00 0.00 0.00 0.00 03:18:37 03:11:02 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 03:18:37 03:12:01 ens3 56.75 53.33 557.91 9.08 0.00 0.00 0.00 0.00 03:18:37 03:12:01 lo 2.10 2.10 0.21 0.21 0.00 0.00 0.00 0.00 03:18:37 03:13:01 ens3 5.62 5.27 31.99 0.77 0.00 0.00 0.00 0.00 03:18:37 03:13:01 lo 2.10 2.10 0.17 0.17 0.00 0.00 0.00 0.00 03:18:37 03:14:01 ens3 1.58 1.60 0.26 0.26 0.00 0.00 0.00 0.00 03:18:37 03:14:01 lo 10.13 10.13 0.88 0.88 0.00 0.00 0.00 0.00 03:18:37 03:15:01 ens3 29.63 20.70 103.50 1.59 0.00 0.00 0.00 0.00 03:18:37 03:15:01 lo 18.37 18.37 0.96 0.96 0.00 0.00 0.00 0.00 03:18:37 03:16:01 ens3 278.22 143.41 1984.11 9.62 0.00 0.00 0.00 0.00 03:18:37 03:16:01 lo 18.63 18.63 0.98 0.98 0.00 0.00 0.00 0.00 03:18:37 03:17:01 ens3 276.32 185.82 2054.85 17.18 0.00 0.00 0.00 0.00 03:18:37 03:17:01 lo 15.26 15.26 0.81 0.81 0.00 0.00 0.00 0.00 03:18:37 03:18:01 ens3 68.59 53.22 267.89 33.78 0.00 0.00 0.00 0.00 03:18:37 03:18:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 03:18:37 Average: ens3 127.55 82.39 800.12 16.93 0.00 0.00 0.00 0.00 03:18:37 Average: lo 8.54 8.54 0.52 0.52 0.00 0.00 0.00 0.00 03:18:37 03:18:37 03:18:37 ---> sar -P ALL: 03:18:37 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1340) 12/19/23 _x86_64_ (2 CPU) 03:18:37 03:18:37 03:09:50 LINUX RESTART (2 CPU) 03:18:37 03:18:37 03:10:01 CPU %user %nice %system %iowait %steal %idle 03:18:37 03:11:02 all 37.32 26.89 19.45 8.04 0.10 8.19 03:18:37 03:11:02 0 39.40 25.53 18.53 8.48 0.10 7.96 03:18:37 03:11:02 1 35.24 28.26 20.38 7.61 0.10 8.42 03:18:37 03:12:01 all 36.70 0.00 3.49 8.69 0.08 51.03 03:18:37 03:12:01 0 8.17 0.00 2.76 10.49 0.08 78.49 03:18:37 03:12:01 1 65.80 0.00 4.23 6.86 0.08 23.04 03:18:37 03:13:01 all 6.92 0.00 0.74 0.77 0.09 91.48 03:18:37 03:13:01 0 5.52 0.00 0.69 0.68 0.08 93.03 03:18:37 03:13:01 1 8.33 0.00 0.78 0.87 0.10 89.91 03:18:37 03:14:01 all 0.65 0.00 0.34 0.03 0.09 98.88 03:18:37 03:14:01 0 0.50 0.00 0.27 0.00 0.08 99.15 03:18:37 03:14:01 1 0.80 0.00 0.42 0.07 0.10 98.61 03:18:37 03:15:01 all 0.58 0.00 0.42 0.19 0.10 98.71 03:18:37 03:15:01 0 0.49 0.00 0.54 0.35 0.10 98.52 03:18:37 03:15:01 1 0.67 0.00 0.30 0.03 0.10 98.89 03:18:37 03:16:01 all 7.70 0.00 4.36 4.36 0.11 83.47 03:18:37 03:16:01 0 6.87 0.00 4.50 5.19 0.10 83.35 03:18:37 03:16:01 1 8.53 0.00 4.23 3.53 0.12 83.60 03:18:37 03:17:01 all 9.99 0.00 1.33 0.70 0.08 87.90 03:18:37 03:17:01 0 10.21 0.00 0.99 0.48 0.07 88.26 03:18:37 03:17:01 1 9.78 0.00 1.67 0.92 0.10 87.54 03:18:37 03:18:01 all 40.47 0.00 2.02 1.73 0.08 55.71 03:18:37 03:18:01 0 42.59 0.00 2.34 2.41 0.08 52.58 03:18:37 03:18:01 1 38.36 0.00 1.69 1.05 0.07 58.83 03:18:37 Average: all 17.51 3.34 4.00 3.05 0.09 72.01 03:18:37 Average: 0 14.19 3.17 3.81 3.50 0.09 75.24 03:18:37 Average: 1 20.85 3.50 4.19 2.60 0.10 68.76 03:18:37 03:18:37 03:18:37