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-20342 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-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-z2Z4RqxPbeA7/agent.2094 SSH_AGENT_PID=2096 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_653347135873283638.key (/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_653347135873283638.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-merge-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 refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 9850ecf635424e153db960da12b32b1140ff5f9d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9850ecf635424e153db960da12b32b1140ff5f9d # timeout=10 Commit message: "Chore: Add dependabot config" > 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-merge-master] $ /bin/bash /tmp/jenkins11882877911274814042.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-VeRA 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-VeRA/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-VeRA/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-merge-master] $ /bin/bash -l /tmp/jenkins14238654479444352752.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-7Uax + 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-merge-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/^[ *]* //' ++ 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-7Uax + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7Uax' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7Uax + echo /tmp/venv-7Uax + 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-7Uax/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-7Uax/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-7Uax/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-7Uax/bin to PATH + PATH=/tmp/venv-7Uax/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-7Uax/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-merge-master] $ /bin/sh /tmp/jenkins12013145991155893772.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.Ey1rBkHfFj/snmptrap Using /tmp/ogr.Ey1rBkHfFj/snmptrap New files: ================================================================ SUCCESS: No updated files were found for use with the -l option. Skipping rest of /tmp/ogr.Ey1rBkHfFj/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-merge-master] $ /bin/bash -l /tmp/jenkins10532786213725962491.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-merge-master/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/docs + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox + cd /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-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-xSjl + 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-merge-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= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ sed 's/^[ *]* //' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ 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 ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-7Uax + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7Uax from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7Uax 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-7Uax/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-7Uax/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-7Uax/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-7Uax/bin to PATH + PATH=/tmp/venv-7Uax/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-7Uax/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-7Uax/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-merge-master + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.32.0 from /tmp/venv-7Uax/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-merge-master/archives/tox/tox.log .pkg: remove tox env folder /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-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-merge-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-merge-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-merge-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-merge-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-merge-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-merge-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-merge-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-merge-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-merge-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.15 seconds) /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master> python -I -m pip install coverage pytest pytest-cov -r requirements.txt pid=2974 py37: FAIL ✖ in 2.16 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-7Uax/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-7Uax/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-7Uax/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-7Uax/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-7Uax/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-merge-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-merge-master/.tox/.tmp/package/1/snmptrap-2.0.8.tar.gz#sha256=02ef691d8c4de548a83ceaefffbc8d6093a2c4ac58e49d62f3a7bbe653f1adac,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-merge-master/.tox/py38/bin/python cachedir: .tox/py38/.pytest_cache rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-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-merge-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-merge-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-merge-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 12.37s ================== py38: OK ✔ in 25.88 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-merge-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-merge-master/.tox/.tmp/package/2/snmptrap-2.0.8.tar.gz#sha256=02ef691d8c4de548a83ceaefffbc8d6093a2c4ac58e49d62f3a7bbe653f1adac,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-merge-master/.tox/py39/bin/python cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-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-merge-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-merge-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-merge-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.71s ==================  py37: FAIL code 1 (2.16 seconds) py38: OK (25.88=setup[13.03]+cmd[12.85] seconds) py39: OK (27.18=setup[13.89]+cmd[13.29] seconds) evaluation failed :( (55.24 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-merge-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-merge-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-merge-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 2096 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins6011032413346745003.sh ---> sysstat.sh [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins13796407525493360668.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-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-merge-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-merge-master ']' + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins18126639686734389713.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-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VeRA 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-VeRA/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins17165839421154146333.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/config12693294602656709933tmp 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-merge-master] $ /bin/bash /tmp/jenkins11771785498558833880.sh ---> create-netrc.sh [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins3515872283818737861.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-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VeRA 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-VeRA/bin to PATH [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins8782331426475836888.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins6040047196860853016.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VeRA 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-VeRA/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins2730268256589276031.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VeRA 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-VeRA/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-snmptrap-tox-merge-master/28 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-20342 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 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 822 28999 0 2344 30905 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:80:17:11 brd ff:ff:ff:ff:ff:ff inet 10.30.107.170/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86145sec preferred_lft 86145sec inet6 fe80::f816:3eff:fe80:1711/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:8c:d7:5e:60 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-20342) 12/12/25 _x86_64_ (8 CPU) 23:23:55 LINUX RESTART (8 CPU) 23:24:01 tps rtps wtps bread/s bwrtn/s 23:25:02 326.79 73.83 252.97 5314.50 81090.84 23:26:01 104.34 0.34 104.00 30.37 54124.66 23:27:01 156.63 25.01 131.62 1029.39 58679.37 23:28:01 67.51 3.32 64.19 174.64 18404.80 Average: 164.07 25.73 138.34 1644.07 53071.93 23:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:25:02 30402200 31722712 2537012 7.70 45816 1599404 1383564 4.07 808012 1466272 33828 23:26:01 29995280 31649752 2943932 8.94 74916 1884992 1463608 4.31 905580 1735040 199924 23:27:01 29719192 31654324 3220020 9.78 96216 2123684 1465668 4.31 945912 1928656 128764 23:28:01 29676968 31625596 3262244 9.90 98924 2134572 1451708 4.27 989892 1927164 25692 Average: 29948410 31663096 2990802 9.08 78968 1935663 1441137 4.24 912349 1764283 97052 23:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:25:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:02 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 23:25:02 ens3 309.53 227.84 966.81 71.70 0.00 0.00 0.00 0.00 23:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:26:01 lo 1.08 1.08 0.12 0.12 0.00 0.00 0.00 0.00 23:26:01 ens3 62.29 45.13 978.04 12.01 0.00 0.00 0.00 0.00 23:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:27:01 lo 1.83 1.83 0.25 0.25 0.00 0.00 0.00 0.00 23:27:01 ens3 30.67 24.08 146.25 7.47 0.00 0.00 0.00 0.00 23:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:28:01 lo 1.83 1.83 0.24 0.24 0.00 0.00 0.00 0.00 23:28:01 ens3 27.26 21.76 18.51 9.68 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.52 1.52 0.19 0.19 0.00 0.00 0.00 0.00 Average: ens3 107.63 79.85 525.52 25.28 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-20342) 12/12/25 _x86_64_ (8 CPU) 23:23:55 LINUX RESTART (8 CPU) 23:24:01 CPU %user %nice %system %iowait %steal %idle 23:25:02 all 5.73 0.00 1.10 7.08 0.04 86.04 23:25:02 0 3.28 0.00 0.57 6.53 0.03 89.59 23:25:02 1 4.74 0.00 0.87 17.81 0.03 76.55 23:25:02 2 2.61 0.00 0.79 2.77 0.05 93.79 23:25:02 3 8.05 0.00 0.90 0.92 0.05 90.07 23:25:02 4 12.09 0.00 0.95 7.12 0.05 79.79 23:25:02 5 2.32 0.00 0.63 1.25 0.03 95.76 23:25:02 6 7.38 0.00 0.88 15.83 0.05 75.86 23:25:02 7 5.44 0.00 3.18 4.47 0.07 86.85 23:26:01 all 7.78 0.00 0.56 4.55 0.03 87.08 23:26:01 0 19.61 0.00 1.15 1.85 0.05 77.34 23:26:01 1 6.56 0.00 0.51 0.09 0.03 92.81 23:26:01 2 0.29 0.00 0.12 2.34 0.02 97.23 23:26:01 3 0.22 0.00 0.10 0.00 0.02 99.66 23:26:01 4 0.19 0.00 0.03 0.00 0.00 99.78 23:26:01 5 1.00 0.00 0.02 0.00 0.00 98.98 23:26:01 6 2.58 0.00 0.63 27.27 0.03 69.48 23:26:01 7 31.77 0.00 1.90 4.89 0.08 61.35 23:27:01 all 8.52 0.00 1.00 3.82 0.05 86.62 23:27:01 0 10.21 0.00 1.34 0.15 0.03 88.27 23:27:01 1 1.59 0.00 0.57 0.05 0.05 97.74 23:27:01 2 3.62 0.00 0.60 0.82 0.05 94.91 23:27:01 3 0.92 0.00 0.23 0.02 0.02 98.82 23:27:01 4 25.36 0.00 1.74 2.30 0.05 70.55 23:27:01 5 16.76 0.00 1.64 1.64 0.05 79.91 23:27:01 6 1.96 0.00 0.79 19.37 0.07 77.82 23:27:01 7 7.67 0.00 1.09 6.25 0.05 84.95 23:28:01 all 9.55 0.00 0.71 1.29 0.04 88.42 23:28:01 0 26.55 0.00 1.27 0.15 0.07 71.97 23:28:01 1 27.18 0.00 1.22 0.17 0.07 71.37 23:28:01 2 11.79 0.00 0.82 0.25 0.02 87.13 23:28:01 3 3.17 0.00 0.42 0.00 0.00 96.42 23:28:01 4 0.22 0.00 0.30 4.71 0.05 94.72 23:28:01 5 1.27 0.00 0.45 0.02 0.03 98.23 23:28:01 6 1.52 0.00 0.43 3.99 0.02 94.04 23:28:01 7 4.71 0.00 0.75 1.05 0.02 93.47 Average: all 7.90 0.00 0.84 4.18 0.04 87.04 Average: 0 14.90 0.00 1.08 2.17 0.05 81.80 Average: 1 10.04 0.00 0.79 4.54 0.05 84.57 Average: 2 4.59 0.00 0.58 1.54 0.03 93.25 Average: 3 3.10 0.00 0.41 0.23 0.02 96.23 Average: 4 9.50 0.00 0.76 3.54 0.04 86.16 Average: 5 5.35 0.00 0.69 0.73 0.03 93.20 Average: 6 3.37 0.00 0.68 16.56 0.04 79.35 Average: 7 12.32 0.00 1.73 4.16 0.05 81.73