Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-5564 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-services-pmsh-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-pmsh-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 aaf88c9696598865f6cfa18176bbe7054b55485b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f aaf88c9696598865f6cfa18176bbe7054b55485b # timeout=10 Commit message: "Merge "[slice-analysis-ms] 1.2.3 release"" > git rev-list --no-walk 796007b09d85527428655aa49109239d995c89a5 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins15222550846178587606.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-AAHj 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: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-AAHj/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. botocore 1.43.119 requires python-dateutil<3.0.0,>=2.1, but you have python-dateutil 3.0.0 which is incompatible. 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.2.2 from /tmp/venv-AAHj/lib/python3.10/site-packages/pip (python 3.10) aiohappyeyeballs==2.7.1 aiohttp==3.14.5 aiosignal==1.4.0 appdirs==1.4.4 argcomplete==3.7.2 aspy.yaml==1.3.0 async-timeout==5.0.1 attrs==26.1.0 autopage==0.6.0 backports.strenum==1.3.1 beautifulsoup4==4.15.0 boto3==1.43.119 botocore==1.43.119 bs4==0.0.2 certifi==2026.10.23 cffi==2.1.1 cfgv==3.5.0 chardet==7.7.0 charset-normalizer==3.5.2 click==8.5.0 cliff==4.14.0 cmd2==3.5.1 cryptography==3.3.2 debtcollector==3.1.0 decorator==5.3.1 defusedxml==0.7.1 Deprecated==1.3.1 distlib==0.4.4 dnspython==2.8.0 docker==7.2.0 dogpile.cache==1.5.0 durationpy==0.11 email-validator==2.3.0 filelock==4.1.0 frozenlist==1.8.0 future==1.0.0 gitdb==4.0.12 GitPython==3.2.1 httplib2==0.30.2 identify==2.6.20 idna==3.20 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.1.0 jsonpatch==1.38 jsonpointer==3.6 jsonschema==4.26.0 jsonschema-specifications==2025.9.1 keystoneauth1==5.14.0 kubernetes==36.0.3 lftools==0.37.26 lxml==6.1.3 markdown-it-py==4.2.0 MarkupSafe==3.0.4 mdurl==0.1.2 msgpack==1.2.4 multi_key_dict==2.0.3 multidict==7.1.0 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.11.0 oauth2client==4.1.3 oauthlib==4.0.0 openstacksdk==4.13.0 os-service-types==1.8.2 osc-lib==4.6.0 oslo.config==10.4.0 oslo.context==6.4.0 oslo.i18n==6.8.0 oslo.log==8.2.0 oslo.serialization==5.10.0 oslo.utils==10.1.1 packaging==26.3 pbr==7.1.3 platformdirs==4.12.4 prettytable==3.18.0 propcache==0.5.4 psutil==7.2.2 pyasn1==0.6.4 pyasn1_modules==0.4.2 pycparser==3.11 pygerrit2==2.0.15 PyGithub==2.10.0 Pygments==2.21.0 PyJWT==2.15.1 PyNaCl==1.6.2 pyparsing==2.4.7 pyperclip==1.11.0 pyrsistent==0.20.0 python-cinderclient==9.9.0 python-dateutil==3.0.0 python-discovery==1.6.4 python-heatclient==5.2.0 python-jenkins==1.8.3 python-keystoneclient==6.0.0 python-magnumclient==4.11.0 python-openstackclient==10.0.0 python-swiftclient==4.11.0 PyYAML==6.0.3 referencing==0.37.0 requests==2.34.2 requests-oauthlib==2.0.0 rfc3986==2.0.0 rich==15.0.0 rich-argparse==1.8.0 rpds-py==0.30.0 rsa==4.9.1 ruamel.yaml==0.19.1 ruamel.yaml.clib==0.2.15 s3transfer==0.19.3 simplejson==4.2.0 six==1.17.0 smmap==5.0.3 soupsieve==2.10 stevedore==5.8.0 tabulate==0.10.0 toml==0.10.2 tomlkit==0.15.2 tqdm==4.70.1 typing_extensions==4.16.0 tzdata==2026.5 urllib3==1.26.20 virtualenv==21.15.0 wcwidth==0.9.4 websocket-client==1.9.2 wrapt==2.5.1 xdg==6.0.0 xmltodict==1.0.4 yarl==1.25.1 yq==4.4.5 [dcaegen2-services-pmsh-tox-sonar] $ /bin/sh /tmp/jenkins17354062539705501434.sh ---> uv-install.sh Installing uv/uvx (latest) using shell installer 2026-10-27 06:33:14 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-IoC5aZ.sh" [1] downloading uv 0.13.6 x86_64-unknown-linux-gnu installing to /home/jenkins/.local/bin uv uvx everything's installed! To add $HOME/.local/bin to your PATH, either restart your shell or run: source $HOME/.local/bin/env (sh, bash, zsh) source $HOME/.local/bin/env.fish (fish) Adding install location to PATH ---> Validating uv/uvx install uvx 0.13.6 (x86_64-unknown-linux-gnu) [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash -l /tmp/jenkins13427037838409565867.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-o7Tc + 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-pmsh-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 ++ sed 's/^[ *]* //' ++ local command ++ 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 +++ 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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-o7Tc + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o7Tc' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o7Tc + echo /tmp/venv-o7Tc + 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 '' ]] + lf-venv-pip-install /tmp/venv-o7Tc/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-o7Tc/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-o7Tc/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 + return 0 + [[ -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 + lf-venv-pip-install /tmp/venv-o7Tc/bin/python3 --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 + local venv_python=/tmp/venv-o7Tc/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-o7Tc/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 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-o7Tc/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-o7Tc/bin to PATH + PATH=/tmp/venv-o7Tc/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 + python3 --version Python 3.10.6 + python3 -m pip --version pip 26.2.2 from /tmp/venv-o7Tc/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==7.2.6 colorama==0.4.6 distlib==0.4.4 filelock==4.1.0 packaging==26.3 platformdirs==4.12.4 pluggy==1.7.0 pyproject-api==1.11.4 python-discovery==1.6.4 tomli==2.5.0 tomli_w==1.2.0 tox==4.65.0 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.15.0 [dcaegen2-services-pmsh-tox-sonar] $ /bin/sh -xe /tmp/jenkins2276687276343488280.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-pmsh-tox-sonar] $ /bin/bash -l /tmp/jenkins3085708419785031349.sh ---> tox-run.sh + PATH=/home/jenkins/.local/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 + ARCHIVE_TOX_DIR=/w/workspace/dcaegen2-services-pmsh-tox-sonar/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/dcaegen2-services-pmsh-tox-sonar/archives/docs + mkdir -p /w/workspace/dcaegen2-services-pmsh-tox-sonar/archives/tox + cd /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler + 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-4TZd + 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:/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:/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-pmsh-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:/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:/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:/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-o7Tc + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-o7Tc from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-o7Tc 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 '' ]] + lf-venv-pip-install /tmp/venv-o7Tc/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-o7Tc/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-o7Tc/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 + return 0 + [[ -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 + lf-venv-pip-install /tmp/venv-o7Tc/bin/python3 --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 + local venv_python=/tmp/venv-o7Tc/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-o7Tc/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 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-o7Tc/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-o7Tc/bin to PATH + PATH=/tmp/venv-o7Tc/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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-o7Tc/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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-o7Tc/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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-pmsh-tox-sonar/components/pm-subscription-handler + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.65.0 from /tmp/venv-o7Tc/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-pmsh-tox-sonar/archives/tox/tox.log py3: install_deps> python -I -m pip install coverage parameterized==0.7.4 pytest pytest-cov responses==0.10.7 -r requirements.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' .pkg: _optional_hooks> python /tmp/venv-o7Tc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-o7Tc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-o7Tc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==26.2.2,setuptools==84.2.1 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-o7Tc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-o7Tc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py3: install_package_deps> python -I -m pip install Flask==2.2 Werkzeug==2.2.3 connexion==2.5.0 flask_sqlalchemy==3.0.1 greenlet==3.1.1 jsonschema==3.2.0 onap_dcae_cbs_docker_client==2.2.1 onappylog==1.0.9 psycopg2-binary==2.9.5 pyyaml==5.4.1 requests==2.22.0 ruamel.yaml==0.16.10 'setuptools<82' swagger-ui-bundle==0.0.6 tenacity==6.0.0 tornado==6.1 py3: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/.tmp/package/1/pm_subscription_handler-2.2.4.tar.gz py3: freeze> python -m pip freeze --all py3: attrs==26.1.0,certifi==2026.10.23,chardet==3.0.4,click==8.5.0,clickclick==20.10.2,connexion==2.5.0,coverage==7.16.2,exceptiongroup==1.3.1,Flask==2.2.0,Flask-SQLAlchemy==3.0.1,greenlet==3.1.1,idna==2.8,inflection==0.5.1,iniconfig==2.3.1,itsdangerous==2.2.0,Jinja2==3.1.6,jsonschema==3.2.0,MarkupSafe==3.0.4,onap_dcae_cbs_docker_client==2.2.1,onappylog==1.0.9,openapi-schema-validator==0.2.3,openapi-spec-validator==0.4.0,packaging==26.3,parameterized==0.7.4,pip==26.2.2,pluggy==1.7.0,pm_subscription_handler==2.2.4,psycopg2-binary==2.9.5,Pygments==2.21.0,pyrsistent==0.20.0,pytest==9.1.1,pytest-cov==7.1.0,PyYAML==5.4.1,requests==2.22.0,responses==0.10.7,ruamel.yaml==0.16.10,setuptools==81.0.0,six==1.17.0,SQLAlchemy==2.0.55,swagger-ui-bundle==0.0.6,tenacity==6.0.0,tomli==2.5.0,tornado==6.1,typing_extensions==4.16.0,urllib3==1.25.11,watchdog==6.0.0,Werkzeug==2.2.3 py3: commands[0]> pytest --junitxml xunit-results.xml --cov pmsh_service --cov-report xml --cov-report term-missing tests --verbose --cov-fail-under=70 ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.7.0 -- /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/py3/bin/python cachedir: .tox/py3/.pytest_cache rootdir: /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler plugins: cov-7.1.0 collecting ... collected 141 items tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_apply_nf_to_measurement_group_status PASSED [ 0%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_check_duplication_exception PASSED [ 1%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_check_measurement_group_names_comply PASSED [ 2%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_delete_nf_to_measurement_group_failure PASSED [ 2%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_delete_nf_to_measurement_group_with_nf_delete PASSED [ 3%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_delete_nf_to_measurement_group_without_nf_delete PASSED [ 4%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_filter_nf_to_meas_grp_for_create PASSED [ 4%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_filter_nf_to_meas_grp_for_delete PASSED [ 5%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_lock_nf_to_meas_grp_for_locking_with_LOCKED_update PASSED [ 6%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_lock_nf_to_meas_grp_with_no_LOCKED_update PASSED [ 7%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_publish_measurement_group PASSED [ 7%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_save_measurement_group PASSED [ 8%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_admin_status_for_data_conflict PASSED [ 9%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_admin_status_for_missing_measurement_group PASSED [ 9%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_admin_status_for_same_state PASSED [ 10%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_admin_status_to_locked PASSED [ 11%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_admin_status_to_locking PASSED [ 12%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_admin_status_to_unlocked_with_no_nfs PASSED [ 12%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_admin_status_to_unlocking PASSED [ 13%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_measurement_group_nf_status PASSED [ 14%] tests/services/test_measurement_group_service.py::MeasurementGroupServiceTestCase::test_update_nf_to_measurement_group_failure PASSED [ 14%] tests/services/test_nf_service.py::NetworkFunctionServiceTestCase::test_capture_filtered_nfs PASSED [ 15%] tests/services/test_nf_service.py::NetworkFunctionServiceTestCase::test_create_nf_event_body PASSED [ 16%] tests/services/test_nf_service.py::NetworkFunctionServiceTestCase::test_save_nf_new_nf PASSED [ 17%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_apply_measurement_grp_to_nfs PASSED [ 17%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_apply_subscription_to_nfs PASSED [ 18%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_check_missing_data_admin_status_missing PASSED [ 19%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_check_missing_data_msr_grp_name PASSED [ 19%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_check_missing_data_sub_name_missing PASSED [ 20%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_create_subscription PASSED [ 21%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_create_subscription_all_locked_msg_grp PASSED [ 21%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_create_subscription_service_failed_rollback PASSED [ 22%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_create_subscription_service_on_aai_failed PASSED [ 23%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_db_string_to_list PASSED [ 24%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_db_string_to_list_empty PASSED [ 24%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_get_subscriptions_list PASSED [ 25%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_get_subscriptions_list_empty PASSED [ 26%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_is_duplicate_filter_false PASSED [ 26%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_is_duplicate_filter_true PASSED [ 27%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_missing_administrative_state PASSED [ 28%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_missing_measurement_grp_name PASSED [ 29%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_perform_validation_existing_sub PASSED [ 29%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_publish_measurement_grp_to_nfs PASSED [ 30%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_publish_measurement_grp_to_nfs_failed PASSED [ 31%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_save_filtered_nfs PASSED [ 31%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_save_subscription_request PASSED [ 32%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_update_filter PASSED [ 33%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_update_filter_filtering PASSED [ 34%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_update_filter_invalid_duplicate_request PASSED [ 34%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_update_filter_invalid_request PASSED [ 35%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_update_filter_locking PASSED [ 36%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_update_filter_with_new_del_nfs PASSED [ 36%] tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_validate_nf_filter_with_no_filter_values PASSED [ 37%] tests/test_aai_event_handler.py::AAIEventHandlerTest::test_process_aai__failure PASSED [ 38%] tests/test_aai_event_handler.py::AAIEventHandlerTest::test_process_aai_apply_msg_failure PASSED [ 39%] tests/test_aai_event_handler.py::AAIEventHandlerTest::test_process_aai_apply_nfs_to_subscriptions PASSED [ 39%] tests/test_aai_event_handler.py::AAIEventHandlerTest::test_process_aai_delete_events PASSED [ 40%] tests/test_aai_event_handler.py::AAIEventHandlerTest::test_process_aai_update_events PASSED [ 41%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_aai_service_url_fail PASSED [ 41%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_aai_service_url_success PASSED [ 42%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_all_aai_xnf_data_not_found PASSED [ 43%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_all_aai_xnf_data_success PASSED [ 43%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_pm_sub_data_fail PASSED [ 44%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_pm_sub_data_success PASSED [ 45%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_sdnc_params_fail PASSED [ 46%] tests/test_aai_service.py::AaiClientTestCase::test_aai_client_get_sdnc_params_success PASSED [ 46%] tests/test_controller.py::ControllerTestCase::test_delete_mg_exception PASSED [ 47%] tests/test_controller.py::ControllerTestCase::test_delete_mg_when_state_locked PASSED [ 48%] tests/test_controller.py::ControllerTestCase::test_delete_mg_when_state_locking PASSED [ 48%] tests/test_controller.py::ControllerTestCase::test_delete_mg_when_state_unlocked PASSED [ 49%] tests/test_controller.py::ControllerTestCase::test_delete_sub_exception PASSED [ 50%] tests/test_controller.py::ControllerTestCase::test_delete_sub_none PASSED [ 51%] tests/test_controller.py::ControllerTestCase::test_delete_sub_when_state_locked PASSED [ 51%] tests/test_controller.py::ControllerTestCase::test_delete_sub_when_state_locking PASSED [ 52%] tests/test_controller.py::ControllerTestCase::test_delete_sub_when_state_unlocked PASSED [ 53%] tests/test_controller.py::ControllerTestCase::test_get_meas_group_with_nfs_api PASSED [ 53%] tests/test_controller.py::ControllerTestCase::test_get_meas_group_with_nfs_api_exception PASSED [ 54%] tests/test_controller.py::ControllerTestCase::test_get_meas_group_with_nfs_api_none PASSED [ 55%] tests/test_controller.py::ControllerTestCase::test_get_subscription_by_name_api PASSED [ 56%] tests/test_controller.py::ControllerTestCase::test_get_subscription_by_name_api_exception PASSED [ 56%] tests/test_controller.py::ControllerTestCase::test_get_subscription_by_name_api_none PASSED [ 57%] tests/test_controller.py::ControllerTestCase::test_get_subscriptions_api PASSED [ 58%] tests/test_controller.py::ControllerTestCase::test_get_subscriptions_api_exception PASSED [ 58%] tests/test_controller.py::ControllerTestCase::test_get_subscriptions_api_none PASSED [ 59%] tests/test_controller.py::ControllerTestCase::test_post_meas_group PASSED [ 60%] tests/test_controller.py::ControllerTestCase::test_post_meas_group_with_duplicate PASSED [ 60%] tests/test_controller.py::ControllerTestCase::test_post_subscription PASSED [ 61%] tests/test_controller.py::ControllerTestCase::test_post_subscription_duplicate_sub PASSED [ 62%] tests/test_controller.py::ControllerTestCase::test_post_subscription_invalid_filter PASSED [ 63%] tests/test_controller.py::ControllerTestCase::test_post_subscription_missing PASSED [ 63%] tests/test_controller.py::ControllerTestCase::test_put_nf_filter PASSED [ 64%] tests/test_controller.py::ControllerTestCase::test_put_nf_filter_api_data_conflict_exception PASSED [ 65%] tests/test_controller.py::ControllerTestCase::test_put_nf_filter_api_exception PASSED [ 65%] tests/test_controller.py::ControllerTestCase::test_put_nf_filter_api_invalid_data_exception PASSED [ 66%] tests/test_controller.py::ControllerTestCase::test_status_response_healthy PASSED [ 67%] tests/test_controller.py::ControllerTestCase::test_update_admin_state_api_data_conflict_exception PASSED [ 68%] tests/test_controller.py::ControllerTestCase::test_update_admin_state_api_exception PASSED [ 68%] tests/test_controller.py::ControllerTestCase::test_update_admin_state_api_for_locked_update PASSED [ 69%] tests/test_controller.py::ControllerTestCase::test_update_admin_state_api_for_unlocked_update PASSED [ 70%] tests/test_controller.py::ControllerTestCase::test_update_admin_state_api_invalid_data_exception PASSED [ 70%] tests/test_exit_handler.py::ExitHandlerTests::test_terminate_signal_successful PASSED [ 71%] tests/test_network_function.py::NetworkFunctionTests::test_create_existing_network_function PASSED [ 72%] tests/test_network_function.py::NetworkFunctionTests::test_delete_network_function PASSED [ 73%] tests/test_network_function.py::NetworkFunctionTests::test_get_network_function PASSED [ 73%] tests/test_network_function.py::NetworkFunctionTests::test_get_network_function_no_match PASSED [ 74%] tests/test_network_function.py::NetworkFunctionTests::test_get_network_functions PASSED [ 75%] tests/test_network_function.py::NetworkFunctionTests::test_set_sdnc_params_false PASSED [ 75%] tests/test_network_function.py::NetworkFunctionTests::test_set_sdnc_params_true PASSED [ 76%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_filter_false_on_modelInvariantIDs_being_false_and_pnfname_being_true PASSED [ 77%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_filter_true_on_multiple_modelInvariantIDs PASSED [ 78%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_false_on_modelInvariantIDs PASSED [ 78%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_false_on_modelInvariantIDs_being_false_and_pnfname_being_true PASSED [ 79%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_false_on_modelVersionIDs PASSED [ 80%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_false_on_modelVersionIDs_being_false_and_pnfname_being_true PASSED [ 80%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_false_on_xnf PASSED [ 81%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_model_name_false PASSED [ 82%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_model_name_true PASSED [ 82%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_true_on_modelInvariantIDs PASSED [ 83%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_true_on_modelVersionIDs PASSED [ 84%] tests/test_network_function_filter.py::NetworkFunctionFilterTest::test_test_filter_true_on_xnf PASSED [ 85%] tests/test_pmsh_config.py::PmshConfigTestCase::test_config_get_aaf_creds PASSED [ 85%] tests/test_pmsh_config.py::PmshConfigTestCase::test_config_get_cert_data PASSED [ 86%] tests/test_pmsh_config.py::PmshConfigTestCase::test_mr_pub_publish_to_topic_fail PASSED [ 87%] tests/test_pmsh_config.py::PmshConfigTestCase::test_mr_pub_publish_to_topic_success PASSED [ 87%] tests/test_pmsh_config.py::PmshConfigTestCase::test_mr_sub_get_from_topic_fail PASSED [ 88%] tests/test_pmsh_config.py::PmshConfigTestCase::test_mr_sub_get_from_topic_success PASSED [ 89%] tests/test_pmsh_config.py::PmshConfigTestCase::test_singleton_instance_is_accessible_using_class_method PASSED [ 90%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_create_failed_filtering PASSED [ 90%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_delete_failed_filtering PASSED [ 91%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_exception PASSED [ 92%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_locked_failed PASSED [ 92%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_locked_success PASSED [ 93%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_locking_failed PASSED [ 94%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_locking_success PASSED [ 95%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_locking_success_filtering PASSED [ 95%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_unlocked_failed PASSED [ 96%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_unlocked_success PASSED [ 97%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_handle_response_unlocked_success_filtering PASSED [ 97%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_poll_policy_topic_calls_methods_correct_mg PASSED [ 98%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_poll_policy_topic_exception PASSED [ 99%] tests/test_policy_response_handler.py::PolicyResponseHandlerTest::test_poll_policy_topic_no_method_calls_unavailable_mg PASSED [100%] =============================== warnings summary =============================== .tox/py3/lib/python3.10/site-packages/coverage/inorout.py:513 /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/py3/lib/python3.10/site-packages/coverage/inorout.py:513: CoverageWarning: --include is ignored because --source is set (include-ignored); see https://coverage.readthedocs.io/en/7.16.2/messages.html#warning-include-ignored self.warn("--include is ignored because --source is set", slug="include-ignored") .tox/py3/lib/python3.10/site-packages/connexion/decorators/validation.py:6 /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/py3/lib/python3.10/site-packages/connexion/decorators/validation.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources .tox/py3/lib/python3.10/site-packages/pkg_resources/__init__.py:3148 /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/py3/lib/python3.10/site-packages/pkg_resources/__init__.py:3148: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) .tox/py3/lib/python3.10/site-packages/tenacity/_asyncio.py:48 /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/py3/lib/python3.10/site-packages/tenacity/_asyncio.py:48: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def call(self, fn, *args, **kwargs): tests/services/test_measurement_group_service.py: 1 warning tests/services/test_nf_service.py: 1 warning tests/services/test_subscription_service.py: 1 warning tests/test_aai_event_handler.py: 1 warning tests/test_aai_service.py: 1 warning tests/test_controller.py: 1 warning tests/test_exit_handler.py: 1 warning tests/test_network_function.py: 1 warning tests/test_pmsh_config.py: 1 warning tests/test_policy_response_handler.py: 1 warning /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/py3/lib/python3.10/site-packages/onaplogging/logWatchDog.py:29: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. return yaml.load(f.read()) tests/services/test_measurement_group_service.py: 1 warning tests/services/test_nf_service.py: 1 warning tests/services/test_subscription_service.py: 1 warning tests/test_aai_event_handler.py: 1 warning tests/test_aai_service.py: 1 warning tests/test_controller.py: 1 warning tests/test_exit_handler.py: 1 warning tests/test_network_function.py: 1 warning tests/test_pmsh_config.py: 1 warning tests/test_policy_response_handler.py: 1 warning /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/.tox/py3/lib/python3.10/site-packages/onaplogging/logWatchDog.py:80: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead observer.setDaemon(True) tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_create_subscription_service_on_aai_failed /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/pmsh_service/mod/api/services/subscription_service.py:45: SAWarning: Identity map already had an identity for (, (1,), None), replacing it with newly flushed object. Are there load operations occurring inside of an event handler within the flush? db.session.commit() tests/services/test_subscription_service.py::SubscriptionServiceTestCase::test_perform_validation_existing_sub /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/tests/services/test_subscription_service.py:127: SAWarning: Identity map already had an identity for (, (1,), None), replacing it with newly flushed object. Are there load operations occurring inside of an event handler within the flush? db.session.commit() tests/test_aai_event_handler.py::AAIEventHandlerTest::test_process_aai_delete_events /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/tests/test_aai_event_handler.py:39: SAWarning: Identity map already had an identity for (, (2,), None), replacing it with newly flushed object. Are there load operations occurring inside of an event handler within the flush? db.session.commit() tests/test_aai_event_handler.py::AAIEventHandlerTest::test_process_aai_delete_events /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/tests/test_aai_event_handler.py:39: SAWarning: Identity map already had an identity for (, (1,), None), replacing it with newly flushed object. Are there load operations occurring inside of an event handler within the flush? db.session.commit() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /w/workspace/dcaegen2-services-pmsh-tox-sonar/components/pm-subscription-handler/xunit-results.xml - ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.10.6-final-0 ________________ Name Stmts Miss Branch BrPart Cover Missing -------------------------------------------------------------------------------------------------------- pmsh_service/__init__.py 0 0 0 0 100% pmsh_service/mod/__init__.py 79 23 6 0 68% 63-73, 104-109, 113-122 pmsh_service/mod/aai_client.py 67 4 14 3 91% 77->83, 141, 144-146, 177->exit pmsh_service/mod/aai_event_handler.py 71 2 24 6 92% 63->exit, 76-78, 92->exit, 105->exit, 111->110, 113->106 pmsh_service/mod/api/__init__.py 0 0 0 0 100% pmsh_service/mod/api/controller.py 130 13 14 2 90% 101-118, 229-230 pmsh_service/mod/api/custom_exception.py 9 0 0 0 100% pmsh_service/mod/api/db_models.py 125 8 2 0 92% 61-63, 110-111, 146, 150-152 pmsh_service/mod/api/services/measurement_group_service.py 147 7 36 6 93% 81, 95->exit, 297-298, 339->338, 341->347, 357-359, 420->423, 428->exit, 434-435 pmsh_service/mod/api/services/nf_service.py 17 3 0 0 82% 87-95 pmsh_service/mod/api/services/subscription_service.py 177 6 60 4 96% 52-53, 173, 257->259, 292-298, 349->348, 432->435 pmsh_service/mod/exit_handler.py 27 3 10 1 89% 46-47, 53 pmsh_service/mod/network_function.py 94 12 12 1 88% 39, 44, 54, 65, 107-108, 113-123, 156->159 pmsh_service/mod/pmsh_config.py 68 9 6 2 85% 87-94, 142, 144->exit pmsh_service/mod/policy_response_handler.py 42 0 10 1 98% 103->106 -------------------------------------------------------------------------------------------------------- TOTAL 1053 90 194 26 90% Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 90.22% ======================= 141 passed, 28 warnings in 4.86s ======================= py3: OK (35.87=setup[29.99]+cmd[5.88] seconds) congratulations :) (35.90 seconds) + tox_status=0 + 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-pmsh-tox-sonar/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 provisioning config files... copy managed file [global-settings] to file:/w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config15496495375546209222tmp copy managed file [dcaegen2-services-settings] to file:/w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config18058947116579900577tmp [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [dcaegen2-services-pmsh-tox-sonar] $ /bin/sh -xe /tmp/jenkins14738227561517376174.sh + echo Using SonarCloud Using SonarCloud [dcaegen2-services-pmsh-tox-sonar] $ /bin/sh -xe /tmp/jenkins2888343735752390506.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 on prd-ubuntu1804-docker-8c-8g-5564 [dcaegen2-services-pmsh-tox-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=dcaegen2/services -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -DSTREAM=master -DARCHIVE_ARTIFACTS=**/*.log -DGERRIT_PROJECT=dcaegen2/services -Dsha1=origin/master -DMAVEN_OPTS= -DTOX_DIR=components/pm-subscription-handler -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 -DTOX_ENVS=py3 -DMAVEN_PARAMS= "-DSONAR_MAVEN_GOAL=-f components/pm-subscription-handler/pom.xml sonar:sonar" --version Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" [dcaegen2-services-pmsh-tox-sonar] $ /bin/sh -xe /tmp/jenkins3068633436448446608.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk11 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [dcaegen2-services-pmsh-tox-sonar] $ /bin/sh /tmp/jenkins13630370166493339720.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode) JAVA_HOME=/usr/lib/jvm/java-11-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 MAVEN_GOALS=validate SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=onap SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=onap_dcaegen2-services-pmsh [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config9786006671293732611tmp copy managed file [dcaegen2-services-settings] to file:/w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config812474413501988183tmp [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash -l /tmp/jenkins3647137507899421510.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn validate -e -Dsonar --global-settings /w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config9786006671293732611tmp --settings /w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config812474413501988183tmp --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r Picked up _JAVA_OPTIONS: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ---------------------< org.onap.dcaegen2:services >--------------------- [INFO] Building dcaegen2-services 1.1.0-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ services --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ services --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.708 s [INFO] Finished at: 2026-10-27T06:34:10Z [INFO] ------------------------------------------------------------------------ + '[' https://sonarcloud.io = https://sonarcloud.io ']' + params+=("-Dsonar.projectKey=$PROJECT_KEY") + params+=("-Dsonar.organization=$PROJECT_ORGANIZATION") + params+=("-Dsonar.token=$API_TOKEN") + '[' False = True ']' + '[' -n openjdk17 ']' + '[' openjdk11 '!=' openjdk17 ']' + export SET_JDK_VERSION=openjdk17 + SET_JDK_VERSION=openjdk17 + curl -sSf https://raw.githubusercontent.com/lfit/releng-global-jjb/master/shell/update-java-alternatives.sh + bash ---> 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.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 + source /tmp/java.env ++ JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35/bin/mvn -f components/pm-subscription-handler/pom.xml sonar:sonar -e -Dsonar -Dsonar.host.url=https://sonarcloud.io --global-settings /w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config9786006671293732611tmp --settings /w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config812474413501988183tmp -Dsonar.projectKey=onap_dcaegen2-services-pmsh -Dsonar.organization=onap -Dsonar.token=**** --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn35 Java version: 17.0.4, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-192-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------< org.onap.dcaegen2.services:pmsh >------------------- [INFO] Building dcaegen2-services-pm-subscription-handler 2.2.4-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar-maven-plugin:3.7.0.1746:sonar (default-cli) @ pmsh --- [INFO] User cache: /home/jenkins/.sonar/cache [INFO] SonarQube version: 13.17.0.6738 [INFO] Default locale: "en", source code encoding: "UTF-8" [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.277 s [INFO] Finished at: 2026-10-27T06:34:16Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project pmsh: Java 17 is not supported. Please upgrade to Java 21 or newer, or use JRE auto-provisioning to keep this requirement always up to date. For more information check https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project pmsh: Java 17 is not supported. Please upgrade to Java 21 or newer, or use JRE auto-provisioning to keep this requirement always up to date. For more information check https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Java 17 is not supported. Please upgrade to Java 21 or newer, or use JRE auto-provisioning to keep this requirement always up to date. For more information check https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements. at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (ScannerBootstrapper.java:67) at org.sonarsource.scanner.maven.SonarQubeMojo.execute (SonarQubeMojo.java:104) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: java.lang.IllegalStateException: Java 17 is not supported. Please upgrade to Java 21 or newer, or use JRE auto-provisioning to keep this requirement always up to date. For more information check https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements. at org.sonar.batch.bootstrapper.Batch.doExecute (Batch.java:59) at org.sonar.batch.bootstrapper.Batch.execute (Batch.java:53) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute (BatchIsolatedLauncher.java:46) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke (IsolatedLauncherProxy.java:60) at jdk.proxy3.$Proxy24.execute (Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute (EmbeddedScanner.java:189) at org.sonarsource.scanner.api.EmbeddedScanner.execute (EmbeddedScanner.java:138) at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (ScannerBootstrapper.java:65) at org.sonarsource.scanner.maven.SonarQubeMojo.execute (SonarQubeMojo.java:104) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Build step 'Conditional steps (multiple)' marked build as failure [PostBuildScript] - [INFO] Executing post build scripts. [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins12401253091009490849.sh ---> sysstat.sh [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins3717111686286405357.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-services-pmsh-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-pmsh-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-pmsh-tox-sonar ']' + mkdir -p /w/workspace/dcaegen2-services-pmsh-tox-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-services-pmsh-tox-sonar/archives/ [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins2484093363975260928.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-services-pmsh-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AAHj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-AAHj/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins5128760258740162435.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-services-pmsh-tox-sonar@tmp/config12002163584618644325tmp 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-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins3937845978894428723.sh ---> create-netrc.sh [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins4775772303573761986.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-services-pmsh-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AAHj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-AAHj/bin to PATH [dcaegen2-services-pmsh-tox-sonar] $ /bin/sh /tmp/jenkins2714117047829493845.sh ---> uv-install.sh uv 0.13.6 is already installed uvx 0.13.6 (x86_64-unknown-linux-gnu) [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins2236451281446465673.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash /tmp/jenkins15245857789989436749.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-pmsh-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AAHj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-AAHj/bin to PATH INFO: No stack-cost file found INFO: Instance uptime: 194s 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=194 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-pmsh-tox-sonar/archives/cost INFO: Archiving costs to: /w/workspace/dcaegen2-services-pmsh-tox-sonar/archives/cost.csv INFO: Successfully archived job cost data DEBUG: Cost data: dcaegen2-services-pmsh-tox-sonar,2420,2026-10-27 06:34:42,v3-standard-8,194,0.22,0.00,FAILURE [dcaegen2-services-pmsh-tox-sonar] $ /bin/bash -l /tmp/jenkins11827679104355386394.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-services-pmsh-tox-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AAHj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-AAHj/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-services-pmsh-tox-sonar/2420 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-5564 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.012 BogoMIPS: 5600.02 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 lbrv nrip_save tsc_scale vmcb_clean flushbyasid pausefilter pfthreshold v_vmsave_vmload vgif umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 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 824 28780 0 2561 30904 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:2c:c7:8e brd ff:ff:ff:ff:ff:ff inet 10.30.107.254/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86204sec preferred_lft 86204sec inet6 fe80::f816:3eff:fe2c:c78e/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:da:3f:bc:f7 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-5564) 10/27/26 _x86_64_ (8 CPU) 06:31:39 LINUX RESTART (8 CPU) 06:32:02 tps rtps wtps bread/s bwrtn/s 06:33:01 313.47 65.86 247.61 4257.54 87756.83 06:34:01 176.52 17.71 158.81 1085.02 65771.44 Average: 244.43 41.59 202.84 2658.09 76672.70 06:32:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:33:01 30081840 31686888 2857380 8.67 70596 1844164 1402184 4.13 862088 1702576 188696 06:34:01 29601368 31632348 3337852 10.13 95388 2221908 1532636 4.51 961392 2034584 125168 Average: 29841604 31659618 3097616 9.40 82992 2033036 1467410 4.32 911740 1868580 156932 06:32:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:33:01 lo 1.63 1.63 0.19 0.19 0.00 0.00 0.00 0.00 06:33:01 ens3 344.24 250.51 1917.49 61.25 0.00 0.00 0.00 0.00 06:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:34:01 lo 0.93 0.93 0.10 0.10 0.00 0.00 0.00 0.00 06:34:01 ens3 70.87 49.31 878.51 21.88 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.28 1.28 0.14 0.14 0.00 0.00 0.00 0.00 Average: ens3 206.42 149.07 1393.68 41.40 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5564) 10/27/26 _x86_64_ (8 CPU) 06:31:39 LINUX RESTART (8 CPU) 06:32:02 CPU %user %nice %system %iowait %steal %idle 06:33:01 all 10.83 0.00 1.15 2.19 0.00 85.83 06:33:01 0 2.24 0.00 0.47 0.22 0.00 97.07 06:33:01 1 19.72 0.00 2.03 6.49 0.00 71.76 06:33:01 2 16.59 0.00 1.12 0.88 0.00 81.41 06:33:01 3 6.19 0.00 0.73 0.29 0.00 92.79 06:33:01 4 2.76 0.00 1.00 5.34 0.00 90.90 06:33:01 5 12.85 0.00 1.08 1.25 0.00 84.81 06:33:01 6 19.04 0.00 2.07 2.39 0.00 76.50 06:33:01 7 7.31 0.00 0.68 0.68 0.00 91.34 06:34:01 all 10.58 0.00 1.09 1.17 0.01 87.15 06:34:01 0 11.21 0.00 1.15 0.33 0.00 87.31 06:34:01 1 16.94 0.00 1.42 3.37 0.02 78.26 06:34:01 2 32.29 0.00 2.40 0.32 0.00 64.99 06:34:01 3 8.75 0.00 1.04 0.08 0.00 90.13 06:34:01 4 3.90 0.00 1.03 0.67 0.00 94.39 06:34:01 5 2.36 0.00 0.71 3.35 0.02 93.56 06:34:01 6 7.85 0.00 0.67 1.04 0.00 90.44 06:34:01 7 1.42 0.00 0.32 0.15 0.00 98.12 Average: all 10.71 0.00 1.12 1.67 0.01 86.49 Average: 0 6.76 0.00 0.82 0.28 0.00 92.15 Average: 1 18.31 0.00 1.72 4.92 0.01 75.04 Average: 2 24.51 0.00 1.77 0.60 0.00 73.13 Average: 3 7.48 0.00 0.88 0.19 0.00 91.45 Average: 4 3.34 0.00 1.02 2.98 0.00 92.66 Average: 5 7.55 0.00 0.90 2.31 0.01 89.23 Average: 6 13.40 0.00 1.36 1.71 0.00 83.53 Average: 7 4.34 0.00 0.50 0.41 0.00 94.76