Triggered by Gerrit: https://gerrit.onap.org/r/c/dcaegen2/collectors/snmptrap/+/141711 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-20339 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master [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-zek7xSXDhq7d/agent.2092 SSH_AGENT_PID=2094 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master@tmp/private_key_12652846017887988449.key (/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master@tmp/private_key_12652846017887988449.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/dcaegen2/collectors/snmptrap > git init /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap > 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/collectors/snmptrap +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap # 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/dcaegen2/collectors/snmptrap # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap 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/collectors/snmptrap refs/changes/11/141711/3 # timeout=10 > git rev-parse 9850ecf635424e153db960da12b32b1140ff5f9d^{commit} # timeout=10 Checking out Revision 9850ecf635424e153db960da12b32b1140ff5f9d (refs/changes/11/141711/3) > git config core.sparsecheckout # timeout=10 > git checkout -f 9850ecf635424e153db960da12b32b1140ff5f9d # timeout=10 Commit message: "Chore: Add dependabot config" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 9b79aa3ae4802be5774119df475cfb8581a0f864 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins10083937076652329830.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-MVLC lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MVLC/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. httplib2 0.31.0 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. Python 3.10.6 pip 25.3 from /tmp/venv-MVLC/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.6.3 aspy.yaml==1.3.0 attrs==25.4.0 autopage==0.5.2 backports.strenum==1.3.1 beautifulsoup4==4.14.3 boto3==1.42.9 botocore==1.42.9 bs4==0.0.2 cachetools==6.2.3 certifi==2025.11.12 cffi==2.0.0 cfgv==3.5.0 chardet==5.2.0 charset-normalizer==3.4.4 click==8.3.1 cliff==4.13.0 cmd2==3.0.0 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.2.1 defusedxml==0.7.1 Deprecated==1.3.1 distlib==0.4.0 dnspython==2.8.0 docker==7.1.0 dogpile.cache==1.5.0 durationpy==0.10 email-validator==2.3.0 filelock==3.20.0 future==1.0.0 gitdb==4.0.12 GitPython==3.1.45 google-auth==2.43.0 httplib2==0.31.0 identify==2.6.15 idna==3.11 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.25.1 jsonschema-specifications==2025.9.1 keystoneauth1==5.12.0 kubernetes==34.1.0 lftools==0.37.18 lxml==6.0.2 markdown-it-py==4.0.0 MarkupSafe==3.0.3 mdurl==0.1.2 msgpack==1.1.2 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.3.1 openstacksdk==4.8.0 os-service-types==1.8.2 osc-lib==4.2.0 oslo.config==10.1.0 oslo.context==6.2.0 oslo.i18n==6.7.1 oslo.log==7.2.1 oslo.serialization==5.8.0 oslo.utils==9.2.0 packaging==25.0 pbr==7.0.3 platformdirs==4.5.1 prettytable==3.17.0 psutil==7.1.3 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.23 pygerrit2==2.0.15 PyGithub==2.8.1 Pygments==2.19.2 PyJWT==2.10.1 PyNaCl==1.6.1 pyparsing==2.4.7 pyperclip==1.11.0 pyrsistent==0.20.0 python-cinderclient==9.8.0 python-dateutil==2.9.0.post0 python-heatclient==4.3.0 python-jenkins==1.8.3 python-keystoneclient==5.7.0 python-magnumclient==4.9.0 python-openstackclient==8.2.0 python-swiftclient==4.9.0 PyYAML==6.0.3 referencing==0.37.0 requests==2.32.5 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rich==14.2.0 rich-argparse==1.7.2 rpds-py==0.30.0 rsa==4.9.1 ruamel.yaml==0.18.16 ruamel.yaml.clib==0.2.15 s3transfer==0.16.0 simplejson==3.20.2 six==1.17.0 smmap==5.0.2 soupsieve==2.8 stevedore==5.6.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.3 tqdm==4.67.1 typing_extensions==4.15.0 tzdata==2025.2 urllib3==1.26.20 virtualenv==20.35.4 wcwidth==0.2.14 websocket-client==1.9.0 wrapt==2.0.1 xdg==6.0.0 xmltodict==1.0.2 yq==3.4.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash -l /tmp/jenkins2776761018998961345.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-sfq1 + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ [[ ! -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-sfq1 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sfq1' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sfq1 + echo /tmp/venv-sfq1 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' lf-activate-venv(): INFO: Attempting to install with network-safe options... + /tmp/venv-sfq1/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + echo 'lf-activate-venv(): INFO: Base packages installed successfully' lf-activate-venv(): INFO: Base packages installed successfully + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + /tmp/venv-sfq1/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-sfq1/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-sfq1/bin to PATH + PATH=/tmp/venv-sfq1/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 25.3 from /tmp/venv-sfq1/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==6.2.3 chardet==5.2.0 colorama==0.4.6 distlib==0.4.0 filelock==3.20.0 packaging==25.0 platformdirs==4.5.1 pluggy==1.6.0 pyproject-api==1.10.0 tomli==2.3.0 tox==4.32.0 typing_extensions==4.15.0 urllib3==1.26.20 virtualenv==20.35.4 [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/sh /tmp/jenkins7156050313884997403.sh --> onap-gerrit-review-wrapper.sh Cloning into 'onap-gerrit-review'... URL='https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap' REFSPEC='refs/changes/11/141711/3' BRANCH='master' Cloning into 'snmptrap'... From https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap * branch refs/changes/11/141711/3 -> FETCH_HEAD Already up to date. Running: onap-gerrit-review-step2 -l /tmp/ogr.flQ5jRNMYA/snmptrap Using /tmp/ogr.flQ5jRNMYA/snmptrap New files: ================================================================ SUCCESS: No updated files were found for use with the -l option. Skipping rest of /tmp/ogr.flQ5jRNMYA/snmptrap ================================================================ [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash -l /tmp/jenkins8215779549068816795.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + ARCHIVE_TOX_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/docs + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/tox + cd /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/. + 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-DZ6e + 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-collectors-snmptrap-tox-verify-master/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ sed 's/^[ *]* //' ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ local command ++ awk '{ print $1 }' ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ grep '^3' /tmp/.pyenv_versions +++ 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-sfq1 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sfq1 from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sfq1 from file:/tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' lf-activate-venv(): INFO: Attempting to install with network-safe options... + /tmp/venv-sfq1/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + echo 'lf-activate-venv(): INFO: Base packages installed successfully' lf-activate-venv(): INFO: Base packages installed successfully + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + /tmp/venv-sfq1/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-sfq1/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-sfq1/bin to PATH + PATH=/tmp/venv-sfq1/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-sfq1/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-sfq1/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ pwd + PYTHONPATH=/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.32.0 from /tmp/venv-sfq1/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + tox + tee -a /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/tox/tox.log .pkg: remove tox env folder /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/.pkg py37: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/__main__.py", line 22, in from pip._internal.cli.main import main as _main File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 11, in from pip._internal.cli.autocompletion import autocomplete File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_internal/build_env.py", line 17, in from pip._internal.cli.spinners import open_spinner File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_internal/utils/logging.py", line 13, in from pip._vendor.rich.console import ( File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_vendor/rich/console.py", line 40, in from pip._vendor.typing_extensions import ( File "/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py37/lib/python3.7/site-packages/pip/_vendor/typing_extensions.py", line 1039 def TypedDict(typename, fields=_marker, /, *, total=True, closed=False, **kwargs): ^ SyntaxError: invalid syntax py37: exit 1 (0.13 seconds) /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master> python -I -m pip install coverage pytest pytest-cov -r requirements.txt pid=2966 py37: FAIL ✖ in 1.76 seconds py38: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' .pkg: _optional_hooks> python /tmp/venv-sfq1/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-sfq1/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-sfq1/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==25.3,setuptools==80.9.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-sfq1/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-sfq1/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py38: install_package_deps> python -I -m pip install onap_dcae_cbs_docker_client==2.2.1 pyasn1==0.4.8 pysnmp==4.4.12 pyyaml requests==2.18.3 py38: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/.tmp/package/1/snmptrap-2.0.8.tar.gz py38: freeze> python -m pip freeze --all py38: certifi==2025.11.12,chardet==3.0.4,coverage==7.6.1,exceptiongroup==1.3.1,idna==2.5,iniconfig==2.1.0,onap_dcae_cbs_docker_client==2.2.1,packaging==25.0,pip==25.0.1,pluggy==1.5.0,ply==3.11,pyasn1==0.4.8,pycryptodomex==3.23.0,pysmi==0.3.4,pysnmp==4.4.12,pytest==8.3.5,pytest-cov==5.0.0,PyYAML==6.0.3,requests==2.18.3,setuptools==75.3.2,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/.tmp/package/1/snmptrap-2.0.8.tar.gz#sha256=c11a4ccb49d7e60f023706ea324af2790de2a7b3785f22d4fb95b0557a9f070e,tomli==2.3.0,typing_extensions==4.13.2,urllib3==1.22,wheel==0.45.1 py38: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose ============================= test session starts ============================== platform linux -- Python 3.8.14, pytest-8.3.5, pluggy-1.5.0 -- /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py38/bin/python cachedir: .tox/py38/.pytest_cache rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master plugins: cov-5.0.0 collecting ... collected 96 items tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] =============================== warnings summary =============================== .tox/py38/lib/python3.8/site-packages/urllib3/util/selectors.py:14 /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py38/lib/python3.8/site-packages/urllib3/util/selectors.py:14: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import namedtuple, Mapping .tox/py38/lib/python3.8/site-packages/urllib3/_collections.py:2 /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py38/lib/python3.8/site-packages/urllib3/_collections.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import Mapping, MutableMapping .tox/py38/lib/python3.8/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py38/lib/python3.8/site-packages/pysnmp/carrier/asyncio/dispatch.py:58: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def handle_timeout(self): :2 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.8.14-final-0 ----------- Name Stmts Miss Cover --------------------------------------------------------------- snmptrap/__init__.py 0 0 100% snmptrap/mod/__init__.py 0 0 100% snmptrap/mod/trapd_exit.py 10 0 100% snmptrap/mod/trapd_get_cbs_config.py 57 3 95% snmptrap/mod/trapd_http_session.py 31 0 100% snmptrap/mod/trapd_io.py 159 0 100% snmptrap/mod/trapd_runtime_pid.py 25 0 100% snmptrap/mod/trapd_settings.py 54 0 100% snmptrap/mod/trapd_snmpv3.py 107 2 98% snmptrap/mod/trapd_stats_settings.py 6 0 100% snmptrap/mod/trapd_stormwatch.py 227 19 92% snmptrap/mod/trapd_stormwatch_settings.py 10 0 100% snmptrap/mod/trapd_vb_types.py 23 0 100% snmptrap/snmptrapd.py 362 85 77% --------------------------------------------------------------- TOTAL 1071 109 90% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ================== 94 passed, 2 skipped, 4 warnings in 11.65s ================== py38: OK ✔ in 23.19 seconds py39: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt py39: install_package_deps> python -I -m pip install onap_dcae_cbs_docker_client==2.2.1 pyasn1==0.4.8 pysnmp==4.4.12 pyyaml requests==2.18.3 py39: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/.tmp/package/2/snmptrap-2.0.8.tar.gz py39: freeze> python -m pip freeze --all py39: certifi==2025.11.12,chardet==3.0.4,coverage==7.10.7,exceptiongroup==1.3.1,idna==2.5,iniconfig==2.1.0,onap_dcae_cbs_docker_client==2.2.1,packaging==25.0,pip==25.3,pluggy==1.6.0,ply==3.11,pyasn1==0.4.8,pycryptodomex==3.23.0,Pygments==2.19.2,pysmi==0.3.4,pysnmp==4.4.12,pytest==8.4.2,pytest-cov==7.0.0,PyYAML==6.0.3,requests==2.18.3,setuptools==80.9.0,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/.tmp/package/2/snmptrap-2.0.8.tar.gz#sha256=c11a4ccb49d7e60f023706ea324af2790de2a7b3785f22d4fb95b0557a9f070e,tomli==2.3.0,typing_extensions==4.15.0,urllib3==1.22 py39: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose ============================= test session starts ============================== platform linux -- Python 3.9.14, pytest-8.4.2, pluggy-1.6.0 -- /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py39/bin/python cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master plugins: cov-7.0.0 collecting ... collected 96 items tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] =============================== warnings summary =============================== .tox/py39/lib/python3.9/site-packages/urllib3/util/selectors.py:14 /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py39/lib/python3.9/site-packages/urllib3/util/selectors.py:14: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import namedtuple, Mapping .tox/py39/lib/python3.9/site-packages/urllib3/_collections.py:2 /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py39/lib/python3.9/site-packages/urllib3/_collections.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import Mapping, MutableMapping .tox/py39/lib/python3.9/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.tox/py39/lib/python3.9/site-packages/pysnmp/carrier/asyncio/dispatch.py:58: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def handle_timeout(self): :2 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.9.14-final-0 ________________ Name Stmts Miss Cover --------------------------------------------------------------- snmptrap/__init__.py 0 0 100% snmptrap/mod/__init__.py 0 0 100% snmptrap/mod/trapd_exit.py 10 0 100% snmptrap/mod/trapd_get_cbs_config.py 57 3 95% snmptrap/mod/trapd_http_session.py 31 0 100% snmptrap/mod/trapd_io.py 159 0 100% snmptrap/mod/trapd_runtime_pid.py 25 0 100% snmptrap/mod/trapd_settings.py 54 0 100% snmptrap/mod/trapd_snmpv3.py 107 2 98% snmptrap/mod/trapd_stats_settings.py 6 0 100% snmptrap/mod/trapd_stormwatch.py 227 19 92% snmptrap/mod/trapd_stormwatch_settings.py 10 0 100% snmptrap/mod/trapd_vb_types.py 23 0 100% snmptrap/snmptrapd.py 362 85 77% --------------------------------------------------------------- TOTAL 1071 109 90% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ================== 94 passed, 2 skipped, 4 warnings in 12.03s ==================  py37: FAIL code 1 (1.75 seconds) py38: OK (23.19=setup[11.18]+cmd[12.01] seconds) py39: OK (23.66=setup[11.23]+cmd[12.43] seconds) evaluation failed :( (48.63 seconds) + tox_status=255 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/py37/log ++ awk -F/ '{print $2}' + tox_env=py37 + cp -r .tox/py37/log /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/tox/py37 + for i in .tox/*/log ++ echo .tox/py38/log ++ awk -F/ '{print $2}' + tox_env=py38 + cp -r .tox/py38/log /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/tox/py38 + for i in .tox/*/log ++ echo .tox/py39/log ++ awk -F/ '{print $2}' + tox_env=py39 + cp -r .tox/py39/log /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/tox/py39 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 255 -eq 0 + exit 255 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2094 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins9378568536868812775.sh ---> sysstat.sh [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins6307387786454914885.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master + 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-collectors-snmptrap-tox-verify-master ']' + 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-collectors-snmptrap-tox-verify-master ']' + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/archives/ [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins16271124911188320438.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MVLC from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MVLC/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins9732035556197773357.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master@tmp/config14843423762170297088tmp 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-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins7302212168815375232.sh ---> create-netrc.sh [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins135399374075149417.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MVLC from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MVLC/bin to PATH [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins16767401229540128125.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash /tmp/jenkins18226010945648293992.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MVLC from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-MVLC/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [dcaegen2-collectors-snmptrap-tox-verify-master] $ /bin/bash -l /tmp/jenkins15620308977240830851.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MVLC from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Attempting to install with network-safe options... lf-activate-venv(): INFO: Base packages installed successfully lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-MVLC/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-snmptrap-tox-verify-master/71 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-20339 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 716K 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 842 28975 0 2348 30885 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:11:0d:0c brd ff:ff:ff:ff:ff:ff inet 10.30.107.91/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86185sec preferred_lft 86185sec inet6 fe80::f816:3eff:fe11:d0c/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:58:b1:00:cf 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-20339) 12/12/25 _x86_64_ (8 CPU) 23:22:23 LINUX RESTART (8 CPU) 23:23:01 tps rtps wtps bread/s bwrtn/s 23:24:01 257.48 21.53 235.95 712.70 83075.37 23:25:01 155.49 26.73 128.76 1091.42 46331.34 Average: 206.49 24.13 182.36 902.04 64704.89 23:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:24:01 29973304 31621752 2965916 9.00 74372 1879860 1478236 4.35 932548 1730036 222144 23:25:01 29663792 31606636 3275428 9.94 96360 2131164 1504968 4.43 995672 1933416 127184 Average: 29818548 31614194 3120672 9.47 85366 2005512 1491602 4.39 964110 1831726 174664 23:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:24:01 ens3 113.11 76.92 1199.83 27.63 0.00 0.00 0.00 0.00 23:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:24:01 lo 1.20 1.20 0.15 0.15 0.00 0.00 0.00 0.00 23:25:01 ens3 33.14 25.38 146.10 7.48 0.00 0.00 0.00 0.00 23:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:01 lo 2.77 2.77 0.40 0.40 0.00 0.00 0.00 0.00 Average: ens3 73.13 51.15 673.01 17.55 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.98 1.98 0.27 0.27 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-20339) 12/12/25 _x86_64_ (8 CPU) 23:22:23 LINUX RESTART (8 CPU) 23:23:01 CPU %user %nice %system %iowait %steal %idle 23:24:01 all 8.79 0.00 0.76 4.22 0.03 86.20 23:24:01 0 1.88 0.00 0.25 0.23 0.02 97.62 23:24:01 1 5.90 0.00 0.42 0.22 0.02 93.45 23:24:01 2 24.69 0.00 1.62 1.75 0.05 71.90 23:24:01 3 5.52 0.00 0.33 0.15 0.02 93.98 23:24:01 4 6.45 0.00 1.25 4.82 0.03 87.45 23:24:01 5 3.08 0.00 0.43 7.48 0.05 88.96 23:24:01 6 22.42 0.00 1.40 1.87 0.05 74.25 23:24:01 7 0.32 0.00 0.35 17.30 0.03 82.00 23:25:01 all 9.18 0.00 0.91 2.14 0.04 87.73 23:25:01 0 10.11 0.00 0.50 0.23 0.03 89.12 23:25:01 1 19.22 0.00 1.40 1.18 0.03 78.16 23:25:01 2 13.55 0.00 1.08 0.70 0.03 84.63 23:25:01 3 12.36 0.00 0.90 0.10 0.05 86.59 23:25:01 4 5.94 0.00 0.98 3.57 0.02 89.48 23:25:01 5 4.83 0.00 0.97 0.34 0.03 93.83 23:25:01 6 4.29 0.00 0.78 0.07 0.05 94.81 23:25:01 7 3.07 0.00 0.62 10.92 0.08 85.30 Average: all 8.98 0.00 0.83 3.18 0.04 86.97 Average: 0 6.00 0.00 0.37 0.23 0.02 93.37 Average: 1 12.57 0.00 0.91 0.70 0.03 85.80 Average: 2 19.12 0.00 1.35 1.23 0.04 78.26 Average: 3 8.94 0.00 0.62 0.13 0.03 90.28 Average: 4 6.20 0.00 1.12 4.20 0.03 88.47 Average: 5 3.95 0.00 0.70 3.91 0.04 91.39 Average: 6 13.35 0.00 1.09 0.97 0.05 84.53 Average: 7 1.70 0.00 0.48 14.11 0.06 83.65