Triggered by Gerrit: https://gerrit.onap.org/r/c/dcaegen2/collectors/snmptrap/+/136585 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-5932 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-tdKIRmp8V3A7/agent.2114 SSH_AGENT_PID=2116 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_11281837401922835653.key (/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/private_key_11281837401922835653.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap > git init /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/dcaegen2/collectors/snmptrap refs/changes/85/136585/5 # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision bca2314b1351eccaf25d573fa973351a35b43e24 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f bca2314b1351eccaf25d573fa973351a35b43e24 # timeout=10 Commit message: "[SNMPTRAP] Use latest cbs library" > git rev-list --no-walk 5d4f1f1e8248116325164fb7aa3d8058fcd9b037 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins5816445512692916543.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-11gU lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-11gU/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-11gU/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.2 botocore==1.34.2 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.9.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins14503756927152605905.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-5Wnq + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ sed 's/^[ *]* //' ++ pyenv versions ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-5Wnq + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5Wnq' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5Wnq + echo /tmp/venv-5Wnq + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-5Wnq/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-5Wnq/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-5Wnq/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-5Wnq/bin to PATH + PATH=/tmp/venv-5Wnq/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 23.3.2 from /tmp/venv-5Wnq/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.1 packaging==23.2 platformdirs==4.1.0 pluggy==1.3.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.11.4 urllib3==1.26.18 virtualenv==20.25.0 [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/sh /tmp/jenkins4005014595840706920.sh --> onap-gerrit-review-wrapper.sh Cloning into 'onap-gerrit-review'... URL='https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap' REFSPEC='refs/changes/85/136585/5' BRANCH='master' Cloning into 'snmptrap'... From https://gerrit.onap.org/r/dcaegen2/collectors/snmptrap * branch refs/changes/85/136585/5 -> FETCH_HEAD Already up to date. Running: onap-gerrit-review-step2 -l /tmp/ogr.syWOV3XSPz/snmptrap Using /tmp/ogr.syWOV3XSPz/snmptrap New files: ================================================================ SUCCESS: No updated files were found for use with the -l option. Skipping rest of /tmp/ogr.syWOV3XSPz/snmptrap ================================================================ [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins15651580897085516780.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + ARCHIVE_TOX_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/docs + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox + cd /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-wJGk + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-5Wnq + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5Wnq from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5Wnq from file:/tmp/.toxenv + /tmp/venv-5Wnq/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-5Wnq/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-5Wnq/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-5Wnq/bin to PATH + PATH=/tmp/venv-5Wnq/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-5Wnq/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/tmp/venv-5Wnq/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ pwd + PYTHONPATH=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.11.4 from /tmp/venv-5Wnq/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + tox + tee -a /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/tox.log .pkg: remove tox env folder /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.pkg py37: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-5Wnq/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-5Wnq/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-5Wnq/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-5Wnq/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-5Wnq/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py37: 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 py37: 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 py37: freeze> python -m pip freeze --all py37: certifi==2023.11.17,chardet==3.0.4,coverage==7.2.7,exceptiongroup==1.2.0,idna==2.5,importlib-metadata==6.7.0,iniconfig==2.0.0,onap-dcae-cbs-docker-client==2.2.1,packaging==23.2,pip==23.3.1,pluggy==1.2.0,ply==3.11,pyasn1==0.4.8,pycryptodomex==3.19.0,pysmi==0.3.4,pysnmp==4.4.12,pytest==7.4.3,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.18.3,setuptools==68.0.0,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/1/snmptrap-2.0.8.tar.gz#sha256=8087692b7e34ba16374467f7f733415140dc026267981a3ecfe973fa534d2bc2,tomli==2.0.1,typing_extensions==4.7.1,urllib3==1.22,wheel==0.42.0,zipp==3.15.0 py37: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose ============================= test session starts ============================== platform linux -- Python 3.7.14, pytest-7.4.3, pluggy-1.2.0 -- /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py37/bin/python cachedir: .tox/py37/.pytest_cache rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master plugins: cov-4.1.0 collecting ... collected 96 items tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] =============================== warnings summary =============================== .tox/py37/lib/python3.7/site-packages/urllib3/util/selectors.py:14 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py37/lib/python3.7/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.9 it will stop working from collections import namedtuple, Mapping .tox/py37/lib/python3.7/site-packages/urllib3/_collections.py:2 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py37/lib/python3.7/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.9 it will stop working from collections import Mapping, MutableMapping -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.7.14-final-0 ----------- Name Stmts Miss Cover --------------------------------------------------------------- snmptrap/__init__.py 0 0 100% snmptrap/mod/__init__.py 0 0 100% snmptrap/mod/trapd_exit.py 11 0 100% snmptrap/mod/trapd_get_cbs_config.py 58 3 95% snmptrap/mod/trapd_http_session.py 32 0 100% snmptrap/mod/trapd_io.py 160 0 100% snmptrap/mod/trapd_runtime_pid.py 26 0 100% snmptrap/mod/trapd_settings.py 55 0 100% snmptrap/mod/trapd_snmpv3.py 108 2 98% snmptrap/mod/trapd_stats_settings.py 7 0 100% snmptrap/mod/trapd_stormwatch.py 228 19 92% snmptrap/mod/trapd_stormwatch_settings.py 11 0 100% snmptrap/mod/trapd_vb_types.py 24 0 100% snmptrap/snmptrapd.py 363 84 77% --------------------------------------------------------------- TOTAL 1083 108 90% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ================== 94 passed, 2 skipped, 2 warnings in 11.79s ================== py37: OK ✔ in 30.46 seconds py38: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt py38: install_package_deps> python -I -m pip install onap-dcae-cbs-docker-client==2.2.1 pyasn1==0.4.8 pysnmp==4.4.12 pyyaml requests==2.18.3 py38: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/2/snmptrap-2.0.8.tar.gz py38: freeze> python -m pip freeze --all py38: certifi==2023.11.17,chardet==3.0.4,coverage==7.3.3,exceptiongroup==1.2.0,idna==2.5,iniconfig==2.0.0,onap-dcae-cbs-docker-client==2.2.1,packaging==23.2,pip==23.3.1,pluggy==1.3.0,ply==3.11,pyasn1==0.4.8,pycryptodomex==3.19.0,pysmi==0.3.4,pysnmp==4.4.12,pytest==7.4.3,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.18.3,setuptools==69.0.2,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/2/snmptrap-2.0.8.tar.gz#sha256=8087692b7e34ba16374467f7f733415140dc026267981a3ecfe973fa534d2bc2,tomli==2.0.1,urllib3==1.22,wheel==0.42.0 py38: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose ============================= test session starts ============================== platform linux -- Python 3.8.14, pytest-7.4.3, pluggy-1.3.0 -- /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py38/bin/python cachedir: .tox/py38/.pytest_cache rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master plugins: cov-4.1.0 collecting ... collected 96 items tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] =============================== warnings summary =============================== .tox/py38/lib/python3.8/site-packages/urllib3/util/selectors.py:14 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py38/lib/python3.8/site-packages/urllib3/util/selectors.py:14: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import namedtuple, Mapping .tox/py38/lib/python3.8/site-packages/urllib3/_collections.py:2 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py38/lib/python3.8/site-packages/urllib3/_collections.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import Mapping, MutableMapping .tox/py38/lib/python3.8/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py38/lib/python3.8/site-packages/pysnmp/carrier/asyncio/dispatch.py:58: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def handle_timeout(self): :2 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.8.14-final-0 ----------- Name Stmts Miss Cover --------------------------------------------------------------- snmptrap/__init__.py 0 0 100% snmptrap/mod/__init__.py 0 0 100% snmptrap/mod/trapd_exit.py 11 0 100% snmptrap/mod/trapd_get_cbs_config.py 58 3 95% snmptrap/mod/trapd_http_session.py 32 0 100% snmptrap/mod/trapd_io.py 160 0 100% snmptrap/mod/trapd_runtime_pid.py 26 0 100% snmptrap/mod/trapd_settings.py 55 0 100% snmptrap/mod/trapd_snmpv3.py 108 2 98% snmptrap/mod/trapd_stats_settings.py 7 0 100% snmptrap/mod/trapd_stormwatch.py 228 19 92% snmptrap/mod/trapd_stormwatch_settings.py 11 0 100% snmptrap/mod/trapd_vb_types.py 24 0 100% snmptrap/snmptrapd.py 363 85 77% --------------------------------------------------------------- TOTAL 1083 109 90% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ================== 94 passed, 2 skipped, 4 warnings in 11.76s ================== py38: OK ✔ in 20.19 seconds py39: install_deps> python -I -m pip install coverage pytest pytest-cov -r requirements.txt py39: install_package_deps> python -I -m pip install onap-dcae-cbs-docker-client==2.2.1 pyasn1==0.4.8 pysnmp==4.4.12 pyyaml requests==2.18.3 py39: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/3/snmptrap-2.0.8.tar.gz py39: freeze> python -m pip freeze --all py39: certifi==2023.11.17,chardet==3.0.4,coverage==7.3.3,exceptiongroup==1.2.0,idna==2.5,iniconfig==2.0.0,onap-dcae-cbs-docker-client==2.2.1,packaging==23.2,pip==23.3.1,pluggy==1.3.0,ply==3.11,pyasn1==0.4.8,pycryptodomex==3.19.0,pysmi==0.3.4,pysnmp==4.4.12,pytest==7.4.3,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.18.3,setuptools==69.0.2,snmptrap @ file:///w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/.tmp/package/3/snmptrap-2.0.8.tar.gz#sha256=8087692b7e34ba16374467f7f733415140dc026267981a3ecfe973fa534d2bc2,tomli==2.0.1,urllib3==1.22,wheel==0.42.0 py39: commands[0]> pytest --cov snmptrap --cov-report=xml --cov-report=html --cov-report=term tests --verbose --verbose --verbose ============================= test session starts ============================== platform linux -- Python 3.9.14, pytest-7.4.3, pluggy-1.3.0 -- /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py39/bin/python cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master plugins: cov-4.1.0 collecting ... collected 96 items tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_json PASSED [ 1%] tests/test_snmptrapd.py::test_snmptrapd::test_add_varbind_to_log_string PASSED [ 2%] tests/test_snmptrapd.py::test_snmptrapd::test_comm_string_rewrite_observer SKIPPEDthod) [ 3%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs PASSED [ 4%] tests/test_snmptrapd.py::test_snmptrapd::test_load_all_configs_signal PASSED [ 5%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_arriving_traps PASSED [ 6%] tests/test_snmptrapd.py::test_snmptrapd::test_log_all_incorrect_log_type PASSED [ 7%] tests/test_snmptrapd.py::test_snmptrapd::test_notif_receiver_cb PASSED [ 8%] tests/test_snmptrapd.py::test_snmptrapd::test_post_dmaap PASSED [ 9%] tests/test_snmptrapd.py::test_snmptrapd::test_resolve_ip PASSED [ 10%] tests/test_snmptrapd.py::test_snmptrapd::test_snmp_engine_observer_cb PASSED [ 11%] tests/test_snmptrapd.py::test_snmptrapd::test_usage_err PASSED [ 12%] tests/test_snmptrapd.py::test_snmptrapd::test_v1_trap_receipt PASSED [ 13%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_abnormal_exit PASSED [ 14%] tests/test_trapd_exit.py::test_cleanup_and_exit::test_normal_exit PASSED [ 15%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_env_present PASSED [ 16%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present PASSED [ 17%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_fallback_env_present_bad_numbers PASSED [ 18%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_invalid PASSED [ 19%] tests/test_trapd_get_cbs_config.py::test_trapd_get_cbs_config::test_cbs_override_env_undefined PASSED [ 20%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_existing_session PASSED [ 21%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_close_raises PASSED [ 22%] tests/test_trapd_http_session.py::test_init_session_obj::test_close_nonexisting_session PASSED [ 23%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj PASSED [ 25%] tests/test_trapd_http_session.py::test_init_session_obj::test_init_session_obj_raises PASSED [ 26%] tests/test_trapd_http_session.py::test_init_session_obj::test_reset PASSED [ 27%] tests/test_trapd_io.py::test_trapd_io::test_close_file_does_not_exist PASSED [ 28%] tests/test_trapd_io.py::test_trapd_io::test_close_file_exists PASSED [ 29%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit PASSED [ 30%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_audit_bad_fd PASSED [ 31%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error PASSED [ 32%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_error_bad_fd PASSED [ 33%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics PASSED [ 34%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_metrics_bad_fd PASSED [ 35%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown PASSED [ 36%] tests/test_trapd_io.py::test_trapd_io::test_ecomp_logger_type_unknown_bad_fd PASSED [ 37%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file PASSED [ 38%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_audit_file_missing_name PASSED [ 39%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file PASSED [ 40%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_debug_file_missing_name PASSED [ 41%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file PASSED [ 42%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_error_file_missing_name PASSED [ 43%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file PASSED [ 44%] tests/test_trapd_io.py::test_trapd_io::test_open_eelf_metrics_file_missing_name PASSED [ 45%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists PASSED [ 46%] tests/test_trapd_io.py::test_trapd_io::test_open_file_exists_does_not_exist PASSED [ 47%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs PASSED [ 48%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_not_open PASSED [ 50%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_eelf_logs_returns_false PASSED [ 51%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_arriving_traps_throws PASSED [ 52%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_open_file_json_traps_throws PASSED [ 53%] tests/test_trapd_io.py::test_trapd_io::test_roll_all_logs_roll_file_throws PASSED [ 54%] tests/test_trapd_io.py::test_trapd_io::test_roll_file PASSED [ 55%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_no_write_perms PASSED [ 56%] tests/test_trapd_io.py::test_trapd_io::test_roll_file_not_present PASSED [ 57%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage PASSED [ 58%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_correct_usage_but_throws PASSED [ 59%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_directory PASSED [ 60%] tests/test_trapd_runtime_pid.py::test_trapd_runtime_pid::test_missing_file PASSED [ 61%] tests/test_trapd_settings.py::test_trapd_settings::test_config_dict PASSED [ 62%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_expires PASSED [ 63%] tests/test_trapd_settings.py::test_trapd_settings::test_dns_cache_ip_to_name PASSED [ 64%] tests/test_trapd_settings.py::test_trapd_settings::test_nonexistent_dict PASSED [ 65%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_engine PASSED [ 66%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_missing_user SKIPPED [ 67%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_not_present PASSED [ 68%] tests/test_trapd_snmpv3.py::test_snmpv3_config::test_v3_config_present PASSED [ 69%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_increment_existing_counter PASSED [ 70%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_clear_dicts PASSED [ 71%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_init PASSED [ 72%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_load_trap_config PASSED [ 73%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_log_metrics PASSED [ 75%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_reset_counter_dict PASSED [ 76%] tests/test_trapd_stormwatch.py::test_cleanup_and_exit::test_sw_storm_active PASSED [ 77%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_nonexistent_dict PASSED [ 78%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_active_dict PASSED [ 79%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_storm_counter_dict PASSED [ 80%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_category PASSED [ 81%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_high_water_in_interval_dict PASSED [ 82%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_low_water_in_interval_dict PASSED [ 83%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_config_oid_dict PASSED [ 84%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_interval_in_seconds PASSED [ 85%] tests/test_trapd_stormwatch_settings.py::test_cleanup_and_exit::test_sw_last_stormwatch_dict_analysis PASSED [ 86%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_bits PASSED [ 87%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_counter32 PASSED [ 88%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_gauge32 PASSED [ 89%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer PASSED [ 90%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_integer32 PASSED [ 91%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_invalid PASSED [ 92%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_ipaddress PASSED [ 93%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_null PASSED [ 94%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_objectidentifier PASSED [ 95%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_octetstring PASSED [ 96%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_5 PASSED [ 97%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_py_type_6 PASSED [ 98%] tests/test_trapd_vb_types.py::test_trapd_vb_types::test_trapd_vb_type_conversion_timeticks PASSED [100%] =============================== warnings summary =============================== .tox/py39/lib/python3.9/site-packages/urllib3/util/selectors.py:14 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py39/lib/python3.9/site-packages/urllib3/util/selectors.py:14: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import namedtuple, Mapping .tox/py39/lib/python3.9/site-packages/urllib3/_collections.py:2 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py39/lib/python3.9/site-packages/urllib3/_collections.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import Mapping, MutableMapping .tox/py39/lib/python3.9/site-packages/pysnmp/carrier/asyncio/dispatch.py:58 /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.tox/py39/lib/python3.9/site-packages/pysnmp/carrier/asyncio/dispatch.py:58: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def handle_timeout(self): :2 :2: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.9.14-final-0 ----------- Name Stmts Miss Cover --------------------------------------------------------------- snmptrap/__init__.py 0 0 100% snmptrap/mod/__init__.py 0 0 100% snmptrap/mod/trapd_exit.py 11 0 100% snmptrap/mod/trapd_get_cbs_config.py 58 3 95% snmptrap/mod/trapd_http_session.py 32 0 100% snmptrap/mod/trapd_io.py 160 0 100% snmptrap/mod/trapd_runtime_pid.py 26 0 100% snmptrap/mod/trapd_settings.py 55 0 100% snmptrap/mod/trapd_snmpv3.py 108 2 98% snmptrap/mod/trapd_stats_settings.py 7 0 100% snmptrap/mod/trapd_stormwatch.py 228 19 92% snmptrap/mod/trapd_stormwatch_settings.py 11 0 100% snmptrap/mod/trapd_vb_types.py 24 0 100% snmptrap/snmptrapd.py 363 85 77% --------------------------------------------------------------- TOTAL 1083 109 90% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ================== 94 passed, 2 skipped, 4 warnings in 12.20s ================== .pkg: _exit> python /tmp/venv-5Wnq/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py37: OK (30.46=setup[18.33]+cmd[12.13] seconds) py38: OK (20.19=setup[8.08]+cmd[12.11] seconds) py39: OK (20.14=setup[7.60]+cmd[12.54] seconds) congratulations :) (70.98 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/py37/log ++ awk -F/ '{print $2}' + tox_env=py37 + cp -r .tox/py37/log /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/py37 + for i in .tox/*/log ++ echo .tox/py38/log ++ awk -F/ '{print $2}' + tox_env=py38 + cp -r .tox/py38/log /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/py38 + for i in .tox/*/log ++ echo .tox/py39/log ++ awk -F/ '{print $2}' + tox_env=py39 + cp -r .tox/py39/log /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/tox/py39 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2116 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins4553008793907624981.sh ---> sysstat.sh [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins2283915838718059440.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master ']' + mkdir -p /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/archives/ [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins12957606192576957256.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-11gU from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-11gU/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins15615247199466615793.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master@tmp/config16856398931171514286tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins11336717457727263038.sh ---> create-netrc.sh [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins5267740951075559601.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-11gU from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-11gU/bin to PATH [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins3147221580516710536.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash /tmp/jenkins7697211015311413782.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-11gU from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-11gU/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [dcaegen2-collectors-snmptrap-tox-merge-master] $ /bin/bash -l /tmp/jenkins14600657799746857101.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-snmptrap-tox-merge-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-11gU from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-11gU/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-snmptrap-tox-merge-master/26 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-5932 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 712K 3.2G 1% /run /dev/vda1 155G 11G 145G 7% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 792 28952 0 2421 30934 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:87:f7:f0 brd ff:ff:ff:ff:ff:ff inet 10.30.106.254/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86143sec preferred_lft 86143sec inet6 fe80::f816:3eff:fe87:f7f0/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:26:2d:6e:43 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5932) 12/18/23 _x86_64_ (8 CPU) 02:20:54 LINUX RESTART (8 CPU) 02:21:01 tps rtps wtps bread/s bwrtn/s 02:22:01 139.73 74.50 65.22 5308.32 56250.09 02:23:01 101.17 13.55 87.62 978.21 28947.55 02:24:01 119.00 21.80 97.20 839.06 27987.87 02:25:01 86.24 8.80 77.44 444.46 24439.66 Average: 111.53 29.66 81.87 1892.47 34406.07 02:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:22:01 30350396 31711168 2588824 7.86 51344 1630776 1435412 4.22 834052 1485804 59064 02:23:01 29999048 31731464 2940172 8.93 75844 1958428 1392444 4.10 837920 1791032 151116 02:24:01 29718004 31652344 3221216 9.78 89152 2133712 1543728 4.54 966412 1915148 61400 02:25:01 29632740 31662056 3306480 10.04 98688 2213776 1447556 4.26 989824 1968340 54868 Average: 29925047 31689258 3014173 9.15 78757 1984173 1454785 4.28 907052 1790081 81612 02:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:22:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 02:22:01 ens3 354.06 237.11 924.76 57.55 0.00 0.00 0.00 0.00 02:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:23:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 02:23:01 ens3 77.71 52.02 1043.16 7.69 0.00 0.00 0.00 0.00 02:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:24:01 lo 2.40 2.40 0.36 0.36 0.00 0.00 0.00 0.00 02:24:01 ens3 26.75 20.93 116.84 5.29 0.00 0.00 0.00 0.00 02:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:25:01 lo 1.90 1.90 0.24 0.24 0.00 0.00 0.00 0.00 02:25:01 ens3 35.38 28.93 81.85 10.24 0.00 0.00 0.00 0.00 02:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 1.81 1.81 0.22 0.22 0.00 0.00 0.00 0.00 Average: ens3 123.47 84.74 541.67 20.19 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5932) 12/18/23 _x86_64_ (8 CPU) 02:20:54 LINUX RESTART (8 CPU) 02:21:01 CPU %user %nice %system %iowait %steal %idle 02:22:01 all 7.85 0.00 1.09 4.27 0.03 86.76 02:22:01 0 14.72 0.00 1.29 18.70 0.05 65.24 02:22:01 1 7.14 0.00 0.72 0.52 0.03 91.59 02:22:01 2 3.87 0.00 0.72 1.15 0.02 94.25 02:22:01 3 7.78 0.00 1.19 9.97 0.03 81.04 02:22:01 4 4.44 0.00 0.87 0.40 0.03 94.25 02:22:01 5 5.45 0.00 0.97 0.47 0.03 93.08 02:22:01 6 4.18 0.00 1.99 1.95 0.02 91.86 02:22:01 7 15.25 0.00 0.94 1.07 0.03 82.71 02:23:01 all 10.14 0.00 0.76 2.34 0.03 86.73 02:23:01 0 22.54 0.00 1.25 1.15 0.03 75.02 02:23:01 1 2.61 0.00 0.38 2.51 0.05 94.45 02:23:01 2 22.75 0.00 1.25 0.87 0.03 75.10 02:23:01 3 6.27 0.00 0.43 9.31 0.03 83.95 02:23:01 4 12.31 0.00 1.17 0.22 0.03 86.27 02:23:01 5 7.26 0.00 0.53 3.87 0.03 88.31 02:23:01 6 0.87 0.00 0.30 0.32 0.02 98.50 02:23:01 7 6.61 0.00 0.73 0.52 0.02 92.12 02:24:01 all 8.49 0.00 0.80 2.66 0.05 88.00 02:24:01 0 2.02 0.00 0.28 0.02 0.03 97.64 02:24:01 1 17.45 0.00 1.46 8.60 0.05 72.45 02:24:01 2 7.97 0.00 0.82 0.25 0.07 90.89 02:24:01 3 16.92 0.00 1.37 4.30 0.08 77.33 02:24:01 4 6.12 0.00 0.85 0.57 0.07 92.39 02:24:01 5 3.72 0.00 0.55 1.39 0.07 94.28 02:24:01 6 1.32 0.00 0.42 6.06 0.03 92.17 02:24:01 7 12.45 0.00 0.65 0.10 0.05 86.75 02:25:01 all 10.33 0.00 0.66 1.63 0.04 87.35 02:25:01 0 12.89 0.00 0.45 0.17 0.03 86.47 02:25:01 1 7.29 0.00 0.93 3.07 0.03 88.67 02:25:01 2 25.40 0.00 1.18 0.58 0.05 72.79 02:25:01 3 9.04 0.00 0.62 0.30 0.03 90.01 02:25:01 4 17.13 0.00 0.67 0.53 0.03 81.63 02:25:01 5 0.43 0.00 0.28 0.00 0.05 99.23 02:25:01 6 0.53 0.00 0.17 8.22 0.00 91.07 02:25:01 7 9.91 0.00 0.93 0.17 0.03 88.96 Average: all 9.21 0.00 0.83 2.72 0.04 87.21 Average: 0 13.02 0.00 0.82 4.97 0.04 81.15 Average: 1 8.61 0.00 0.87 3.67 0.04 86.80 Average: 2 15.00 0.00 0.99 0.71 0.04 83.25 Average: 3 10.00 0.00 0.90 5.97 0.05 83.08 Average: 4 10.01 0.00 0.89 0.43 0.04 88.63 Average: 5 4.21 0.00 0.58 1.43 0.05 93.72 Average: 6 1.72 0.00 0.72 4.14 0.02 93.40 Average: 7 11.05 0.00 0.81 0.46 0.03 87.64