07:09:07 Triggered by Gerrit: https://gerrit.onap.org/r/c/dcaegen2/collectors/snmptrap/+/144833 07:09:07 Running as SYSTEM 07:09:07 [EnvInject] - Loading node environment variables. 07:09:08 Building remotely on prd-ubuntu1804-docker-8c-8g-11195 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 07:09:08 [ssh-agent] Looking for ssh-agent implementation... 07:09:08 $ ssh-agent 07:09:08 SSH_AUTH_SOCK=/tmp/ssh-GZPNtFW06Yfj/agent.2021 07:09:08 SSH_AGENT_PID=2023 07:09:08 [ssh-agent] Started. 07:09:08 Running ssh-add (command line suppressed) 07:09:08 Identity added: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_10381062452898890287.key (/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_10381062452898890287.key) 07:09:08 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 07:09:08 The recommended git tool is: NONE 07:09:11 using credential onap-jenkins-ssh 07:09:11 Wiping out workspace first. 07:09:11 Cloning the remote Git repository 07:09:11 Cloning repository git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap 07:09:11 > git init /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master # timeout=10 07:09:11 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap 07:09:11 > git --version # timeout=10 07:09:11 > git --version # 'git version 2.17.1' 07:09:11 using GIT_SSH to set credentials Gerrit user 07:09:11 Verifying host key using manually-configured host key entries 07:09:11 > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:12 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap # timeout=10 07:09:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:13 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap # timeout=10 07:09:13 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap 07:09:13 using GIT_SSH to set credentials Gerrit user 07:09:13 Verifying host key using manually-configured host key entries 07:09:13 > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap refs/changes/33/144833/2 # timeout=10 07:09:13 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 07:09:13 Checking out Revision 9c77f2015c9f9e553212c545a3c8e12f7c0c07e8 (refs/remotes/origin/master) 07:09:13 > git config core.sparsecheckout # timeout=10 07:09:13 > git checkout -f 9c77f2015c9f9e553212c545a3c8e12f7c0c07e8 # timeout=10 07:09:13 Commit message: "CI: Update python based Github2Gerrit" 07:09:13 > git rev-list --no-walk 789c5074dda0f16cfeb6029ee7412fe1d095d1e7 # timeout=10 07:09:16 provisioning config files... 07:09:16 copy managed file [npmrc] to file:/home/jenkins/.npmrc 07:09:16 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 07:09:16 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins5929865675392416748.sh 07:09:16 ---> python-tools-install.sh 07:09:16 Setup pyenv: 07:09:17 * system (set by /opt/pyenv/version) 07:09:17 * 3.8.13 (set by /opt/pyenv/version) 07:09:17 * 3.9.13 (set by /opt/pyenv/version) 07:09:17 * 3.10.6 (set by /opt/pyenv/version) 07:09:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a5Ox 07:09:21 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 07:09:21 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:09:21 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:09:26 lf-activate-venv(): INFO: Base packages installed successfully 07:09:26 lf-activate-venv(): INFO: Installing additional packages: lftools 07:09:49 lf-activate-venv(): INFO: Adding /tmp/venv-a5Ox/bin to PATH 07:09:49 Generating Requirements File 07:10:11 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. 07:10:11 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 07:10:11 Python 3.10.6 07:10:12 pip 26.1.2 from /tmp/venv-a5Ox/lib/python3.10/site-packages/pip (python 3.10) 07:10:12 aiohappyeyeballs==2.6.2 07:10:12 aiohttp==3.14.1 07:10:12 aiosignal==1.4.0 07:10:12 appdirs==1.4.4 07:10:12 argcomplete==3.6.3 07:10:12 aspy.yaml==1.3.0 07:10:12 async-timeout==5.0.1 07:10:12 attrs==26.1.0 07:10:12 autopage==0.6.0 07:10:12 backports.strenum==1.3.1 07:10:12 beautifulsoup4==4.15.0 07:10:12 boto3==1.43.28 07:10:12 botocore==1.43.28 07:10:12 bs4==0.0.2 07:10:12 certifi==2026.5.20 07:10:12 cffi==2.0.0 07:10:12 cfgv==3.5.0 07:10:12 chardet==7.4.3 07:10:12 charset-normalizer==3.4.7 07:10:12 click==8.4.1 07:10:12 cliff==4.14.0 07:10:12 cmd2==3.5.1 07:10:12 cryptography==3.3.2 07:10:12 debtcollector==3.1.0 07:10:12 decorator==5.3.1 07:10:12 defusedxml==0.7.1 07:10:12 Deprecated==1.3.1 07:10:12 distlib==0.4.2 07:10:12 dnspython==2.8.0 07:10:12 docker==7.1.0 07:10:12 dogpile.cache==1.5.0 07:10:12 durationpy==0.10 07:10:12 email-validator==2.3.0 07:10:12 filelock==3.29.3 07:10:12 frozenlist==1.8.0 07:10:12 future==1.0.0 07:10:12 gitdb==4.0.12 07:10:12 GitPython==3.1.50 07:10:12 httplib2==0.30.2 07:10:12 identify==2.6.19 07:10:12 idna==3.18 07:10:12 importlib-resources==1.5.0 07:10:12 iso8601==2.1.0 07:10:12 Jinja2==3.1.6 07:10:12 jmespath==1.1.0 07:10:12 jsonpatch==1.33 07:10:12 jsonpointer==3.1.1 07:10:12 jsonschema==4.26.0 07:10:12 jsonschema-specifications==2025.9.1 07:10:12 keystoneauth1==5.14.0 07:10:12 kubernetes==36.0.2 07:10:12 lftools==0.37.22 07:10:12 lxml==6.1.1 07:10:12 markdown-it-py==4.2.0 07:10:12 MarkupSafe==3.0.3 07:10:12 mdurl==0.1.2 07:10:12 msgpack==1.2.0 07:10:12 multi_key_dict==2.0.3 07:10:12 multidict==6.7.1 07:10:12 munch==4.0.0 07:10:12 netaddr==1.3.0 07:10:12 niet==1.4.2 07:10:12 nodeenv==1.10.0 07:10:12 oauth2client==4.1.3 07:10:12 oauthlib==3.3.1 07:10:12 openstacksdk==4.13.0 07:10:12 os-service-types==1.8.2 07:10:12 osc-lib==4.6.0 07:10:12 oslo.config==10.4.0 07:10:12 oslo.context==6.4.0 07:10:12 oslo.i18n==6.8.0 07:10:12 oslo.log==8.2.0 07:10:12 oslo.serialization==5.10.0 07:10:12 oslo.utils==10.1.1 07:10:12 packaging==26.2 07:10:12 pbr==7.0.3 07:10:12 platformdirs==4.10.0 07:10:12 prettytable==3.17.0 07:10:12 propcache==0.5.2 07:10:12 psutil==7.2.2 07:10:12 pyasn1==0.6.3 07:10:12 pyasn1_modules==0.4.2 07:10:12 pycparser==3.0 07:10:12 pygerrit2==2.0.15 07:10:12 PyGithub==2.9.1 07:10:12 Pygments==2.20.0 07:10:12 PyJWT==2.13.0 07:10:12 PyNaCl==1.6.2 07:10:12 pyparsing==2.4.7 07:10:12 pyperclip==1.11.0 07:10:12 pyrsistent==0.20.0 07:10:12 python-cinderclient==9.9.0 07:10:12 python-dateutil==2.9.0.post0 07:10:12 python-discovery==1.4.2 07:10:12 python-heatclient==5.2.0 07:10:12 python-jenkins==1.8.3 07:10:12 python-keystoneclient==5.8.0 07:10:12 python-magnumclient==4.10.0 07:10:12 python-openstackclient==10.0.0 07:10:12 python-swiftclient==4.10.0 07:10:12 PyYAML==6.0.3 07:10:12 referencing==0.37.0 07:10:12 requests==2.34.2 07:10:12 requests-oauthlib==2.0.0 07:10:12 rfc3986==2.0.0 07:10:12 rich==15.0.0 07:10:12 rich-argparse==1.8.0 07:10:12 rpds-py==0.30.0 07:10:12 rsa==4.9.1 07:10:12 ruamel.yaml==0.19.1 07:10:12 ruamel.yaml.clib==0.2.15 07:10:12 s3transfer==0.18.0 07:10:12 simplejson==4.1.1 07:10:12 six==1.17.0 07:10:12 smmap==5.0.3 07:10:12 soupsieve==2.8.4 07:10:12 stevedore==5.8.0 07:10:12 tabulate==0.10.0 07:10:12 toml==0.10.2 07:10:12 tomlkit==0.15.0 07:10:12 tqdm==4.68.2 07:10:12 typing_extensions==4.15.0 07:10:12 urllib3==1.26.20 07:10:12 virtualenv==21.4.3 07:10:12 wcwidth==0.8.1 07:10:12 websocket-client==1.9.0 07:10:12 wrapt==2.2.1 07:10:12 xdg==6.0.0 07:10:12 xmltodict==1.0.4 07:10:12 yarl==1.24.2 07:10:12 yq==3.4.3 07:10:12 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/sh /tmp/jenkins17907836119294769932.sh 07:10:12 ---> uv-install.sh 07:10:12 Installing uv/uvx (latest) using shell installer 07:10:12 2026-06-12 07:10:12 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71233/71233] -> "/tmp/uv-install-5DUbHw.sh" [1] 07:10:12 downloading uv 0.11.21 x86_64-unknown-linux-gnu 07:10:13 installing to /home/jenkins/.local/bin 07:10:13 uv 07:10:13 uvx 07:10:13 everything's installed! 07:10:13 07:10:13 To add $HOME/.local/bin to your PATH, either restart your shell or run: 07:10:13 07:10:13 source $HOME/.local/bin/env (sh, bash, zsh) 07:10:13 source $HOME/.local/bin/env.fish (fish) 07:10:13 Adding install location to PATH 07:10:13 ---> Validating uv/uvx install 07:10:13 uvx 0.11.21 (x86_64-unknown-linux-gnu) 07:10:13 [EnvInject] - Injecting environment variables from a build step. 07:10:13 [EnvInject] - Injecting as environment variables the properties content 07:10:13 PYTHON=python3 07:10:13 07:10:13 [EnvInject] - Variables injected successfully. 07:10:13 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins4443457327086993939.sh 07:10:13 ---> tox-install.sh 07:10:13 + source /home/jenkins/lf-env.sh 07:10:13 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 07:10:13 ++ mktemp -d /tmp/venv-XXXX 07:10:13 + lf_venv=/tmp/venv-7xUS 07:10:13 + local venv_file=/tmp/.os_lf_venv 07:10:13 + local python=python3 07:10:13 + local options 07:10:13 + local set_path=true 07:10:13 + local install_args= 07:10:13 ++ 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 07:10:13 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:10:13 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:10:13 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 07:10:13 + true 07:10:13 + case $1 in 07:10:13 + venv_file=/tmp/.toxenv 07:10:13 + shift 2 07:10:13 + true 07:10:13 + case $1 in 07:10:13 + shift 07:10:13 + break 07:10:13 + case $python in 07:10:13 + local pkg_list= 07:10:13 + [[ -d /opt/pyenv ]] 07:10:13 + echo 'Setup pyenv:' 07:10:13 Setup pyenv: 07:10:13 + export PYENV_ROOT=/opt/pyenv 07:10:13 + PYENV_ROOT=/opt/pyenv 07:10:13 + 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 07:10:13 + 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 07:10:13 + pyenv versions 07:10:13 system 07:10:13 3.8.13 07:10:13 3.9.13 07:10:13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 07:10:13 + command -v pyenv 07:10:13 ++ pyenv init - --no-rehash 07:10:13 + 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[*]}"'\'')" 07:10:13 export PATH="/opt/pyenv/shims:${PATH}" 07:10:13 export PYENV_SHELL=bash 07:10:13 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 07:10:13 pyenv() { 07:10:13 local command 07:10:13 command="${1:-}" 07:10:13 if [ "$#" -gt 0 ]; then 07:10:13 shift 07:10:13 fi 07:10:13 07:10:13 case "$command" in 07:10:13 rehash|shell) 07:10:13 eval "$(pyenv "sh-$command" "$@")" 07:10:13 ;; 07:10:13 *) 07:10:13 command pyenv "$command" "$@" 07:10:13 ;; 07:10:13 esac 07:10:13 }' 07:10:13 +++ 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[*]}"' 07:10:13 ++ 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 07:10:13 ++ 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 07:10:13 ++ 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 07:10:13 ++ export PYENV_SHELL=bash 07:10:13 ++ PYENV_SHELL=bash 07:10:13 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 07:10:13 +++ complete -F _pyenv pyenv 07:10:13 ++ lf-pyver python3 07:10:13 ++ local py_version_xy=python3 07:10:13 ++ local py_version_xyz= 07:10:13 ++ pyenv versions 07:10:13 ++ local command 07:10:13 ++ command=versions 07:10:13 ++ '[' 1 -gt 0 ']' 07:10:13 ++ shift 07:10:13 ++ case "$command" in 07:10:13 ++ command pyenv versions 07:10:13 ++ pyenv versions 07:10:13 ++ sed 's/^[ *]* //' 07:10:13 ++ awk '{ print $1 }' 07:10:13 ++ grep -E '^[0-9.]*[0-9]$' 07:10:13 ++ [[ ! -s /tmp/.pyenv_versions ]] 07:10:13 +++ grep '^3' /tmp/.pyenv_versions 07:10:13 +++ sort -V 07:10:13 +++ tail -n 1 07:10:13 ++ py_version_xyz=3.10.6 07:10:13 ++ [[ -z 3.10.6 ]] 07:10:13 ++ echo 3.10.6 07:10:13 ++ return 0 07:10:13 + pyenv local 3.10.6 07:10:13 + local command 07:10:13 + command=local 07:10:13 + '[' 2 -gt 0 ']' 07:10:13 + shift 07:10:13 + case "$command" in 07:10:13 + command pyenv local 3.10.6 07:10:13 + pyenv local 3.10.6 07:10:13 + for arg in "$@" 07:10:13 + case $arg in 07:10:13 + pkg_list+='tox ' 07:10:13 + for arg in "$@" 07:10:13 + case $arg in 07:10:13 + pkg_list+='virtualenv ' 07:10:13 + for arg in "$@" 07:10:13 + case $arg in 07:10:13 + pkg_list+='urllib3~=1.26.15 ' 07:10:13 + [[ -f /tmp/.toxenv ]] 07:10:13 + [[ ! -f /tmp/.toxenv ]] 07:10:13 + [[ -n '' ]] 07:10:13 + python3 -m venv /tmp/venv-7xUS 07:10:17 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7xUS' 07:10:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7xUS 07:10:17 + echo /tmp/venv-7xUS 07:10:17 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 07:10:17 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 07:10:17 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 07:10:17 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:10:17 + local 'pip_opts=--upgrade --quiet' 07:10:17 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 07:10:17 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 07:10:17 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 07:10:17 + [[ -n '' ]] 07:10:17 + [[ -n '' ]] 07:10:17 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 07:10:17 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:10:17 + /tmp/venv-7xUS/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 07:10:21 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 07:10:21 lf-activate-venv(): INFO: Base packages installed successfully 07:10:21 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 07:10:21 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 07:10:21 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 07:10:21 + /tmp/venv-7xUS/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 07:10:23 + type python3 07:10:23 + true 07:10:23 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-7xUS/bin to PATH' 07:10:23 lf-activate-venv(): INFO: Adding /tmp/venv-7xUS/bin to PATH 07:10:23 + PATH=/tmp/venv-7xUS/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 07:10:23 + return 0 07:10:23 + python3 --version 07:10:23 Python 3.10.6 07:10:23 + python3 -m pip --version 07:10:23 pip 26.1.2 from /tmp/venv-7xUS/lib/python3.10/site-packages/pip (python 3.10) 07:10:23 + python3 -m pip freeze 07:10:24 cachetools==7.1.4 07:10:24 colorama==0.4.6 07:10:24 distlib==0.4.2 07:10:24 filelock==3.29.3 07:10:24 packaging==26.2 07:10:24 platformdirs==4.10.0 07:10:24 pluggy==1.6.0 07:10:24 pyproject-api==1.10.1 07:10:24 python-discovery==1.4.2 07:10:24 tomli==2.4.1 07:10:24 tomli_w==1.2.0 07:10:24 tox==4.55.1 07:10:24 typing_extensions==4.15.0 07:10:24 urllib3==1.26.20 07:10:24 virtualenv==21.4.3 07:10:24 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/sh /tmp/jenkins11157940643742719282.sh 07:10:24 --> onap-gerrit-review-wrapper.sh 07:10:24 Cloning into 'onap-gerrit-review'... 07:10:24 URL='https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap' REFSPEC='refs/changes/33/144833/2' BRANCH='master' 07:10:24 Cloning into 'snmptrap'... 07:10:26 From https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap 07:10:26 * branch refs/changes/33/144833/2 -> FETCH_HEAD 07:10:26 Already up to date. 07:10:26 Running: onap-gerrit-review-step2 -l /tmp/ogr.422EskFnRi/snmptrap 07:10:26 Using /tmp/ogr.422EskFnRi/snmptrap 07:10:26 New files: 07:10:26 ================================================================ 07:10:26 07:10:26 SUCCESS: No updated files were found for use with the -l option. Skipping rest of /tmp/ogr.422EskFnRi/snmptrap 07:10:26 ================================================================ 07:10:26 [EnvInject] - Injecting environment variables from a build step. 07:10:26 [EnvInject] - Injecting as environment variables the properties content 07:10:26 PARALLEL=False 07:10:26 07:10:26 [EnvInject] - Variables injected successfully. 07:10:26 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins16709997178703671920.sh 07:10:26 ---> tox-run.sh 07:10:26 + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:26 + ARCHIVE_TOX_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox 07:10:26 + ARCHIVE_DOC_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/docs 07:10:26 + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox 07:10:26 + cd /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/. 07:10:26 + source /home/jenkins/lf-env.sh 07:10:26 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 07:10:26 ++ mktemp -d /tmp/venv-XXXX 07:10:26 + lf_venv=/tmp/venv-jEic 07:10:26 + local venv_file=/tmp/.os_lf_venv 07:10:26 + local python=python3 07:10:26 + local options 07:10:26 + local set_path=true 07:10:26 + local install_args= 07:10:26 ++ 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 07:10:26 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:10:26 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:10:26 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 07:10:26 + true 07:10:26 + case $1 in 07:10:26 + venv_file=/tmp/.toxenv 07:10:26 + shift 2 07:10:26 + true 07:10:26 + case $1 in 07:10:26 + shift 07:10:26 + break 07:10:26 + case $python in 07:10:26 + local pkg_list= 07:10:26 + [[ -d /opt/pyenv ]] 07:10:26 + echo 'Setup pyenv:' 07:10:26 Setup pyenv: 07:10:26 + export PYENV_ROOT=/opt/pyenv 07:10:26 + PYENV_ROOT=/opt/pyenv 07:10:26 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:26 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:26 + pyenv versions 07:10:26 system 07:10:26 3.8.13 07:10:26 3.9.13 07:10:26 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 07:10:26 + command -v pyenv 07:10:26 ++ pyenv init - --no-rehash 07:10:26 + 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[*]}"'\'')" 07:10:26 export PATH="/opt/pyenv/shims:${PATH}" 07:10:26 export PYENV_SHELL=bash 07:10:26 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 07:10:26 pyenv() { 07:10:26 local command 07:10:26 command="${1:-}" 07:10:26 if [ "$#" -gt 0 ]; then 07:10:26 shift 07:10:26 fi 07:10:26 07:10:26 case "$command" in 07:10:26 rehash|shell) 07:10:26 eval "$(pyenv "sh-$command" "$@")" 07:10:26 ;; 07:10:26 *) 07:10:26 command pyenv "$command" "$@" 07:10:26 ;; 07:10:26 esac 07:10:26 }' 07:10:26 +++ 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[*]}"' 07:10:26 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:26 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:26 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:26 ++ export PYENV_SHELL=bash 07:10:26 ++ PYENV_SHELL=bash 07:10:26 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 07:10:26 +++ complete -F _pyenv pyenv 07:10:26 ++ lf-pyver python3 07:10:26 ++ local py_version_xy=python3 07:10:26 ++ local py_version_xyz= 07:10:26 ++ pyenv versions 07:10:26 ++ local command 07:10:26 ++ command=versions 07:10:26 ++ '[' 1 -gt 0 ']' 07:10:26 ++ shift 07:10:26 ++ case "$command" in 07:10:26 ++ command pyenv versions 07:10:26 ++ pyenv versions 07:10:26 ++ sed 's/^[ *]* //' 07:10:26 ++ awk '{ print $1 }' 07:10:26 ++ grep -E '^[0-9.]*[0-9]$' 07:10:26 ++ [[ ! -s /tmp/.pyenv_versions ]] 07:10:26 +++ sort -V 07:10:26 +++ tail -n 1 07:10:26 +++ grep '^3' /tmp/.pyenv_versions 07:10:26 ++ py_version_xyz=3.10.6 07:10:26 ++ [[ -z 3.10.6 ]] 07:10:26 ++ echo 3.10.6 07:10:26 ++ return 0 07:10:26 + pyenv local 3.10.6 07:10:26 + local command 07:10:26 + command=local 07:10:26 + '[' 2 -gt 0 ']' 07:10:26 + shift 07:10:26 + case "$command" in 07:10:26 + command pyenv local 3.10.6 07:10:26 + pyenv local 3.10.6 07:10:26 + for arg in "$@" 07:10:26 + case $arg in 07:10:26 + pkg_list+='tox ' 07:10:26 + for arg in "$@" 07:10:26 + case $arg in 07:10:26 + pkg_list+='virtualenv ' 07:10:26 + for arg in "$@" 07:10:26 + case $arg in 07:10:26 + pkg_list+='urllib3~=1.26.15 ' 07:10:26 + [[ -f /tmp/.toxenv ]] 07:10:26 ++ cat /tmp/.toxenv 07:10:26 + lf_venv=/tmp/venv-7xUS 07:10:26 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7xUS from' file:/tmp/.toxenv 07:10:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7xUS from file:/tmp/.toxenv 07:10:26 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 07:10:26 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:10:26 + local 'pip_opts=--upgrade --quiet' 07:10:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 07:10:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 07:10:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 07:10:26 + [[ -n '' ]] 07:10:26 + [[ -n '' ]] 07:10:26 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 07:10:26 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:10:26 + /tmp/venv-7xUS/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 07:10:27 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 07:10:27 lf-activate-venv(): INFO: Base packages installed successfully 07:10:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 07:10:27 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 07:10:27 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 07:10:27 + /tmp/venv-7xUS/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 07:10:28 + type python3 07:10:28 + true 07:10:28 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-7xUS/bin to PATH' 07:10:28 lf-activate-venv(): INFO: Adding /tmp/venv-7xUS/bin to PATH 07:10:28 + PATH=/tmp/venv-7xUS/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:28 + return 0 07:10:28 + [[ -d /opt/pyenv ]] 07:10:28 + echo '---> Setting up pyenv' 07:10:28 ---> Setting up pyenv 07:10:28 + export PYENV_ROOT=/opt/pyenv 07:10:28 + PYENV_ROOT=/opt/pyenv 07:10:28 + export PATH=/opt/pyenv/bin:/tmp/venv-7xUS/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:28 + PATH=/opt/pyenv/bin:/tmp/venv-7xUS/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 07:10:28 ++ pwd 07:10:28 + PYTHONPATH=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 07:10:28 + export PYTHONPATH 07:10:28 + export TOX_TESTENV_PASSENV=PYTHONPATH 07:10:28 + TOX_TESTENV_PASSENV=PYTHONPATH 07:10:28 + tox --version 07:10:28 4.55.1 from /tmp/venv-7xUS/lib/python3.10/site-packages/tox/__init__.py 07:10:28 + PARALLEL=False 07:10:28 + TOX_OPTIONS_LIST= 07:10:28 + [[ -n '' ]] 07:10:28 + case ${PARALLEL,,} in 07:10:28 + tox 07:10:28 + tee -a /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/tox.log 07:10:29 py37: skipped because could not find python interpreter with spec(s): py37 07:10:31 py37: SKIP ⚠ in 1.34 seconds 07:10:31 py38: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt 07:10:36 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' 07:10:37 .pkg: _optional_hooks> python /tmp/venv-7xUS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 07:10:38 .pkg: get_requires_for_build_sdist> python /tmp/venv-7xUS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 07:10:38 .pkg: get_requires_for_build_wheel> python /tmp/venv-7xUS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 07:10:38 .pkg: freeze> python -m pip freeze --all 07:10:39 .pkg: pip==26.1.2,setuptools==82.0.1 07:10:39 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-7xUS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 07:10:39 .pkg: build_sdist> python /tmp/venv-7xUS/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 07:10:39 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 07:10:40 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 07:10:41 py38: freeze> python -m pip freeze --all 07:10:41 py38: certifi==2026.5.20,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==26.2,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.4,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/1/snmptrap-2.0.8.tar.gz#sha256=b4f4e3db9a3566077afedf2fe4685186922ae81d94cc7dcd87b795ca7cec3167,tomli==2.4.1,typing_extensions==4.13.2,urllib3==1.22,wheel==0.45.1 07:10:41 py38: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose 07:10:41 ============================= test session starts ============================== 07:10:41 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 07:10:41 cachedir: .tox/py38/.pytest_cache 07:10:41 rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 07:10:41 plugins: cov-5.0.0 07:10:45 collecting ... collected 96 items 07:10:45 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] 07:10:45 tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] 07:10:50 tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] 07:10:50 tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] 07:10:50 tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] 07:10:50 tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] 07:10:50 tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] 07:10:50 tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] 07:10:50 tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] 07:10:50 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] 07:10:50 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] 07:10:50 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] 07:10:50 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] 07:10:50 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] 07:10:50 tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] 07:10:50 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] 07:10:50 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] 07:10:50 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] 07:10:50 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] 07:10:50 tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] 07:10:50 tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] 07:10:50 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] 07:10:50 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] 07:10:50 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] 07:10:50 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] 07:10:50 tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] 07:10:50 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] 07:10:50 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] 07:10:50 tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] 07:10:50 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] 07:10:50 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] 07:10:50 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] 07:10:52 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] 07:10:52 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] 07:10:52 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] 07:10:52 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] 07:10:52 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] 07:10:52 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] 07:10:52 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] 07:10:52 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] 07:10:52 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] 07:10:52 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] 07:10:53 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] 07:10:53 07:10:53 =============================== warnings summary =============================== 07:10:53 .tox/py38/lib/python3.8/site-packages/urllib3/util/selectors.py:14 07:10:53 /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 07:10:53 from collections import namedtuple, Mapping 07:10:53 07:10:53 .tox/py38/lib/python3.8/site-packages/urllib3/_collections.py:2 07:10:53 /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 07:10:53 from collections import Mapping, MutableMapping 07:10:53 07:10:53 .tox/py38/lib/python3.8/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 07:10:53 /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 07:10:53 def handle_timeout(self): 07:10:53 07:10:53 :2 07:10:53 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead 07:10:53 07:10:53 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 07:10:53 07:10:53 ---------- coverage: platform linux, python 3.8.14-final-0 ----------- 07:10:53 Name Stmts Miss Cover 07:10:53 --------------------------------------------------------------- 07:10:53 snmptrap/__init__.py 0 0 100% 07:10:53 snmptrap/mod/__init__.py 0 0 100% 07:10:53 snmptrap/mod/trapd_exit.py 10 0 100% 07:10:53 snmptrap/mod/trapd_get_cbs_config.py 57 3 95% 07:10:53 snmptrap/mod/trapd_http_session.py 31 0 100% 07:10:53 snmptrap/mod/trapd_io.py 159 0 100% 07:10:53 snmptrap/mod/trapd_runtime_pid.py 25 0 100% 07:10:53 snmptrap/mod/trapd_settings.py 54 0 100% 07:10:53 snmptrap/mod/trapd_snmpv3.py 107 2 98% 07:10:53 snmptrap/mod/trapd_stats_settings.py 6 0 100% 07:10:53 snmptrap/mod/trapd_stormwatch.py 227 19 92% 07:10:53 snmptrap/mod/trapd_stormwatch_settings.py 10 0 100% 07:10:53 snmptrap/mod/trapd_vb_types.py 23 0 100% 07:10:53 snmptrap/snmptrapd.py 362 85 77% 07:10:53 --------------------------------------------------------------- 07:10:53 TOTAL 1071 109 90% 07:10:53 Coverage HTML written to dir htmlcov 07:10:53 Coverage XML written to file coverage.xml 07:10:53 07:10:53 ================== 94 passed, 2 skipped, 4 warnings in 11.71s ================== 07:10:54 py38: OK ✔ in 23.42 seconds 07:10:54 py39: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt 07:11:00 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 07:11:01 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 07:11:03 py39: freeze> python -m pip freeze --all 07:11:03 py39: certifi==2026.5.20,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==26.2,pip==26.0.1,pluggy==1.6.0,ply==3.11,pyasn1==0.4.8,pycryptodomex==3.23.0,Pygments==2.20.0,pysmi==0.3.4,pysnmp==4.4.12,pytest==8.4.2,pytest-cov==7.1.0,PyYAML==6.0.3,requests==2.18.3,setuptools==82.0.1,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/2/snmptrap-2.0.8.tar.gz#sha256=b4f4e3db9a3566077afedf2fe4685186922ae81d94cc7dcd87b795ca7cec3167,tomli==2.4.1,typing_extensions==4.15.0,urllib3==1.22 07:11:03 py39: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose 07:11:03 ============================= test session starts ============================== 07:11:03 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 07:11:03 cachedir: .tox/py39/.pytest_cache 07:11:03 rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 07:11:03 plugins: cov-7.1.0 07:11:08 collecting ... collected 96 items 07:11:08 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] 07:11:08 tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] 07:11:12 tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] 07:11:12 tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] 07:11:12 tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] 07:11:12 tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] 07:11:13 tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] 07:11:13 tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] 07:11:13 tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] 07:11:13 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] 07:11:13 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] 07:11:13 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] 07:11:13 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] 07:11:13 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] 07:11:13 tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] 07:11:13 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] 07:11:13 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] 07:11:13 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] 07:11:13 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] 07:11:13 tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] 07:11:13 tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] 07:11:13 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] 07:11:13 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] 07:11:13 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] 07:11:13 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] 07:11:13 tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] 07:11:13 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] 07:11:13 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] 07:11:13 tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] 07:11:13 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] 07:11:13 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] 07:11:13 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] 07:11:15 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] 07:11:15 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] 07:11:15 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] 07:11:15 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] 07:11:15 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] 07:11:15 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] 07:11:15 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] 07:11:15 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] 07:11:15 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] 07:11:15 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] 07:11:16 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] 07:11:16 07:11:16 =============================== warnings summary =============================== 07:11:16 .tox/py39/lib/python3.9/site-packages/urllib3/util/selectors.py:14 07:11:16 /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 07:11:16 from collections import namedtuple, Mapping 07:11:16 07:11:16 .tox/py39/lib/python3.9/site-packages/urllib3/_collections.py:2 07:11:16 /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 07:11:16 from collections import Mapping, MutableMapping 07:11:16 07:11:16 .tox/py39/lib/python3.9/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 07:11:16 /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 07:11:16 def handle_timeout(self): 07:11:16 07:11:16 :2 07:11:16 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead 07:11:16 07:11:16 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 07:11:16 ================================ tests coverage ================================ 07:11:16 _______________ coverage: platform linux, python 3.9.14-final-0 ________________ 07:11:16 07:11:16 Name Stmts Miss Cover 07:11:16 --------------------------------------------------------------- 07:11:16 snmptrap/__init__.py 0 0 100% 07:11:16 snmptrap/mod/__init__.py 0 0 100% 07:11:16 snmptrap/mod/trapd_exit.py 10 0 100% 07:11:16 snmptrap/mod/trapd_get_cbs_config.py 57 3 95% 07:11:16 snmptrap/mod/trapd_http_session.py 31 0 100% 07:11:16 snmptrap/mod/trapd_io.py 159 0 100% 07:11:16 snmptrap/mod/trapd_runtime_pid.py 25 0 100% 07:11:16 snmptrap/mod/trapd_settings.py 54 0 100% 07:11:16 snmptrap/mod/trapd_snmpv3.py 107 2 98% 07:11:16 snmptrap/mod/trapd_stats_settings.py 6 0 100% 07:11:16 snmptrap/mod/trapd_stormwatch.py 227 19 92% 07:11:16 snmptrap/mod/trapd_stormwatch_settings.py 10 0 100% 07:11:16 snmptrap/mod/trapd_vb_types.py 23 0 100% 07:11:16 snmptrap/snmptrapd.py 362 85 77% 07:11:16 --------------------------------------------------------------- 07:11:16 TOTAL 1071 109 90% 07:11:16 Coverage HTML written to dir htmlcov 07:11:16 Coverage XML written to file coverage.xml 07:11:16 ================== 94 passed, 2 skipped, 4 warnings in 12.34s ================== 07:11:16 py37: SKIP (1.34 seconds) 07:11:16 py38: OK (23.42=setup[11.36]+cmd[12.06] seconds) 07:11:16 py39: OK (22.80=setup[10.06]+cmd[12.74] seconds) 07:11:16 congratulations :) (47.59 seconds) 07:11:16 + tox_status=0 07:11:16 + echo '---> Completed tox runs' 07:11:16 ---> Completed tox runs 07:11:16 + for i in .tox/*/log 07:11:16 ++ echo .tox/py38/log 07:11:16 ++ awk -F/ '{print $2}' 07:11:16 + tox_env=py38 07:11:16 + cp -r .tox/py38/log /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/py38 07:11:16 + for i in .tox/*/log 07:11:16 ++ echo .tox/py39/log 07:11:16 ++ awk -F/ '{print $2}' 07:11:16 + tox_env=py39 07:11:16 + cp -r .tox/py39/log /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/py39 07:11:16 + DOC_DIR=docs/_build/html 07:11:16 + [[ -d docs/_build/html ]] 07:11:16 + echo '---> tox-run.sh ends' 07:11:16 ---> tox-run.sh ends 07:11:16 + test 0 -eq 0 07:11:16 $ ssh-agent -k 07:11:16 unset SSH_AUTH_SOCK; 07:11:16 unset SSH_AGENT_PID; 07:11:16 echo Agent pid 2023 killed; 07:11:16 [ssh-agent] Stopped. 07:11:16 [PostBuildScript] - [INFO] Executing post build scripts. 07:11:16 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins3919001474083947554.sh 07:11:16 ---> sysstat.sh 07:11:16 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins2270698527184384661.sh 07:11:16 ---> package-listing.sh 07:11:16 ++ tr '[:upper:]' '[:lower:]' 07:11:16 ++ facter osfamily 07:11:17 + OS_FAMILY=debian 07:11:17 + workspace=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 07:11:17 + START_PACKAGES=/tmp/packages_start.txt 07:11:17 + END_PACKAGES=/tmp/packages_end.txt 07:11:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:11:17 + PACKAGES=/tmp/packages_start.txt 07:11:17 + '[' /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master ']' 07:11:17 + PACKAGES=/tmp/packages_end.txt 07:11:17 + case "${OS_FAMILY}" in 07:11:17 + dpkg -l 07:11:17 + grep '^ii' 07:11:17 + '[' -f /tmp/packages_start.txt ']' 07:11:17 + '[' -f /tmp/packages_end.txt ']' 07:11:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:11:17 + '[' /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master ']' 07:11:17 + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ 07:11:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ 07:11:17 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins10061818626182403538.sh 07:11:17 ---> capture-instance-metadata.sh 07:11:17 Setup pyenv: 07:11:17 system 07:11:17 3.8.13 07:11:17 3.9.13 07:11:17 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 07:11:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a5Ox from file:/tmp/.os_lf_venv 07:11:17 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:11:17 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:11:19 lf-activate-venv(): INFO: Base packages installed successfully 07:11:19 lf-activate-venv(): INFO: Installing additional packages: lftools 07:11:26 lf-activate-venv(): INFO: Adding /tmp/venv-a5Ox/bin to PATH 07:11:26 INFO: Running in OpenStack, capturing instance metadata 07:11:26 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins17797063042454476917.sh 07:11:26 provisioning config files... 07:11:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/config17738480916193836074tmp 07:11:26 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 07:11:26 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 07:11:26 [EnvInject] - Injecting environment variables from a build step. 07:11:26 [EnvInject] - Injecting as environment variables the properties content 07:11:26 SERVER_ID=logs 07:11:26 07:11:26 [EnvInject] - Variables injected successfully. 07:11:26 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins2668148493978303671.sh 07:11:26 ---> create-netrc.sh 07:11:26 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins18195585720394249067.sh 07:11:26 ---> python-tools-install.sh 07:11:26 Setup pyenv: 07:11:26 system 07:11:26 3.8.13 07:11:26 3.9.13 07:11:26 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 07:11:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a5Ox from file:/tmp/.os_lf_venv 07:11:26 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:11:26 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:11:28 lf-activate-venv(): INFO: Base packages installed successfully 07:11:28 lf-activate-venv(): INFO: Installing additional packages: lftools 07:11:35 lf-activate-venv(): INFO: Adding /tmp/venv-a5Ox/bin to PATH 07:11:35 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/sh /tmp/jenkins8494766969739467374.sh 07:11:35 ---> uv-install.sh 07:11:35 uv 0.11.21 is already installed 07:11:35 uvx 0.11.21 (x86_64-unknown-linux-gnu) 07:11:35 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins17002065828545824120.sh 07:11:35 ---> sudo-logs.sh 07:11:35 Archiving 'sudo' log.. 07:11:36 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins16326213506546062643.sh 07:11:36 ---> job-cost.sh 07:11:36 INFO: Activating Python virtual environment... 07:11:36 Setup pyenv: 07:11:36 system 07:11:36 3.8.13 07:11:36 3.9.13 07:11:36 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 07:11:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a5Ox from file:/tmp/.os_lf_venv 07:11:36 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:11:36 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:11:38 lf-activate-venv(): INFO: Base packages installed successfully 07:11:38 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 07:11:42 lf-activate-venv(): INFO: Adding /tmp/venv-a5Ox/bin to PATH 07:11:42 INFO: No stack-cost file found 07:11:42 INFO: Instance uptime: 197s 07:11:42 INFO: Fetching instance metadata (attempt 1 of 3)... 07:11:42 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 07:11:42 INFO: Successfully fetched instance metadata 07:11:42 INFO: Instance type: v3-standard-8 07:11:42 INFO: Retrieving pricing info for: v3-standard-8 07:11:42 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 07:11:42 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-8/cost?seconds=197 07:11:43 INFO: Successfully fetched Vexxhost pricing API 07:11:43 INFO: Retrieved cost: 0.22 07:11:43 INFO: Retrieved resource: v3-standard-8 07:11:43 INFO: Creating archive directory: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/cost 07:11:43 INFO: Archiving costs to: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/cost.csv 07:11:43 INFO: Successfully archived job cost data 07:11:43 DEBUG: Cost data: dcaegen2-collectors-snmptrap-tox-merge-master,30,2026-06-12 07:11:43,v3-standard-8,197,0.22,0.00,SUCCESS 07:11:43 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins191662778482052730.sh 07:11:43 ---> logs-deploy.sh 07:11:43 Setup pyenv: 07:11:43 system 07:11:43 3.8.13 07:11:43 3.9.13 07:11:43 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 07:11:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a5Ox from file:/tmp/.os_lf_venv 07:11:43 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:11:43 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:11:45 lf-activate-venv(): INFO: Base packages installed successfully 07:11:45 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 07:11:51 lf-activate-venv(): INFO: Adding /tmp/venv-a5Ox/bin to PATH 07:11:51 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-snmptrap-tox-merge-master/30 07:11:51 INFO: archiving workspace using pattern(s): 07:11:52 Archives upload complete. 07:11:53 INFO: archiving logs to Nexus 07:11:53 ---> uname -a: 07:11:53 Linux prd-ubuntu1804-docker-8c-8g-11195 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 07:11:53 07:11:53 07:11:53 ---> lscpu: 07:11:53 Architecture: x86_64 07:11:53 CPU op-mode(s): 32-bit, 64-bit 07:11:53 Byte Order: Little Endian 07:11:53 CPU(s): 8 07:11:53 On-line CPU(s) list: 0-7 07:11:53 Thread(s) per core: 1 07:11:53 Core(s) per socket: 1 07:11:53 Socket(s): 8 07:11:53 NUMA node(s): 1 07:11:53 Vendor ID: AuthenticAMD 07:11:53 CPU family: 23 07:11:53 Model: 49 07:11:53 Model name: AMD EPYC-Rome Processor 07:11:53 Stepping: 0 07:11:53 CPU MHz: 2799.998 07:11:53 BogoMIPS: 5599.99 07:11:53 Virtualization: AMD-V 07:11:53 Hypervisor vendor: KVM 07:11:53 Virtualization type: full 07:11:53 L1d cache: 32K 07:11:53 L1i cache: 32K 07:11:53 L2 cache: 512K 07:11:53 L3 cache: 16384K 07:11:53 NUMA node0 CPU(s): 0-7 07:11:53 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 07:11:53 07:11:53 07:11:53 ---> nproc: 07:11:53 8 07:11:53 07:11:53 07:11:53 ---> df -h: 07:11:53 Filesystem Size Used Avail Use% Mounted on 07:11:53 udev 16G 0 16G 0% /dev 07:11:53 tmpfs 3.2G 716K 3.2G 1% /run 07:11:53 /dev/vda1 155G 11G 145G 7% / 07:11:53 tmpfs 16G 0 16G 0% /dev/shm 07:11:53 tmpfs 5.0M 0 5.0M 0% /run/lock 07:11:53 tmpfs 16G 0 16G 0% /sys/fs/cgroup 07:11:53 /dev/vda15 105M 4.4M 100M 5% /boot/efi 07:11:53 tmpfs 3.2G 0 3.2G 0% /run/user/1001 07:11:53 07:11:53 07:11:53 ---> free -m: 07:11:53 total used free shared buff/cache available 07:11:53 Mem: 32167 824 28896 0 2445 30903 07:11:53 Swap: 1023 0 1023 07:11:53 07:11:53 07:11:54 ---> ip addr: 07:11:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 07:11:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:11:54 inet 127.0.0.1/8 scope host lo 07:11:54 valid_lft forever preferred_lft forever 07:11:54 inet6 ::1/128 scope host 07:11:54 valid_lft forever preferred_lft forever 07:11:54 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 07:11:54 link/ether fa:16:3e:4e:80:3e brd ff:ff:ff:ff:ff:ff 07:11:54 inet 10.30.107.248/23 brd 10.30.107.255 scope global dynamic ens3 07:11:54 valid_lft 86199sec preferred_lft 86199sec 07:11:54 inet6 fe80::f816:3eff:fe4e:803e/64 scope link 07:11:54 valid_lft forever preferred_lft forever 07:11:54 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 07:11:54 link/ether 02:42:2e:9b:6f:d4 brd ff:ff:ff:ff:ff:ff 07:11:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:11:54 valid_lft forever preferred_lft forever 07:11:54 07:11:54 07:11:54 ---> sar -b -r -n DEV: 07:11:54 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-11195) 06/12/26 _x86_64_ (8 CPU) 07:11:54 07:11:54 07:08:35 LINUX RESTART (8 CPU) 07:11:54 07:11:54 07:09:01 tps rtps wtps bread/s bwrtn/s 07:11:54 07:10:01 220.43 37.11 183.32 1277.25 36197.43 07:11:54 07:11:01 164.06 22.45 141.61 983.44 44535.24 07:11:54 Average: 192.24 29.78 162.46 1130.34 40366.34 07:11:54 07:11:54 07:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:11:54 07:10:01 30093964 31674764 2845256 8.64 69852 1821328 1420920 4.18 876996 1680804 184456 07:11:54 07:11:01 29608992 31646008 3330228 10.11 94976 2225468 1504564 4.43 955608 2029996 152788 07:11:54 Average: 29851478 31660386 3087742 9.37 82414 2023398 1462742 4.30 916302 1855400 168622 07:11:54 07:11:54 07:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:11:54 07:10:01 lo 1.40 1.40 0.16 0.16 0.00 0.00 0.00 0.00 07:11:54 07:10:01 ens3 390.17 275.04 1791.55 69.28 0.00 0.00 0.00 0.00 07:11:54 07:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:11:54 07:11:01 lo 2.23 2.23 0.28 0.28 0.00 0.00 0.00 0.00 07:11:54 07:11:01 ens3 60.12 45.99 777.52 8.87 0.00 0.00 0.00 0.00 07:11:54 07:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:11:54 Average: lo 1.82 1.82 0.22 0.22 0.00 0.00 0.00 0.00 07:11:54 Average: ens3 225.15 160.51 1284.53 39.07 0.00 0.00 0.00 0.00 07:11:54 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:11:54 07:11:54 07:11:54 ---> sar -P ALL: 07:11:54 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-11195) 06/12/26 _x86_64_ (8 CPU) 07:11:54 07:11:54 07:08:35 LINUX RESTART (8 CPU) 07:11:54 07:11:54 07:09:01 CPU %user %nice %system %iowait %steal %idle 07:11:54 07:10:01 all 11.23 0.00 0.94 2.58 0.04 85.20 07:11:54 07:10:01 0 19.21 0.00 1.44 1.55 0.03 77.77 07:11:54 07:10:01 1 8.96 0.00 1.08 0.45 0.03 89.47 07:11:54 07:10:01 2 4.94 0.00 1.19 5.73 0.03 88.12 07:11:54 07:10:01 3 7.45 0.00 0.30 0.65 0.05 91.54 07:11:54 07:10:01 4 5.98 0.00 0.32 0.05 0.03 93.62 07:11:54 07:10:01 5 17.38 0.00 1.47 8.70 0.05 72.40 07:11:54 07:10:01 6 8.74 0.00 0.82 2.65 0.03 87.76 07:11:54 07:10:01 7 17.22 0.00 0.92 0.83 0.05 80.98 07:11:54 07:11:01 all 9.54 0.00 0.97 1.07 0.04 88.39 07:11:54 07:11:01 0 6.49 0.00 0.87 0.17 0.03 92.44 07:11:54 07:11:01 1 1.34 0.00 0.23 0.02 0.03 98.38 07:11:54 07:11:01 2 5.94 0.00 0.70 2.85 0.03 90.47 07:11:54 07:11:01 3 7.85 0.00 0.79 0.62 0.07 90.68 07:11:54 07:11:01 4 3.97 0.00 0.52 0.40 0.03 95.08 07:11:54 07:11:01 5 35.57 0.00 2.66 1.24 0.07 60.46 07:11:54 07:11:01 6 6.05 0.00 0.82 3.21 0.07 89.86 07:11:54 07:11:01 7 9.13 0.00 1.18 0.05 0.02 89.61 07:11:54 Average: all 10.38 0.00 0.96 1.82 0.04 86.79 07:11:54 Average: 0 12.84 0.00 1.15 0.86 0.03 85.11 07:11:54 Average: 1 5.15 0.00 0.66 0.23 0.03 93.93 07:11:54 Average: 2 5.44 0.00 0.94 4.29 0.03 89.29 07:11:54 Average: 3 7.65 0.00 0.54 0.64 0.06 91.11 07:11:54 Average: 4 4.97 0.00 0.42 0.23 0.03 94.35 07:11:54 Average: 5 26.46 0.00 2.06 4.98 0.06 66.44 07:11:54 Average: 6 7.40 0.00 0.82 2.93 0.05 88.81 07:11:54 Average: 7 13.18 0.00 1.05 0.44 0.03 85.30 07:11:54 07:11:54 07:11:54