Triggered by Gerrit: https://gerrit.onap.org/r/c/integration/python-onapsdk/+/140822 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-8944 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/integration-python-onapsdk-master-bandit-lint [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-YZX1rPrx357T/agent.2065 SSH_AGENT_PID=2067 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/integration-python-onapsdk-master-bandit-lint@tmp/private_key_7860145645655396532.key (/w/workspace/integration-python-onapsdk-master-bandit-lint@tmp/private_key_7860145645655396532.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/22/140822/1 # timeout=30 > git rev-parse a2f5937237ec5f54844b84d81bf3fdb82f051f57^{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 a2f5937237ec5f54844b84d81bf3fdb82f051f57 (refs/changes/22/140822/1) > git config core.sparsecheckout # timeout=10 > git checkout -f a2f5937237ec5f54844b84d81bf3fdb82f051f57 # timeout=30 Commit message: "Add Vendor and VSP into SDC2 module" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk effde38f9572a8a95491c665a157599f02366b43 # 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/jenkins17695491395542666517.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-M3SW + 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 ++ 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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-M3SW + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-M3SW' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-M3SW + echo /tmp/venv-M3SW + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-M3SW/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-M3SW/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-M3SW/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-M3SW/bin to PATH + PATH=/tmp/venv-M3SW/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 25.0.1 from /tmp/venv-M3SW/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.5.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.9 filelock==3.18.0 packaging==25.0 platformdirs==4.3.7 pluggy==1.5.0 pyproject-api==1.9.0 tomli==2.2.1 tox==4.25.0 typing_extensions==4.13.2 urllib3==1.26.20 virtualenv==20.30.0 [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/jenkins14271870121325073701.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-06OU + 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-M3SW + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-M3SW from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-M3SW from file:/tmp/.toxenv + /tmp/venv-M3SW/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-M3SW/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-M3SW/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-M3SW/bin to PATH + PATH=/tmp/venv-M3SW/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-M3SW/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-M3SW/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.25.0 from /tmp/venv-M3SW/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' wheel .pkg: _optional_hooks> python /tmp/venv-M3SW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-M3SW/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-M3SW/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==25.0.1,pytest-runner==5.2,setuptools==78.1.0,wheel==0.45.1 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-M3SW/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-M3SW/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 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.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.2.0.tar.gz bandit: freeze> python -m pip freeze --all bandit: astroid==3.3.9,attrs==25.3.0,bandit==1.8.3,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,coverage==7.8.0,cryptography==43.0.1,dacite==1.6.0,dill==0.4.0,exceptiongroup==1.2.2,idna==3.10,iniconfig==2.1.0,isort==6.0.1,Jinja2==3.1.5,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==3.0.2,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.7.0,onapsdk==14.2.0,oyaml==1.0,packaging==25.0,pbr==6.1.1,pip==25.0.1,platformdirs==4.3.7,pluggy==1.5.0,pycparser==2.22,pydocstyle==6.3.0,Pygments==2.19.1,pylint==3.3.6,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==8.3.5,pytest-cov==6.1.1,PyYAML==6.0.2,requests==2.32.3,requests-mock==1.12.1,rich==14.0.0,setuptools==78.1.0,simplejson==3.17.6,snowballstemmer==2.2.0,stevedore==5.4.1,tomli==2.2.1,tomlkit==0.13.2,typing_extensions==4.13.2,urllib3==2.4.0,wheel==0.45.1 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:02 Run started:2025-04-25 13:44:56.220616 Test results: No issues identified. Code scanned: Total lines of code: 17045 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 (21.45=setup[19.04]+cmd[2.41] seconds) congratulations :) (21.66 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 2067 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins11931530149776879075.sh ---> sysstat.sh [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins17000008244847649034.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/jenkins156448781047560800.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-TTBA lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TTBA/bin to PATH INFO: Running in OpenStack, capturing instance metadata [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins2429851068406349544.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/integration-python-onapsdk-master-bandit-lint@tmp/config17673631216963995854tmp 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/jenkins3206662794824177234.sh ---> create-netrc.sh [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins9894436048714504041.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-TTBA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TTBA/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. lftools 0.37.12 requires requests<2.32.0, but you have requests 2.32.3 which is incompatible. Python 3.10.6 pip 25.0.1 from /tmp/venv-TTBA/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.6.2 aspy.yaml==1.3.0 attrs==25.3.0 autopage==0.5.2 beautifulsoup4==4.13.4 boto3==1.38.2 botocore==1.38.2 bs4==0.0.2 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 cliff==4.9.1 cmd2==2.5.11 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.2.1 defusedxml==0.7.1 Deprecated==1.2.18 distlib==0.3.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.4 durationpy==0.9 email_validator==2.2.0 filelock==3.18.0 future==1.0.0 gitdb==4.0.12 GitPython==3.1.44 google-auth==2.39.0 httplib2==0.22.0 identify==2.6.10 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2025.4.1 keystoneauth1==5.10.0 kubernetes==32.0.1 lftools==0.37.12 lxml==5.4.0 MarkupSafe==3.0.2 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.5.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==4.0.0 oslo.config==9.7.1 oslo.context==5.7.1 oslo.i18n==6.5.1 oslo.log==7.1.0 oslo.serialization==5.7.0 oslo.utils==8.2.0 packaging==25.0 pbr==6.1.1 platformdirs==4.3.7 prettytable==3.16.0 psutil==7.0.0 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.6.1 PyJWT==2.10.1 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.7.0 python-dateutil==2.9.0.post0 python-heatclient==4.1.0 python-jenkins==1.8.2 python-keystoneclient==5.6.0 python-magnumclient==4.8.1 python-openstackclient==8.0.0 python-swiftclient==4.7.0 PyYAML==6.0.2 referencing==0.36.2 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.24.0 rsa==4.9.1 ruamel.yaml==0.18.10 ruamel.yaml.clib==0.2.12 s3transfer==0.12.0 simplejson==3.20.1 six==1.17.0 smmap==5.0.2 soupsieve==2.7 stevedore==5.4.1 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.67.1 typing_extensions==4.13.2 tzdata==2025.2 urllib3==1.26.20 virtualenv==20.30.0 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.17.2 xdg==6.0.0 xmltodict==0.14.2 yq==3.4.3 [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins5123295378698026757.sh ---> sudo-logs.sh Archiving 'sudo' log.. [integration-python-onapsdk-master-bandit-lint] $ /bin/bash /tmp/jenkins13847400709374073445.sh ---> job-cost.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-TTBA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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. lftools 0.37.12 requires requests<2.32.0, but you have requests 2.32.3 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-TTBA/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [integration-python-onapsdk-master-bandit-lint] $ /bin/bash -l /tmp/jenkins15997051312913253854.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-TTBA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TTBA/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/integration-python-onapsdk-master-bandit-lint/267 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-8944 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 nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 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 809 29157 0 2199 30928 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:95:25:e8 brd ff:ff:ff:ff:ff:ff inet 10.30.106.13/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86231sec preferred_lft 86231sec inet6 fe80::f816:3eff:fe95:25e8/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:b8:cc:7b:f5 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-8944) 04/25/25 _x86_64_ (8 CPU) 13:43:33 LINUX RESTART (8 CPU) 13:44:01 tps rtps wtps bread/s bwrtn/s 13:45:01 305.35 61.22 244.13 3756.04 35410.76 13:46:01 130.24 0.67 129.58 79.59 35538.61 Average: 217.80 30.94 186.85 1917.81 35474.69 13:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:45:01 30218196 31717256 2721024 8.26 59252 1751860 1433292 4.22 853452 1578632 144748 13:46:01 29850556 31657116 3088664 9.38 87596 2012700 1456296 4.28 931152 1830084 124620 Average: 30034376 31687186 2904844 8.82 73424 1882280 1444794 4.25 892302 1704358 134684 13:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:45:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 13:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:45:01 ens3 443.99 287.44 1097.93 78.76 0.00 0.00 0.00 0.00 13:46:01 lo 1.40 1.40 0.16 0.16 0.00 0.00 0.00 0.00 13:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:46:01 ens3 94.75 63.24 844.19 11.33 0.00 0.00 0.00 0.00 Average: lo 1.43 1.43 0.16 0.16 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 269.37 175.34 971.06 45.04 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8944) 04/25/25 _x86_64_ (8 CPU) 13:43:33 LINUX RESTART (8 CPU) 13:44:01 CPU %user %nice %system %iowait %steal %idle 13:45:01 all 10.31 0.00 1.21 4.60 0.04 83.85 13:45:01 0 6.12 0.00 0.93 0.22 0.03 92.70 13:45:01 1 5.43 0.00 1.07 2.26 0.03 91.21 13:45:01 2 12.35 0.00 1.40 0.78 0.03 85.43 13:45:01 3 14.77 0.00 1.21 1.07 0.05 82.90 13:45:01 4 9.66 0.00 1.29 1.99 0.03 87.03 13:45:01 5 6.14 0.00 1.10 26.61 0.07 66.09 13:45:01 6 17.78 0.00 1.96 3.61 0.05 76.60 13:45:01 7 10.18 0.00 0.77 0.23 0.03 88.78 13:46:01 all 9.09 0.00 0.64 4.12 0.03 86.13 13:46:01 0 1.38 0.00 0.30 4.44 0.02 93.86 13:46:01 1 15.20 0.00 0.82 0.90 0.03 83.05 13:46:01 2 11.25 0.00 0.43 0.80 0.02 87.50 13:46:01 3 4.17 0.00 0.43 0.43 0.00 94.96 13:46:01 4 26.45 0.00 1.57 3.18 0.05 68.76 13:46:01 5 2.08 0.00 0.52 22.81 0.05 74.54 13:46:01 6 9.57 0.00 0.68 0.20 0.03 89.51 13:46:01 7 2.54 0.00 0.32 0.25 0.03 96.86 Average: all 9.70 0.00 0.92 4.36 0.03 84.99 Average: 0 3.75 0.00 0.62 2.33 0.03 93.28 Average: 1 10.32 0.00 0.94 1.58 0.03 87.12 Average: 2 11.80 0.00 0.92 0.79 0.03 86.46 Average: 3 9.46 0.00 0.82 0.75 0.03 88.94 Average: 4 18.07 0.00 1.43 2.59 0.04 77.88 Average: 5 4.11 0.00 0.81 24.71 0.06 70.31 Average: 6 13.67 0.00 1.32 1.90 0.04 83.07 Average: 7 6.35 0.00 0.54 0.24 0.03 92.83