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