Triggered by Gerrit: https://gerrit.onap.org/r/c/integration/python-onapsdk/+/148697 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-4369 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/integration-python-onapsdk-master-bandit-lint [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-C5lGsb1GWzT5/agent.2073 SSH_AGENT_PID=2075 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/integration-python-onapsdk-master-bandit-lint@tmp/private_key_15529090742976448602.key (/w/workspace/integration-python-onapsdk-master-bandit-lint@tmp/private_key_15529090742976448602.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 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/integration/python-onapsdk.git > git init /w/workspace/integration-python-onapsdk-master-bandit-lint # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk.git > 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/integration/python-onapsdk.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk.git # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk.git 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/integration/python-onapsdk.git refs/changes/97/148697/1 # timeout=30 > git rev-parse c6e3a49b0c1ed0cb62b92f409b69aff283e1620f^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision c6e3a49b0c1ed0cb62b92f409b69aff283e1620f (refs/changes/97/148697/1) > git config core.sparsecheckout # timeout=10 > git checkout -f c6e3a49b0c1ed0cb62b92f409b69aff283e1620f # timeout=30 Commit message: "Put the pylint disable of ServiceInstance.create on its def line" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk aa0f12da3e389f1e1e3f4dd93182678a82218731 # timeout=10 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [integration-python-onapsdk-master-bandit-lint] $ /bin/bash -l /tmp/jenkins2585406415958224869.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-R5wP + 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 (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) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ 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-R5wP + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R5wP' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R5wP + echo /tmp/venv-R5wP + 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-R5wP/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-R5wP/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-R5wP/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-R5wP/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-R5wP/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-R5wP/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-R5wP/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-R5wP/bin to PATH + PATH=/tmp/venv-R5wP/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.2.2 from /tmp/venv-R5wP/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==7.2.4 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.14.13 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=false [EnvInject] - Variables injected successfully. [integration-python-onapsdk-master-bandit-lint] $ /bin/bash -l /tmp/jenkins7808516875263536786.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/integration-python-onapsdk-master-bandit-lint/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/integration-python-onapsdk-master-bandit-lint/archives/docs + mkdir -p /w/workspace/integration-python-onapsdk-master-bandit-lint/archives/tox + cd /w/workspace/integration-python-onapsdk-master-bandit-lint/. + 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-CiC1 + 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/integration-python-onapsdk-master-bandit-lint/.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-R5wP + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-R5wP from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-R5wP 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-R5wP/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-R5wP/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-R5wP/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-R5wP/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-R5wP/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-R5wP/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-R5wP/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-R5wP/bin to PATH + PATH=/tmp/venv-R5wP/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-R5wP/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-R5wP/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/integration-python-onapsdk-master-bandit-lint + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.65.0 from /tmp/venv-R5wP/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=false + TOX_OPTIONS_LIST= + [[ -n bandit ]] + TOX_OPTIONS_LIST=' -e bandit' + case ${PARALLEL,,} in + tox -e bandit + tee -a /w/workspace/integration-python-onapsdk-master-bandit-lint/archives/tox/tox.log bandit: install_deps> python -I -m pip install -r test-requirements.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' .pkg: _optional_hooks> python /tmp/venv-R5wP/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-R5wP/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_sdist> python -I -m pip install pytest-runner==5.2 .pkg: get_requires_for_build_wheel> python /tmp/venv-R5wP/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install pytest-runner==5.2 .pkg: freeze> python -m pip freeze --all .pkg: pip==26.2.2,pytest-runner==5.2,setuptools==84.2.1 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-R5wP/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-R5wP/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ bandit: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.1.5 jsonschema==4.4.0 kafka-python-ng==2.2.2 'more-itertools>=8.12.0' opentelemetry-api==1.33.1 oyaml==1.0 'requests[socks]==2.32.3' simplejson==3.17.6 bandit: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-master-bandit-lint/.tox/.tmp/package/1/onapsdk-14.6.0.tar.gz bandit: freeze> python -m pip freeze --all bandit: ast_serialize==0.13.1,astroid==4.3.4,attrs==26.1.0,bandit==1.9.4,certifi==2026.10.19,charset-normalizer==3.5.2,coverage==7.16.2,dacite==1.6.0,Deprecated==1.3.1,dill==0.4.1,exceptiongroup==1.3.1,idna==3.20,importlib_metadata==8.6.1,iniconfig==2.3.1,isort==9.0.2,Jinja2==3.1.5,jsonschema==4.4.0,kafka-python-ng==2.2.2,librt==0.16.0,markdown-it-py==4.2.0,MarkupSafe==3.0.4,mccabe==0.7.0,mdurl==0.1.2,more-itertools==11.1.0,mypy==2.4.0,mypy_extensions==1.1.0,onapsdk==14.6.0,opentelemetry-api==1.33.1,oyaml==1.0,packaging==26.3,pathspec==1.1.1,pip==26.2.2,platformdirs==4.12.4,pluggy==1.7.0,pydocstyle==6.3.0,Pygments==2.21.0,pylint==4.1.3,pyrsistent==0.20.0,PySocks==1.7.1,pytest==9.1.1,pytest-cov==7.1.0,PyYAML==6.0.3,requests==2.32.3,requests-mock==1.12.1,rich==15.0.0,setuptools==84.2.1,simplejson==3.17.6,snowballstemmer==3.1.1,stevedore==5.8.0,tomli==2.5.0,tomlkit==0.15.2,typing_extensions==4.16.0,urllib3==2.8.0,wrapt==2.5.1,zipp==4.1.2 bandit: commands[0]> bandit -r src/onapsdk [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO running on Python 3.10.6 Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:01 Run started:2026-10-23 06:53:26.095656+00:00 Test results: No issues identified. Code scanned: Total lines of code: 17434 Total lines skipped (#nosec): 0 Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0 Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0): bandit: OK (26.25=setup[24.25]+cmd[2.00] seconds) congratulations :) (26.29 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/bandit/log ++ awk -F/ '{print $2}' + tox_env=bandit + cp -r .tox/bandit/log /w/workspace/integration-python-onapsdk-master-bandit-lint/archives/tox/bandit + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2075 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins4964811207402276209.sh ---> sysstat.sh [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins17516897777997368714.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/integration-python-onapsdk-master-bandit-lint + 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/integration-python-onapsdk-master-bandit-lint ']' + 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/integration-python-onapsdk-master-bandit-lint ']' + mkdir -p /w/workspace/integration-python-onapsdk-master-bandit-lint/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/integration-python-onapsdk-master-bandit-lint/archives/ [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins1084434821660276452.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-bandit-lint/.python-version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6QsG 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-6QsG/bin to PATH INFO: Running in OpenStack, capturing instance metadata [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins1376967188776658922.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/integration-python-onapsdk-master-bandit-lint@tmp/config751109474878316566tmp 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. [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins12564380484540069342.sh ---> create-netrc.sh [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins14337589659764727067.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-bandit-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6QsG 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-6QsG/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.118 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-6QsG/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.118 botocore==1.43.118 bs4==0.0.2 certifi==2026.10.19 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.36 jsonpointer==3.4 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.3 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.14.13 wcwidth==0.9.3 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 [integration-python-onapsdk-master-bandit-lint] $ /bin/sh /tmp/jenkins268166579932491245.sh ---> uv-install.sh Installing uv/uvx (latest) using shell installer 2026-10-23 06:54:27 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-471Czc.sh" [1] downloading uv 0.13.5 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.5 (x86_64-unknown-linux-gnu) [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins10694052299160719639.sh ---> sudo-logs.sh Archiving 'sudo' log.. [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins307601342190372472.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/integration-python-onapsdk-master-bandit-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6QsG 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-6QsG/bin to PATH INFO: No stack-cost file found INFO: Instance uptime: 155s 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=155 INFO: Successfully fetched Vexxhost pricing API INFO: Retrieved cost: 0.22 INFO: Retrieved resource: v3-standard-8 INFO: Creating archive directory: /w/workspace/integration-python-onapsdk-master-bandit-lint/archives/cost INFO: Archiving costs to: /w/workspace/integration-python-onapsdk-master-bandit-lint/archives/cost.csv INFO: Successfully archived job cost data DEBUG: Cost data: integration-python-onapsdk-master-bandit-lint,284,2026-10-23 06:54:35,v3-standard-8,155,0.22,0.00,SUCCESS [integration-python-onapsdk-master-bandit-lint] $ /bin/bash -l /tmp/jenkins2436938656224929418.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-bandit-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6QsG 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-6QsG/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/integration-python-onapsdk-master-bandit-lint/284 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-4369 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: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-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 790 28943 0 2432 30938 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:4a:d1:d4 brd ff:ff:ff:ff:ff:ff inet 10.30.107.236/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86243sec preferred_lft 86243sec inet6 fe80::f816:3eff:fe4a:d1d4/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:f3:f1:a3:52 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-4369) 10/23/26 _x86_64_ (8 CPU) 06:52:10 LINUX RESTART (8 CPU) 06:53:02 tps rtps wtps bread/s bwrtn/s 06:54:01 159.05 1.00 158.05 121.04 95314.13 Average: 159.05 1.00 158.05 121.04 95314.13 06:53:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:54:01 29882044 31679476 3057176 9.28 81404 2013044 1450708 4.27 901284 1834348 172460 Average: 29882044 31679476 3057176 9.28 81404 2013044 1450708 4.27 901284 1834348 172460 06:53:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:54:01 lo 0.75 0.75 0.09 0.09 0.00 0.00 0.00 0.00 06:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:01 ens3 89.29 48.37 1243.59 11.37 0.00 0.00 0.00 0.00 Average: lo 0.75 0.75 0.09 0.09 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: ens3 89.29 48.37 1243.59 11.37 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-4369) 10/23/26 _x86_64_ (8 CPU) 06:52:10 LINUX RESTART (8 CPU) 06:53:02 CPU %user %nice %system %iowait %steal %idle 06:54:01 all 10.27 0.00 0.87 1.70 0.01 87.15 06:54:01 0 2.24 0.00 0.59 1.25 0.00 95.92 06:54:01 1 11.72 0.00 1.05 4.01 0.02 83.21 06:54:01 2 24.47 0.00 1.58 4.74 0.02 69.20 06:54:01 3 8.04 0.00 0.59 0.02 0.00 91.35 06:54:01 4 2.12 0.00 0.53 0.02 0.00 97.33 06:54:01 5 8.69 0.00 0.64 0.05 0.00 90.61 06:54:01 6 17.75 0.00 1.27 1.14 0.02 79.82 06:54:01 7 7.15 0.00 0.68 2.45 0.00 89.71 Average: all 10.27 0.00 0.87 1.70 0.01 87.15 Average: 0 2.24 0.00 0.59 1.25 0.00 95.92 Average: 1 11.72 0.00 1.05 4.01 0.02 83.21 Average: 2 24.47 0.00 1.58 4.74 0.02 69.20 Average: 3 8.04 0.00 0.59 0.02 0.00 91.35 Average: 4 2.12 0.00 0.53 0.02 0.00 97.33 Average: 5 8.69 0.00 0.64 0.05 0.00 90.61 Average: 6 17.75 0.00 1.27 1.14 0.02 79.82 Average: 7 7.15 0.00 0.68 2.45 0.00 89.71