Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-958 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-lp-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-iEY9UQJJGAJU/agent.1687 SSH_AGENT_PID=1689 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-lp-tox-sonarqube@tmp/private_key_11976121242010516520.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp > git init /w/workspace/ric-app-lp-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/lp # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision b2da36d75e650fa8f2a865c9650a6105c6796fa7 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b2da36d75e650fa8f2a865c9650a6105c6796fa7 # timeout=10 Commit message: "Fix: Use deb rpm script instead for Sonar" > git rev-list --no-walk 413fc918c3642bf645c3d10ba4e3645ccc260e79 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins11600324317931900491.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VZXG lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VZXG/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-VZXG/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.79 botocore==1.34.79 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [ric-app-lp-tox-sonarqube] $ /bin/sh /tmp/jenkins5614279956337339118.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [ric-app-lp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16010090678566175937.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-a2ET + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + 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 + 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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ 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 ++ 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 ++ 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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-a2ET + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a2ET' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a2ET + echo /tmp/venv-a2ET + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-a2ET/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-a2ET/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-a2ET/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-a2ET/bin to PATH + PATH=/tmp/venv-a2ET/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 + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 24.0 from /tmp/venv-a2ET/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.3 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.3 packaging==24.0 platformdirs==4.2.0 pluggy==1.4.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.14.2 urllib3==1.26.18 virtualenv==20.25.1 [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins13831941126068027063.sh ---> install-deb-rmr.sh + version_file=rmr-version.yaml + [[ -f rmr-version.yaml ]] ++ xargs ++ cut -d: -f2 ++ grep '^repo:' rmr-version.yaml + repo= ++ cut -d: -f2 ++ grep '^version:' rmr-version.yaml ++ xargs + ver=4.1.2 + [[ -z 4.1.2 ]] + repo=release + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.1.2_amd64.deb/download.deb 2024-04-07 18:27:30 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1648893.deb?Expires=1712514750&Signature=hT7zXIOHd8WEfjbwXJAXrU9qu3aM3242ZiQ-jVsrMV9xDkvJCVwpYBZc6oE6gDMmIznqcixvB6jf2beRwvyaEDqznVdUNBK4TUkUwVLsS2FjpxB9uScorK26fh~7AtwCkXjhb9ZHtreyUXiG7hRo0OX-f11ZFp8EueWsPM4eI4UET6o0qgIMq77hduuYIFCq4VoKwo01RXnW04-OEFBXmT4-3QKHvz-D7TLLW4w3qKtRWCRKm7N9vWYJUMGQwUcAZlqCxbLpJSpHL3C7glQuDJB4~l-h2SVe4JDosGLgfV23obRNuPfGmp2PiJo8QVWnnzmPxqlTRvV~Ja5OZgbHHQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [213896/213896] -> "rmr_4.1.2_amd64.deb" [1] + sudo dpkg -i rmr_4.1.2_amd64.deb Selecting previously unselected package rmr. (Reading database ... 188029 files and directories currently installed.) Preparing to unpack rmr_4.1.2_amd64.deb ... Unpacking rmr (4.1.2) ... Setting up rmr (4.1.2) ... + rm -f rmr_4.1.2_amd64.deb + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.1.2_amd64.deb/download.deb 2024-04-07 18:27:32 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/1648886.deb?Expires=1712514752&Signature=ZPEiDEE66AFVpZJtKpCfGFjLpdInh1vw90J7x2cSAHud1U5WYl-2VNXndNhcUINIAZUNtELpScYCPHOnSBs0k6gNBiCrEhcc8IhVeLS6do7FtlsNYEmXsVpXV4MVDEgPAmXXOjMp7XuGvHTVLHlu-cKefU6FPA0Mb8kbMX2Voky~sRxAbk8-RxxSBJ90DJJC2tko8LI3h-3elK~wiCZHtLeafvc4IVYIHeJl5fmzLer-MBAjo1U9RVBLK0ZdKZw7Xq41cyCBUpc6z5YWG1fhAf1gi-pzsbTa2jL6tmw6u7LVYZG~F2mMwqWXBwta6AaXy7m9BMlNK2w9~MvFcIgq4g__&Key-Pair-Id=K1ZMSF1EKC3AZL [114066/114066] -> "rmr-dev_4.1.2_amd64.deb" [1] + sudo dpkg -i rmr-dev_4.1.2_amd64.deb Selecting previously unselected package rmr-dev. (Reading database ... 188037 files and directories currently installed.) Preparing to unpack rmr-dev_4.1.2_amd64.deb ... Unpacking rmr-dev (4.1.2) ... Setting up rmr-dev (4.1.2) ... + rm -f rmr-dev_4.1.2_amd64.deb + echo '---> install-deb-rmr.sh ends' ---> install-deb-rmr.sh ends [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [ric-app-lp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10238598463029219822.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + ARCHIVE_TOX_DIR=/w/workspace/ric-app-lp-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/ric-app-lp-tox-sonarqube/archives/docs + mkdir -p /w/workspace/ric-app-lp-tox-sonarqube/archives/tox + cd /w/workspace/ric-app-lp-tox-sonarqube/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-iEjW + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-a2ET + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a2ET from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a2ET from file:/tmp/.toxenv + /tmp/venv-a2ET/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-a2ET/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-a2ET/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-a2ET/bin to PATH + PATH=/tmp/venv-a2ET/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-a2ET/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/tmp/venv-a2ET/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ pwd + PYTHONPATH=/w/workspace/ric-app-lp-tox-sonarqube + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.14.2 from /tmp/venv-a2ET/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n code,flake8 ]] + TOX_OPTIONS_LIST=' -e code,flake8' + case ${PARALLEL,,} in + tee -a /w/workspace/ric-app-lp-tox-sonarqube/archives/tox/tox.log + tox -e code,flake8 code: install_deps> python -I -m pip install coverage pytest pytest-cov .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-a2ET/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-a2ET/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-a2ET/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==24.0,setuptools==69.1.0,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-a2ET/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-a2ET/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: install_package_deps> python -I -m pip install Cython PEP517 influxdb 'numpy>=1.16.2' p5py 'pandas>=1.1.3' 'ricxappframe<2.0.0,>=1.1.1' 'schedule>=0.0.0' torch==2.0.0 torchaudio==2.0.1 torchvision==0.15.1 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-lp-tox-sonarqube/.tox/.tmp/package/1/lp-0.3.0.tar.gz code: freeze> python -m pip freeze --all code: async-timeout==4.0.3,certifi==2024.2.2,charset-normalizer==3.3.2,cmake==3.29.0.1,coverage==7.4.4,Cython==3.0.10,exceptiongroup==1.2.0,filelock==3.13.3,hiredis==2.3.2,idna==3.6,influxdb==5.3.1,iniconfig==2.0.0,inotify==0.2.10,inotify_simple==1.3.5,Jinja2==3.1.3,lit==18.1.2,lp @ file:///w/workspace/ric-app-lp-tox-sonarqube/.tox/.tmp/package/1/lp-0.3.0.tar.gz#sha256=d7ea13dcde12d38f9015cfedd31c1268f2b44d9a985f47e963c38dbb3cd689fb,MarkupSafe==2.1.5,mdclogpy==1.1.4,mpmath==1.3.0,msgpack==1.0.8,networkx==3.3,nose==1.3.7,numpy==1.26.4,nvidia-cublas-cu11==11.10.3.66,nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-nvrtc-cu11==11.7.99,nvidia-cuda-runtime-cu11==11.7.99,nvidia-cudnn-cu11==8.5.0.96,nvidia-cufft-cu11==10.9.0.58,nvidia-curand-cu11==10.2.10.91,nvidia-cusolver-cu11==11.4.0.1,nvidia-cusparse-cu11==11.7.4.91,nvidia-nccl-cu11==2.14.3,nvidia-nvtx-cu11==11.7.91,p5py==1.0.0,packaging==24.0,pandas==2.2.1,pep517==0.13.1,pillow==10.3.0,pip==24.0,pluggy==1.4.0,pytest==8.1.1,pytest-cov==5.0.0,python-dateutil==2.9.0.post0,pytz==2024.1,redis==5.0.3,requests==2.31.0,ricsdl==2.3.0,ricxappframe==1.6.0,schedule==1.2.1,setuptools==69.1.0,six==1.16.0,sympy==1.12,tomli==2.0.1,torch==2.0.0,torchaudio==2.0.1,torchvision==0.15.1,triton==2.0.0,typing_extensions==4.11.0,tzdata==2024.1,urllib3==2.2.1,wheel==0.42.0 code: commands[0]> pytest -v --cov lp --cov-report xml --cov-report term-missing --cov-report html -vv ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.1.1, pluggy-1.4.0 -- /w/workspace/ric-app-lp-tox-sonarqube/.tox/code/bin/python cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-app-lp-tox-sonarqube plugins: cov-5.0.0 collecting ... collected 2 items tests/test_lp.py::test_init_xapp PASSED [ 50%] tests/test_lp.py::test_mock_xapp PASSED [100%]/w/workspace/ric-app-lp-tox-sonarqube/.tox/code/lib/python3.10/site-packages/coverage/control.py:887: CoverageWarning: No data was collected. (no-data-collected) self._warn("No data was collected.", slug="no-data-collected") ---------- coverage: platform linux, python 3.10.6-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------ lp/__init__.py 0 0 100% lp/db.py 30 30 0% 17-100 lp/exceptions.py 5 5 0% 16-24 lp/main.py 137 137 0% 16-237 lp/populate.py 30 30 0% 17-59 lp/sdl.py 34 34 0% 17-116 ------------------------------------------------ TOTAL 236 236 0% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ============================== 2 passed in 10.88s ============================== code: commands[1]> coverage xml -i Wrote XML report to coverage.xml code: OK ✔ in 3 minutes 19.07 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: flake8==7.0.0,mccabe==0.7.0,pip==24.0,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.1.0,wheel==0.42.0 flake8: commands[0]> flake8 setup.py lp tests code: OK (199.07=setup[186.00]+cmd[12.92,0.14] seconds) flake8: OK (3.63=setup[3.35]+cmd[0.28] seconds) congratulations :) (202.87 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/code/log ++ awk -F/ '{print $2}' + tox_env=code + cp -r .tox/code/log /w/workspace/ric-app-lp-tox-sonarqube/archives/tox/code + for i in .tox/*/log ++ echo .tox/flake8/log ++ awk -F/ '{print $2}' + tox_env=flake8 + cp -r .tox/flake8/log /w/workspace/ric-app-lp-tox-sonarqube/archives/tox/flake8 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 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-958 [ric-app-lp-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-app-lp -Dsonar.projectName=ric-app-lp -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=lp -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/ric-app-lp-tox-sonarqube INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarScanner 4.6.2.2472 INFO: Java 17.0.7 Private Build (64-bit) INFO: Linux 4.15.0-213-generic amd64 INFO: User cache: /home/jenkins/.sonar/cache INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: Analyzing on SonarCloud INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=296ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /home/jenkins/.sonar/cache INFO: Loading required plugins INFO: Load plugins index INFO: Load plugins index (done) | time=528ms INFO: Load/download plugins INFO: Load/download plugins (done) | time=778ms INFO: Found an active CI vendor: 'Jenkins' INFO: Load project settings for component key: 'o-ran-sc_ric-app-lp' INFO: Load project settings for component key: 'o-ran-sc_ric-app-lp' (done) | time=501ms INFO: Process project properties INFO: Project key: o-ran-sc_ric-app-lp INFO: Base dir: /w/workspace/ric-app-lp-tox-sonarqube INFO: Working dir: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=566ms INFO: Check ALM binding of project 'o-ran-sc_ric-app-lp' INFO: Detected project binding: NOT_BOUND INFO: Check ALM binding of project 'o-ran-sc_ric-app-lp' (done) | time=254ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=193ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=2ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=568ms INFO: Load active rules INFO: Load active rules (done) | time=11595ms INFO: Organization key: o-ran-sc 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. INFO: Preprocessing files... INFO: 1 language detected in 10 preprocessed files INFO: 0 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings INFO: Loading plugins for detected languages INFO: Load/download plugins INFO: Load/download plugins (done) | time=357ms INFO: Load project repositories INFO: Load project repositories (done) | time=218ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/build-wrapper-dump.json INFO: 10 files indexed INFO: Quality profile for py: Sonar way INFO: ------------- Run sensors on module ric-app-lp INFO: Load metrics repository INFO: Load metrics repository (done) | time=493ms INFO: Sensor cache enabled INFO: Load sensor cache INFO: Load sensor cache (404) | time=366ms INFO: Sensor Python Sensor [python] 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" INFO: Starting global symbols computation INFO: 6 source files to be analyzed INFO: 6/6 source files have been analyzed INFO: Starting rules execution INFO: 6 source files to be analyzed INFO: 6/6 source files have been analyzed INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 6 files. These files were not parsed. INFO: Sensor Python Sensor [python] (done) | time=2575ms INFO: Sensor Cobertura Sensor for Python coverage [python] INFO: Python test coverage INFO: Parsing report '/w/workspace/ric-app-lp-tox-sonarqube/coverage.xml' INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=419ms INFO: Sensor PythonXUnitSensor [python] INFO: Sensor PythonXUnitSensor [python] (done) | time=209ms INFO: Sensor Python HTML templates processing [securitypythonfrontend] INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=32ms INFO: Sensor JaCoCo XML Report Importer [jacoco] 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 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms INFO: Sensor IaC Docker Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Docker Sensor [iac] (done) | time=92ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms INFO: Sensor AWS SAM Inline template file sensor [security] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms INFO: Sensor javabugs [dbd] INFO: Reading IR files from: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork/ir/java INFO: No IR files have been included for analysis. INFO: Sensor javabugs [dbd] (done) | time=7ms INFO: Sensor pythonbugs [dbd] INFO: Reading IR files from: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork/ir/python INFO: Analyzing 23 functions to detect bugs. INFO: Sensor pythonbugs [dbd] (done) | time=308ms INFO: Sensor TextAndSecretsSensor [text] INFO: Available processors: 2 INFO: Using 2 threads for analysis. INFO: 6 source files to be analyzed INFO: 6/6 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=516ms INFO: Sensor JavaSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork/ucfg2/java INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.001 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 INFO: No UCFGs have been included for analysis. INFO: java security sensor: Time spent was 00:00:00.004 INFO: Sensor JavaSecuritySensor [security] (done) | time=40ms INFO: Sensor CSharpSecuritySensor [security] 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 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/ric-app-lp-tox-sonarqube/ucfg2/cs INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.007 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.010 INFO: No UCFGs have been included for analysis. INFO: csharp security sensor: Time spent was 00:00:00.011 INFO: Sensor CSharpSecuritySensor [security] (done) | time=12ms INFO: Sensor PhpSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork/ucfg2/php INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.000 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 INFO: No UCFGs have been included for analysis. INFO: php security sensor: Time spent was 00:00:00.003 INFO: Sensor PhpSecuritySensor [security] (done) | time=5ms INFO: Sensor PythonSecuritySensor [security] 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 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork/ucfg2/python INFO: Read 445 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.095 INFO: Load UCFGs: Starting INFO: Reading UCFGs from: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork/ucfg2/python INFO: Load UCFGs: Time spent was 00:00:00.451 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.548 INFO: Analyzing 2632 UCFGs to detect vulnerabilities. INFO: Check cache: Starting INFO: Load cache: Starting INFO: Load cache: Time spent was 00:00:00.000 INFO: Check cache: Time spent was 00:00:00.000 INFO: Create runtime call graph: Starting INFO: Variable Type Analysis #1: Starting INFO: Create runtime type propagation graph: Starting INFO: Create runtime type propagation graph: Time spent was 00:00:00.037 INFO: Run SCC (Tarjan) on 5719 nodes: Starting INFO: Run SCC (Tarjan) on 5719 nodes: Time spent was 00:00:00.010 INFO: Tarjan found 5716 strongly connected components INFO: Propagate runtime types to strongly connected components: Starting INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.031 INFO: Variable Type Analysis #1: Time spent was 00:00:00.082 INFO: Variable Type Analysis #2: Starting INFO: Create runtime type propagation graph: Starting INFO: Create runtime type propagation graph: Time spent was 00:00:00.019 INFO: Run SCC (Tarjan) on 5694 nodes: Starting INFO: Run SCC (Tarjan) on 5694 nodes: Time spent was 00:00:00.004 INFO: Tarjan found 5691 strongly connected components INFO: Propagate runtime types to strongly connected components: Starting INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.013 INFO: Variable Type Analysis #2: Time spent was 00:00:00.037 INFO: Create runtime call graph: Time spent was 00:00:00.126 INFO: Load config: Starting INFO: Load config: Time spent was 00:00:00.166 INFO: Compute entry points: Starting INFO: Compute entry points: Time spent was 00:00:00.095 INFO: No entry points found. INFO: python security sensor: Time spent was 00:00:00.938 INFO: python security sensor: Begin: 2024-04-07T18:31:27.501327452Z, End: 2024-04-07T18:31:28.439640954Z, Duration: 00:00:00.938 Load type hierarchy and UCFGs: Begin: 2024-04-07T18:31:27.501483147Z, End: 2024-04-07T18:31:28.049832548Z, Duration: 00:00:00.548 Load type hierarchy: Begin: 2024-04-07T18:31:27.501556490Z, End: 2024-04-07T18:31:27.596968572Z, Duration: 00:00:00.095 Load UCFGs: Begin: 2024-04-07T18:31:27.597204400Z, End: 2024-04-07T18:31:28.048972989Z, Duration: 00:00:00.451 Check cache: Begin: 2024-04-07T18:31:28.050001874Z, End: 2024-04-07T18:31:28.050471800Z, Duration: 00:00:00.000 Load cache: Begin: 2024-04-07T18:31:28.050051816Z, End: 2024-04-07T18:31:28.050109188Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2024-04-07T18:31:28.050596044Z, End: 2024-04-07T18:31:28.176950337Z, Duration: 00:00:00.126 Variable Type Analysis #1: Begin: 2024-04-07T18:31:28.051145054Z, End: 2024-04-07T18:31:28.133899424Z, Duration: 00:00:00.082 Create runtime type propagation graph: Begin: 2024-04-07T18:31:28.052034424Z, End: 2024-04-07T18:31:28.089260007Z, Duration: 00:00:00.037 Run SCC (Tarjan) on 5719 nodes: Begin: 2024-04-07T18:31:28.091154642Z, End: 2024-04-07T18:31:28.101652412Z, Duration: 00:00:00.010 Propagate runtime types to strongly connected components: Begin: 2024-04-07T18:31:28.101879589Z, End: 2024-04-07T18:31:28.133644636Z, Duration: 00:00:00.031 Variable Type Analysis #2: Begin: 2024-04-07T18:31:28.135447178Z, End: 2024-04-07T18:31:28.173438227Z, Duration: 00:00:00.037 Create runtime type propagation graph: Begin: 2024-04-07T18:31:28.135550091Z, End: 2024-04-07T18:31:28.154862782Z, Duration: 00:00:00.019 Run SCC (Tarjan) on 5694 nodes: Begin: 2024-04-07T18:31:28.155273446Z, End: 2024-04-07T18:31:28.159743758Z, Duration: 00:00:00.004 Propagate runtime types to strongly connected components: Begin: 2024-04-07T18:31:28.159905654Z, End: 2024-04-07T18:31:28.173300052Z, Duration: 00:00:00.013 Load config: Begin: 2024-04-07T18:31:28.177093362Z, End: 2024-04-07T18:31:28.343159584Z, Duration: 00:00:00.166 Compute entry points: Begin: 2024-04-07T18:31:28.343440523Z, End: 2024-04-07T18:31:28.439042334Z, Duration: 00:00:00.095 INFO: python security sensor peak memory: 181 MB INFO: Sensor PythonSecuritySensor [security] (done) | time=944ms INFO: Sensor JsSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S5146, S5696, S6287, S5144, S6350, S5147, S5883, S2083, S5334, S6096, S2631, S5131, S3649, S6105 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/ric-app-lp-tox-sonarqube/.scannerwork/ucfg2/js INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.000 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 INFO: No UCFGs have been included for analysis. INFO: js security sensor: Time spent was 00:00:00.000 INFO: Sensor JsSecuritySensor [security] (done) | time=1ms INFO: ------------- Run sensors on project INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=0ms INFO: CPD Executor 2 files had no CPD blocks INFO: CPD Executor Calculating CPD for 4 files INFO: CPD Executor CPD calculation finished (done) | time=9ms INFO: Analysis report generated in 270ms, dir size=266 KB INFO: Analysis report compressed in 21ms, zip size=65 KB INFO: Analysis report uploaded in 762ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-app-lp INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AY651GlU9LKvA931a1QO INFO: Sensor cache published successfully INFO: Analysis total time: 24.619 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 30.464s INFO: Final Memory: 46M/160M INFO: ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1689 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins2047147553276478332.sh ---> sysstat.sh [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins12190593933182741487.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-app-lp-tox-sonarqube + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/ric-app-lp-tox-sonarqube ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + true + '[' /w/workspace/ric-app-lp-tox-sonarqube ']' + mkdir -p /w/workspace/ric-app-lp-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-lp-tox-sonarqube/archives/ [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins9158479289740253889.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VZXG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VZXG/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins3853385690892205070.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-lp-tox-sonarqube@tmp/config529988049439311212tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins11965130945111809366.sh ---> create-netrc.sh [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins7910790413350466909.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VZXG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VZXG/bin to PATH [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins14052991396770563824.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-lp-tox-sonarqube] $ /bin/bash /tmp/jenkins16482887120901497864.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VZXG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-VZXG/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-2 INFO: Archiving Costs [ric-app-lp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17221723061600804083.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-lp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VZXG from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VZXG/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-lp-tox-sonarqube/146 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-958 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 984M 0 984M 0% /dev tmpfs 200M 668K 199M 1% /run /dev/vda1 20G 14G 5.3G 73% / tmpfs 997M 0 997M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 997M 0 997M 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 200M 0 200M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 1992 351 321 0 1319 1457 Swap: 1023 2 1021 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:95:9b:8b brd ff:ff:ff:ff:ff:ff inet 10.32.7.20/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85999sec preferred_lft 85999sec inet6 fe80::f816:3eff:fe95:9b8b/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-958) 04/07/24 _x86_64_ (2 CPU) 18:25:45 LINUX RESTART (2 CPU) 18:26:01 tps rtps wtps bread/s bwrtn/s 18:27:01 115.78 55.11 60.67 2503.81 9565.22 18:28:01 130.96 58.53 72.43 2664.98 13043.79 18:29:01 317.31 205.78 111.53 51007.46 149948.70 18:30:01 291.53 164.39 127.15 32240.36 122073.65 18:31:01 402.72 295.50 107.21 54591.94 106113.03 18:32:01 55.56 35.89 19.66 1954.47 5570.54 Average: 218.98 135.87 83.11 24161.79 67722.32 18:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:27:01 119620 1534664 1921012 94.14 47916 1456648 531932 17.22 415652 1364552 110536 18:28:01 79688 1490960 1960944 96.09 62028 1434764 628880 20.36 483852 1326712 16964 18:29:01 390552 1497336 1650080 80.86 40284 1162560 638600 20.67 345700 1176016 132 18:30:01 132084 1437844 1908548 93.53 51800 1353308 698436 22.61 316884 1469368 115884 18:31:01 556572 1541908 1484060 72.73 64952 1012120 612860 19.84 227716 1120108 23396 18:32:01 387320 1523896 1653312 81.02 67508 1143664 538436 17.43 289472 1194276 27472 Average: 277639 1504435 1762993 86.39 55748 1260511 608191 19.69 346546 1275172 49064 18:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:27:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 18:27:01 ens3 135.45 112.63 998.12 29.21 0.00 0.00 0.00 0.00 18:28:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 18:28:01 ens3 54.62 52.35 664.70 12.35 0.00 0.00 0.00 0.00 18:29:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:29:01 ens3 926.37 843.07 25291.93 54.67 0.00 0.00 0.00 0.00 18:30:01 lo 0.33 0.33 0.02 0.02 0.00 0.00 0.00 0.00 18:30:01 ens3 497.45 449.23 12671.08 29.89 0.00 0.00 0.00 0.00 18:31:01 lo 20.19 20.19 1.00 1.00 0.00 0.00 0.00 0.00 18:31:01 ens3 10.50 6.51 19.01 3.03 0.00 0.00 0.00 0.00 18:32:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 18:32:01 ens3 247.11 155.02 1845.20 22.38 0.00 0.00 0.00 0.00 Average: lo 4.15 4.15 0.24 0.24 0.00 0.00 0.00 0.00 Average: ens3 311.94 269.83 6915.85 25.26 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-958) 04/07/24 _x86_64_ (2 CPU) 18:25:45 LINUX RESTART (2 CPU) 18:26:01 CPU %user %nice %system %iowait %steal %idle 18:27:01 all 40.09 0.00 2.90 5.96 0.08 50.98 18:27:01 0 43.57 0.00 3.41 2.31 0.08 50.62 18:27:01 1 36.59 0.00 2.41 9.60 0.08 51.31 18:28:01 all 29.09 0.00 2.52 7.03 0.08 61.28 18:28:01 0 36.88 0.00 2.64 3.87 0.08 56.53 18:28:01 1 21.25 0.00 2.40 10.23 0.07 66.06 18:29:01 all 7.33 0.00 6.64 17.95 0.08 67.99 18:29:01 0 7.68 0.00 6.51 23.06 0.08 62.67 18:29:01 1 6.98 0.00 6.76 12.80 0.10 73.36 18:30:01 all 24.09 0.00 5.01 10.61 0.08 60.21 18:30:01 0 25.38 0.00 5.65 10.69 0.08 58.20 18:30:01 1 22.81 0.00 4.40 10.52 0.08 62.18 18:31:01 all 34.72 0.00 4.64 12.22 0.10 48.32 18:31:01 0 52.83 0.00 5.38 11.04 0.12 30.64 18:31:01 1 16.51 0.00 3.90 13.42 0.07 66.10 18:32:01 all 38.17 0.00 2.32 2.19 0.08 57.25 18:32:01 0 56.74 0.00 2.59 2.42 0.08 38.16 18:32:01 1 19.67 0.00 2.05 1.98 0.07 76.24 Average: all 28.94 0.00 4.00 9.31 0.08 57.66 Average: 0 37.21 0.00 4.36 8.89 0.09 49.46 Average: 1 20.66 0.00 3.65 9.75 0.08 65.87