Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-builder-2c-2g-828 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/com-pylog-tox-sonarqube
[ssh-agent] Looking for ssh-agent implementation...
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-uPFI0QuUg4eM/agent.1589
SSH_AGENT_PID=1591
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/com-pylog-tox-sonarqube@tmp/private_key_3152910318598314903.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/com/pylog
 > git init /w/workspace/com-pylog-tox-sonarqube # timeout=10
Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog
 > 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/com/pylog +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog # 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 34b33525519549b8b6ff6074aafb46e0d3087f4a (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 34b33525519549b8b6ff6074aafb46e0d3087f4a # timeout=10
Commit message: "RIC:1060: Change in PTL"
 > git rev-list --no-walk 34b33525519549b8b6ff6074aafb46e0d3087f4a # 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
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins10503367144538990656.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-qppL
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-qppL/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.31.0 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible.
Python 3.10.6
pip 25.3 from /tmp/venv-qppL/lib/python3.10/site-packages/pip (python 3.10)
appdirs==1.4.4
argcomplete==3.6.3
aspy.yaml==1.3.0
attrs==25.4.0
autopage==0.5.2
backports.strenum==1.3.1
beautifulsoup4==4.14.3
boto3==1.42.10
botocore==1.42.10
bs4==0.0.2
cachetools==6.2.4
certifi==2025.11.12
cffi==2.0.0
cfgv==3.5.0
chardet==5.2.0
charset-normalizer==3.4.4
click==8.3.1
cliff==4.13.0
cmd2==3.0.0
cryptography==3.3.2
debtcollector==3.0.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.20.1
future==1.0.0
gitdb==4.0.12
GitPython==3.1.45
google-auth==2.45.0
httplib2==0.31.0
identify==2.6.15
idna==3.11
importlib-resources==1.5.0
iso8601==2.1.0
Jinja2==3.1.6
jmespath==1.0.1
jsonpatch==1.33
jsonpointer==3.0.0
jsonschema==4.25.1
jsonschema-specifications==2025.9.1
keystoneauth1==5.12.0
kubernetes==34.1.0
lftools==0.37.18
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.9.1
oauth2client==4.1.3
oauthlib==3.3.1
openstacksdk==4.8.0
os-service-types==1.8.2
osc-lib==4.2.0
oslo.config==10.1.0
oslo.context==6.2.0
oslo.i18n==6.7.1
oslo.log==7.2.1
oslo.serialization==5.8.0
oslo.utils==9.2.0
packaging==25.0
pbr==7.0.3
platformdirs==4.5.1
prettytable==3.17.0
psutil==7.1.3
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycparser==2.23
pygerrit2==2.0.15
PyGithub==2.8.1
Pygments==2.19.2
PyJWT==2.10.1
PyNaCl==1.6.1
pyparsing==2.4.7
pyperclip==1.11.0
pyrsistent==0.20.0
python-cinderclient==9.8.0
python-dateutil==2.9.0.post0
python-heatclient==4.3.0
python-jenkins==1.8.3
python-keystoneclient==5.7.0
python-magnumclient==4.9.0
python-openstackclient==8.2.0
python-swiftclient==4.9.0
PyYAML==6.0.3
referencing==0.37.0
requests==2.32.5
requests-oauthlib==2.0.0
requestsexceptions==1.4.0
rfc3986==2.0.0
rich==14.2.0
rich-argparse==1.7.2
rpds-py==0.30.0
rsa==4.9.1
ruamel.yaml==0.18.16
ruamel.yaml.clib==0.2.15
s3transfer==0.16.0
simplejson==3.20.2
six==1.17.0
smmap==5.0.2
soupsieve==2.8
stevedore==5.6.0
tabulate==0.9.0
toml==0.10.2
tomlkit==0.13.3
tqdm==4.67.1
typing_extensions==4.15.0
tzdata==2025.3
urllib3==1.26.20
virtualenv==20.35.4
wcwidth==0.2.14
websocket-client==1.9.0
wrapt==2.0.1
xdg==6.0.0
xmltodict==1.0.2
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.
[com-pylog-tox-sonarqube] $ /bin/sh /tmp/jenkins17655786083718646105.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.
[com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1670380112780032484.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-ICpo
+ 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/com-pylog-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=
++ pyenv versions
++ local command
++ command=versions
++ '[' 1 -gt 0 ']'
++ shift
++ case "$command" in
++ command pyenv versions
++ pyenv versions
++ grep -E '^[0-9.]*[0-9]$'
++ awk '{ print $1 }'
++ sed 's/^[ *]* //'
++ [[ ! -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-ICpo
+ echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ICpo'
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ICpo
+ echo /tmp/venv-ICpo
+ 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-ICpo/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-ICpo/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-ICpo/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-ICpo/bin to PATH
+ PATH=/tmp/venv-ICpo/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 25.3 from /tmp/venv-ICpo/lib/python3.10/site-packages/pip (python 3.10)
+ python3 -m pip freeze
cachetools==6.2.4
chardet==5.2.0
colorama==0.4.6
distlib==0.4.0
filelock==3.20.1
packaging==25.0
platformdirs==4.5.1
pluggy==1.6.0
pyproject-api==1.10.0
tomli==2.3.0
tox==4.32.0
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==20.35.4
[com-pylog-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins11444180205111555322.sh
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
PARALLEL=False

[EnvInject] - Variables injected successfully.
[com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins4790500135549961859.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/com-pylog-tox-sonarqube/archives/tox
+ ARCHIVE_DOC_DIR=/w/workspace/com-pylog-tox-sonarqube/archives/docs
+ mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/tox
+ cd /w/workspace/com-pylog-tox-sonarqube/mdclogpy
+ 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-oupy
+ 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/com-pylog-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=
++ sed 's/^[ *]* //'
++ pyenv versions
++ local command
++ command=versions
++ '[' 1 -gt 0 ']'
++ shift
++ case "$command" in
++ command pyenv versions
++ pyenv versions
++ grep -E '^[0-9.]*[0-9]$'
++ awk '{ print $1 }'
++ [[ ! -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 ]]
++ cat /tmp/.toxenv
+ lf_venv=/tmp/venv-ICpo
+ echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ICpo from' file:/tmp/.toxenv
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ICpo 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-ICpo/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-ICpo/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-ICpo/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-ICpo/bin to PATH
+ PATH=/tmp/venv-ICpo/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-ICpo/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-ICpo/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/com-pylog-tox-sonarqube/mdclogpy
+ export PYTHONPATH
+ export TOX_TESTENV_PASSENV=PYTHONPATH
+ TOX_TESTENV_PASSENV=PYTHONPATH
+ tox --version
4.32.0 from /tmp/venv-ICpo/lib/python3.10/site-packages/tox/__init__.py
+ PARALLEL=False
+ TOX_OPTIONS_LIST=
+ [[ -n py3 ]]
+ TOX_OPTIONS_LIST=' -e py3'
+ case ${PARALLEL,,} in
+ tox -e py3
+ tee -a /w/workspace/com-pylog-tox-sonarqube/archives/tox/tox.log
py3: install_deps> python -I -m pip install coverage inotify pytest pytest-cov
.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0'
.pkg: _optional_hooks> python /tmp/venv-ICpo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /tmp/venv-ICpo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /tmp/venv-ICpo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: freeze> python -m pip freeze --all
.pkg: pip==25.3,setuptools==80.9.0
.pkg: prepare_metadata_for_build_wheel> python /tmp/venv-ICpo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /tmp/venv-ICpo/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
py3: install_package_deps> python -I -m pip install inotify
py3: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.tmp/package/1/mdclogpy-1.1.4.tar.gz
py3: freeze> python -m pip freeze --all
py3: build==1.3.0,coverage==7.13.0,exceptiongroup==1.3.1,iniconfig==2.3.0,inotify==0.2.12,mdclogpy @ file:///w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.tmp/package/1/mdclogpy-1.1.4.tar.gz#sha256=86314973581fcf1839fb1e7f7ed835d7d5b5a92e14a96b7129143645fd285d77,packaging==25.0,pip==25.3,pluggy==1.6.0,Pygments==2.19.2,pyproject_hooks==1.2.0,pytest==9.0.2,pytest-cov==7.0.0,setuptools==80.9.0,tomli==2.3.0,typing_extensions==4.15.0
py3: commands[0]> pytest --junitxml xunit-results.xml --cov mdclogpy --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-9.0.2, pluggy-1.6.0
cachedir: .tox/py3/.pytest_cache
rootdir: /w/workspace/com-pylog-tox-sonarqube/mdclogpy
plugins: cov-7.0.0
collected 22 items

tst/test_Logger.py .................                                     [ 77%]
tst/test_mdclogpy.py .....                                               [100%]

=============================== warnings summary ===============================
tst/test_Logger.py:138
  /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:138: DeprecationWarning: invalid escape sequence '\ '
    self.logger.info('\ and "')

tst/test_Logger.py:143
  /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:143: DeprecationWarning: invalid escape sequence '\ '
    self.assertEqual(logs[0]["msg"], '\ and "')

tst/test_Logger.py::TestMdcLog::test_that_empty_mdc_is_logged_correctly
  /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3/lib/python3.10/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-1 (monitor_loglevel_change_handler)
  
  Traceback (most recent call last):
    File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
      self.run()
    File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run
      self._target(*self._args, **self._kwargs)
    File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 233, in monitor_loglevel_change_handler
      self.parse_file()
    File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 215, in parse_file
      src = open(self.filename,'r')
  FileNotFoundError: [Errno 2] No such file or directory: '/tmp/log'
  
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/xunit-results.xml -
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.10.6-final-0 ________________

Name                   Stmts   Miss  Cover   Missing
----------------------------------------------------
mdclogpy/Logger.py       133     10    92%   83-87, 95, 189-190, 241-243
mdclogpy/__init__.py      28      4    86%   42, 82, 87, 92
----------------------------------------------------
TOTAL                    161     14    91%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
Required test coverage of 70% reached. Total coverage: 91.30%
======================== 22 passed, 3 warnings in 0.49s ========================
py3: commands[1]> coverage xml -i
Wrote XML report to coverage.xml
  py3: OK (20.31=setup[18.76]+cmd[1.32,0.23] seconds)
  congratulations :) (20.35 seconds)
+ tox_status=0
+ echo '---> Completed tox runs'
---> Completed tox runs
+ for i in .tox/*/log
++ awk -F/ '{print $2}'
++ echo .tox/py3/log
+ tox_env=py3
+ cp -r .tox/py3/log /w/workspace/com-pylog-tox-sonarqube/archives/tox/py3
+ 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-828
[com-pylog-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_com-pylog -Dsonar.projectName=com-pylog -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=mdclogpy -Dsonar.python.coverage.reportPaths=mdclogpy/coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/com-pylog-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=490ms
INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
INFO: Loading required plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=257ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=906ms
INFO: Loaded core extensions: architecture, sca, a3s
INFO: Process project properties
INFO: Project key: o-ran-sc_com-pylog
INFO: Base dir: /w/workspace/com-pylog-tox-sonarqube
INFO: Working dir: /w/workspace/com-pylog-tox-sonarqube/.scannerwork
INFO: Found an active CI vendor: 'Jenkins'
INFO: Load project branches
INFO: Load project branches (done) | time=337ms
INFO: Load project settings for component key: 'o-ran-sc_com-pylog'
INFO: Load project settings for component key: 'o-ran-sc_com-pylog' (done) | time=357ms
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Check ALM binding of project 'o-ran-sc_com-pylog'
INFO: Detected project binding: BOUND
INFO: Check ALM binding of project 'o-ran-sc_com-pylog' (done) | time=188ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=178ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=6ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=498ms
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Create analysis
INFO: Create analysis (done) | time=339ms
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Load active rules
INFO: Load active rules (done) | time=1435ms
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...
WARN: File '/w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.pkg/bin/python' is ignored. It is a symbolic link targeting a file not located in project basedir.
WARN: File '/w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3/bin/python' is ignored. It is a symbolic link targeting a file not located in project basedir.
INFO: 2 languages detected in 19 preprocessed files (done) | time=542ms
INFO: 0 files ignored because of inclusion/exclusion patterns
INFO: 3946 files ignored because of scm ignore settings
INFO: Loading plugins for detected languages
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=1131ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=349ms
INFO: Indexing files...
INFO: Project configuration:
INFO:   Excluded sources: **/build-wrapper-dump.json
INFO: 19 files indexed (done) | time=17ms
INFO: Quality profile for py: Sonar way
INFO: Quality profile for xml: Sonar way
INFO: ------------- Run sensors on module com-pylog
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=188ms
INFO: Sensor cache enabled
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: Load sensor cache
INFO: Load sensor cache (66 KB) | time=1788ms
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
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: 7 source files to be analyzed
INFO: 7/7 source files have been analyzed
INFO: Finished step global symbols computation in 1111ms
INFO: Starting rules execution
INFO: 7 source files to be analyzed
INFO: 7/7 source files have been analyzed
INFO: Finished step rules execution in 6886ms
INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 7 files. These files were not parsed.
INFO: Sensor Python Sensor [python] (done) | time=8420ms
INFO: Sensor Cobertura Sensor for Python coverage [python]
INFO: Python test coverage
INFO: Parsing report '/w/workspace/com-pylog-tox-sonarqube/mdclogpy/coverage.xml'
INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=209ms
INFO: Sensor PythonXUnitSensor [python]
INFO: Sensor PythonXUnitSensor [python] (done) | time=105ms
INFO: Sensor Python Dependency Sensor [python]
INFO: Sensor Python Dependency Sensor [python] (done) | time=4ms
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=49ms
INFO: Sensor XML Sensor [xml]
INFO: 2 source files to be analyzed
INFO: 2/2 source files have been analyzed
INFO: Sensor XML Sensor [xml] (done) | time=360ms
INFO: Sensor IaC hadolint report Sensor [iac]
INFO: Sensor IaC hadolint report Sensor [iac] (done) | time=3ms
INFO: Sensor Java Config Sensor [iac]
INFO: There are no files to be analyzed for the Java language
INFO: Sensor Java Config Sensor [iac] (done) | time=11ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: There are no files to be analyzed for the Docker language
INFO: Sensor IaC Docker Sensor [iac] (done) | time=2ms
INFO: Sensor IaC GitHub Actions Sensor [iac]
INFO: There are no files to be analyzed for the GitHub Actions language
INFO: Sensor IaC GitHub Actions Sensor [iac] (done) | time=1ms
INFO: Sensor IaC Shell Sensor [iac]
INFO: There are no files to be analyzed for the Shell language
INFO: Sensor IaC Shell Sensor [iac] (done) | time=0ms
INFO: Sensor EnterpriseTextAndSecretsSensor [textenterprise]
INFO: Available processors: 2
INFO: Using 2 threads for analysis.
INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:
  * The filename starts with "test"
  * The filename contains "test." or "tests."
  * Any directory in the file path is named: "doc", "docs", "test", "tests", "mock" or "mocks"
  * Any directory in the file path has a name ending in "test" or "tests"

INFO: Start fetching files for the text and secrets analysis
INFO: Using Git CLI to retrieve untracked files
INFO: Retrieving language associated files and files included via "sonar.text.inclusions" that are tracked by git
INFO: Starting the text and secrets analysis
INFO: 9 source files to be analyzed for the text and secrets analysis
INFO: 9/9 source files have been analyzed for the text and secrets analysis
INFO: Start fetching files for the binary file analysis
INFO: There are no files to be analyzed for the binary file analysis
INFO: 2 files are ignored because they are untracked by git
INFO: Sensor EnterpriseTextAndSecretsSensor [textenterprise] (done) | time=1303ms
INFO: Sensor javabugs [dbd]
INFO: No IR files have been included for analysis.
INFO: Sensor javabugs [dbd] (done) | time=8ms
INFO: Sensor pythonbugs [dbd]
INFO: Analyzing 47/79 functions to detect bugs.
INFO: Sensor pythonbugs [dbd] (done) | time=1096ms
INFO: Sensor PythonSecuritySensor [security]
INFO: 22 taint analysis rules enabled.
INFO: Analyzing 6308 UCFGs to detect vulnerabilities.
INFO: No entry points found.
INFO: python security sensor: Begin: 2025-12-16T17:50:04.295237920Z, End: 2025-12-16T17:50:07.101624286Z, Duration: 00:00:02.806
  Load type hierarchy and UCFGs: Begin: 2025-12-16T17:50:04.307886465Z, End: 2025-12-16T17:50:06.093546158Z, Duration: 00:00:01.785
    Load type hierarchy: Begin: 2025-12-16T17:50:04.307913396Z, End: 2025-12-16T17:50:04.618491081Z, Duration: 00:00:00.310
    Load UCFGs: Begin: 2025-12-16T17:50:04.618880387Z, End: 2025-12-16T17:50:06.093394455Z, Duration: 00:00:01.474
  Check cache: Begin: 2025-12-16T17:50:06.094011926Z, End: 2025-12-16T17:50:06.095036144Z, Duration: 00:00:00.001
    Load cache: Begin: 2025-12-16T17:50:06.094609746Z, End: 2025-12-16T17:50:06.094635067Z, Duration: 00:00:00.000
  Create runtime call graph: Begin: 2025-12-16T17:50:06.095090054Z, End: 2025-12-16T17:50:06.508039843Z, Duration: 00:00:00.412
    Variable Type Analysis #1: Begin: 2025-12-16T17:50:06.095741055Z, End: 2025-12-16T17:50:06.362687315Z, Duration: 00:00:00.266
      Create runtime type propagation graph: Begin: 2025-12-16T17:50:06.096581169Z, End: 2025-12-16T17:50:06.241473539Z, Duration: 00:00:00.144
      Run SCC (Tarjan) on 14283 nodes: Begin: 2025-12-16T17:50:06.242767572Z, End: 2025-12-16T17:50:06.278144734Z, Duration: 00:00:00.035
      Propagate runtime types to strongly connected components: Begin: 2025-12-16T17:50:06.278338988Z, End: 2025-12-16T17:50:06.362566273Z, Duration: 00:00:00.084
    Variable Type Analysis #2: Begin: 2025-12-16T17:50:06.365193638Z, End: 2025-12-16T17:50:06.500550466Z, Duration: 00:00:00.135
      Create runtime type propagation graph: Begin: 2025-12-16T17:50:06.365204128Z, End: 2025-12-16T17:50:06.413590404Z, Duration: 00:00:00.048
      Run SCC (Tarjan) on 13618 nodes: Begin: 2025-12-16T17:50:06.413728276Z, End: 2025-12-16T17:50:06.437304778Z, Duration: 00:00:00.023
      Propagate runtime types to strongly connected components: Begin: 2025-12-16T17:50:06.437440830Z, End: 2025-12-16T17:50:06.500385313Z, Duration: 00:00:00.062
  Load config: Begin: 2025-12-16T17:50:06.508171815Z, End: 2025-12-16T17:50:06.980764411Z, Duration: 00:00:00.472
  Compute entry points: Begin: 2025-12-16T17:50:06.980901454Z, End: 2025-12-16T17:50:07.094169388Z, Duration: 00:00:00.113
INFO: python security sensor peak memory: 445 MB
INFO: Sensor PythonSecuritySensor [security] (done) | time=2814ms
INFO: ------------- Run sensors on project
INFO: Sensor PythonArchitectureSensor [architecture]
INFO: Architecture analysis is enabled with the following features: legacy
INFO: * Protobuf reading starting | memory total=610 | free=156 | used=453 (MB)
INFO: * Reading SonarArchitecture IR data from directory "/w/workspace/com-pylog-tox-sonarqube/.scannerwork/architecture/py"
INFO: * Files successfully loaded: "7" out of "7"
INFO: * Purging excluded nodes from graphs
INFO: * Protobuf reading complete | memory total=610 | free=143 | used=466 (MB)
INFO: * Build architecture.graph.py.file_graph.default_perspective hierarchy graph complete (filtered=false) | memory total=610 | free=141 | used=468 (MB)
INFO: Sensor PythonArchitectureSensor [architecture] (done) | time=374ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=15ms
INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'.
INFO: ------------- Gather SCA dependencies on project
INFO: Checking if SCA is enabled for organization o-ran-sc
INFO: Dependency analysis skipped
INFO: CPD Executor 1 file had no CPD blocks
INFO: CPD Executor Calculating CPD for 6 files
INFO: CPD Executor CPD calculation finished (done) | time=25ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 9 source files to be analyzed
INFO: SCM Publisher 7/9 source files have been analyzed (done) | time=427ms
WARN: Missing blame information for the following files:
WARN:   * mdclogpy/xunit-results.xml
WARN:   * mdclogpy/coverage.xml
WARN: This may lead to missing/broken features in SonarCloud
INFO: Analysis report generated in 612ms, dir size=405 KB
INFO: Analysis report compressed in 44ms, zip size=94 KB
INFO: Analysis report uploaded in 532ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_com-pylog
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=AZsoSKu9JZFat8uPESKP
INFO: ------------- Upload SCA dependency files
INFO: Sensor cache published successfully
INFO: Analysis total time: 30.116 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 37.283s
INFO: Final Memory: 269M/610M
INFO: ------------------------------------------------------------------------
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1591 killed;
[ssh-agent] Stopped.
[PostBuildScript] - [INFO] Executing post build scripts.
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins7366176867572025425.sh
---> sysstat.sh
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins1806444393515646825.sh
---> package-listing.sh
++ tr '[:upper:]' '[:lower:]'
++ facter osfamily
+ OS_FAMILY=debian
+ workspace=/w/workspace/com-pylog-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/com-pylog-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
+ '[' /w/workspace/com-pylog-tox-sonarqube ']'
+ mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/com-pylog-tox-sonarqube/archives/
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins16421521703623887407.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qppL 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-qppL/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins8267583918606824291.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/com-pylog-tox-sonarqube@tmp/config17001462838471903525tmp
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.
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins3520788951526838256.sh
---> create-netrc.sh
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins2792614104863976030.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qppL 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-qppL/bin to PATH
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins3278978111085438138.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins10646565018651747478.sh
---> job-cost.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qppL 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-qppL/bin to PATH
INFO: No Stack...
INFO: Retrieving Pricing Info for: v3-starter-2
INFO: Archiving Costs
[com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17398067630177348230.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qppL 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-qppL/bin to PATH
INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/com-pylog-tox-sonarqube/271
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-builder-2c-2g-828 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            2.0G     0  2.0G   0% /dev
tmpfs           395M  668K  394M   1% /run
/dev/vda1        20G  7.5G   12G  39% /
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         378        1298           0        2267        3296
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:5a:ab:ba brd ff:ff:ff:ff:ff:ff
    inet 10.32.7.74/23 brd 10.32.7.255 scope global dynamic ens3
       valid_lft 86102sec preferred_lft 86102sec
    inet6 fe80::f816:3eff:fe5a:abba/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-828) 	12/16/25 	_x86_64_	(2 CPU)

17:46:44     LINUX RESTART	(2 CPU)

17:47:01          tps      rtps      wtps   bread/s   bwrtn/s
17:48:01        92.43     22.49     69.94    894.36   5213.35
17:49:01        62.53     11.45     51.08   1025.79   9276.51
17:50:01        77.24     31.87     45.37   1372.88  10056.78
17:51:01        50.42      4.85     45.58    179.30   3539.54
Average:        70.56     17.64     52.92    868.00   7029.33

17:47:01    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
17:48:01      1834340   3352544   2204720     54.58     41036   1639736    657180     12.92    570652   1484104    110516
17:49:01      1656832   3416788   2382228     58.98     59868   1847120    580956     11.42    504400   1695880    128404
17:50:01       730524   2761092   3308536     81.91     69256   2095976   1300600     25.56   1213956   1886148     69512
17:51:01      1349460   3398516   2689600     66.59     70880   2113020    573864     11.28    618572   1865100     32260
Average:      1392789   3232235   2646271     65.52     60260   1923963    778150     15.29    726895   1732808     85173

17:47:01        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
17:48:01         ens3    281.88    145.89   1161.85     51.09      0.00      0.00      0.00      0.00
17:48:01           lo      0.75      0.75      0.07      0.07      0.00      0.00      0.00      0.00
17:49:01         ens3     29.64     23.99    263.01      4.97      0.00      0.00      0.00      0.00
17:49:01           lo      1.33      1.33      0.12      0.12      0.00      0.00      0.00      0.00
17:50:01         ens3    351.03    154.98   2213.97     17.85      0.00      0.00      0.00      0.00
17:50:01           lo      0.73      0.73      0.09      0.09      0.00      0.00      0.00      0.00
17:51:01         ens3     19.31     18.33     12.67     12.23      0.00      0.00      0.00      0.00
17:51:01           lo      0.80      0.80      0.07      0.07      0.00      0.00      0.00      0.00
Average:         ens3    170.00     85.55    911.86     21.41      0.00      0.00      0.00      0.00
Average:           lo      0.90      0.90      0.09      0.09      0.00      0.00      0.00      0.00


---> sar -P ALL:
Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-828) 	12/16/25 	_x86_64_	(2 CPU)

17:46:44     LINUX RESTART	(2 CPU)

17:47:01        CPU     %user     %nice   %system   %iowait    %steal     %idle
17:48:01        all     42.17      0.00      2.90      5.59      1.80     47.54
17:48:01          0     32.59      0.00      2.92      4.61      1.54     58.34
17:48:01          1     51.72      0.00      2.89      6.55      2.08     36.76
17:49:01        all     42.95      0.00      3.14      2.62      1.44     49.84
17:49:01          0     21.04      0.00      2.38      2.76      1.01     72.81
17:49:01          1     64.94      0.00      3.92      2.50      1.85     26.78
17:50:01        all     53.18      0.00      3.82      2.52      2.32     38.15
17:50:01          0     58.92      0.00      3.52      2.40      2.35     32.80
17:50:01          1     47.46      0.00      4.12      2.62      2.29     43.50
17:51:01        all     48.83      0.00      2.30      2.39      1.59     44.88
17:51:01          0     53.46      0.00      2.33      2.25      1.78     40.18
17:51:01          1     44.19      0.00      2.25      2.54      1.40     49.62
Average:        all     46.80      0.00      3.04      3.27      1.79     45.10
Average:          0     41.52      0.00      2.79      3.00      1.67     51.02
Average:          1     52.08      0.00      3.30      3.54      1.91     39.17


