02:41:44 Triggered by Gerrit: https://gerrit.onap.org/r/c/dcaegen2/collectors/snmptrap/+/143219 02:41:44 Running as SYSTEM 02:41:44 [EnvInject] - Loading node environment variables. 02:41:44 Building remotely on prd-ubuntu1804-docker-8c-8g-3368 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 02:41:44 [ssh-agent] Looking for ssh-agent implementation... 02:41:45 $ ssh-agent 02:41:45 SSH_AUTH_SOCK=/tmp/ssh-GW7DSchz6JOT/agent.2076 02:41:45 SSH_AGENT_PID=2078 02:41:45 [ssh-agent] Started. 02:41:45 Running ssh-add (command line suppressed) 02:41:45 Identity added: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_13693514732791994042.key (/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_13693514732791994042.key) 02:41:45 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 02:41:45 The recommended git tool is: NONE 02:41:46 using credential onap-jenkins-ssh 02:41:46 Wiping out workspace first. 02:41:46 Cloning the remote Git repository 02:41:46 Cloning repository git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap 02:41:46 > git init /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master # timeout=10 02:41:46 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap 02:41:46 > git --version # timeout=10 02:41:46 > git --version # 'git version 2.17.1' 02:41:46 using GIT_SSH to set credentials Gerrit user 02:41:46 Verifying host key using manually-configured host key entries 02:41:46 > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:47 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap # timeout=10 02:41:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:47 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap # timeout=10 02:41:47 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap 02:41:47 using GIT_SSH to set credentials Gerrit user 02:41:47 Verifying host key using manually-configured host key entries 02:41:47 > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap refs/changes/19/143219/2 # timeout=10 02:41:47 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 02:41:47 Checking out Revision 789c5074dda0f16cfeb6029ee7412fe1d095d1e7 (refs/remotes/origin/master) 02:41:47 > git config core.sparsecheckout # timeout=10 02:41:47 > git checkout -f 789c5074dda0f16cfeb6029ee7412fe1d095d1e7 # timeout=10 02:41:47 Commit message: "CI: Deploy python based Github2Gerrit" 02:41:47 > git rev-list --no-walk 9b79aa3ae4802be5774119df475cfb8581a0f864 # timeout=10 02:41:51 provisioning config files... 02:41:51 copy managed file [npmrc] to file:/home/jenkins/.npmrc 02:41:51 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 02:41:51 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins14478446416885479000.sh 02:41:51 ---> python-tools-install.sh 02:41:51 Setup pyenv: 02:41:51 * system (set by /opt/pyenv/version) 02:41:51 * 3.8.13 (set by /opt/pyenv/version) 02:41:51 * 3.9.13 (set by /opt/pyenv/version) 02:41:51 * 3.10.6 (set by /opt/pyenv/version) 02:41:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mFSF 02:41:55 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 02:41:55 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 02:41:55 lf-activate-venv(): INFO: Attempting to install with network-safe options... 02:41:59 lf-activate-venv(): INFO: Base packages installed successfully 02:41:59 lf-activate-venv(): INFO: Installing additional packages: lftools 02:42:24 lf-activate-venv(): INFO: Adding /tmp/venv-mFSF/bin to PATH 02:42:24 Generating Requirements File 02:42:42 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. 02:42:42 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 02:42:42 Python 3.10.6 02:42:43 pip 26.0.1 from /tmp/venv-mFSF/lib/python3.10/site-packages/pip (python 3.10) 02:42:43 appdirs==1.4.4 02:42:43 argcomplete==3.6.3 02:42:43 aspy.yaml==1.3.0 02:42:43 attrs==26.1.0 02:42:43 autopage==0.6.0 02:42:43 backports.strenum==1.3.1 02:42:43 beautifulsoup4==4.14.3 02:42:43 boto3==1.42.72 02:42:43 botocore==1.42.72 02:42:43 bs4==0.0.2 02:42:43 certifi==2026.2.25 02:42:43 cffi==2.0.0 02:42:43 cfgv==3.5.0 02:42:43 chardet==7.2.0 02:42:43 charset-normalizer==3.4.6 02:42:43 click==8.3.1 02:42:43 cliff==4.13.2 02:42:43 cmd2==3.4.0 02:42:43 cryptography==3.3.2 02:42:43 debtcollector==3.0.0 02:42:43 decorator==5.2.1 02:42:43 defusedxml==0.7.1 02:42:43 Deprecated==1.3.1 02:42:43 distlib==0.4.0 02:42:43 dnspython==2.8.0 02:42:43 docker==7.1.0 02:42:43 dogpile.cache==1.5.0 02:42:43 durationpy==0.10 02:42:43 email-validator==2.3.0 02:42:43 filelock==3.25.2 02:42:43 future==1.0.0 02:42:43 gitdb==4.0.12 02:42:43 GitPython==3.1.46 02:42:43 httplib2==0.30.2 02:42:43 identify==2.6.18 02:42:43 idna==3.11 02:42:43 importlib-resources==1.5.0 02:42:43 iso8601==2.1.0 02:42:43 Jinja2==3.1.6 02:42:43 jmespath==1.1.0 02:42:43 jsonpatch==1.33 02:42:43 jsonpointer==3.0.0 02:42:43 jsonschema==4.26.0 02:42:43 jsonschema-specifications==2025.9.1 02:42:43 keystoneauth1==5.13.1 02:42:43 kubernetes==35.0.0 02:42:43 lftools==0.37.22 02:42:43 lxml==6.0.2 02:42:43 markdown-it-py==4.0.0 02:42:43 MarkupSafe==3.0.3 02:42:43 mdurl==0.1.2 02:42:43 msgpack==1.1.2 02:42:43 multi_key_dict==2.0.3 02:42:43 munch==4.0.0 02:42:43 netaddr==1.3.0 02:42:43 niet==1.4.2 02:42:43 nodeenv==1.10.0 02:42:43 oauth2client==4.1.3 02:42:43 oauthlib==3.3.1 02:42:43 openstacksdk==4.10.0 02:42:43 os-service-types==1.8.2 02:42:43 osc-lib==4.4.0 02:42:43 oslo.config==10.3.0 02:42:43 oslo.context==6.3.0 02:42:43 oslo.i18n==6.7.2 02:42:43 oslo.log==8.1.0 02:42:43 oslo.serialization==5.9.1 02:42:43 oslo.utils==10.0.0 02:42:43 packaging==26.0 02:42:43 pbr==7.0.3 02:42:43 platformdirs==4.9.4 02:42:43 prettytable==3.17.0 02:42:43 psutil==7.2.2 02:42:43 pyasn1==0.6.3 02:42:43 pyasn1_modules==0.4.2 02:42:43 pycparser==3.0 02:42:43 pygerrit2==2.0.15 02:42:43 PyGithub==2.8.1 02:42:43 Pygments==2.19.2 02:42:43 PyJWT==2.12.1 02:42:43 PyNaCl==1.6.2 02:42:43 pyparsing==2.4.7 02:42:43 pyperclip==1.11.0 02:42:43 pyrsistent==0.20.0 02:42:43 python-cinderclient==9.9.0 02:42:43 python-dateutil==2.9.0.post0 02:42:43 python-discovery==1.2.0 02:42:43 python-heatclient==5.1.0 02:42:43 python-jenkins==1.8.3 02:42:43 python-keystoneclient==5.8.0 02:42:43 python-magnumclient==4.10.0 02:42:43 python-openstackclient==9.0.0 02:42:43 python-swiftclient==4.10.0 02:42:43 PyYAML==6.0.3 02:42:43 referencing==0.37.0 02:42:43 requests==2.32.5 02:42:43 requests-oauthlib==2.0.0 02:42:43 requestsexceptions==1.4.0 02:42:43 rfc3986==2.0.0 02:42:43 rich==14.3.3 02:42:43 rich-argparse==1.7.2 02:42:43 rpds-py==0.30.0 02:42:43 rsa==4.9.1 02:42:43 ruamel.yaml==0.19.1 02:42:43 ruamel.yaml.clib==0.2.15 02:42:43 s3transfer==0.16.0 02:42:43 simplejson==3.20.2 02:42:43 six==1.17.0 02:42:43 smmap==5.0.3 02:42:43 soupsieve==2.8.3 02:42:43 stevedore==5.7.0 02:42:43 tabulate==0.10.0 02:42:43 toml==0.10.2 02:42:43 tomlkit==0.14.0 02:42:43 tqdm==4.67.3 02:42:43 typing_extensions==4.15.0 02:42:43 urllib3==1.26.20 02:42:43 virtualenv==21.2.0 02:42:43 wcwidth==0.6.0 02:42:43 websocket-client==1.9.0 02:42:43 wrapt==2.1.2 02:42:43 xdg==6.0.0 02:42:43 xmltodict==1.0.4 02:42:43 yq==3.4.3 02:42:43 [EnvInject] - Injecting environment variables from a build step. 02:42:43 [EnvInject] - Injecting as environment variables the properties content 02:42:43 PYTHON=python3 02:42:43 02:42:43 [EnvInject] - Variables injected successfully. 02:42:43 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins16401366501004597017.sh 02:42:43 ---> tox-install.sh 02:42:43 + source /home/jenkins/lf-env.sh 02:42:43 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 02:42:43 ++ mktemp -d /tmp/venv-XXXX 02:42:43 + lf_venv=/tmp/venv-NE1S 02:42:43 + local venv_file=/tmp/.os_lf_venv 02:42:43 + local python=python3 02:42:43 + local options 02:42:43 + local set_path=true 02:42:43 + local install_args= 02:42:43 ++ 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 02:42:43 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:42:43 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:42:43 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 02:42:43 + true 02:42:43 + case $1 in 02:42:43 + venv_file=/tmp/.toxenv 02:42:43 + shift 2 02:42:43 + true 02:42:43 + case $1 in 02:42:43 + shift 02:42:43 + break 02:42:43 + case $python in 02:42:43 + local pkg_list= 02:42:43 + [[ -d /opt/pyenv ]] 02:42:43 + echo 'Setup pyenv:' 02:42:43 Setup pyenv: 02:42:43 + export PYENV_ROOT=/opt/pyenv 02:42:43 + PYENV_ROOT=/opt/pyenv 02:42:43 + 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 02:42:43 + 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 02:42:43 + pyenv versions 02:42:43 system 02:42:43 3.8.13 02:42:43 3.9.13 02:42:43 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 02:42:43 + command -v pyenv 02:42:43 ++ pyenv init - --no-rehash 02:42:43 + 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[*]}"'\'')" 02:42:43 export PATH="/opt/pyenv/shims:${PATH}" 02:42:43 export PYENV_SHELL=bash 02:42:43 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 02:42:43 pyenv() { 02:42:43 local command 02:42:43 command="${1:-}" 02:42:43 if [ "$#" -gt 0 ]; then 02:42:43 shift 02:42:43 fi 02:42:43 02:42:43 case "$command" in 02:42:43 rehash|shell) 02:42:43 eval "$(pyenv "sh-$command" "$@")" 02:42:43 ;; 02:42:43 *) 02:42:43 command pyenv "$command" "$@" 02:42:43 ;; 02:42:43 esac 02:42:43 }' 02:42:43 +++ 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[*]}"' 02:42:43 ++ 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 02:42:43 ++ 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 02:42:43 ++ 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 02:42:43 ++ export PYENV_SHELL=bash 02:42:43 ++ PYENV_SHELL=bash 02:42:43 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 02:42:43 +++ complete -F _pyenv pyenv 02:42:43 ++ lf-pyver python3 02:42:43 ++ local py_version_xy=python3 02:42:43 ++ local py_version_xyz= 02:42:43 ++ sed 's/^[ *]* //' 02:42:43 ++ pyenv versions 02:42:43 ++ awk '{ print $1 }' 02:42:43 ++ local command 02:42:43 ++ command=versions 02:42:43 ++ grep -E '^[0-9.]*[0-9]$' 02:42:43 ++ '[' 1 -gt 0 ']' 02:42:43 ++ shift 02:42:43 ++ case "$command" in 02:42:43 ++ command pyenv versions 02:42:43 ++ pyenv versions 02:42:43 ++ [[ ! -s /tmp/.pyenv_versions ]] 02:42:43 +++ grep '^3' /tmp/.pyenv_versions 02:42:43 +++ sort -V 02:42:43 +++ tail -n 1 02:42:43 ++ py_version_xyz=3.10.6 02:42:43 ++ [[ -z 3.10.6 ]] 02:42:43 ++ echo 3.10.6 02:42:43 ++ return 0 02:42:43 + pyenv local 3.10.6 02:42:43 + local command 02:42:43 + command=local 02:42:43 + '[' 2 -gt 0 ']' 02:42:43 + shift 02:42:43 + case "$command" in 02:42:43 + command pyenv local 3.10.6 02:42:43 + pyenv local 3.10.6 02:42:43 + for arg in "$@" 02:42:43 + case $arg in 02:42:43 + pkg_list+='tox ' 02:42:43 + for arg in "$@" 02:42:43 + case $arg in 02:42:43 + pkg_list+='virtualenv ' 02:42:43 + for arg in "$@" 02:42:43 + case $arg in 02:42:43 + pkg_list+='urllib3~=1.26.15 ' 02:42:43 + [[ -f /tmp/.toxenv ]] 02:42:43 + [[ ! -f /tmp/.toxenv ]] 02:42:43 + [[ -n '' ]] 02:42:43 + python3 -m venv /tmp/venv-NE1S 02:42:47 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NE1S' 02:42:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NE1S 02:42:47 + echo /tmp/venv-NE1S 02:42:47 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 02:42:47 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 02:42:47 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 02:42:47 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 02:42:47 + local 'pip_opts=--upgrade --quiet' 02:42:47 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 02:42:47 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 02:42:47 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 02:42:47 + [[ -n '' ]] 02:42:47 + [[ -n '' ]] 02:42:47 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 02:42:47 lf-activate-venv(): INFO: Attempting to install with network-safe options... 02:42:47 + /tmp/venv-NE1S/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 02:42:51 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 02:42:51 lf-activate-venv(): INFO: Base packages installed successfully 02:42:51 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 02:42:51 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 02:42:51 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 02:42:51 + /tmp/venv-NE1S/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 02:42:52 + type python3 02:42:52 + true 02:42:52 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-NE1S/bin to PATH' 02:42:52 lf-activate-venv(): INFO: Adding /tmp/venv-NE1S/bin to PATH 02:42:52 + PATH=/tmp/venv-NE1S/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 02:42:52 + return 0 02:42:52 + python3 --version 02:42:52 Python 3.10.6 02:42:52 + python3 -m pip --version 02:42:52 pip 26.0.1 from /tmp/venv-NE1S/lib/python3.10/site-packages/pip (python 3.10) 02:42:52 + python3 -m pip freeze 02:42:53 cachetools==7.0.5 02:42:53 colorama==0.4.6 02:42:53 distlib==0.4.0 02:42:53 filelock==3.25.2 02:42:53 packaging==26.0 02:42:53 platformdirs==4.9.4 02:42:53 pluggy==1.6.0 02:42:53 pyproject-api==1.10.0 02:42:53 python-discovery==1.2.0 02:42:53 tomli==2.4.0 02:42:53 tomli_w==1.2.0 02:42:53 tox==4.50.3 02:42:53 typing_extensions==4.15.0 02:42:53 urllib3==1.26.20 02:42:53 virtualenv==21.2.0 02:42:53 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/sh /tmp/jenkins1261876372954206076.sh 02:42:53 --> onap-gerrit-review-wrapper.sh 02:42:53 Cloning into 'onap-gerrit-review'... 02:42:53 URL='https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap' REFSPEC='refs/changes/19/143219/2' BRANCH='master' 02:42:53 Cloning into 'snmptrap'... 02:42:55 From https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap 02:42:55 * branch refs/changes/19/143219/2 -> FETCH_HEAD 02:42:55 Already up to date. 02:42:55 Running: onap-gerrit-review-step2 -l /tmp/ogr.9iXnymz3fc/snmptrap 02:42:55 Using /tmp/ogr.9iXnymz3fc/snmptrap 02:42:55 New files: 02:42:55 ================================================================ 02:42:55 02:42:55 SUCCESS: No updated files were found for use with the -l option. Skipping rest of /tmp/ogr.9iXnymz3fc/snmptrap 02:42:55 ================================================================ 02:42:56 [EnvInject] - Injecting environment variables from a build step. 02:42:56 [EnvInject] - Injecting as environment variables the properties content 02:42:56 PARALLEL=False 02:42:56 02:42:56 [EnvInject] - Variables injected successfully. 02:42:56 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins2462083935171025322.sh 02:42:56 ---> tox-run.sh 02:42:56 + 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 02:42:56 + ARCHIVE_TOX_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox 02:42:56 + ARCHIVE_DOC_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/docs 02:42:56 + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox 02:42:56 + cd /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/. 02:42:56 + source /home/jenkins/lf-env.sh 02:42:56 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 02:42:56 ++ mktemp -d /tmp/venv-XXXX 02:42:56 + lf_venv=/tmp/venv-0qro 02:42:56 + local venv_file=/tmp/.os_lf_venv 02:42:56 + local python=python3 02:42:56 + local options 02:42:56 + local set_path=true 02:42:56 + local install_args= 02:42:56 ++ 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 02:42:56 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:42:56 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:42:56 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 02:42:56 + true 02:42:56 + case $1 in 02:42:56 + venv_file=/tmp/.toxenv 02:42:56 + shift 2 02:42:56 + true 02:42:56 + case $1 in 02:42:56 + shift 02:42:56 + break 02:42:56 + case $python in 02:42:56 + local pkg_list= 02:42:56 + [[ -d /opt/pyenv ]] 02:42:56 + echo 'Setup pyenv:' 02:42:56 Setup pyenv: 02:42:56 + export PYENV_ROOT=/opt/pyenv 02:42:56 + PYENV_ROOT=/opt/pyenv 02:42:56 + 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 02:42:56 + 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 02:42:56 + pyenv versions 02:42:56 system 02:42:56 3.8.13 02:42:56 3.9.13 02:42:56 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 02:42:56 + command -v pyenv 02:42:56 ++ pyenv init - --no-rehash 02:42:56 + 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[*]}"'\'')" 02:42:56 export PATH="/opt/pyenv/shims:${PATH}" 02:42:56 export PYENV_SHELL=bash 02:42:56 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 02:42:56 pyenv() { 02:42:56 local command 02:42:56 command="${1:-}" 02:42:56 if [ "$#" -gt 0 ]; then 02:42:56 shift 02:42:56 fi 02:42:56 02:42:56 case "$command" in 02:42:56 rehash|shell) 02:42:56 eval "$(pyenv "sh-$command" "$@")" 02:42:56 ;; 02:42:56 *) 02:42:56 command pyenv "$command" "$@" 02:42:56 ;; 02:42:56 esac 02:42:56 }' 02:42:56 +++ 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[*]}"' 02:42:56 ++ 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 02:42:56 ++ 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 02:42:56 ++ 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 02:42:56 ++ export PYENV_SHELL=bash 02:42:56 ++ PYENV_SHELL=bash 02:42:56 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 02:42:56 +++ complete -F _pyenv pyenv 02:42:56 ++ lf-pyver python3 02:42:56 ++ local py_version_xy=python3 02:42:56 ++ local py_version_xyz= 02:42:56 ++ pyenv versions 02:42:56 ++ local command 02:42:56 ++ command=versions 02:42:56 ++ '[' 1 -gt 0 ']' 02:42:56 ++ shift 02:42:56 ++ case "$command" in 02:42:56 ++ command pyenv versions 02:42:56 ++ pyenv versions 02:42:56 ++ awk '{ print $1 }' 02:42:56 ++ grep -E '^[0-9.]*[0-9]$' 02:42:56 ++ sed 's/^[ *]* //' 02:42:56 ++ [[ ! -s /tmp/.pyenv_versions ]] 02:42:56 +++ grep '^3' /tmp/.pyenv_versions 02:42:56 +++ tail -n 1 02:42:56 +++ sort -V 02:42:56 ++ py_version_xyz=3.10.6 02:42:56 ++ [[ -z 3.10.6 ]] 02:42:56 ++ echo 3.10.6 02:42:56 ++ return 0 02:42:56 + pyenv local 3.10.6 02:42:56 + local command 02:42:56 + command=local 02:42:56 + '[' 2 -gt 0 ']' 02:42:56 + shift 02:42:56 + case "$command" in 02:42:56 + command pyenv local 3.10.6 02:42:56 + pyenv local 3.10.6 02:42:56 + for arg in "$@" 02:42:56 + case $arg in 02:42:56 + pkg_list+='tox ' 02:42:56 + for arg in "$@" 02:42:56 + case $arg in 02:42:56 + pkg_list+='virtualenv ' 02:42:56 + for arg in "$@" 02:42:56 + case $arg in 02:42:56 + pkg_list+='urllib3~=1.26.15 ' 02:42:56 + [[ -f /tmp/.toxenv ]] 02:42:56 ++ cat /tmp/.toxenv 02:42:56 + lf_venv=/tmp/venv-NE1S 02:42:56 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NE1S from' file:/tmp/.toxenv 02:42:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NE1S from file:/tmp/.toxenv 02:42:56 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 02:42:56 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 02:42:56 + local 'pip_opts=--upgrade --quiet' 02:42:56 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 02:42:56 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 02:42:56 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 02:42:56 + [[ -n '' ]] 02:42:56 + [[ -n '' ]] 02:42:56 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 02:42:56 lf-activate-venv(): INFO: Attempting to install with network-safe options... 02:42:56 + /tmp/venv-NE1S/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 02:42:57 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 02:42:57 lf-activate-venv(): INFO: Base packages installed successfully 02:42:57 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 02:42:57 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 02:42:57 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 02:42:57 + /tmp/venv-NE1S/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 02:42:58 + type python3 02:42:58 + true 02:42:58 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-NE1S/bin to PATH' 02:42:58 lf-activate-venv(): INFO: Adding /tmp/venv-NE1S/bin to PATH 02:42:58 + PATH=/tmp/venv-NE1S/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 02:42:58 + return 0 02:42:58 + [[ -d /opt/pyenv ]] 02:42:58 + echo '---> Setting up pyenv' 02:42:58 ---> Setting up pyenv 02:42:58 + export PYENV_ROOT=/opt/pyenv 02:42:58 + PYENV_ROOT=/opt/pyenv 02:42:58 + export PATH=/opt/pyenv/bin:/tmp/venv-NE1S/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 02:42:58 + PATH=/opt/pyenv/bin:/tmp/venv-NE1S/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 02:42:58 ++ pwd 02:42:58 + PYTHONPATH=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 02:42:58 + export PYTHONPATH 02:42:58 + export TOX_TESTENV_PASSENV=PYTHONPATH 02:42:58 + TOX_TESTENV_PASSENV=PYTHONPATH 02:42:58 + tox --version 02:42:58 4.50.3 from /tmp/venv-NE1S/lib/python3.10/site-packages/tox/__init__.py 02:42:58 + PARALLEL=False 02:42:58 + TOX_OPTIONS_LIST= 02:42:58 + [[ -n '' ]] 02:42:58 + case ${PARALLEL,,} in 02:42:58 + tox 02:42:58 + tee -a /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/tox.log 02:42:59 py37: skipped because could not find python interpreter with spec(s): py37 02:43:00 py37: SKIP ⚠ in 1.32 seconds 02:43:00 py38: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt 02:43:06 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' 02:43:07 .pkg: _optional_hooks> python /tmp/venv-NE1S/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 02:43:07 .pkg: get_requires_for_build_sdist> python /tmp/venv-NE1S/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 02:43:07 .pkg: get_requires_for_build_wheel> python /tmp/venv-NE1S/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 02:43:08 .pkg: freeze> python -m pip freeze --all 02:43:08 .pkg: pip==26.0.1,setuptools==82.0.0 02:43:08 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-NE1S/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 02:43:08 .pkg: build_sdist> python /tmp/venv-NE1S/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 02:43:09 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 02:43:09 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 02:43:10 py38: freeze> python -m pip freeze --all 02:43:10 py38: certifi==2026.2.25,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.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.4,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/1/snmptrap-2.0.8.tar.gz#sha256=cdbfb8e3dd4cf97831c124b174a76419017b7e92ec5abdee2285d31f1ad0259f,tomli==2.4.0,typing_extensions==4.13.2,urllib3==1.22,wheel==0.45.1 02:43:10 py38: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose 02:43:11 ============================= test session starts ============================== 02:43:11 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 02:43:11 cachedir: .tox/py38/.pytest_cache 02:43:11 rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 02:43:11 plugins: cov-5.0.0 02:43:15 collecting ... collected 96 items 02:43:15 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] 02:43:15 tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] 02:43:19 tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] 02:43:19 tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] 02:43:20 tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] 02:43:20 tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] 02:43:20 tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] 02:43:20 tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] 02:43:20 tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] 02:43:20 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] 02:43:20 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] 02:43:20 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] 02:43:20 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] 02:43:20 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] 02:43:20 tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] 02:43:20 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] 02:43:20 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] 02:43:20 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] 02:43:20 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] 02:43:20 tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] 02:43:20 tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] 02:43:20 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] 02:43:20 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] 02:43:20 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] 02:43:20 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] 02:43:20 tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] 02:43:20 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] 02:43:20 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] 02:43:20 tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] 02:43:20 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] 02:43:20 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] 02:43:20 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] 02:43:22 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] 02:43:22 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] 02:43:22 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] 02:43:22 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] 02:43:22 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] 02:43:22 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] 02:43:22 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] 02:43:22 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] 02:43:22 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] 02:43:22 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] 02:43:22 02:43:22 =============================== warnings summary =============================== 02:43:22 .tox/py38/lib/python3.8/site-packages/urllib3/util/selectors.py:14 02:43:22 /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 02:43:22 from collections import namedtuple, Mapping 02:43:22 02:43:22 .tox/py38/lib/python3.8/site-packages/urllib3/_collections.py:2 02:43:22 /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 02:43:22 from collections import Mapping, MutableMapping 02:43:22 02:43:22 .tox/py38/lib/python3.8/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 02:43:22 /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 02:43:22 def handle_timeout(self): 02:43:22 02:43:22 :2 02:43:22 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead 02:43:22 02:43:22 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 02:43:22 02:43:22 ---------- coverage: platform linux, python 3.8.14-final-0 ----------- 02:43:22 Name Stmts Miss Cover 02:43:22 --------------------------------------------------------------- 02:43:22 snmptrap/__init__.py 0 0 100% 02:43:22 snmptrap/mod/__init__.py 0 0 100% 02:43:22 snmptrap/mod/trapd_exit.py 10 0 100% 02:43:22 snmptrap/mod/trapd_get_cbs_config.py 57 3 95% 02:43:22 snmptrap/mod/trapd_http_session.py 31 0 100% 02:43:22 snmptrap/mod/trapd_io.py 159 0 100% 02:43:22 snmptrap/mod/trapd_runtime_pid.py 25 0 100% 02:43:22 snmptrap/mod/trapd_settings.py 54 0 100% 02:43:22 snmptrap/mod/trapd_snmpv3.py 107 2 98% 02:43:22 snmptrap/mod/trapd_stats_settings.py 6 0 100% 02:43:22 snmptrap/mod/trapd_stormwatch.py 227 19 92% 02:43:22 snmptrap/mod/trapd_stormwatch_settings.py 10 0 100% 02:43:22 snmptrap/mod/trapd_vb_types.py 23 0 100% 02:43:22 snmptrap/snmptrapd.py 362 85 77% 02:43:22 --------------------------------------------------------------- 02:43:22 TOTAL 1071 109 90% 02:43:22 Coverage HTML written to dir htmlcov 02:43:22 Coverage XML written to file coverage.xml 02:43:22 02:43:22 ================== 94 passed, 2 skipped, 4 warnings in 11.73s ================== 02:43:23 py38: OK ✔ in 22.95 seconds 02:43:23 py39: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt 02:43:30 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 02:43:30 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 02:43:32 py39: freeze> python -m pip freeze --all 02:43:32 py39: certifi==2026.2.25,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.0,pip==26.0.1,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==82.0.0,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/2/snmptrap-2.0.8.tar.gz#sha256=cdbfb8e3dd4cf97831c124b174a76419017b7e92ec5abdee2285d31f1ad0259f,tomli==2.4.0,typing_extensions==4.15.0,urllib3==1.22 02:43:32 py39: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose 02:43:32 ============================= test session starts ============================== 02:43:32 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 02:43:32 cachedir: .tox/py39/.pytest_cache 02:43:32 rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 02:43:32 plugins: cov-7.0.0 02:43:37 collecting ... collected 96 items 02:43:37 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] 02:43:37 tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] 02:43:42 tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] 02:43:42 tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] 02:43:42 tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] 02:43:42 tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] 02:43:42 tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] 02:43:42 tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] 02:43:42 tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] 02:43:42 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] 02:43:42 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] 02:43:42 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] 02:43:42 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] 02:43:42 tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] 02:43:42 tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] 02:43:43 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] 02:43:43 tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] 02:43:43 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] 02:43:43 tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] 02:43:43 tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] 02:43:43 tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] 02:43:43 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] 02:43:43 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] 02:43:43 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] 02:43:43 tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] 02:43:43 tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] 02:43:43 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] 02:43:43 tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] 02:43:43 tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] 02:43:43 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] 02:43:43 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] 02:43:43 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] 02:43:44 tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] 02:43:44 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] 02:43:44 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] 02:43:44 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] 02:43:44 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] 02:43:44 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] 02:43:44 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] 02:43:44 tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] 02:43:44 tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] 02:43:44 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] 02:43:45 tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] 02:43:45 02:43:45 =============================== warnings summary =============================== 02:43:45 .tox/py39/lib/python3.9/site-packages/urllib3/util/selectors.py:14 02:43:45 /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 02:43:45 from collections import namedtuple, Mapping 02:43:45 02:43:45 .tox/py39/lib/python3.9/site-packages/urllib3/_collections.py:2 02:43:45 /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 02:43:45 from collections import Mapping, MutableMapping 02:43:45 02:43:45 .tox/py39/lib/python3.9/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 02:43:45 /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 02:43:45 def handle_timeout(self): 02:43:45 02:43:45 :2 02:43:45 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead 02:43:45 02:43:45 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 02:43:45 ================================ tests coverage ================================ 02:43:45 _______________ coverage: platform linux, python 3.9.14-final-0 ________________ 02:43:45 02:43:45 Name Stmts Miss Cover 02:43:45 --------------------------------------------------------------- 02:43:45 snmptrap/__init__.py 0 0 100% 02:43:45 snmptrap/mod/__init__.py 0 0 100% 02:43:45 snmptrap/mod/trapd_exit.py 10 0 100% 02:43:45 snmptrap/mod/trapd_get_cbs_config.py 57 3 95% 02:43:45 snmptrap/mod/trapd_http_session.py 31 0 100% 02:43:45 snmptrap/mod/trapd_io.py 159 0 100% 02:43:45 snmptrap/mod/trapd_runtime_pid.py 25 0 100% 02:43:45 snmptrap/mod/trapd_settings.py 54 0 100% 02:43:45 snmptrap/mod/trapd_snmpv3.py 107 2 98% 02:43:45 snmptrap/mod/trapd_stats_settings.py 6 0 100% 02:43:45 snmptrap/mod/trapd_stormwatch.py 227 19 92% 02:43:45 snmptrap/mod/trapd_stormwatch_settings.py 10 0 100% 02:43:45 snmptrap/mod/trapd_vb_types.py 23 0 100% 02:43:45 snmptrap/snmptrapd.py 362 85 77% 02:43:45 --------------------------------------------------------------- 02:43:45 TOTAL 1071 109 90% 02:43:45 Coverage HTML written to dir htmlcov 02:43:45 Coverage XML written to file coverage.xml 02:43:45 ================== 94 passed, 2 skipped, 4 warnings in 12.44s ================== 02:43:45 py37: SKIP (1.32 seconds) 02:43:45 py38: OK (22.95=setup[10.85]+cmd[12.10] seconds) 02:43:45 py39: OK (22.65=setup[9.80]+cmd[12.85] seconds) 02:43:45 congratulations :) (46.95 seconds) 02:43:45 + tox_status=0 02:43:45 + echo '---> Completed tox runs' 02:43:45 ---> Completed tox runs 02:43:45 + for i in .tox/*/log 02:43:45 ++ echo .tox/py38/log 02:43:45 ++ awk -F/ '{print $2}' 02:43:45 + tox_env=py38 02:43:45 + cp -r .tox/py38/log /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/py38 02:43:45 + for i in .tox/*/log 02:43:45 ++ echo .tox/py39/log 02:43:45 ++ awk -F/ '{print $2}' 02:43:45 + tox_env=py39 02:43:45 + cp -r .tox/py39/log /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/py39 02:43:45 + DOC_DIR=docs/_build/html 02:43:45 + [[ -d docs/_build/html ]] 02:43:45 + echo '---> tox-run.sh ends' 02:43:45 ---> tox-run.sh ends 02:43:45 + test 0 -eq 0 02:43:45 $ ssh-agent -k 02:43:45 unset SSH_AUTH_SOCK; 02:43:45 unset SSH_AGENT_PID; 02:43:45 echo Agent pid 2078 killed; 02:43:45 [ssh-agent] Stopped. 02:43:45 [PostBuildScript] - [INFO] Executing post build scripts. 02:43:45 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins7767986094630070310.sh 02:43:45 ---> sysstat.sh 02:43:46 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins6780487337465659686.sh 02:43:46 ---> package-listing.sh 02:43:46 ++ facter osfamily 02:43:46 ++ tr '[:upper:]' '[:lower:]' 02:43:46 + OS_FAMILY=debian 02:43:46 + workspace=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master 02:43:46 + START_PACKAGES=/tmp/packages_start.txt 02:43:46 + END_PACKAGES=/tmp/packages_end.txt 02:43:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:43:46 + PACKAGES=/tmp/packages_start.txt 02:43:46 + '[' /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master ']' 02:43:46 + PACKAGES=/tmp/packages_end.txt 02:43:46 + case "${OS_FAMILY}" in 02:43:46 + dpkg -l 02:43:46 + grep '^ii' 02:43:46 + '[' -f /tmp/packages_start.txt ']' 02:43:46 + '[' -f /tmp/packages_end.txt ']' 02:43:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:43:46 + '[' /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master ']' 02:43:46 + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ 02:43:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ 02:43:46 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins17318533247202848656.sh 02:43:46 ---> capture-instance-metadata.sh 02:43:46 Setup pyenv: 02:43:46 system 02:43:46 3.8.13 02:43:46 3.9.13 02:43:46 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 02:43:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mFSF from file:/tmp/.os_lf_venv 02:43:46 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 02:43:46 lf-activate-venv(): INFO: Attempting to install with network-safe options... 02:43:48 lf-activate-venv(): INFO: Base packages installed successfully 02:43:48 lf-activate-venv(): INFO: Installing additional packages: lftools 02:43:56 lf-activate-venv(): INFO: Adding /tmp/venv-mFSF/bin to PATH 02:43:56 INFO: Running in OpenStack, capturing instance metadata 02:43:56 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins17835007649706039950.sh 02:43:56 provisioning config files... 02:43:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/config6725369555935040703tmp 02:43:56 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 02:43:56 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 02:43:56 [EnvInject] - Injecting environment variables from a build step. 02:43:56 [EnvInject] - Injecting as environment variables the properties content 02:43:56 SERVER_ID=logs 02:43:56 02:43:56 [EnvInject] - Variables injected successfully. 02:43:56 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins14970103204760637054.sh 02:43:56 ---> create-netrc.sh 02:43:56 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins4976028402065768450.sh 02:43:56 ---> python-tools-install.sh 02:43:56 Setup pyenv: 02:43:56 system 02:43:56 3.8.13 02:43:56 3.9.13 02:43:56 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 02:43:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mFSF from file:/tmp/.os_lf_venv 02:43:56 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 02:43:56 lf-activate-venv(): INFO: Attempting to install with network-safe options... 02:43:58 lf-activate-venv(): INFO: Base packages installed successfully 02:43:58 lf-activate-venv(): INFO: Installing additional packages: lftools 02:44:06 lf-activate-venv(): INFO: Adding /tmp/venv-mFSF/bin to PATH 02:44:06 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins18132920605571333992.sh 02:44:06 ---> sudo-logs.sh 02:44:06 Archiving 'sudo' log.. 02:44:06 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins8791576984460057418.sh 02:44:06 ---> job-cost.sh 02:44:06 INFO: Activating Python virtual environment... 02:44:06 Setup pyenv: 02:44:06 system 02:44:06 3.8.13 02:44:06 3.9.13 02:44:06 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 02:44:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mFSF from file:/tmp/.os_lf_venv 02:44:06 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 02:44:06 lf-activate-venv(): INFO: Attempting to install with network-safe options... 02:44:08 lf-activate-venv(): INFO: Base packages installed successfully 02:44:08 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 02:44:13 lf-activate-venv(): INFO: Adding /tmp/venv-mFSF/bin to PATH 02:44:13 INFO: No stack-cost file found 02:44:13 INFO: Instance uptime: 224s 02:44:13 INFO: Fetching instance metadata (attempt 1 of 3)... 02:44:13 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 02:44:14 INFO: Successfully fetched instance metadata 02:44:14 INFO: Instance type: v3-standard-8 02:44:14 INFO: Retrieving pricing info for: v3-standard-8 02:44:14 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 02:44:14 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-8/cost?seconds=224 02:44:14 INFO: Successfully fetched Vexxhost pricing API 02:44:14 INFO: Retrieved cost: 0.22 02:44:14 INFO: Retrieved resource: v3-standard-8 02:44:14 INFO: Creating archive directory: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/cost 02:44:14 INFO: Archiving costs to: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/cost.csv 02:44:14 INFO: Successfully archived job cost data 02:44:14 DEBUG: Cost data: dcaegen2-collectors-snmptrap-tox-merge-master,29,2026-03-20 02:44:14,v3-standard-8,224,0.22,0.00,SUCCESS 02:44:14 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins14374272339839580346.sh 02:44:14 ---> logs-deploy.sh 02:44:14 Setup pyenv: 02:44:14 system 02:44:14 3.8.13 02:44:14 3.9.13 02:44:14 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) 02:44:14 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mFSF from file:/tmp/.os_lf_venv 02:44:14 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 02:44:14 lf-activate-venv(): INFO: Attempting to install with network-safe options... 02:44:16 lf-activate-venv(): INFO: Base packages installed successfully 02:44:16 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 02:44:26 lf-activate-venv(): INFO: Adding /tmp/venv-mFSF/bin to PATH 02:44:26 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-snmptrap-tox-merge-master/29 02:44:26 INFO: archiving workspace using pattern(s): 02:44:26 /tmp/venv-mFSF/lib/python3.10/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (1.26.20) or chardet (7.2.0)/charset_normalizer (3.4.6) doesn't match a supported version! 02:44:26 warnings.warn( 02:44:27 Archives upload complete. 02:44:28 INFO: archiving logs to Nexus 02:44:28 /tmp/venv-mFSF/lib/python3.10/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (1.26.20) or chardet (7.2.0)/charset_normalizer (3.4.6) doesn't match a supported version! 02:44:28 warnings.warn( 02:44:29 ---> uname -a: 02:44:29 Linux prd-ubuntu1804-docker-8c-8g-3368 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 02:44:29 02:44:29 02:44:29 ---> lscpu: 02:44:29 Architecture: x86_64 02:44:29 CPU op-mode(s): 32-bit, 64-bit 02:44:29 Byte Order: Little Endian 02:44:29 CPU(s): 8 02:44:29 On-line CPU(s) list: 0-7 02:44:29 Thread(s) per core: 1 02:44:29 Core(s) per socket: 1 02:44:29 Socket(s): 8 02:44:29 NUMA node(s): 1 02:44:29 Vendor ID: AuthenticAMD 02:44:29 CPU family: 23 02:44:29 Model: 49 02:44:29 Model name: AMD EPYC-Rome Processor 02:44:29 Stepping: 0 02:44:29 CPU MHz: 2799.974 02:44:29 BogoMIPS: 5599.94 02:44:29 Virtualization: AMD-V 02:44:29 Hypervisor vendor: KVM 02:44:29 Virtualization type: full 02:44:29 L1d cache: 32K 02:44:29 L1i cache: 32K 02:44:29 L2 cache: 512K 02:44:29 L3 cache: 16384K 02:44:29 NUMA node0 CPU(s): 0-7 02:44:29 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 02:44:29 02:44:29 02:44:29 ---> nproc: 02:44:29 8 02:44:29 02:44:29 02:44:29 ---> df -h: 02:44:29 Filesystem Size Used Avail Use% Mounted on 02:44:29 udev 16G 0 16G 0% /dev 02:44:29 tmpfs 3.2G 716K 3.2G 1% /run 02:44:29 /dev/vda1 155G 11G 145G 7% / 02:44:29 tmpfs 16G 0 16G 0% /dev/shm 02:44:29 tmpfs 5.0M 0 5.0M 0% /run/lock 02:44:29 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:44:29 /dev/vda15 105M 4.4M 100M 5% /boot/efi 02:44:29 tmpfs 3.2G 0 3.2G 0% /run/user/1001 02:44:29 02:44:29 02:44:29 ---> free -m: 02:44:29 total used free shared buff/cache available 02:44:29 Mem: 32167 799 29065 0 2302 30932 02:44:29 Swap: 1023 0 1023 02:44:29 02:44:29 02:44:29 ---> ip addr: 02:44:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 02:44:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:44:29 inet 127.0.0.1/8 scope host lo 02:44:29 valid_lft forever preferred_lft forever 02:44:29 inet6 ::1/128 scope host 02:44:29 valid_lft forever preferred_lft forever 02:44:29 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 02:44:29 link/ether fa:16:3e:ba:ba:4c brd ff:ff:ff:ff:ff:ff 02:44:29 inet 10.30.107.151/23 brd 10.30.107.255 scope global dynamic ens3 02:44:29 valid_lft 86174sec preferred_lft 86174sec 02:44:29 inet6 fe80::f816:3eff:feba:ba4c/64 scope link 02:44:29 valid_lft forever preferred_lft forever 02:44:29 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 02:44:29 link/ether 02:42:81:99:b2:61 brd ff:ff:ff:ff:ff:ff 02:44:29 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:44:29 valid_lft forever preferred_lft forever 02:44:29 02:44:29 02:44:29 ---> sar -b -r -n DEV: 02:44:29 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-3368) 03/20/26 _x86_64_ (8 CPU) 02:44:29 02:44:29 02:41:00 LINUX RESTART (8 CPU) 02:44:29 02:44:29 02:42:02 tps rtps wtps bread/s bwrtn/s 02:44:29 02:43:01 145.98 14.64 131.33 591.36 57212.95 02:44:29 02:44:01 147.06 10.66 136.39 550.04 59931.34 02:44:29 Average: 146.52 12.64 133.89 570.53 58583.57 02:44:29 02:44:29 02:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:44:29 02:43:01 29959756 31693504 2979464 9.05 81596 1951916 1445504 4.25 879400 1787744 168560 02:44:29 02:44:01 29770044 31676268 3169176 9.62 95068 2099272 1422672 4.19 930388 1901640 31476 02:44:29 Average: 29864900 31684886 3074320 9.33 88332 2025594 1434088 4.22 904894 1844692 100018 02:44:29 02:44:29 02:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:44:29 02:43:01 lo 1.49 1.49 0.17 0.17 0.00 0.00 0.00 0.00 02:44:29 02:43:01 ens3 79.31 59.82 986.69 24.60 0.00 0.00 0.00 0.00 02:44:29 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:29 02:44:01 lo 2.67 2.67 0.38 0.38 0.00 0.00 0.00 0.00 02:44:29 02:44:01 ens3 33.46 26.63 139.18 11.43 0.00 0.00 0.00 0.00 02:44:29 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:29 Average: lo 2.08 2.08 0.28 0.28 0.00 0.00 0.00 0.00 02:44:29 Average: ens3 56.19 43.09 559.38 17.96 0.00 0.00 0.00 0.00 02:44:29 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:44:29 02:44:29 02:44:29 ---> sar -P ALL: 02:44:29 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-3368) 03/20/26 _x86_64_ (8 CPU) 02:44:29 02:44:29 02:41:00 LINUX RESTART (8 CPU) 02:44:29 02:44:29 02:42:02 CPU %user %nice %system %iowait %steal %idle 02:44:29 02:43:01 all 9.37 0.00 0.81 3.26 0.03 86.53 02:44:29 02:43:01 0 0.58 0.00 0.34 13.87 0.02 85.19 02:44:29 02:43:01 1 6.74 0.00 0.63 0.32 0.03 92.27 02:44:29 02:43:01 2 1.85 0.00 0.27 0.25 0.00 97.63 02:44:29 02:43:01 3 2.32 0.00 0.29 0.47 0.02 96.90 02:44:29 02:43:01 4 18.76 0.00 1.50 6.00 0.07 73.68 02:44:29 02:43:01 5 23.77 0.00 1.61 1.54 0.03 73.04 02:44:29 02:43:01 6 7.07 0.00 0.87 3.56 0.03 88.46 02:44:29 02:43:01 7 13.84 0.00 1.00 0.15 0.02 84.99 02:44:29 02:44:01 all 9.42 0.00 0.77 2.11 0.03 87.66 02:44:29 02:44:01 0 18.61 0.00 0.73 0.18 0.02 80.45 02:44:29 02:44:01 1 5.46 0.00 0.73 0.27 0.02 93.52 02:44:29 02:44:01 2 4.21 0.00 0.57 0.45 0.03 94.74 02:44:29 02:44:01 3 16.46 0.00 1.05 0.52 0.03 81.94 02:44:29 02:44:01 4 0.03 0.00 0.80 14.31 0.07 84.78 02:44:29 02:44:01 5 10.90 0.00 0.90 0.20 0.02 87.99 02:44:29 02:44:01 6 16.12 0.00 0.83 0.98 0.05 82.01 02:44:29 02:44:01 7 3.55 0.00 0.50 0.03 0.02 95.90 02:44:29 Average: all 9.39 0.00 0.79 2.68 0.03 87.10 02:44:29 Average: 0 9.68 0.00 0.54 6.96 0.02 82.80 02:44:29 Average: 1 6.10 0.00 0.68 0.29 0.03 92.90 02:44:29 Average: 2 3.04 0.00 0.42 0.35 0.02 96.17 02:44:29 Average: 3 9.45 0.00 0.67 0.50 0.03 89.36 02:44:29 Average: 4 9.32 0.00 1.15 10.19 0.07 79.27 02:44:29 Average: 5 17.28 0.00 1.25 0.87 0.03 80.58 02:44:29 Average: 6 11.65 0.00 0.85 2.26 0.04 85.20 02:44:29 Average: 7 8.66 0.00 0.75 0.09 0.02 90.49 02:44:29 02:44:29 02:44:29