Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-builder-2c-2g-10021 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube
[ssh-agent] Looking for ssh-agent implementation...
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-5St9EuEkGlbG/agent.1632
SSH_AGENT_PID=1633
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_9001876555117390953.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/ad
 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10
Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad
 > 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/ad +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # 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 f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10
Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan""
 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # 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-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16453654381236427178.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-rrZD
lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-rrZD/bin to PATH
Generating Requirements File
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.
httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible.
Python 3.10.6
pip 26.0.1 from /tmp/venv-rrZD/lib/python3.10/site-packages/pip (python 3.10)
appdirs==1.4.4
argcomplete==3.6.3
aspy.yaml==1.3.0
attrs==26.1.0
autopage==0.6.0
backports.strenum==1.3.1
beautifulsoup4==4.14.3
boto3==1.42.78
botocore==1.42.78
bs4==0.0.2
certifi==2026.2.25
cffi==2.0.0
cfgv==3.5.0
chardet==7.4.0.post1
charset-normalizer==3.4.6
click==8.3.1
cliff==4.13.2
cmd2==3.4.0
cryptography==3.3.2
debtcollector==3.1.0
decorator==5.2.1
defusedxml==0.7.1
Deprecated==1.3.1
distlib==0.4.0
dnspython==2.8.0
docker==7.1.0
dogpile.cache==1.5.0
durationpy==0.10
email-validator==2.3.0
filelock==3.25.2
future==1.0.0
gitdb==4.0.12
GitPython==3.1.46
httplib2==0.30.2
identify==2.6.18
idna==3.11
importlib-resources==1.5.0
iso8601==2.1.0
Jinja2==3.1.6
jmespath==1.1.0
jsonpatch==1.33
jsonpointer==3.1.1
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
keystoneauth1==5.13.1
kubernetes==35.0.0
lftools==0.37.22
lxml==6.0.2
markdown-it-py==4.0.0
MarkupSafe==3.0.3
mdurl==0.1.2
msgpack==1.1.2
multi_key_dict==2.0.3
munch==4.0.0
netaddr==1.3.0
niet==1.4.2
nodeenv==1.10.0
oauth2client==4.1.3
oauthlib==3.3.1
openstacksdk==4.10.0
os-service-types==1.8.2
osc-lib==4.4.0
oslo.config==10.3.0
oslo.context==6.3.0
oslo.i18n==6.7.2
oslo.log==8.1.0
oslo.serialization==5.9.1
oslo.utils==10.0.0
packaging==26.0
pbr==7.0.3
platformdirs==4.9.4
prettytable==3.17.0
psutil==7.2.2
pyasn1==0.6.3
pyasn1_modules==0.4.2
pycparser==3.0
pygerrit2==2.0.15
PyGithub==2.9.0
Pygments==2.19.2
PyJWT==2.12.1
PyNaCl==1.6.2
pyparsing==2.4.7
pyperclip==1.11.0
pyrsistent==0.20.0
python-cinderclient==9.9.0
python-dateutil==2.9.0.post0
python-discovery==1.2.1
python-heatclient==5.1.0
python-jenkins==1.8.3
python-keystoneclient==5.8.0
python-magnumclient==4.10.0
python-openstackclient==9.0.0
python-swiftclient==4.10.0
PyYAML==6.0.3
referencing==0.37.0
requests==2.33.0
requests-oauthlib==2.0.0
requestsexceptions==1.4.0
rfc3986==2.0.0
rich==14.3.3
rich-argparse==1.7.2
rpds-py==0.30.0
rsa==4.9.1
ruamel.yaml==0.19.1
ruamel.yaml.clib==0.2.15
s3transfer==0.16.0
simplejson==3.20.2
six==1.17.0
smmap==5.0.3
soupsieve==2.8.3
stevedore==5.7.0
tabulate==0.10.0
toml==0.10.2
tomlkit==0.14.0
tqdm==4.67.3
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==21.2.0
wcwidth==0.6.0
websocket-client==1.9.0
wrapt==2.1.2
xdg==6.0.0
xmltodict==1.0.4
yq==3.4.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-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins12332599111811174850.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-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5028528989104337536.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-KbE3
+ 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-ad-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 ]]
+++ tail -n 1
+++ sort -V
+++ grep '^3' /tmp/.pyenv_versions
++ 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-KbE3
+ echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KbE3'
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KbE3
+ echo /tmp/venv-KbE3
+ echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv'
lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv
+ echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)'
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
+ local 'pip_opts=--upgrade --quiet'
+ pip_opts='--upgrade --quiet --trusted-host pypi.org'
+ pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org'
+ pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org'
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...'
lf-activate-venv(): INFO: Attempting to install with network-safe options...
+ /tmp/venv-KbE3/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv
+ echo 'lf-activate-venv(): INFO: Base packages installed successfully'
lf-activate-venv(): INFO: Base packages installed successfully
+ [[ -z tox virtualenv urllib3~=1.26.15  ]]
+ echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 '
lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 
+ /tmp/venv-KbE3/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15
+ type python3
+ true
+ echo 'lf-activate-venv(): INFO: Adding /tmp/venv-KbE3/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-KbE3/bin to PATH
+ PATH=/tmp/venv-KbE3/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 26.0.1 from /tmp/venv-KbE3/lib/python3.10/site-packages/pip (python 3.10)
+ python3 -m pip freeze
cachetools==7.0.5
colorama==0.4.6
distlib==0.4.0
filelock==3.25.2
packaging==26.0
platformdirs==4.9.4
pluggy==1.6.0
pyproject-api==1.10.0
python-discovery==1.2.1
tomli==2.4.1
tomli_w==1.2.0
tox==4.51.0
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==21.2.0
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins513161158322603651.sh
---> install-deb-rmr.sh
+ version_file=rmr-version.yaml
+ '[' -f rmr-version.yaml ']'
++ grep '^repo:' rmr-version.yaml
++ xargs
++ cut -d: -f2
+ repo=
++ grep '^version:' rmr-version.yaml
++ xargs
++ cut -d: -f2
+ ver=4.9.0
+ '[' -z 4.9.0 ']'
+ 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.9.0_amd64.deb/download.deb
2026-03-29 00:36:01 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1774745461&Signature=H866Q11vHaHvNwXgKPYLNQfWQOn~ekTpp8Ih3yhwNkjF6UmSFANaAoAhtShAMVRnD1Uuarrj3cp-q-jLF8jpMrEcuudanQGMjVHOamSWe0YejU7DyEPFTh7yvYLxiFu2zxNzk-EgQJrPsC7Bkw38NgwBZYz5dM9C2euOTG2knlrhK6FnwJjWbLuktqGgaxXzEzFaSZPoQfP1qy33l2SD9ggduGEUS~-H~i~dngDhLzurNTK1ES9-1zSGrJ1VbWuPFgm3g-pnjvOEd7O85AiZ479i481InlIYVvOgFsIrwv5x~PLPm9kcjRNkUOzcElBerUV-X8fHnpCPiEGwyACIVw__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1]
+ sudo dpkg -i rmr_4.9.0_amd64.deb
Selecting previously unselected package rmr.
(Reading database ... 188029 files and directories currently installed.)
Preparing to unpack rmr_4.9.0_amd64.deb ...
Unpacking rmr (4.9.0) ...
Setting up rmr (4.9.0) ...
+ rm -f rmr_4.9.0_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.9.0_amd64.deb/download.deb
2026-03-29 00:36:03 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1774745463&Signature=eZKrAhFTXf0QfbSAgDk7Yiu2hSqJ8iND8o4Iz~tgUpxwT0Ncc5xMXelFEG4TeyXz27ydSVQq1-T4p64twR91bnLJqVulUoAAGFJ~hlaHh~R4T9DjsxEoOmkAbxXZXkPWJDRLa~ZRLCtJpGSB7bGlf0-Azc09XTH0LHkbAGZuAfp-xZoIoQ0V3qROcTcQHYduDX8qQtEqVktL2OOPg7SBga4aJYNFSZjMTW0LfNiFT4kthXHNtlyb1py7F3OpSPgTnageJ-wstx7QhqaZ9GSXalj2UCh~W4TMKcwrYKwhCP4XwD2FnwRfW4hGVSuECXuygdweFsL3e2ozyFJUI5cFYw__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1]
+ sudo dpkg -i rmr-dev_4.9.0_amd64.deb
Selecting previously unselected package rmr-dev.
(Reading database ... 188037 files and directories currently installed.)
Preparing to unpack rmr-dev_4.9.0_amd64.deb ...
Unpacking rmr-dev (4.9.0) ...
Setting up rmr-dev (4.9.0) ...
+ rm -f rmr-dev_4.9.0_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-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12294515137350598775.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-ad-tox-sonarqube/archives/tox
+ ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs
+ mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox
+ cd /w/workspace/ric-app-ad-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-WKDW
+ 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-ad-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
++ sed 's/^[ *]* //'
++ grep -E '^[0-9.]*[0-9]$'
++ awk '{ print $1 }'
++ [[ ! -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 ]]
++ cat /tmp/.toxenv
+ lf_venv=/tmp/venv-KbE3
+ echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-KbE3 from' file:/tmp/.toxenv
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-KbE3 from file:/tmp/.toxenv
+ echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)'
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
+ local 'pip_opts=--upgrade --quiet'
+ pip_opts='--upgrade --quiet --trusted-host pypi.org'
+ pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org'
+ pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org'
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...'
lf-activate-venv(): INFO: Attempting to install with network-safe options...
+ /tmp/venv-KbE3/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv
+ echo 'lf-activate-venv(): INFO: Base packages installed successfully'
lf-activate-venv(): INFO: Base packages installed successfully
+ [[ -z tox virtualenv urllib3~=1.26.15  ]]
+ echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 '
lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 
+ /tmp/venv-KbE3/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15
+ type python3
+ true
+ echo 'lf-activate-venv(): INFO: Adding /tmp/venv-KbE3/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-KbE3/bin to PATH
+ PATH=/tmp/venv-KbE3/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-KbE3/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-KbE3/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-ad-tox-sonarqube
+ export PYTHONPATH
+ export TOX_TESTENV_PASSENV=PYTHONPATH
+ TOX_TESTENV_PASSENV=PYTHONPATH
+ tox --version
4.51.0 from /tmp/venv-KbE3/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
+ tox -e code,flake8
+ tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log
code: install_deps> python -I -m pip install coverage pytest pytest-cov
.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0'
.pkg: _optional_hooks> python /tmp/venv-KbE3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /tmp/venv-KbE3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /tmp/venv-KbE3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: freeze> python -m pip freeze --all
.pkg: pip==26.0.1,setuptools==82.0.0
.pkg: prepare_metadata_for_build_wheel> python /tmp/venv-KbE3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /tmp/venv-KbE3/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
code: install_package_deps> python -I -m pip install 'Scikit-learn>=0.18' influxdb 'joblib>=0.3.2' 'mdclogpy<=1.1.1' 'pandas>=1.1.3' ricxappframe==3.2.2 'schedule>=0.0.0'
code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-ad-tox-sonarqube/.tox/.tmp/package/1/ad-1.0.1.tar.gz
code: freeze> python -m pip freeze --all
code: ad==1.0.1,async-timeout==5.0.1,build==1.4.2,certifi==2026.2.25,charset-normalizer==3.4.6,coverage==7.13.5,exceptiongroup==1.3.1,hiredis==2.0.0,idna==3.11,influxdb==5.3.2,iniconfig==2.3.0,inotify==0.2.12,inotify-simple==2.0.1,joblib==1.5.3,mdclogpy==1.1.1,msgpack==1.1.2,numpy==2.2.6,packaging==26.0,pandas==2.3.3,pip==26.0.1,pluggy==1.6.0,protobuf==3.20.3,Pygments==2.19.2,pyproject_hooks==1.2.0,pytest==9.0.2,pytest-cov==7.1.0,python-dateutil==2.9.0.post0,pytz==2026.1.post1,redis==4.3.6,requests==2.33.0,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.7.2,scipy==1.15.3,setuptools==82.0.0,six==1.17.0,threadpoolctl==3.6.0,tomli==2.4.1,typing_extensions==4.15.0,tzdata==2025.3,urllib3==2.6.3
code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-9.0.2, pluggy-1.6.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python
cachedir: .tox/code/.pytest_cache
rootdir: /w/workspace/ric-app-ad-tox-sonarqube
plugins: cov-7.1.0
collecting ... collected 4 items

tests/test_ad.py::test_database_connection PASSED                        [ 25%]
tests/test_ad.py::test_trainModel FAILED                                 [ 50%]
tests/test_ad.py::test_predict_anomaly FAILED                            [ 75%]
tests/test_ad.py::test_msg_to_ts PASSED                                  [100%]

=================================== FAILURES ===================================
_______________________________ test_trainModel ________________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa1f49c82b0>

    def test_trainModel(monkeypatch):
>       main.train_model()

tests/test_ad.py:28: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/main.py:62: in train_model
    mt.train()
src/ad_train.py:122: in train
    f1, model = self.isoforest()
src/ad_train.py:89: in isoforest
    md = model.fit(self.train_data.values)
.tox/code/lib/python3.10/site-packages/sklearn/base.py:1365: in wrapper
    return fit_method(estimator, *args, **kwargs)
.tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1051: in fit
    self._run_search(evaluate_candidates)
.tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1992: in _run_search
    evaluate_candidates(
.tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:997: in evaluate_candidates
    out = parallel(
.tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:82: in __call__
    return super().__call__(iterable_with_config_and_warning_filters)
.tox/code/lib/python3.10/site-packages/joblib/parallel.py:1986: in __call__
    return output if self.return_generator else list(output)
.tox/code/lib/python3.10/site-packages/joblib/parallel.py:1914: in _get_sequential_output
    res = func(*args, **kwargs)
.tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:147: in __call__
    return self.function(*args, **kwargs)
.tox/code/lib/python3.10/site-packages/sklearn/model_selection/_validation.py:851: in _fit_and_score
    X_train, y_train = _safe_split(estimator, X, y, train)
.tox/code/lib/python3.10/site-packages/sklearn/utils/metaestimators.py:156: in _safe_split
    X_subset = _safe_indexing(X, indices)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

X = array([[ 3.77292128e-01,  2.86786711e-02,  1.11735082e-04, ...,
        -3.75802327e-01, -4.02027834e-03,  1.21858569e...0016081e-02,  7.00032162e-05, ...,
        -5.88727048e-01, -2.85562268e-02,  1.17085036e-02]],
      shape=(10000, 7))
indices = array(slice(None, None, None), dtype=object)

    def _safe_indexing(X, indices, *, axis=0):
        """Return rows, items or columns of X using indices.
    
        .. warning::
    
            This utility is documented, but **private**. This means that
            backward compatibility might be broken without any deprecation
            cycle.
    
        Parameters
        ----------
        X : array-like, sparse-matrix, list, pandas.DataFrame, pandas.Series
            Data from which to sample rows, items or columns. `list` are only
            supported when `axis=0`.
        indices : bool, int, str, slice, array-like
            - If `axis=0`, boolean and integer array-like, integer slice,
              and scalar integer are supported.
            - If `axis=1`:
                - to select a single column, `indices` can be of `int` type for
                  all `X` types and `str` only for dataframe. The selected subset
                  will be 1D, unless `X` is a sparse matrix in which case it will
                  be 2D.
                - to select multiples columns, `indices` can be one of the
                  following: `list`, `array`, `slice`. The type used in
                  these containers can be one of the following: `int`, 'bool' and
                  `str`. However, `str` is only supported when `X` is a dataframe.
                  The selected subset will be 2D.
        axis : int, default=0
            The axis along which `X` will be subsampled. `axis=0` will select
            rows while `axis=1` will select columns.
    
        Returns
        -------
        subset
            Subset of X on axis 0 or 1.
    
        Notes
        -----
        CSR, CSC, and LIL sparse matrices are supported. COO sparse matrices are
        not supported.
    
        Examples
        --------
        >>> import numpy as np
        >>> from sklearn.utils import _safe_indexing
        >>> data = np.array([[1, 2], [3, 4], [5, 6]])
        >>> _safe_indexing(data, 0, axis=0)  # select the first row
        array([1, 2])
        >>> _safe_indexing(data, 0, axis=1)  # select the first column
        array([1, 3, 5])
        """
        if indices is None:
            return X
    
        if axis not in (0, 1):
            raise ValueError(
                "'axis' should be either 0 (to index rows) or 1 (to index "
                " column). Got {} instead.".format(axis)
            )
    
        indices_dtype = _determine_key_type(indices)
    
        if axis == 0 and indices_dtype == "str":
>           raise ValueError("String indexing is not supported with 'axis=0'")
E           ValueError: String indexing is not supported with 'axis=0'

.tox/code/lib/python3.10/site-packages/sklearn/utils/_indexing.py:305: ValueError
----------------------------- Captured stdout call -----------------------------
{"ts": 1774744640428, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training on 10000 Samples"}
{"ts": 1774744640444, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Validation on 10000 Samples"}
{"ts": 1774744640444, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training Starts"}
{"ts": 1774744640514, "crit": "INFO", "id": "ad_train", "mdc": {}, "msg": "Training Isolation Forest"}
_____________________________ test_predict_anomaly _____________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa1f441da80>
ad_ue =    du-id ServingCellId  RRU.PrbUsedDl  ...    x    y         measTimeStampRf
0   1002        c2/B13              8  ... -882 -959 2021-05-12 07:43:51.652

[1 rows x 12 columns]

    def test_predict_anomaly(monkeypatch, ad_ue):
        main.load_model()
>       main.predict_anomaly(monkeypatch, ad_ue)

tests/test_ad.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/main.py:99: in predict_anomaly
    df['Anomaly'] = md.predict(df)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ad_model.modelling object at 0x7fa1f441d870>
df =    du-id ServingCellId  RRU.PrbUsedDl  ...    x    y         measTimeStampRf
0   1002        c2/B13              8  ... -882 -959 2021-05-12 07:43:51.652

[1 rows x 12 columns]

    def predict(self, df):
        """ Load the saved model and return predicted result.
        Parameters
        .........
        name:str
            name of model
    
        Return
        ......
        pred:int
            predict label on a given sample
    
        """
        self.data = df.loc[:, self.num]
        self.transformation()
>       pred = self.model.predict(self.data)
E       AttributeError: 'modelling' object has no attribute 'model'

src/ad_model.py:78: AttributeError
----------------------------- Captured stdout call -----------------------------
{"ts": 1774744641262, "crit": "ERROR", "id": "ad_model", "mdc": {}, "msg": "Model Does not exsist"}
{"ts": 1774744641265, "crit": "INFO", "id": "src.main", "mdc": {}, "msg": "throughput threshold parameter is set as 70% (default)"}
=============================== warnings summary ===============================
tests/test_ad.py::test_trainModel
tests/test_ad.py::test_trainModel
  /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0!
  You are setting values through chained assignment. Currently this works in certain cases, but when using Copy-on-Write (which will become the default behaviour in pandas 3.0) this will never work to update the original DataFrame or Series, because the intermediate object on which we are setting values will behave as a copy.
  A typical example is when you are setting values in a column of a DataFrame, like:
  
  df["col"][row_indexer] = value
  
  Use `df.loc[row_indexer, "col"] = values` instead, to perform the assignment in a single step and ensure this keeps updating the original `df`.
  
  See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  
    self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.10.6-final-0 ________________

Name                Stmts   Miss  Cover   Missing
-------------------------------------------------
src/__init__.py         0      0   100%
src/ad_model.py        67     34    49%   41, 50-51, 57-58, 79-80, 98-115, 119-130
src/ad_train.py        69     22    68%   56-58, 66-68, 90-91, 94-101, 123-129
src/database.py        94     36    62%   64-75, 85-97, 106-110, 113-118, 161, 164
src/exceptions.py       4      4     0%   18-25
src/insert.py          50     50     0%   21-84
src/main.py           116     75    35%   41-46, 70-83, 100-114, 119-130, 139, 146-163, 167-170, 174-177, 181-185, 190-192
src/processing.py      44      0   100%
-------------------------------------------------
TOTAL                 444    221    50%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
Required test coverage of 50% reached. Total coverage: 50.23%
=========================== short test summary info ============================
FAILED tests/test_ad.py::test_trainModel - ValueError: String indexing is not...
FAILED tests/test_ad.py::test_predict_anomaly - AttributeError: 'modelling' o...
=================== 2 failed, 2 passed, 2 warnings in 19.49s ===================
code: exit 1 (22.17 seconds) /w/workspace/ric-app-ad-tox-sonarqube> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 pid=2573
code: FAIL ✖ in 1 minute 30.45 seconds
flake8: install_deps> python -I -m pip install flake8
flake8: freeze> python -m pip freeze --all
flake8: ad==1.0.1,flake8==7.3.0,mccabe==0.7.0,pip==26.0.1,pycodestyle==2.14.0,pyflakes==3.4.0,setuptools==82.0.0
flake8: commands[0]> flake8 setup.py src tests
  code: FAIL code 1 (90.45=setup[68.27]+cmd[22.17] seconds)
  flake8: OK (3.90=setup[3.45]+cmd[0.45] seconds)
  evaluation failed :( (94.41 seconds)
+ tox_status=1
+ echo '---> Completed tox runs'
---> Completed tox runs
+ for i in .tox/*/log
++ awk -F/ '{print $2}'
++ echo .tox/code/log
+ tox_env=code
+ cp -r .tox/code/log /w/workspace/ric-app-ad-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-ad-tox-sonarqube/archives/tox/flake8
+ DOC_DIR=docs/_build/html
+ [[ -d docs/_build/html ]]
+ echo '---> tox-run.sh ends'
---> tox-run.sh ends
+ test 1 -eq 0
+ exit 1
++ '[' 2 = 1 ']'
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1633 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins18120516855417565954.sh
---> sysstat.sh
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16045241520378008818.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
+ OS_FAMILY=debian
+ workspace=/w/workspace/ric-app-ad-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-ad-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-ad-tox-sonarqube ']'
+ mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16619499826748104521.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rrZD from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-rrZD/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14613107716303134014.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config7445232679843348024tmp
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-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins99568586365175799.sh
---> create-netrc.sh
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6715544016748327414.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rrZD from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools 
lf-activate-venv(): INFO: Adding /tmp/venv-rrZD/bin to PATH
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13200157597516370667.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2928069592753659178.sh
---> job-cost.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rrZD from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 
lf-activate-venv(): INFO: Adding /tmp/venv-rrZD/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v3-starter-2
INFO: Archiving Costs
[ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1969061457199794791.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rrZD from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)
lf-activate-venv(): INFO: Attempting to install with network-safe options...
lf-activate-venv(): INFO: Base packages installed successfully
lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 
lf-activate-venv(): INFO: Adding /tmp/venv-rrZD/bin to PATH
INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/276
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-builder-2c-2g-10021 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:             2800.000
BogoMIPS:            5600.00
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            2.0G     0  2.0G   0% /dev
tmpfs           395M  668K  394M   1% /run
/dev/vda1        20G  7.7G   12G  41% /
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/vda15      105M  5.3M  100M   5% /boot/efi
tmpfs           395M     0  395M   0% /run/user/1001


---> free -m:
              total        used        free      shared  buff/cache   available
Mem:           3944         347        1009           0        2587        3316
Swap:          1023           0        1023


---> ip addr:
1: lo: <LOOPBACK,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000
    link/ether fa:16:3e:47:38:e4 brd ff:ff:ff:ff:ff:ff
    inet 10.32.6.152/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86072sec preferred_lft 86072sec
    inet6 fe80::f816:3eff:fe47:38e4/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-10021) 	03/29/26 	_x86_64_	(2 CPU)

00:33:43     LINUX RESTART	(2 CPU)

00:34:01          tps      rtps      wtps   bread/s   bwrtn/s
00:35:02        84.86     22.13     62.73    883.17   5074.71
00:36:01        59.74     12.17     47.57   1040.37   8479.51
00:37:01        98.22     37.53     60.69   1575.20  15710.18
00:38:01        34.07      3.48     30.59    120.36   9760.88
00:39:01        27.77      0.67     27.11     77.71   2089.97
Average:        60.93     15.20     45.73    738.32   8221.93

00:34:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
00:35:02      1810012   3375816   2229040     55.19     42444   1684912    661668     13.01    557112   1521760    153272
00:36:01      1725588   3486792   2313464     57.28     60444   1848608    524508     10.31    438756   1697420    122528
00:37:01       945628   3335296   3093424     76.59     76248   2439100    711888     13.99    718884   2149952    242536
00:38:01       996912   3353984   3042140     75.32     79968   2401240    639516     12.57    630780   2186032     34604
00:39:01       975128   3343260   3063924     75.86     81844   2410216    651140     12.80    647464   2189212     16164
Average:      1290654   3379030   2748398     68.05     68190   2156815    637744     12.54    598599   1948875    113821

00:34:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
00:35:02         ens3    291.20    181.24   1381.83     54.24      0.00      0.00      0.00      0.00
00:35:02           lo      0.67      0.67      0.06      0.06      0.00      0.00      0.00      0.00
00:36:01         ens3     33.20     26.44    275.36      5.85      0.00      0.00      0.00      0.00
00:36:01           lo      1.76      1.76      0.17      0.17      0.00      0.00      0.00      0.00
00:37:01         ens3     67.22     50.94   1351.28      5.44      0.00      0.00      0.00      0.00
00:37:01           lo      0.60      0.60      0.06      0.06      0.00      0.00      0.00      0.00
00:38:01         ens3      8.56      8.36      8.21      3.63      0.00      0.00      0.00      0.00
00:38:01           lo      3.93      3.93      0.21      0.21      0.00      0.00      0.00      0.00
00:39:01         ens3     11.61     12.43      9.09      6.01      0.00      0.00      0.00      0.00
00:39:01           lo      0.73      0.73      0.07      0.07      0.00      0.00      0.00      0.00
Average:         ens3     82.53     55.98    606.24     15.07      0.00      0.00      0.00      0.00
Average:           lo      1.54      1.54      0.11      0.11      0.00      0.00      0.00      0.00


---> sar -P ALL:
Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-10021) 	03/29/26 	_x86_64_	(2 CPU)

00:33:43     LINUX RESTART	(2 CPU)

00:34:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
00:35:02        all     40.94      0.00      2.90      5.67      1.98     48.51
00:35:02          0     42.08      0.00      2.65      7.18      2.14     45.94
00:35:02          1     39.80      0.00      3.12      4.15      1.84     51.09
00:36:01        all     41.56      0.00      2.95      3.07      2.11     50.31
00:36:01          0     50.64      0.00      3.61      5.45      2.24     38.06
00:36:01          1     32.53      0.00      2.30      0.69      1.98     62.50
00:37:01        all     35.54      0.00      3.10      4.61      1.88     54.86
00:37:01          0     42.77      0.00      3.37      6.80      2.21     44.85
00:37:01          1     28.32      0.00      2.87      2.45      1.54     64.82
00:38:01        all     33.25      0.00      2.12      1.06      1.70     61.87
00:38:01          0     51.46      0.00      2.79      1.01      1.95     42.79
00:38:01          1     15.31      0.00      1.43      1.08      1.46     80.72
00:39:01        all     41.61      0.00      2.11      1.60      1.68     53.00
00:39:01          0     47.03      0.00      2.53      0.95      1.71     47.78
00:39:01          1     36.20      0.00      1.72      2.27      1.64     58.17
Average:        all     38.57      0.00      2.64      3.20      1.87     53.73
Average:          0     46.78      0.00      2.99      4.28      2.05     43.90
Average:          1     30.39      0.00      2.28      2.13      1.69     63.51


