03:10:05 Started by timer 03:10:05 Running as SYSTEM 03:10:05 [EnvInject] - Loading node environment variables. 03:10:05 Building remotely on prd-ubuntu1804-builder-2c-2g-3169 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:10:06 [ssh-agent] Looking for ssh-agent implementation... 03:10:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:06 $ ssh-agent 03:10:06 SSH_AUTH_SOCK=/tmp/ssh-nXvmGACdnJix/agent.5454 03:10:06 SSH_AGENT_PID=5456 03:10:06 [ssh-agent] Started. 03:10:06 Running ssh-add (command line suppressed) 03:10:06 Identity added: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/private_key_3851742523153042381.key (jenkins-ssh) 03:10:06 [ssh-agent] Using credentials jenkins (jenkins) 03:10:06 The recommended git tool is: NONE 03:10:08 using credential jenkins 03:10:08 Wiping out workspace first. 03:10:08 Cloning the remote Git repository 03:10:08 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:10:08 > git init /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube # timeout=10 03:10:08 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:10:08 > git --version # timeout=10 03:10:08 > git --version # 'git version 2.25.1' 03:10:08 using GIT_SSH to set credentials jenkins 03:10:08 > 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:09 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 03:10:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:09 Avoid second fetch 03:10:09 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 03:10:09 Checking out Revision 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f (refs/remotes/origin/master) 03:10:09 > git config core.sparsecheckout # timeout=10 03:10:09 > git checkout -f 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f # timeout=10 03:10:10 Commit message: "I release step 2 of 2" 03:10:10 > git rev-list --no-walk 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f # timeout=10 03:10:10 > git remote # timeout=10 03:10:10 > git submodule init # timeout=10 03:10:10 > git submodule sync # timeout=10 03:10:10 > git config --get remote.origin.url # timeout=10 03:10:10 > git submodule init # timeout=10 03:10:10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 03:10:10 > git config --get submodule.nodeb-rnib.url # timeout=10 03:10:10 > git config -f .gitmodules --get submodule.nodeb-rnib.path # timeout=10 03:10:10 > git submodule update --init --recursive nodeb-rnib # timeout=10 03:10:11 provisioning config files... 03:10:11 copy managed file [npmrc] to file:/home/jenkins/.npmrc 03:10:11 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 03:10:11 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins9107757547670929424.sh 03:10:11 ---> python-tools-install.sh 03:10:11 Setup pyenv: 03:10:11 * system (set by /opt/pyenv/version) 03:10:11 * 3.8.13 (set by /opt/pyenv/version) 03:10:11 * 3.9.13 (set by /opt/pyenv/version) 03:10:11 * 3.10.6 (set by /opt/pyenv/version) 03:10:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WcMA 03:10:17 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 03:10:20 lf-activate-venv(): INFO: Installing: lftools 03:10:59 lf-activate-venv(): INFO: Adding /tmp/venv-WcMA/bin to PATH 03:10:59 Generating Requirements File 03:11:35 Python 3.10.6 03:11:35 pip 23.3.2 from /tmp/venv-WcMA/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.2.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.14 03:11:35 botocore==1.34.14 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.3.0 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.26.1 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.1 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.12.1 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==5.1.0 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.10.1 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.1 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.16.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.10.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.4 03:11:35 urllib3==1.26.18 03:11:35 virtualenv==20.25.0 03:11:35 wcwidth==0.2.13 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/jenkins3722745158192030055.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-RMOO 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:36 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 03:11:36 export PATH="/opt/pyenv/shims:${PATH}" 03:11:36 export PYENV_SHELL=bash 03:11:36 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:11:36 pyenv() { 03:11:36 local command 03:11:36 command="${1:-}" 03:11:36 if [ "$#" -gt 0 ]; then 03:11:36 shift 03:11:36 fi 03:11:36 03:11:36 case "$command" in 03:11:36 rehash|shell) 03:11:36 eval "$(pyenv "sh-$command" "$@")" 03:11:36 ;; 03:11:36 *) 03:11:36 command pyenv "$command" "$@" 03:11:36 ;; 03:11:36 esac 03:11:36 }' 03:11:36 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 03:11:36 ++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 03:11:36 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 03:11:36 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 03:11:36 ++ export PYENV_SHELL=bash 03:11:36 ++ PYENV_SHELL=bash 03:11:36 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:11:36 +++ complete -F _pyenv pyenv 03:11:36 ++ lf-pyver python3 03:11:36 ++ local py_version_xy=python3 03:11:36 ++ local py_version_xyz= 03:11:36 ++ awk '{ print $1 }' 03:11:36 ++ sed 's/^[ *]* //' 03:11:36 ++ pyenv versions 03:11:36 ++ local command 03:11:36 ++ command=versions 03:11:36 ++ '[' 1 -gt 0 ']' 03:11:36 ++ shift 03:11:36 ++ case "$command" in 03:11:36 ++ command pyenv versions 03:11:36 ++ pyenv versions 03:11:36 ++ grep -E '^[0-9.]*[0-9]$' 03:11:36 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:36 +++ grep '^3' /tmp/.pyenv_versions 03:11:36 +++ tail -n 1 03:11:36 +++ sort -V 03:11:36 ++ py_version_xyz=3.10.6 03:11:36 ++ [[ -z 3.10.6 ]] 03:11:36 ++ echo 3.10.6 03:11:36 ++ return 0 03:11:36 + pyenv local 3.10.6 03:11:36 + local command 03:11:36 + command=local 03:11:36 + '[' 2 -gt 0 ']' 03:11:36 + shift 03:11:36 + case "$command" in 03:11:36 + command pyenv local 3.10.6 03:11:36 + pyenv local 3.10.6 03:11:36 + for arg in "$@" 03:11:36 + case $arg in 03:11:36 + pkg_list+='tox ' 03:11:36 + for arg in "$@" 03:11:36 + case $arg in 03:11:36 + pkg_list+='virtualenv ' 03:11:36 + for arg in "$@" 03:11:36 + case $arg in 03:11:36 + pkg_list+='urllib3~=1.26.15 ' 03:11:36 + [[ -f /tmp/.toxenv ]] 03:11:36 + [[ ! -f /tmp/.toxenv ]] 03:11:36 + [[ -n '' ]] 03:11:36 + python3 -m venv /tmp/venv-RMOO 03:11:39 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RMOO' 03:11:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RMOO 03:11:39 + echo /tmp/venv-RMOO 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-RMOO/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-RMOO/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:11:45 + type python3 03:11:45 + true 03:11:45 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-RMOO/bin to PATH' 03:11:45 lf-activate-venv(): INFO: Adding /tmp/venv-RMOO/bin to PATH 03:11:45 + PATH=/tmp/venv-RMOO/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:45 + return 0 03:11:45 + python3 --version 03:11:45 Python 3.10.6 03:11:45 + python3 -m pip --version 03:11:45 pip 23.3.2 from /tmp/venv-RMOO/lib/python3.10/site-packages/pip (python 3.10) 03:11:45 + python3 -m pip freeze 03:11:46 cachetools==5.3.2 03:11:46 chardet==5.2.0 03:11:46 colorama==0.4.6 03:11:46 distlib==0.3.8 03:11:46 filelock==3.13.1 03:11:46 packaging==23.2 03:11:46 platformdirs==4.1.0 03:11:46 pluggy==1.3.0 03:11:46 pyproject-api==1.6.1 03:11:46 tomli==2.0.1 03:11:46 tox==4.11.4 03:11:46 urllib3==1.26.18 03:11:46 virtualenv==20.25.0 03:11:46 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins14925536160223519032.sh 03:11:46 ---> install-deb-rmr.sh 03:11:46 + version_file=rmr-version.yaml 03:11:46 + [[ -f rmr-version.yaml ]] 03:11:46 ++ cut -d: -f2 03:11:46 ++ grep '^repo:' rmr-version.yaml 03:11:46 ++ xargs 03:11:46 + repo= 03:11:46 ++ cut -d: -f2 03:11:46 ++ grep '^version:' rmr-version.yaml 03:11:46 ++ xargs 03:11:46 + ver=4.9.4 03:11:46 + [[ -z 4.9.4 ]] 03:11:46 + repo=release 03:11:46 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:11:46 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.4_amd64.deb/download.deb 03:11:46 2024-01-09 03:11:46 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486039.deb?Expires=1704770206&Signature=w6VzFiJ6udu0HJyQrhU7M3wwUYXy02bzoha~DQvCjNmjghGN7WK1Vfd3QfjF0NERKaRGrr~7VxfrO7prn~1NVl4UKMe3wac9ci4F~HMGiS8GUFhZPfHGDhDWwTuideHNghbB0RlMBtG8YXCCdZvF8VmoYnSP0rre0LzxVITCTVwunloDF6C8r3fTOV88UYumLirCVlKsmOwiD4N8f28NDSzithrhu9dsg1-ruBuS6dibjujF35gj7zhtV~MSFpE97FSUFGte-ELwoy7wGXXhera8HfmlkhOs6NAq0XIZZv-2Z7UmHaVXztQAMpJrmiryCa0nWxUN1hmnOEMbw55WEg__&Key-Pair-Id=K1ZMSF1EKC3AZL [246552/246552] -> "rmr_4.9.4_amd64.deb" [1] 03:11:46 + sudo dpkg -i rmr_4.9.4_amd64.deb 03:11:46 Selecting previously unselected package rmr. 03:11:48 (Reading database ... 198606 files and directories currently installed.) 03:11:48 Preparing to unpack rmr_4.9.4_amd64.deb ... 03:11:48 Unpacking rmr (4.9.4) ... 03:11:48 Setting up rmr (4.9.4) ... 03:11:48 + rm -f rmr_4.9.4_amd64.deb 03:11:48 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:11:48 + 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:48 2024-01-09 03:11:48 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486035.deb?Expires=1704770208&Signature=mYHwRZFrh1r8gf2PdUkB5PWVgwhLw1Z~2ARgOSuB83Nxww9afA4AkOPRMsqdAXLaxHKsuuvXNctNDFTkVAj0nB-JABwAUCgNX-ev6-VUvt1UzeC3NTzdzPvCiRBmWEcL4yOSiv2w0tUciXBdBkvqtnE2BEqOZXe1WNQngXUAByQ~unR9PWeLtnDGn5PJ7kc8S5CEDrAqDWXzCeyeES7u9xohtuDN66iS4hjx~3olY5hI3mckFXCbqYWJM120xqJekO48ow0CU20GRueS8RDGlXRfyxn-yg~L6dSeFfoCeMswuD28FvyvxxoO-3zoDvs26nJPS-rdIFwMJ80UeY2nfA__&Key-Pair-Id=K1ZMSF1EKC3AZL [128860/128860] -> "rmr-dev_4.9.4_amd64.deb" [1] 03:11:48 + sudo dpkg -i rmr-dev_4.9.4_amd64.deb 03:11:48 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 ++ xargs 03:11:48 ++ cut -d: -f2 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:49 2024-01-09 03:11:49 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517358.deb?Expires=1704770209&Signature=Hgqk3bPpCsfpTYFR6SQcHp8od1pREObY2X0E~a5abTRHZhFofgCQHgYR2QPO1PXODdl0Iyg0PsJWEm-fjGKTyqVuLYDPjF2ebdq0GUEEfixJECM4nqt7ZwIloqmVljX4x6a2rAv24IL5PtPs7JR1WVD7PSh4EFw30LkhZADlYKxfHx3LJau7VgLH7O3aYp~rcjyABF9ZY042Uf540ikjst-iB808lxgmtXMD2xPLGGhzj6eLk6G54eI98ViHNZPCQU3xz8y8BZ~D8YUEc9gJxWpOaTC2FzD-dGSb8yjbBs26H2WTPnw9zsvoOvx34vdKFQehKJdNT99dTMwR2pudjQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [341294/341294] -> "riclibe2ap_1.1.0_amd64.deb" [1] 03:11:49 + sudo dpkg -i riclibe2ap_1.1.0_amd64.deb 03:11:49 Selecting previously unselected package riclibe2ap. 03:11:49 (Reading database ... 198621 files and directories currently installed.) 03:11:49 Preparing to unpack riclibe2ap_1.1.0_amd64.deb ... 03:11:49 Unpacking riclibe2ap (1.1.0) ... 03:11:49 Setting up riclibe2ap (1.1.0) ... 03:11:49 + rm -f riclibe2ap_1.1.0_amd64.deb 03:11:49 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:11:49 + 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 2024-01-09 03:11:49 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517359.deb?Expires=1704770209&Signature=XV82UQWtMYuEoK7-zi7UwO9M-oGI1-YIeQ3I1kvVOvWyH6ecR8E7TvH~i~ArzH46wLB0MKFEyAT95Lv~BBRDTKCF0q1b4yx-QatuufIDwr3GI8fusgvBwCeS6CVrmy4dxgExPgLpCWklemVZq5Xe~3cYxRxWZzHoEGAX~cOpV3n-8gP5HjkhUjSI8EVRS25zUeWirci9BLObBKMn6gU-~WZR1JIG0GowhQzGA1EWWD3fMixLJ-oM1qq39RhmpC8iwXEzQg1-26slKRnAdMOThF1SeBc4~fyG0pjWXHyXDn9wJCrgLpPTN1x4V6U8bvokY-pS9uK7LLHz1zUMytVzlA__&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/jenkins9482702497748627590.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-1Lfw 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:50 + pyenv versions 03:11:50 system 03:11:50 3.8.13 03:11:50 3.9.13 03:11:50 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:11:50 + command -v pyenv 03:11:50 ++ pyenv init - --no-rehash 03:11:50 + 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:50 export PATH="/opt/pyenv/shims:${PATH}" 03:11:50 export PYENV_SHELL=bash 03:11:50 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:11:50 pyenv() { 03:11:50 local command 03:11:50 command="${1:-}" 03:11:50 if [ "$#" -gt 0 ]; then 03:11:50 shift 03:11:50 fi 03:11:50 03:11:50 case "$command" in 03:11:50 rehash|shell) 03:11:50 eval "$(pyenv "sh-$command" "$@")" 03:11:50 ;; 03:11:50 *) 03:11:50 command pyenv "$command" "$@" 03:11:50 ;; 03:11:50 esac 03:11:50 }' 03:11:50 +++ 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:50 ++ 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:50 ++ 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:50 ++ 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:50 ++ export PYENV_SHELL=bash 03:11:50 ++ PYENV_SHELL=bash 03:11:50 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:11:50 +++ complete -F _pyenv pyenv 03:11:50 ++ lf-pyver python3 03:11:50 ++ local py_version_xy=python3 03:11:50 ++ local py_version_xyz= 03:11:50 ++ pyenv versions 03:11:50 ++ local command 03:11:50 ++ command=versions 03:11:50 ++ '[' 1 -gt 0 ']' 03:11:50 ++ shift 03:11:50 ++ case "$command" in 03:11:50 ++ command pyenv versions 03:11:50 ++ pyenv versions 03:11:50 ++ awk '{ print $1 }' 03:11:50 ++ grep -E '^[0-9.]*[0-9]$' 03:11:50 ++ sed 's/^[ *]* //' 03:11:50 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:11:50 +++ grep '^3' /tmp/.pyenv_versions 03:11:50 +++ tail -n 1 03:11:50 +++ sort -V 03:11:50 ++ py_version_xyz=3.10.6 03:11:50 ++ [[ -z 3.10.6 ]] 03:11:50 ++ echo 3.10.6 03:11:50 ++ return 0 03:11:50 + pyenv local 3.10.6 03:11:50 + local command 03:11:50 + command=local 03:11:50 + '[' 2 -gt 0 ']' 03:11:50 + shift 03:11:50 + case "$command" in 03:11:50 + command pyenv local 3.10.6 03:11:50 + pyenv local 3.10.6 03:11:50 + for arg in "$@" 03:11:50 + case $arg in 03:11:50 + pkg_list+='tox ' 03:11:50 + for arg in "$@" 03:11:50 + case $arg in 03:11:50 + pkg_list+='virtualenv ' 03:11:50 + for arg in "$@" 03:11:50 + case $arg in 03:11:50 + pkg_list+='urllib3~=1.26.15 ' 03:11:50 + [[ -f /tmp/.toxenv ]] 03:11:50 ++ cat /tmp/.toxenv 03:11:50 + lf_venv=/tmp/venv-RMOO 03:11:50 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RMOO from' file:/tmp/.toxenv 03:11:50 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RMOO from file:/tmp/.toxenv 03:11:50 + /tmp/venv-RMOO/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:11:51 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:11:51 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:11:51 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:11:51 + /tmp/venv-RMOO/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-RMOO/bin to PATH' 03:11:52 lf-activate-venv(): INFO: Adding /tmp/venv-RMOO/bin to PATH 03:11:52 + PATH=/tmp/venv-RMOO/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-RMOO/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-RMOO/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-RMOO/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 + tee -a /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/tox.log 03:11:52 + tox -e code,flake8 03:11:53 code: install_deps> python -I -m pip install coverage pytest pytest-cov six 03:11:57 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 03:11:59 .pkg: _optional_hooks> python /tmp/venv-RMOO/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-RMOO/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-RMOO/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-RMOO/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:12:00 .pkg: build_sdist> python /tmp/venv-RMOO/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.4.0,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.4,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=3e3aa5f81c93159b3c567140855fa7bb6b9890ccbee51a621012b7ad5e9b6ba8,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.4, 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:00 tests/test_e2ap.py ........ [ 36%] 03:13:00 tests/test_init.py ... [ 40%] 03:13:30 tests/test_metric.py .. [ 42%] 03:13:34 tests/test_rest.py . [ 44%] 03:13:35 tests/test_rmr.py 1704770017961 28038/RMR [INFO] sends: ts=1704770017 src=prd-ubuntu1804-builder-2c-2g-3169:3564 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 03:13:37 1704770017961 28038/RMR [INFO] sends: ts=1704770017 src=prd-ubuntu1804-builder-2c-2g-3169:3564 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 03:13:37 1704770017961 28038/RMR [INFO] sends: ts=1704770017 src=prd-ubuntu1804-builder-2c-2g-3169:3564 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 03:13:37 1704770017961 28038/RMR [INFO] sends: ts=1704770017 src=prd-ubuntu1804-builder-2c-2g-3169:3564 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 03:13:38 ............. [ 61%] 03:13:44 tests/test_rmr_mocks.py ... [ 65%] 03:13:44 tests/test_rmrclib.py .. [ 68%] 03:13:44 tests/test_sdl.py ..... [ 74%] 03:13:45 tests/test_subscribe.py .... [ 80%] 03:13:45 tests/test_symptomdata.py .... [ 85%] 03:13:46 tests/test_xapps.py ........... [100%] 03:16:45 03:16:45 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 03:16:45 03:16:45 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 03:16:45 Name Stmts Miss Cover Missing 03:16:45 ----------------------------------------------------------------------- 03:16:45 ricxappframe/__init__.py 0 0 100% 03:16:45 ricxappframe/alarm/__init__.py 0 0 100% 03:16:45 ricxappframe/alarm/alarm.py 94 2 98% 250-251 03:16:45 ricxappframe/alarm/exceptions.py 2 0 100% 03:16:45 ricxappframe/constants.py 5 0 100% 03:16:45 ricxappframe/e2ap/__init__.py 0 0 100% 03:16:45 ricxappframe/e2ap/asn1.py 224 0 100% 03:16:45 ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% 03:16:45 ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% 03:16:45 ricxappframe/e2ap/asn1clib/types.py 16 0 100% 03:16:45 ricxappframe/logger/__init__.py 0 0 100% 03:16:45 ricxappframe/logger/mdclogger.py 133 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 03:16:45 ricxappframe/metric/__init__.py 0 0 100% 03:16:45 ricxappframe/metric/exceptions.py 2 0 100% 03:16:45 ricxappframe/metric/metric.py 58 3 95% 122, 201-202 03:16:45 ricxappframe/rmr/__init__.py 0 0 100% 03:16:45 ricxappframe/rmr/exceptions.py 4 0 100% 03:16:45 ricxappframe/rmr/helpers.py 28 0 100% 03:16:45 ricxappframe/rmr/rmr.py 156 3 98% 257, 454, 544 03:16:45 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% 03:16:45 ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 6 92% 39, 59, 79, 115, 133, 148 03:16:45 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% 03:16:45 ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 03:16:45 ricxappframe/util/__init__.py 0 0 100% 03:16:45 ricxappframe/util/constants.py 11 0 100% 03:16:45 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:45 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 03:16:45 ricxappframe/xapp_rmr.py 40 0 100% 03:16:45 ricxappframe/xapp_sdl.py 94 1 99% 53 03:16:45 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 03:16:45 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 03:16:45 ----------------------------------------------------------------------- 03:16:45 TOTAL 1550 118 92% 03:16:45 Coverage HTML written to dir htmlcov 03:16:45 Coverage XML written to file coverage.xml 03:16:45 03:16:45 Required test coverage of 70% reached. Total coverage: 92.39% 03:16:45 ======================== 75 passed in 275.83s (0:04:35) ======================== 03:16:49 code: commands[1]> coverage xml -i 03:16:49 Wrote XML report to coverage.xml 03:16:49 .pkg: _exit> python /tmp/venv-RMOO/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:16:49 code: OK ✔ in 4 minutes 56.38 seconds 03:16:49 flake8: install_deps> python -I -m pip install flake8 03:16:51 flake8: freeze> python -m pip freeze --all 03:16:51 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:51 flake8: commands[0]> flake8 setup.py ricxappframe tests 03:16:52 code: OK (296.38=setup[15.88]+cmd[280.22,0.28] seconds) 03:16:52 flake8: OK (3.10=setup[2.32]+cmd[0.77] seconds) 03:16:52 congratulations :) (299.64 seconds) 03:16:52 + tox_status=0 03:16:52 + echo '---> Completed tox runs' 03:16:52 ---> Completed tox runs 03:16:52 + for i in .tox/*/log 03:16:52 ++ echo .tox/code/log 03:16:52 ++ awk -F/ '{print $2}' 03:16:52 + tox_env=code 03:16:52 + cp -r .tox/code/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/code 03:16:52 + for i in .tox/*/log 03:16:52 ++ echo .tox/flake8/log 03:16:52 ++ awk -F/ '{print $2}' 03:16:52 + tox_env=flake8 03:16:52 + cp -r .tox/flake8/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/flake8 03:16:52 + DOC_DIR=docs/_build/html 03:16:52 + [[ -d docs/_build/html ]] 03:16:52 + echo '---> tox-run.sh ends' 03:16:52 ---> tox-run.sh ends 03:16:52 + test 0 -eq 0 03:16:52 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-3169 03:16:54 [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:54 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 03:16:54 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:54 INFO: Project root configuration file: NONE 03:16:54 INFO: SonarScanner 4.6.2.2472 03:16:54 INFO: Java 11.0.18 Ubuntu (64-bit) 03:16:54 INFO: Linux 5.4.0-146-generic amd64 03:16:54 INFO: User cache: /home/jenkins/.sonar/cache 03:16:56 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 03:16:56 INFO: Project root configuration file: NONE 03:16:56 INFO: Analyzing on SonarCloud 03:16:56 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 03:16:56 INFO: Load global settings 03:16:57 INFO: Load global settings (done) | time=285ms 03:16:57 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 03:16:57 INFO: User cache: /home/jenkins/.sonar/cache 03:16:57 INFO: Loading required plugins 03:16:57 INFO: Load plugins index 03:16:57 INFO: Load plugins index (done) | time=586ms 03:16:57 INFO: Load/download plugins 03:16:59 INFO: Load/download plugins (done) | time=1419ms 03:16:59 INFO: Found an active CI vendor: 'Jenkins' 03:16:59 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' 03:16:59 INFO: Load project settings for component key: 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=247ms 03:17:00 INFO: Process project properties 03:17:00 INFO: Project key: o-ran-sc_ric-plt-xapp-frame-py 03:17:00 INFO: Base dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:17:00 INFO: Working dir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork 03:17:00 INFO: Load project branches 03:17:00 INFO: Load project branches (done) | time=222ms 03:17:00 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' 03:17:00 INFO: Detected project binding: NOT_BOUND 03:17:00 INFO: Check ALM binding of project 'o-ran-sc_ric-plt-xapp-frame-py' (done) | time=197ms 03:17:00 INFO: Load project pull requests 03:17:00 INFO: Load project pull requests (done) | time=203ms 03:17:00 INFO: Load branch configuration 03:17:00 INFO: Load branch configuration (done) | time=1ms 03:17:00 INFO: Load quality profiles 03:17:01 INFO: Load quality profiles (done) | time=317ms 03:17:01 INFO: Load active rules 03:17:12 INFO: Load active rules (done) | time=11297ms 03:17:12 INFO: Organization key: o-ran-sc 03:17:12 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:12 INFO: Preprocessing files... 03:17:12 INFO: 2 languages detected in 72 preprocessed files 03:17:12 INFO: 0 files ignored because of inclusion/exclusion patterns 03:17:12 INFO: 68 files ignored because of scm ignore settings 03:17:13 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:13 INFO: Loading plugins for detected languages 03:17:13 INFO: Load/download plugins 03:17:13 INFO: Load/download plugins (done) | time=455ms 03:17:13 INFO: Load project repositories 03:17:14 INFO: Load project repositories (done) | time=538ms 03:17:14 INFO: Indexing files... 03:17:14 INFO: Project configuration: 03:17:14 INFO: Excluded sources: **/build-wrapper-dump.json, setup.py, tests/*.py 03:17:14 INFO: 72 files indexed 03:17:14 INFO: Quality profile for json: SonarQube Way 03:17:14 INFO: Quality profile for py: Sonar way 03:17:14 INFO: ------------- Run sensors on module ric-plt-xapp-frame-py 03:17:14 INFO: Load metrics repository 03:17:14 INFO: Load metrics repository (done) | time=483ms 03:17:14 INFO: Sensor cache enabled 03:17:14 INFO: Load sensor cache 03:17:17 INFO: Load sensor cache (896 KB) | time=2160ms 03:17:18 INFO: Sensor Python Sensor [python] 03:17:18 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:18 INFO: Starting global symbols computation 03:17:18 INFO: 70 source files to be analyzed 03:17:20 INFO: 70/70 source files have been analyzed 03:17:20 INFO: Starting rules execution 03:17:20 INFO: 70 source files to be analyzed 03:17:25 INFO: 70/70 source files have been analyzed 03:17:25 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:25 INFO: Sensor Python Sensor [python] (done) | time=7094ms 03:17:25 INFO: Sensor Cobertura Sensor for Python coverage [python] 03:17:25 INFO: Python test coverage 03:17:25 INFO: Parsing report '/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/coverage.xml' 03:17:25 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=219ms 03:17:25 INFO: Sensor PythonXUnitSensor [python] 03:17:25 INFO: Sensor PythonXUnitSensor [python] (done) | time=62ms 03:17:25 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 03:17:25 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:25 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=20ms 03:17:25 INFO: Sensor JaCoCo XML Report Importer [jacoco] 03:17:25 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:25 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 03:17:25 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms 03:17:25 INFO: Sensor IaC CloudFormation Sensor [iac] 03:17:25 INFO: 0 source files to be analyzed 03:17:25 INFO: 0/0 source files have been analyzed 03:17:25 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=16ms 03:17:25 INFO: Sensor IaC AzureResourceManager Sensor [iac] 03:17:25 INFO: 0 source files to be analyzed 03:17:25 INFO: 0/0 source files have been analyzed 03:17:25 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=81ms 03:17:25 INFO: Sensor TextAndSecretsSensor [text] 03:17:26 INFO: 72 source files to be analyzed 03:17:27 INFO: 72/72 source files have been analyzed 03:17:27 INFO: Sensor TextAndSecretsSensor [text] (done) | time=2099ms 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=0ms 03:17:27 INFO: Sensor IaC Docker 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 Docker Sensor [iac] (done) | time=36ms 03:17:27 INFO: Sensor Serverless configuration file sensor [security] 03:17:27 INFO: 0 Serverless function entries were found in the project 03:17:27 INFO: 0 Serverless function handlers were kept as entrypoints 03:17:27 INFO: Sensor Serverless configuration file sensor [security] (done) | time=6ms 03:17:27 INFO: Sensor AWS SAM template file sensor [security] 03:17:27 INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms 03:17:27 INFO: Sensor AWS SAM Inline template file sensor [security] 03:17:27 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms 03:17:27 INFO: Sensor javabugs [dbd] 03:17:27 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/java 03:17:27 INFO: No IR files have been included for analysis. 03:17:27 INFO: Sensor javabugs [dbd] (done) | time=2ms 03:17:27 INFO: Sensor pythonbugs [dbd] 03:17:28 INFO: Reading IR files from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ir/python 03:17:28 INFO: Analyzing 308 functions to detect bugs. 03:17:28 INFO: Sensor pythonbugs [dbd] (done) | time=802ms 03:17:28 INFO: Sensor JavaSecuritySensor [security] 03:17:28 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 03:17:28 INFO: Load type hierarchy and UCFGs: Starting 03:17:28 INFO: Load type hierarchy: Starting 03:17:28 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/java 03:17:28 INFO: Read 0 type definitions 03:17:28 INFO: Load type hierarchy: Time spent was 00:00:00.002 03:17:28 INFO: Load UCFGs: Starting 03:17:28 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:28 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 03:17:28 INFO: No UCFGs have been included for analysis. 03:17:28 INFO: java security sensor: Time spent was 00:00:00.004 03:17:28 INFO: Sensor JavaSecuritySensor [security] (done) | time=34ms 03:17:28 INFO: Sensor CSharpSecuritySensor [security] 03:17:28 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:28 INFO: Load type hierarchy and UCFGs: Starting 03:17:28 INFO: Load type hierarchy: Starting 03:17:28 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/ucfg2/cs 03:17:28 INFO: Read 0 type definitions 03:17:28 INFO: Load type hierarchy: Time spent was 00:00:00.001 03:17:28 INFO: Load UCFGs: Starting 03:17:28 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:28 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 03:17:28 INFO: No UCFGs have been included for analysis. 03:17:28 INFO: csharp security sensor: Time spent was 00:00:00.001 03:17:28 INFO: Sensor CSharpSecuritySensor [security] (done) | time=2ms 03:17:28 INFO: Sensor PhpSecuritySensor [security] 03:17:28 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 03:17:28 INFO: Load type hierarchy and UCFGs: Starting 03:17:28 INFO: Load type hierarchy: Starting 03:17:28 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/php 03:17:28 INFO: Read 0 type definitions 03:17:28 INFO: Load type hierarchy: Time spent was 00:00:00.000 03:17:28 INFO: Load UCFGs: Starting 03:17:28 INFO: Load UCFGs: Time spent was 00:00:00.000 03:17:28 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 03:17:28 INFO: No UCFGs have been included for analysis. 03:17:28 INFO: php security sensor: Time spent was 00:00:00.000 03:17:28 INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms 03:17:28 INFO: Sensor PythonSecuritySensor [security] 03:17:28 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:28 INFO: Load type hierarchy and UCFGs: Starting 03:17:28 INFO: Load type hierarchy: Starting 03:17:28 INFO: Reading type hierarchy from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:28 INFO: Read 957 type definitions 03:17:28 INFO: Load type hierarchy: Time spent was 00:00:00.118 03:17:28 INFO: Load UCFGs: Starting 03:17:28 INFO: Reading UCFGs from: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.scannerwork/ucfg2/python 03:17:29 INFO: Load UCFGs: Time spent was 00:00:00.625 03:17:29 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.744 03:17:29 INFO: Analyzing 4408 UCFGs to detect vulnerabilities. 03:17:29 INFO: Check cache: Starting 03:17:29 INFO: Load cache: Starting 03:17:29 INFO: Load cache: Time spent was 00:00:00.000 03:17:29 INFO: Check cache: Time spent was 00:00:00.000 03:17:29 INFO: Create runtime call graph: Starting 03:17:29 INFO: Variable Type Analysis #1: Starting 03:17:29 INFO: Create runtime type propagation graph: Starting 03:17:29 INFO: Create runtime type propagation graph: Time spent was 00:00:00.062 03:17:29 INFO: Run SCC (Tarjan) on 13840 nodes: Starting 03:17:29 INFO: Run SCC (Tarjan) on 13840 nodes: Time spent was 00:00:00.014 03:17:29 INFO: Tarjan found 13753 strongly connected components 03:17:29 INFO: Propagate runtime types to strongly connected components: Starting 03:17:29 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.063 03:17:29 INFO: Variable Type Analysis #1: Time spent was 00:00:00.143 03:17:29 INFO: Variable Type Analysis #2: Starting 03:17:29 INFO: Create runtime type propagation graph: Starting 03:17:29 INFO: Create runtime type propagation graph: Time spent was 00:00:00.044 03:17:29 INFO: Run SCC (Tarjan) on 13665 nodes: Starting 03:17:29 INFO: Run SCC (Tarjan) on 13665 nodes: Time spent was 00:00:00.011 03:17:29 INFO: Tarjan found 13629 strongly connected components 03:17:29 INFO: Propagate runtime types to strongly connected components: Starting 03:17:29 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.029 03:17:29 INFO: Variable Type Analysis #2: Time spent was 00:00:00.086 03:17:29 INFO: Create runtime call graph: Time spent was 00:00:00.236 03:17:29 INFO: Load config: Starting 03:17:29 INFO: Load config: Time spent was 00:00:00.126 03:17:29 INFO: Compute entry points: Starting 03:17:30 INFO: Compute entry points: Time spent was 00:00:00.313 03:17:30 INFO: All rules entry points : 3 03:17:30 INFO: Slice call graph: Starting 03:17:30 INFO: Retained UCFGs : 16 03:17:30 INFO: Slice call graph: Time spent was 00:00:00.000 03:17:30 INFO: Live variable analysis: Starting 03:17:30 INFO: Live variable analysis: Time spent was 00:00:00.010 03:17:30 INFO: Taint analysis for python: Starting 03:17:30 INFO: 0 / 16 UCFGs simulated, memory usage: 145 MB 03:17:30 INFO: 7 / 16 UCFGs simulated, memory usage: 152 MB 03:17:30 INFO: Taint analysis for python: Time spent was 00:00:00.101 03:17:30 INFO: Report issues: Starting 03:17:30 INFO: Report issues: Time spent was 00:00:00.003 03:17:30 INFO: Store cache: Starting 03:17:30 INFO: Store cache: Time spent was 00:00:00.014 03:17:30 INFO: python security sensor: Time spent was 00:00:01.553 03:17:30 INFO: python security sensor: Begin: 2024-01-09T03:17:28.794308Z, End: 2024-01-09T03:17:30.347942Z, Duration: 00:00:01.553 03:17:30 Load type hierarchy and UCFGs: Begin: 2024-01-09T03:17:28.794444Z, End: 2024-01-09T03:17:29.538805Z, Duration: 00:00:00.744 03:17:30 Load type hierarchy: Begin: 2024-01-09T03:17:28.794467Z, End: 2024-01-09T03:17:28.912768Z, Duration: 00:00:00.118 03:17:30 Load UCFGs: Begin: 2024-01-09T03:17:28.912885Z, End: 2024-01-09T03:17:29.538377Z, Duration: 00:00:00.625 03:17:30 Check cache: Begin: 2024-01-09T03:17:29.539007Z, End: 2024-01-09T03:17:29.539477Z, Duration: 00:00:00.000 03:17:30 Load cache: Begin: 2024-01-09T03:17:29.539092Z, End: 2024-01-09T03:17:29.539186Z, Duration: 00:00:00.000 03:17:30 Create runtime call graph: Begin: 2024-01-09T03:17:29.539611Z, End: 2024-01-09T03:17:29.776585Z, Duration: 00:00:00.236 03:17:30 Variable Type Analysis #1: Begin: 2024-01-09T03:17:29.540597Z, End: 2024-01-09T03:17:29.683814Z, Duration: 00:00:00.143 03:17:30 Create runtime type propagation graph: Begin: 2024-01-09T03:17:29.542562Z, End: 2024-01-09T03:17:29.604779Z, Duration: 00:00:00.062 03:17:30 Run SCC (Tarjan) on 13840 nodes: Begin: 2024-01-09T03:17:29.605385Z, End: 2024-01-09T03:17:29.620121Z, Duration: 00:00:00.014 03:17:30 Propagate runtime types to strongly connected components: Begin: 2024-01-09T03:17:29.620447Z, End: 2024-01-09T03:17:29.683488Z, Duration: 00:00:00.063 03:17:30 Variable Type Analysis #2: Begin: 2024-01-09T03:17:29.686179Z, End: 2024-01-09T03:17:29.773158Z, Duration: 00:00:00.086 03:17:30 Create runtime type propagation graph: Begin: 2024-01-09T03:17:29.686288Z, End: 2024-01-09T03:17:29.731180Z, Duration: 00:00:00.044 03:17:30 Run SCC (Tarjan) on 13665 nodes: Begin: 2024-01-09T03:17:29.731498Z, End: 2024-01-09T03:17:29.743134Z, Duration: 00:00:00.011 03:17:30 Propagate runtime types to strongly connected components: Begin: 2024-01-09T03:17:29.743454Z, End: 2024-01-09T03:17:29.772827Z, Duration: 00:00:00.029 03:17:30 Load config: Begin: 2024-01-09T03:17:29.776728Z, End: 2024-01-09T03:17:29.903668Z, Duration: 00:00:00.126 03:17:30 Compute entry points: Begin: 2024-01-09T03:17:29.903952Z, End: 2024-01-09T03:17:30.217274Z, Duration: 00:00:00.313 03:17:30 Slice call graph: Begin: 2024-01-09T03:17:30.217672Z, End: 2024-01-09T03:17:30.218429Z, Duration: 00:00:00.000 03:17:30 Live variable analysis: Begin: 2024-01-09T03:17:30.218569Z, End: 2024-01-09T03:17:30.228617Z, Duration: 00:00:00.010 03:17:30 Taint analysis for python: Begin: 2024-01-09T03:17:30.228969Z, End: 2024-01-09T03:17:30.330101Z, Duration: 00:00:00.101 03:17:30 Report issues: Begin: 2024-01-09T03:17:30.330221Z, End: 2024-01-09T03:17:30.333573Z, Duration: 00:00:00.003 03:17:30 Store cache: Begin: 2024-01-09T03:17:30.333704Z, End: 2024-01-09T03:17:30.347728Z, Duration: 00:00:00.014 03:17:30 INFO: python security sensor peak memory: 184 MB 03:17:30 INFO: Sensor PythonSecuritySensor [security] (done) | time=1558ms 03:17:30 INFO: Sensor JsSecuritySensor [security] 03:17:30 INFO: Enabled taint analysis rules: S5131, S5334, S6105, S5883, S5146, S6096, S2076, S3649, S6287, S2631, S5144, S2083, S5147, S6350, S5696 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/js 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: js security sensor: Time spent was 00:00:00.002 03:17:30 INFO: Sensor JsSecuritySensor [security] (done) | time=5ms 03:17:30 INFO: ------------- Run sensors on project 03:17:30 INFO: Sensor Zero Coverage Sensor 03:17:30 INFO: Sensor Zero Coverage Sensor (done) | time=11ms 03:17:30 INFO: CPD Executor 18 files had no CPD blocks 03:17:30 INFO: CPD Executor Calculating CPD for 52 files 03:17:30 INFO: CPD Executor CPD calculation finished (done) | time=87ms 03:17:30 INFO: Analysis report generated in 210ms, dir size=1 MB 03:17:30 INFO: Analysis report compressed in 147ms, zip size=404 KB 03:17:31 INFO: Analysis report uploaded in 849ms 03:17:31 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-plt-xapp-frame-py 03:17:31 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 03:17:31 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYzsOatDaBIWe3_KQ9iq 03:17:34 INFO: Sensor cache published successfully 03:17:34 INFO: Analysis total time: 34.703 s 03:17:34 INFO: ------------------------------------------------------------------------ 03:17:34 INFO: EXECUTION SUCCESS 03:17:34 INFO: ------------------------------------------------------------------------ 03:17:34 INFO: Total time: 39.886s 03:17:34 INFO: Final Memory: 57M/185M 03:17:34 INFO: ------------------------------------------------------------------------ 03:17:34 $ ssh-agent -k 03:17:34 unset SSH_AUTH_SOCK; 03:17:34 unset SSH_AGENT_PID; 03:17:34 echo Agent pid 5456 killed; 03:17:34 [ssh-agent] Stopped. 03:17:35 [PostBuildScript] - [INFO] Executing post build scripts. 03:17:35 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins4866552802667529749.sh 03:17:35 ---> sysstat.sh 03:17:35 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins11812038483959318499.sh 03:17:35 ---> package-listing.sh 03:17:35 ++ tr '[:upper:]' '[:lower:]' 03:17:35 ++ facter osfamily 03:17:36 + OS_FAMILY=debian 03:17:36 + workspace=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube 03:17:36 + START_PACKAGES=/tmp/packages_start.txt 03:17:36 + END_PACKAGES=/tmp/packages_end.txt 03:17:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:17:36 + PACKAGES=/tmp/packages_start.txt 03:17:36 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:36 + PACKAGES=/tmp/packages_end.txt 03:17:36 + case "${OS_FAMILY}" in 03:17:36 + grep '^ii' 03:17:36 + dpkg -l 03:17:36 + '[' -f /tmp/packages_start.txt ']' 03:17:36 + '[' -f /tmp/packages_end.txt ']' 03:17:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:36 + true 03:17:36 + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' 03:17:36 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/ 03:17:36 + 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:36 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins5743336733455101621.sh 03:17:36 ---> capture-instance-metadata.sh 03:17:36 Setup pyenv: 03:17:36 system 03:17:36 3.8.13 03:17:36 3.9.13 03:17:36 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WcMA from file:/tmp/.os_lf_venv 03:17:38 lf-activate-venv(): INFO: Installing: lftools 03:17:52 lf-activate-venv(): INFO: Adding /tmp/venv-WcMA/bin to PATH 03:17:52 INFO: Running in OpenStack, capturing instance metadata 03:17:53 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins15325259312949974311.sh 03:17:53 provisioning config files... 03:17:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/config7158601312397541125tmp 03:17:53 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 03:17:53 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 03:17:53 [EnvInject] - Injecting environment variables from a build step. 03:17:53 [EnvInject] - Injecting as environment variables the properties content 03:17:53 SERVER_ID=logs 03:17:53 03:17:53 [EnvInject] - Variables injected successfully. 03:17:53 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins17476245345944462967.sh 03:17:53 ---> create-netrc.sh 03:17:53 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins1879675839203955547.sh 03:17:53 ---> python-tools-install.sh 03:17:53 Setup pyenv: 03:17:53 system 03:17:53 3.8.13 03:17:53 3.9.13 03:17:53 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:17:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WcMA from file:/tmp/.os_lf_venv 03:17:54 lf-activate-venv(): INFO: Installing: lftools 03:18:06 lf-activate-venv(): INFO: Adding /tmp/venv-WcMA/bin to PATH 03:18:06 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins6339451843540910870.sh 03:18:06 ---> sudo-logs.sh 03:18:06 Archiving 'sudo' log.. 03:18:06 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins718627704285743190.sh 03:18:06 ---> job-cost.sh 03:18:06 Setup pyenv: 03:18:06 system 03:18:06 3.8.13 03:18:06 3.9.13 03:18:06 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:18:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WcMA from file:/tmp/.os_lf_venv 03:18:08 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 03:18:17 lf-activate-venv(): INFO: Adding /tmp/venv-WcMA/bin to PATH 03:18:17 INFO: No Stack... 03:18:17 INFO: Retrieving Pricing Info for: v2-highcpu-2 03:18:17 INFO: Archiving Costs 03:18:17 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9162775138704481830.sh 03:18:17 ---> logs-deploy.sh 03:18:17 Setup pyenv: 03:18:17 system 03:18:17 3.8.13 03:18:17 3.9.13 03:18:17 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) 03:18:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-WcMA from file:/tmp/.os_lf_venv 03:18:19 lf-activate-venv(): INFO: Installing: lftools 03:18:31 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:31 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 03:18:32 lf-activate-venv(): INFO: Adding /tmp/venv-WcMA/bin to PATH 03:18:32 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-xapp-frame-py-tox-sonarqube/202 03:18:32 INFO: archiving workspace using pattern(s): -p **/*.log 03:18:34 Archives upload complete. 03:18:34 INFO: archiving logs to Nexus 03:18:35 ---> uname -a: 03:18:35 Linux prd-ubuntu1804-builder-2c-2g-3169 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:35 03:18:35 03:18:35 ---> lscpu: 03:18:35 Architecture: x86_64 03:18:35 CPU op-mode(s): 32-bit, 64-bit 03:18:35 Byte Order: Little Endian 03:18:35 Address sizes: 40 bits physical, 48 bits virtual 03:18:35 CPU(s): 2 03:18:35 On-line CPU(s) list: 0,1 03:18:35 Thread(s) per core: 1 03:18:35 Core(s) per socket: 1 03:18:35 Socket(s): 2 03:18:35 NUMA node(s): 1 03:18:35 Vendor ID: AuthenticAMD 03:18:35 CPU family: 23 03:18:35 Model: 49 03:18:35 Model name: AMD EPYC-Rome Processor 03:18:35 Stepping: 0 03:18:35 CPU MHz: 2800.000 03:18:35 BogoMIPS: 5600.00 03:18:35 Virtualization: AMD-V 03:18:35 Hypervisor vendor: KVM 03:18:35 Virtualization type: full 03:18:35 L1d cache: 64 KiB 03:18:35 L1i cache: 64 KiB 03:18:35 L2 cache: 1 MiB 03:18:35 L3 cache: 32 MiB 03:18:35 NUMA node0 CPU(s): 0,1 03:18:35 Vulnerability Itlb multihit: Not affected 03:18:35 Vulnerability L1tf: Not affected 03:18:35 Vulnerability Mds: Not affected 03:18:35 Vulnerability Meltdown: Not affected 03:18:35 Vulnerability Mmio stale data: Not affected 03:18:35 Vulnerability Retbleed: Vulnerable 03:18:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:18:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:18:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 03:18:35 Vulnerability Srbds: Not affected 03:18:35 Vulnerability Tsx async abort: Not affected 03:18:35 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:35 03:18:35 03:18:35 ---> nproc: 03:18:35 2 03:18:35 03:18:35 03:18:35 ---> df -h: 03:18:35 Filesystem Size Used Avail Use% Mounted on 03:18:35 udev 975M 0 975M 0% /dev 03:18:35 tmpfs 199M 1016K 198M 1% /run 03:18:35 /dev/vda1 20G 8.8G 11G 46% / 03:18:35 tmpfs 992M 0 992M 0% /dev/shm 03:18:35 tmpfs 5.0M 0 5.0M 0% /run/lock 03:18:35 tmpfs 992M 0 992M 0% /sys/fs/cgroup 03:18:35 /dev/loop0 62M 62M 0 100% /snap/core20/1405 03:18:35 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 03:18:35 /dev/vda15 105M 6.1M 99M 6% /boot/efi 03:18:35 tmpfs 199M 0 199M 0% /run/user/1001 03:18:35 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 03:18:35 /dev/loop4 64M 64M 0 100% /snap/core20/2105 03:18:35 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 03:18:35 03:18:35 03:18:35 ---> free -m: 03:18:35 total used free shared buff/cache available 03:18:35 Mem: 1983 487 313 2 1181 1307 03:18:35 Swap: 1023 2 1021 03:18:35 03:18:35 03:18:35 ---> ip addr: 03:18:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 03:18:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:18:35 inet 127.0.0.1/8 scope host lo 03:18:35 valid_lft forever preferred_lft forever 03:18:35 inet6 ::1/128 scope host 03:18:35 valid_lft forever preferred_lft forever 03:18:35 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 03:18:35 link/ether fa:16:3e:ae:08:b2 brd ff:ff:ff:ff:ff:ff 03:18:35 inet 10.32.6.105/23 brd 10.32.7.255 scope global dynamic ens3 03:18:35 valid_lft 85870sec preferred_lft 85870sec 03:18:35 inet6 fe80::f816:3eff:feae:8b2/64 scope link 03:18:35 valid_lft forever preferred_lft forever 03:18:35 03:18:35 03:18:35 ---> sar -b -r -n DEV: 03:18:35 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3169) 01/09/24 _x86_64_ (2 CPU) 03:18:35 03:18:35 03:09:48 LINUX RESTART (2 CPU) 03:18:35 03:18:35 03:10:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:18:35 03:11:02 227.90 134.27 93.64 0.00 3565.02 10482.63 0.00 03:18:35 03:12:01 136.71 28.33 108.37 0.00 978.95 17907.61 0.00 03:18:35 03:13:01 10.91 1.45 9.47 0.00 88.65 1243.93 0.00 03:18:35 03:14:01 2.05 0.00 2.05 0.00 0.00 35.73 0.00 03:18:35 03:15:01 6.08 1.40 4.68 0.00 90.25 1545.88 0.00 03:18:35 03:16:01 71.49 23.70 47.79 0.00 6421.06 9566.81 0.00 03:18:35 03:17:01 35.88 26.86 9.02 0.00 1173.40 2639.43 0.00 03:18:35 03:18:01 49.59 28.38 21.21 0.00 1482.29 4896.12 0.00 03:18:35 Average: 67.44 30.56 36.88 0.00 1726.59 6015.18 0.00 03:18:35 03:18:35 03:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:18:35 03:11:02 188452 1419024 383744 18.90 55412 1256816 861408 27.97 466472 1184992 126596 03:18:35 03:12:01 71192 1382592 411764 20.28 70672 1303652 922800 29.97 524304 1218212 7928 03:18:35 03:13:01 102720 1381804 412364 20.31 71628 1269404 1100016 35.72 526960 1182324 484 03:18:35 03:14:01 96692 1375856 418092 20.59 71672 1269424 1422088 46.18 532860 1182324 100 03:18:35 03:15:01 75172 1357992 435956 21.47 73508 1270288 1566748 50.88 538140 1195560 348 03:18:35 03:16:01 193296 1361760 410864 20.23 97384 1153276 1570376 51.00 738880 876616 376 03:18:35 03:17:01 70200 1276648 498536 24.55 92228 1203212 1016712 33.02 775740 973280 71216 03:18:35 03:18:01 351132 1330116 451660 22.24 88580 985416 918400 29.83 597172 885072 39988 03:18:35 Average: 143607 1360724 427872 21.07 77636 1213936 1172318 38.07 587566 1087298 30880 03:18:35 03:18:35 03:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:18:35 03:11:02 ens3 318.74 200.73 1406.84 68.03 0.00 0.00 0.00 0.00 03:18:35 03:11:02 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 03:18:35 03:12:01 ens3 54.86 54.19 556.78 16.38 0.00 0.00 0.00 0.00 03:18:35 03:12:01 lo 2.10 2.10 0.21 0.21 0.00 0.00 0.00 0.00 03:18:35 03:13:01 ens3 5.67 5.83 31.92 0.81 0.00 0.00 0.00 0.00 03:18:35 03:13:01 lo 2.23 2.23 0.18 0.18 0.00 0.00 0.00 0.00 03:18:35 03:14:01 ens3 4.33 2.75 4.76 0.34 0.00 0.00 0.00 0.00 03:18:35 03:14:01 lo 10.30 10.30 0.89 0.89 0.00 0.00 0.00 0.00 03:18:35 03:15:01 ens3 117.35 60.76 698.91 4.17 0.00 0.00 0.00 0.00 03:18:35 03:15:01 lo 18.36 18.36 0.96 0.96 0.00 0.00 0.00 0.00 03:18:35 03:16:01 ens3 323.33 100.33 2052.56 8.05 0.00 0.00 0.00 0.00 03:18:35 03:16:01 lo 18.80 18.80 1.00 1.00 0.00 0.00 0.00 0.00 03:18:35 03:17:01 ens3 290.48 189.74 1956.26 14.20 0.00 0.00 0.00 0.00 03:18:35 03:17:01 lo 15.10 15.10 0.81 0.81 0.00 0.00 0.00 0.00 03:18:35 03:18:01 ens3 103.45 72.39 358.89 35.70 0.00 0.00 0.00 0.00 03:18:35 03:18:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 03:18:35 Average: ens3 152.49 85.91 884.07 18.47 0.00 0.00 0.00 0.00 03:18:35 Average: lo 8.59 8.59 0.53 0.53 0.00 0.00 0.00 0.00 03:18:35 03:18:35 03:18:35 ---> sar -P ALL: 03:18:35 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3169) 01/09/24 _x86_64_ (2 CPU) 03:18:35 03:18:35 03:09:48 LINUX RESTART (2 CPU) 03:18:35 03:18:35 03:10:01 CPU %user %nice %system %iowait %steal %idle 03:18:35 03:11:02 all 39.70 26.22 20.04 6.80 0.12 7.12 03:18:35 03:11:02 0 38.11 27.09 20.09 6.76 0.12 7.82 03:18:35 03:11:02 1 41.28 25.35 19.99 6.84 0.12 6.42 03:18:35 03:12:01 all 37.06 0.00 3.60 8.85 0.08 50.40 03:18:35 03:12:01 0 41.00 0.00 3.90 6.88 0.08 48.13 03:18:35 03:12:01 1 33.12 0.00 3.31 10.83 0.08 52.66 03:18:35 03:13:01 all 6.20 0.00 0.71 0.56 0.06 92.47 03:18:35 03:13:01 0 4.66 0.00 0.64 0.37 0.07 94.27 03:18:35 03:13:01 1 7.74 0.00 0.79 0.75 0.05 90.68 03:18:35 03:14:01 all 0.48 0.00 0.31 0.03 0.05 99.14 03:18:35 03:14:01 0 0.42 0.00 0.29 0.00 0.05 99.24 03:18:35 03:14:01 1 0.54 0.00 0.33 0.05 0.05 99.03 03:18:35 03:15:01 all 0.95 0.00 0.72 0.32 0.07 97.94 03:18:35 03:15:01 0 0.87 0.00 0.66 0.07 0.07 98.34 03:18:35 03:15:01 1 1.02 0.00 0.79 0.57 0.07 97.55 03:18:35 03:16:01 all 8.57 0.00 5.08 3.27 0.08 83.00 03:18:35 03:16:01 0 10.11 0.00 4.11 1.15 0.08 84.54 03:18:35 03:16:01 1 7.03 0.00 6.05 5.39 0.08 81.45 03:18:35 03:17:01 all 11.82 0.00 1.75 0.92 0.08 85.41 03:18:35 03:17:01 0 9.77 0.00 1.61 0.75 0.08 87.78 03:18:35 03:17:01 1 13.88 0.00 1.89 1.10 0.08 83.05 03:18:35 03:18:01 all 40.84 0.00 2.06 2.05 0.08 54.97 03:18:35 03:18:01 0 26.15 0.00 2.07 1.23 0.07 70.48 03:18:35 03:18:01 1 55.54 0.00 2.05 2.87 0.08 39.46 03:18:35 Average: all 18.17 3.26 4.27 2.84 0.08 71.39 03:18:35 Average: 0 16.33 3.36 4.15 2.14 0.08 73.94 03:18:35 Average: 1 20.00 3.15 4.39 3.53 0.08 68.85 03:18:35 03:18:35 03:18:35