Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-ubuntu1804-docker-8c-8g-18193 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar
The recommended git tool is: NONE
using credential onap-jenkins-ssh
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository git://cloud.onap.org/mirror/dcaegen2/services
 > git init /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar # timeout=10
Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/services
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
using GIT_SSH to set credentials Gerrit user
Verifying host key using manually-configured host key entries
 > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/services +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/services # 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 8b09486c391b9af16ef70d76f40b5380c650e483 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8b09486c391b9af16ef70d76f40b5380c650e483 # timeout=10
Commit message: "Chore: Add dependabot config"
 > git rev-list --no-walk 8b09486c391b9af16ef70d76f40b5380c650e483 # timeout=10
Run condition [Boolean condition] enabling prebuild for step [BuilderChain]
Run condition [Not] preventing prebuild for step [BuilderChain]
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins11870415335932004151.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-s5CB
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-s5CB/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-s5CB/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.6.0
backports.strenum==1.3.1
beautifulsoup4==4.14.3
boto3==1.42.51
botocore==1.42.51
bs4==0.0.2
certifi==2026.1.4
cffi==2.0.0
cfgv==3.5.0
chardet==5.2.0
charset-normalizer==3.4.4
click==8.3.1
cliff==4.13.2
cmd2==3.2.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.24.2
future==1.0.0
gitdb==4.0.12
GitPython==3.1.46
httplib2==0.30.2
identify==2.6.16
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.0.0
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
keystoneauth1==5.13.0
kubernetes==35.0.0
lftools==0.37.21
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.0.0
oslo.serialization==5.9.1
oslo.utils==9.2.0
packaging==26.0
pbr==7.0.3
platformdirs==4.9.2
prettytable==3.17.0
psutil==7.2.2
pyasn1==0.6.2
pyasn1_modules==0.4.2
pycparser==3.0
pygerrit2==2.0.15
PyGithub==2.8.1
Pygments==2.19.2
PyJWT==2.11.0
PyNaCl==1.6.2
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==5.0.0
python-jenkins==1.8.3
python-keystoneclient==5.7.0
python-magnumclient==4.9.0
python-openstackclient==9.0.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.3.2
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.2
soupsieve==2.8.3
stevedore==5.6.0
tabulate==0.9.0
toml==0.10.2
tomlkit==0.14.0
tqdm==4.67.3
typing_extensions==4.15.0
tzdata==2025.3
urllib3==1.26.20
virtualenv==20.37.0
wcwidth==0.6.0
websocket-client==1.9.0
wrapt==2.1.1
xdg==6.0.0
xmltodict==1.0.3
yq==3.4.3
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
PYTHON=python3

[EnvInject] - Variables injected successfully.
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash -l /tmp/jenkins10978719079044869520.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-jghB
+ 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/dcaegen2-services-ml-prediction-ms-tox-sonar/.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
++ sed 's/^[ *]* //'
++ command=versions
++ '[' 1 -gt 0 ']'
++ awk '{ print $1 }'
++ shift
++ case "$command" in
++ command pyenv versions
++ pyenv versions
++ grep -E '^[0-9.]*[0-9]$'
++ [[ ! -s /tmp/.pyenv_versions ]]
+++ grep '^3' /tmp/.pyenv_versions
+++ tail -n 1
+++ sort -V
++ py_version_xyz=3.10.6
++ [[ -z 3.10.6 ]]
++ echo 3.10.6
++ return 0
+ pyenv local 3.10.6
+ local command
+ command=local
+ '[' 2 -gt 0 ']'
+ shift
+ case "$command" in
+ command pyenv local 3.10.6
+ pyenv local 3.10.6
+ for arg in "$@"
+ case $arg in
+ pkg_list+='tox '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='virtualenv '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='urllib3~=1.26.15 '
+ [[ -f /tmp/.toxenv ]]
+ [[ ! -f /tmp/.toxenv ]]
+ [[ -n '' ]]
+ python3 -m venv /tmp/venv-jghB
+ echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jghB'
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jghB
+ echo /tmp/venv-jghB
+ 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-jghB/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-jghB/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-jghB/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-jghB/bin to PATH
+ PATH=/tmp/venv-jghB/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-jghB/lib/python3.10/site-packages/pip (python 3.10)
+ python3 -m pip freeze
cachetools==7.0.1
chardet==5.2.0
colorama==0.4.6
distlib==0.4.0
filelock==3.24.2
packaging==26.0
platformdirs==4.9.2
pluggy==1.6.0
pyproject-api==1.10.0
tomli==2.4.0
tox==4.38.0
typing_extensions==4.15.0
urllib3==1.26.20
virtualenv==20.37.0
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/sh -xe /tmp/jenkins16239753999612739079.sh
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
PARALLEL=True

[EnvInject] - Variables injected successfully.
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash -l /tmp/jenkins1533142009246143333.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/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/tox
+ ARCHIVE_DOC_DIR=/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/docs
+ mkdir -p /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/tox
+ cd /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms
+ 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-JKaW
+ 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/dcaegen2-services-ml-prediction-ms-tox-sonar/.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/^[ *]* //'
++ awk '{ print $1 }'
++ grep -E '^[0-9.]*[0-9]$'
++ [[ ! -s /tmp/.pyenv_versions ]]
+++ grep '^3' /tmp/.pyenv_versions
+++ sort -V
+++ tail -n 1
++ py_version_xyz=3.10.6
++ [[ -z 3.10.6 ]]
++ echo 3.10.6
++ return 0
+ pyenv local 3.10.6
+ local command
+ command=local
+ '[' 2 -gt 0 ']'
+ shift
+ case "$command" in
+ command pyenv local 3.10.6
+ pyenv local 3.10.6
+ for arg in "$@"
+ case $arg in
+ pkg_list+='tox '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='virtualenv '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='urllib3~=1.26.15 '
+ [[ -f /tmp/.toxenv ]]
++ cat /tmp/.toxenv
+ lf_venv=/tmp/venv-jghB
+ echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jghB from' file:/tmp/.toxenv
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jghB 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-jghB/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-jghB/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-jghB/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-jghB/bin to PATH
+ PATH=/tmp/venv-jghB/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-jghB/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-jghB/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/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms
+ export PYTHONPATH
+ export TOX_TESTENV_PASSENV=PYTHONPATH
+ TOX_TESTENV_PASSENV=PYTHONPATH
+ tox --version
4.38.0 from /tmp/venv-jghB/lib/python3.10/site-packages/tox/__init__.py
+ PARALLEL=True
+ TOX_OPTIONS_LIST=
+ [[ -n py3 ]]
+ TOX_OPTIONS_LIST=' -e py3'
+ case ${PARALLEL,,} in
+ TOX_OPTIONS_LIST=' -e py3 --parallel auto --parallel-live'
+ tox -e py3 --parallel auto --parallel-live
+ tee -a /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/tox/tox.log
py3: install_deps> python -I -m pip install coverage pytest pytest-cov requests-mock responses scikit-learn -r requirements.txt
[31m  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
        File "/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-_0maskfj/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-_0maskfj/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-_0maskfj/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 520, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-_0maskfj/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 19, in <module>
      ModuleNotFoundError: No module named 'pkg_resources'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pandas' when getting requirements to build wheel
Collecting coverage
  Downloading coverage-7.13.4-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (8.5 kB)
Collecting pytest
  Downloading pytest-9.0.2-py3-none-any.whl.metadata (7.6 kB)
Collecting pytest-cov
  Downloading pytest_cov-7.0.0-py3-none-any.whl.metadata (31 kB)
Collecting requests-mock
  Downloading requests_mock-1.12.1-py2.py3-none-any.whl.metadata (4.1 kB)
Collecting responses
  Downloading responses-0.25.8-py3-none-any.whl.metadata (47 kB)
Collecting scikit-learn
  Downloading scikit_learn-1.7.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (11 kB)
Collecting flask==1.1.2 (from -r requirements.txt (line 10))
  Downloading Flask-1.1.2-py2.py3-none-any.whl.metadata (4.6 kB)
Collecting requests==2.24.0 (from -r requirements.txt (line 11))
  Downloading requests-2.24.0-py2.py3-none-any.whl.metadata (6.9 kB)
Collecting responses
  Downloading responses-0.16.0-py2.py3-none-any.whl.metadata (25 kB)
Collecting pandas==1.1.5 (from -r requirements.txt (line 13))
  Downloading pandas-1.1.5.tar.gz (5.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/5.2 MB 40.7 MB/s  0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
py3: exit 1 (6.64 seconds) /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms> python -I -m pip install coverage pytest pytest-cov requests-mock responses scikit-learn -r requirements.txt pid=2895
[39m  py3: FAIL code 1 (7.41 seconds)
  evaluation failed :( (7.44 seconds)
+ tox_status=1
+ echo '---> Completed tox runs'
---> Completed tox runs
+ for i in .tox/*/log
++ echo .tox/py3/log
++ awk -F/ '{print $2}'
+ tox_env=py3
+ cp -r .tox/py3/log /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/tox/py3
+ 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
[PostBuildScript] - [INFO] Executing post build scripts.
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins7532791818754193386.sh
---> sysstat.sh
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins15852480354287466836.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
+ OS_FAMILY=debian
+ workspace=/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar
+ 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/dcaegen2-services-ml-prediction-ms-tox-sonar ']'
+ 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/dcaegen2-services-ml-prediction-ms-tox-sonar ']'
+ mkdir -p /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins3303224804646987290.sh
---> capture-instance-metadata.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-s5CB 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-s5CB/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins10464772497455325856.sh
provisioning config files...
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar@tmp/config13281566535931422710tmp
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.
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins4209533805676244330.sh
---> create-netrc.sh
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins9081045367522647594.sh
---> python-tools-install.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-s5CB 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-s5CB/bin to PATH
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins7106621868557161678.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash /tmp/jenkins15109674015967077263.sh
---> job-cost.sh
INFO: Activating Python virtual environment...
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-s5CB 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-s5CB/bin to PATH
INFO: No stack-cost file found
INFO: Instance uptime: 191s
INFO: Fetching instance metadata (attempt 1 of 3)...
DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type
INFO: Successfully fetched instance metadata
INFO: Instance type: v3-standard-8
INFO: Retrieving pricing info for: v3-standard-8
INFO: Fetching Vexxhost pricing API (attempt 1 of 3)...
DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-8/cost?seconds=191
INFO: Successfully fetched Vexxhost pricing API
INFO: Retrieved cost: 0.22
INFO: Retrieved resource: v3-standard-8
INFO: Creating archive directory: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/cost
INFO: Archiving costs to: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/archives/cost.csv
INFO: Successfully archived job cost data
DEBUG: Cost data: dcaegen2-services-ml-prediction-ms-tox-sonar,1461,2026-02-18 12:43:57,v3-standard-8,191,0.22,0.00,FAILURE
[dcaegen2-services-ml-prediction-ms-tox-sonar] $ /bin/bash -l /tmp/jenkins13858070472720599874.sh
---> logs-deploy.sh
Setup pyenv:
  system
  3.8.13
  3.9.13
* 3.10.6 (set by /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-s5CB 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-s5CB/bin to PATH
INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-services-ml-prediction-ms-tox-sonar/1461
INFO: archiving workspace using pattern(s): -p **/*.log
Archives upload complete.
INFO: archiving logs to Nexus
---> uname -a:
Linux prd-ubuntu1804-docker-8c-8g-18193 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 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):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           8
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-7
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:
8


---> df -h:
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  712K  3.2G   1% /run
/dev/vda1       155G   11G  145G   7% /
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/vda15      105M  4.4M  100M   5% /boot/efi
tmpfs           3.2G     0  3.2G   0% /run/user/1001


---> free -m:
              total        used        free      shared  buff/cache   available
Mem:          32167         785       29216           0        2165       30956
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 1458 qdisc mq state UP group default qlen 1000
    link/ether fa:16:3e:31:24:8d brd ff:ff:ff:ff:ff:ff
    inet 10.30.107.88/23 brd 10.30.107.255 scope global dynamic ens3
       valid_lft 86211sec preferred_lft 86211sec
    inet6 fe80::f816:3eff:fe31:248d/64 scope link 
       valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:ce:81:ec:8c brd ff:ff:ff:ff:ff:ff
    inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0
       valid_lft forever preferred_lft forever


---> sar -b -r -n DEV:
Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-18193) 	02/18/26 	_x86_64_	(8 CPU)

12:41:25     LINUX RESTART	(8 CPU)

12:42:02          tps      rtps      wtps   bread/s   bwrtn/s
12:43:01       369.33     29.62    339.71    956.04  19925.44
12:44:01       109.97      4.75    105.22    201.70  21603.47
Average:       238.56     17.08    221.48    575.70  20771.50

12:42:02    kbmemfree   kbavail kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
12:43:01     30069272  31738488   2869948      8.71     76312   1896940   1367020      4.02    816208   1750388    224280
12:44:01     29945904  31726364   2993316      9.09     86820   1991656   1410480      4.15    852540   1825644     28144
Average:     30007588  31732426   2931632      8.90     81566   1944298   1388750      4.09    834374   1788016    126212

12:42:02        IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s   %ifutil
12:43:01         ens3    246.53    165.99   1512.12     54.44      0.00      0.00      0.00      0.00
12:43:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
12:43:01           lo      1.29      1.29      0.15      0.15      0.00      0.00      0.00      0.00
12:44:01         ens3     67.02     48.89    464.42     11.86      0.00      0.00      0.00      0.00
12:44:01      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
12:44:01           lo      1.53      1.53      0.16      0.16      0.00      0.00      0.00      0.00
Average:         ens3    156.02    106.95    983.87     32.97      0.00      0.00      0.00      0.00
Average:      docker0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
Average:           lo      1.41      1.41      0.16      0.16      0.00      0.00      0.00      0.00


---> sar -P ALL:
Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-18193) 	02/18/26 	_x86_64_	(8 CPU)

12:41:25     LINUX RESTART	(8 CPU)

12:42:02        CPU     %user     %nice   %system   %iowait    %steal     %idle
12:43:01        all     10.95      0.00      0.96      2.03      0.04     86.03
12:43:01          0     13.65      0.00      1.15      1.97      0.02     83.21
12:43:01          1      6.25      0.00      1.56      6.90      0.05     85.24
12:43:01          2      3.83      0.00      0.59      0.20      0.03     95.33
12:43:01          3      3.03      0.00      0.36      0.17      0.02     96.42
12:43:01          4      0.78      0.00      0.41      3.17      0.02     95.62
12:43:01          5      4.50      0.00      0.20      1.60      0.02     93.68
12:43:01          6     28.37      0.00      1.75      1.12      0.07     68.70
12:43:01          7     27.13      0.00      1.60      1.05      0.05     70.17
12:44:01        all      9.28      0.00      0.82      2.77      0.03     87.10
12:44:01          0      2.92      0.00      0.48      1.30      0.02     95.28
12:44:01          1      8.18      0.00      1.19     11.90      0.03     78.70
12:44:01          2     24.13      0.00      1.15      2.25      0.05     72.41
12:44:01          3      6.71      0.00      0.91      1.96      0.07     90.36
12:44:01          4      5.77      0.00      0.60      4.10      0.03     89.49
12:44:01          5     10.01      0.00      0.55      0.13      0.03     89.27
12:44:01          6     12.85      0.00      1.00      0.48      0.02     85.65
12:44:01          7      3.65      0.00      0.70      0.02      0.03     95.60
Average:        all     10.11      0.00      0.89      2.40      0.03     86.57
Average:          0      8.24      0.00      0.82      1.63      0.02     89.30
Average:          1      7.22      0.00      1.37      9.42      0.04     81.94
Average:          2     14.07      0.00      0.87      1.24      0.04     83.78
Average:          3      4.89      0.00      0.63      1.07      0.04     93.36
Average:          4      3.30      0.00      0.50      3.64      0.03     92.53
Average:          5      7.28      0.00      0.38      0.86      0.03     91.46
Average:          6     20.54      0.00      1.37      0.80      0.04     77.24
Average:          7     15.28      0.00      1.14      0.53      0.04     83.01


