Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-snimpy.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1616533645.335052/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6kl2cllv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6kl2cllv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0c2c46a6a8da459f9970f44bdaf76026', '-D', '/var/lib/mock/epel-7-x86_64-1616533645.335052/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6kl2cllv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-snimpy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-snimpy-0.8.14-2.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-snimpy.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1616533645.335052/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6kl2cllv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6kl2cllv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '992a9af55b364b8a98c8fd42e979930e', '-D', '/var/lib/mock/epel-7-x86_64-1616533645.335052/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6kl2cllv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-snimpy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ciS1j2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snimpy-0.8.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/snimpy-0.8.14.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd snimpy-0.8.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/snimpy_keepLeadingZeros.patch + /usr/bin/patch -p1 -s + rm -rf snimpy.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WF6AOP + umask 022 + cd /builddir/build/BUILD + cd snimpy-0.8.14 + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/snimpy copying snimpy/basictypes.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/snmp.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/smi_build.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/mib.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/manager.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/main.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/config.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/_version.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/__main__.py -> build/lib.linux-x86_64-3.6/snimpy copying snimpy/__init__.py -> build/lib.linux-x86_64-3.6/snimpy running build_ext generating cffi module 'build/temp.linux-x86_64-3.6/snimpy._smi.c' creating build/temp.linux-x86_64-3.6 building 'snimpy._smi' extension creating build/temp.linux-x86_64-3.6/build creating build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c build/temp.linux-x86_64-3.6/snimpy._smi.c -o build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/snimpy._smi.o gcc -pthread -shared -Wl,-z,relro -g build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/snimpy._smi.o -L/usr/lib64 -lsmi -lpython3.6m -o build/lib.linux-x86_64-3.6/snimpy/_smi.abi3.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NzHXlF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64 + cd snimpy-0.8.14 + /usr/bin/python3 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/_smi.abi3.so -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/__init__.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/__main__.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/_version.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/config.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/main.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/manager.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/mib.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/smi_build.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/snmp.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy copying build/lib.linux-x86_64-3.6/snimpy/basictypes.py -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/__main__.py to __main__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/_version.py to _version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/config.py to config.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/main.py to main.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/manager.py to manager.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/mib.py to mib.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/smi_build.py to smi_build.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/snmp.py to snmp.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/basictypes.py to basictypes.cpython-36.pyc running install_data creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/share creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/share/man creating /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/share/man/man1 copying man/snimpy.1 -> /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/share/man/man1 running install_egg_info running egg_info creating snimpy.egg-info writing snimpy.egg-info/PKG-INFO writing dependency_links to snimpy.egg-info/dependency_links.txt writing entry points to snimpy.egg-info/entry_points.txt writing requirements to snimpy.egg-info/requires.txt writing top-level names to snimpy.egg-info/top_level.txt writing manifest file 'snimpy.egg-info/SOURCES.txt' reading manifest file 'snimpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__/*' found anywhere in distribution warning: no previously-included files matching '.git' found anywhere in distribution writing manifest file 'snimpy.egg-info/SOURCES.txt' Copying snimpy.egg-info to /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy-0.8.14-py3.6.egg-info running install_scripts Installing snimpy script to /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/bin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/snimpy-0.8.14 extracting debug info from /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6/site-packages/snimpy/_smi.abi3.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 143 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LtqBax + umask 022 + cd /builddir/build/BUILD + cd snimpy-0.8.14 + /usr/bin/python3 setup.py test running test running egg_info writing snimpy.egg-info/PKG-INFO writing dependency_links to snimpy.egg-info/dependency_links.txt writing entry points to snimpy.egg-info/entry_points.txt writing requirements to snimpy.egg-info/requires.txt writing top-level names to snimpy.egg-info/top_level.txt reading manifest file 'snimpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__/*' found anywhere in distribution warning: no previously-included files matching '.git' found anywhere in distribution writing manifest file 'snimpy.egg-info/SOURCES.txt' running build_ext generating cffi module 'build/temp.linux-x86_64-3.6/snimpy._smi.c' already up-to-date copying build/lib.linux-x86_64-3.6/snimpy/_smi.abi3.so -> snimpy testBits (test_basictypes.TestBasicTypes) Test bit basic type ... /builddir/build/BUILD/snimpy-0.8.14/tests/test_basictypes.py:208: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(a, basictypes.Bits)) ok testBoolean (test_basictypes.TestBasicTypes) Test boolean basic type ... ok testDisplay (test_basictypes.TestBasicTypes) Test string transformation ... ok testDisplayFormat (test_basictypes.TestBasicTypes) Test display some with some formats ... ok testEnum (test_basictypes.TestBasicTypes) Test enum basic type ... ok testEqualityUnicode (test_basictypes.TestBasicTypes) Test that equality works for both unicode and bytes ... ok testEqualityWithDisplay (test_basictypes.TestBasicTypes) Test we can check for equality with displayed form ... ok testIncorrectIpAddress (test_basictypes.TestBasicTypes) Test inappropriate IP addresses ... ok testInexistentBits (test_basictypes.TestBasicTypes) Check we cannot set inexistent bits ... ok testInputFormat (test_basictypes.TestBasicTypes) Test we can input a string with a given format ... ok testInteger (test_basictypes.TestBasicTypes) Test integer basic type ... ok testIpAddress (test_basictypes.TestBasicTypes) Test IP address basic type ... ok testLikeAString (test_basictypes.TestBasicTypes) Test String is like str ... ok testOctetString (test_basictypes.TestBasicTypes) Test octet string basic type ... ok testOid (test_basictypes.TestBasicTypes) Test OID basic type ... ok testOidConversion (test_basictypes.TestBasicTypes) Test conversion to/from OID. ... ok testOidGreedy (test_basictypes.TestBasicTypes) Test greediness of fromOid. ... ok testPacking (test_basictypes.TestBasicTypes) Test pack() function ... ok testRepr (test_basictypes.TestBasicTypes) Test representation ... ok testString (test_basictypes.TestBasicTypes) Test string basic type ... ok testStringAsBits (test_basictypes.TestBasicTypes) Test using bit specific operator with string ... ok testStringEncoding (test_basictypes.TestBasicTypes) Test we can create an UTF-8 encoded string ... ok testStringFromBytes (test_basictypes.TestBasicTypes) Test string basic type when built from bytes ... ok testTimeticks (test_basictypes.TestBasicTypes) Test timeticks basic type ... ok testTooLargeOid (test_basictypes.TestBasicTypes) Handle the special case of octet string as OID with too large octets. ... ok test_default_configuration (test_conf.TestConf) Check we can load the default configuration ... ok test_inexistent_configuration (test_conf.TestConf) ... ok test_loading_custom_configuration (test_conf.TestConf) ... ok test_loadfile (test_main.TestMain) ... ok testAccessEmptyTable (test_manager.TestCachingManager) Try to walk an empty table ... ok testAccessIncorrectIndex (test_manager.TestCachingManager) Try to access with incorrect indexes ... ok testAccessInexistentStuff (test_manager.TestCachingManager) Try to access stuff that don't exist in MIB ... ok testAccessNotExistentTable (test_manager.TestCachingManager) Try to walk a non-existent table ... ok testCacheFlush (test_manager.TestCachingManager) Test cache timeout is working as expected ... ok testContains_IfDescr (test_manager.TestCachingManager) Test proxy column membership checking code ... ok testContains_Partial (test_manager.TestCachingManager) Test proxy column membership checking code with partial indexes ... ok testGetChangingStuff (test_manager.TestCachingManager) Get stuff with varying values ... ok testGetInexistentStuff (test_manager.TestCachingManager) Try to access stuff that does not exist on the agent ... ok testGetScalar (test_manager.TestCachingManager) Retrieve some simple scalar values ... ok testScalar_Bits (test_manager.TestCachingManager) Retrieve Bits as a scalar ... ok testScalar_Boolean (test_manager.TestCachingManager) Retrieve a Boolean as a scalar ... ok testScalar_Counter (test_manager.TestCachingManager) Retrieve a Counter as a scalar ... ok testScalar_Enum (test_manager.TestCachingManager) Retrieve an Enum as a scalar ... ok testScalar_Gauge (test_manager.TestCachingManager) Retrieve a Gauge as a scalar ... ok testScalar_Integer (test_manager.TestCachingManager) Retrieve an Integer as a scalar ... ok testScalar_IpAddress (test_manager.TestCachingManager) Retrieve IpAdress as a scalar ... ok testScalar_MacAddress (test_manager.TestCachingManager) Retrieve MacAddress as a scalar ... ok testScalar_MultipleSubscripts (test_manager.TestCachingManager) Retrieve a scalar value using multiple subscript syntax ... ok testScalar_ObjectId (test_manager.TestCachingManager) Retrieve an ObjectId as a scalar ... ok testScalar_String (test_manager.TestCachingManager) Retrieve a String as a scalar ... ok testScalar_Timeticks (test_manager.TestCachingManager) Retrieve a TimeTicks as a scalar ... ok testWalkComplexIndexes (test_manager.TestCachingManager) Test if we can walk a table with complex indexes ... ok testWalkIfDescr (test_manager.TestCachingManager) Test we can walk IF-MIB::ifDescr and IF-MIB::ifTpe ... ok testWalkIfDescrWithoutBulk (test_manager.TestCachingManager) Walk IF-MIB::ifDescr without GETBULK ... ok testWalkIfTable (test_manager.TestCachingManager) Test we can walk IF-MIB::ifTable ... ok testWalkIfTableWithoutBulk (test_manager.TestCachingManager) Walk IF-MIB::ifTable without GETBULK ... ok testWalkInvalidPartialIndexes (test_manager.TestCachingManager) Try to get a table slice with an incorrect index filter ... ok testWalkNotAccessible (test_manager.TestCachingManager) Test we can walk a table with the first entry not accessible. ... ok testWalkPartialIndexes (test_manager.TestCachingManager) Test if we can walk a slice of a table given a partial index ... ok testWalkReuseIndexes (test_manager.TestCachingManager) Test if we can walk a table with re-used indexes ... ok testWalkTableWithComplexIndexes (test_manager.TestCachingManager) Test if we can walk a table with complex indexes ... ok testWalkTableWithReuseIndexes (test_manager.TestCachingManager) Test if we can walk a table with re-used indexes ... ok testCacheExpire (test_manager.TestCachingManagerWithModificatons) Check the cache can expire ... ok testCacheNonScalar (test_manager.TestCachingManagerWithModificatons) Check we can cache a non-scalar value ... ok testCacheScalar (test_manager.TestCachingManagerWithModificatons) Check that a scalar value is kept in cache ... ok testAccessEmptyTable (test_manager.TestManagerGet) Try to walk an empty table ... ok testAccessIncorrectIndex (test_manager.TestManagerGet) Try to access with incorrect indexes ... ok testAccessInexistentStuff (test_manager.TestManagerGet) Try to access stuff that don't exist in MIB ... ok testAccessNotExistentTable (test_manager.TestManagerGet) Try to walk a non-existent table ... ok testContains_IfDescr (test_manager.TestManagerGet) Test proxy column membership checking code ... ok testContains_Partial (test_manager.TestManagerGet) Test proxy column membership checking code with partial indexes ... ok testGetChangingStuff (test_manager.TestManagerGet) Get stuff with varying values ... ok testGetInexistentStuff (test_manager.TestManagerGet) Try to access stuff that does not exist on the agent ... ok testGetScalar (test_manager.TestManagerGet) Retrieve some simple scalar values ... ok testScalar_Bits (test_manager.TestManagerGet) Retrieve Bits as a scalar ... ok testScalar_Boolean (test_manager.TestManagerGet) Retrieve a Boolean as a scalar ... ok testScalar_Counter (test_manager.TestManagerGet) Retrieve a Counter as a scalar ... ok testScalar_Enum (test_manager.TestManagerGet) Retrieve an Enum as a scalar ... ok testScalar_Gauge (test_manager.TestManagerGet) Retrieve a Gauge as a scalar ... ok testScalar_Integer (test_manager.TestManagerGet) Retrieve an Integer as a scalar ... ok testScalar_IpAddress (test_manager.TestManagerGet) Retrieve IpAdress as a scalar ... ok testScalar_MacAddress (test_manager.TestManagerGet) Retrieve MacAddress as a scalar ... ok testScalar_MultipleSubscripts (test_manager.TestManagerGet) Retrieve a scalar value using multiple subscript syntax ... ok testScalar_ObjectId (test_manager.TestManagerGet) Retrieve an ObjectId as a scalar ... ok testScalar_String (test_manager.TestManagerGet) Retrieve a String as a scalar ... ok testScalar_Timeticks (test_manager.TestManagerGet) Retrieve a TimeTicks as a scalar ... ok testWalkComplexIndexes (test_manager.TestManagerGet) Test if we can walk a table with complex indexes ... ok testWalkIfDescr (test_manager.TestManagerGet) Test we can walk IF-MIB::ifDescr and IF-MIB::ifTpe ... ok testWalkIfDescrWithoutBulk (test_manager.TestManagerGet) Walk IF-MIB::ifDescr without GETBULK ... ok testWalkIfTable (test_manager.TestManagerGet) Test we can walk IF-MIB::ifTable ... ok testWalkIfTableWithoutBulk (test_manager.TestManagerGet) Walk IF-MIB::ifTable without GETBULK ... ok testWalkInvalidPartialIndexes (test_manager.TestManagerGet) Try to get a table slice with an incorrect index filter ... ok testWalkNotAccessible (test_manager.TestManagerGet) Test we can walk a table with the first entry not accessible. ... ok testWalkPartialIndexes (test_manager.TestManagerGet) Test if we can walk a slice of a table given a partial index ... ok testWalkReuseIndexes (test_manager.TestManagerGet) Test if we can walk a table with re-used indexes ... ok testWalkTableWithComplexIndexes (test_manager.TestManagerGet) Test if we can walk a table with complex indexes ... ok testWalkTableWithReuseIndexes (test_manager.TestManagerGet) Test if we can walk a table with re-used indexes ... ok testInvalidValue (test_manager.TestManagerInvalidValues) Check if an invalid value raises an exception ... ok testInvalidValueInTable (test_manager.TestManagerInvalidValues) Check if an invalid value in a table raises an exception ... ok testInvalidValueWhileIterating (test_manager.TestManagerInvalidValues) Check if an invalid value while walking raises an exception ... ok testInvalidValue (test_manager.TestManagerLoose) Check if an invalid value is correctly returned ... ok testInvalidValueInTable (test_manager.TestManagerLoose) Check if an invalid value in a table is correctly returned ... ok testInvalidValueWhileIterating (test_manager.TestManagerLoose) Check if an invalid value while walking works ... ok testGetInexistentModule (test_manager.TestManagerRestrictModule) Get a scalar from a non loaded module ... ok testGetInexistentScalarFromModule (test_manager.TestManagerRestrictModule) Get a non-existent scalar from a specific module ... ok testGetSpecificModule (test_manager.TestManagerRestrictModule) Get a scalar from a specific module only ... ok testAccessIncorrectIndex (test_manager.TestManagerSet) Try to access with incorrect indexes ... ok testAccessInexistentStuff (test_manager.TestManagerSet) Try to access stuff that don't exist in MIB ... ok testNonScalarSet (test_manager.TestManagerSet) Check we can set a non-scalar value ... ok testScalar_Bits (test_manager.TestManagerSet) Retrieve Bits as a scalar ... ok testScalar_Boolean (test_manager.TestManagerSet) Retrieve a Boolean as a scalar ... ok testScalar_Counter (test_manager.TestManagerSet) Retrieve a Counter as a scalar ... ok testScalar_Enum (test_manager.TestManagerSet) Retrieve an Enum as a scalar ... ok testScalar_Gauge (test_manager.TestManagerSet) Retrieve a Gauge as a scalar ... ok testScalar_Integer (test_manager.TestManagerSet) Retrieve an Integer as a scalar ... ok testScalar_IpAddress (test_manager.TestManagerSet) Retrieve IpAdress as a scalar ... ok testScalar_MacAddress (test_manager.TestManagerSet) Retrieve MAC address as a scala ... ok testScalar_ObjectId (test_manager.TestManagerSet) Retrieve an ObjectId as a scalar ... ok testScalar_String (test_manager.TestManagerSet) Retrieve a String as a scalar ... ok testScalar_Timeticks (test_manager.TestManagerSet) Retrieve a TimeTicks as a scalar ... ok testSetInexistentStuff (test_manager.TestManagerSet) Try to access stuff that does not exist on the agent ... ok testSetScalar (test_manager.TestManagerSet) Try to set a simple value ... ok testSetWithContext (test_manager.TestManagerSet) Set several values atomically (inside a context) ... ok testSetWithContextAndAbort (test_manager.TestManagerSet) Check if writing several values atomically can be aborted ... ok testAccessEmptyTable (test_manager.TestManagerWithNone) Try to walk an empty table ... ok testAccessIncorrectIndex (test_manager.TestManagerWithNone) Try to access with incorrect indexes ... ok testAccessInexistentStuff (test_manager.TestManagerWithNone) Try to access stuff that don't exist in MIB ... ok testAccessNotExistentTable (test_manager.TestManagerWithNone) Try to walk a non-existent table ... ok testContains_IfDescr (test_manager.TestManagerWithNone) Test proxy column membership checking code ... ok testContains_Partial (test_manager.TestManagerWithNone) Test proxy column membership checking code with partial indexes ... ok testGetChangingStuff (test_manager.TestManagerWithNone) Get stuff with varying values ... ok testGetInexistentStuff (test_manager.TestManagerWithNone) Try to access stuff that does not exist on the agent ... ok testGetScalar (test_manager.TestManagerWithNone) Retrieve some simple scalar values ... ok testScalar_Bits (test_manager.TestManagerWithNone) Retrieve Bits as a scalar ... ok testScalar_Boolean (test_manager.TestManagerWithNone) Retrieve a Boolean as a scalar ... ok testScalar_Counter (test_manager.TestManagerWithNone) Retrieve a Counter as a scalar ... ok testScalar_Enum (test_manager.TestManagerWithNone) Retrieve an Enum as a scalar ... ok testScalar_Gauge (test_manager.TestManagerWithNone) Retrieve a Gauge as a scalar ... ok testScalar_Integer (test_manager.TestManagerWithNone) Retrieve an Integer as a scalar ... ok testScalar_IpAddress (test_manager.TestManagerWithNone) Retrieve IpAdress as a scalar ... ok testScalar_MacAddress (test_manager.TestManagerWithNone) Retrieve MacAddress as a scalar ... ok testScalar_MultipleSubscripts (test_manager.TestManagerWithNone) Retrieve a scalar value using multiple subscript syntax ... ok testScalar_ObjectId (test_manager.TestManagerWithNone) Retrieve an ObjectId as a scalar ... ok testScalar_String (test_manager.TestManagerWithNone) Retrieve a String as a scalar ... ok testScalar_Timeticks (test_manager.TestManagerWithNone) Retrieve a TimeTicks as a scalar ... ok testWalkComplexIndexes (test_manager.TestManagerWithNone) Test if we can walk a table with complex indexes ... ok testWalkIfDescr (test_manager.TestManagerWithNone) Test we can walk IF-MIB::ifDescr and IF-MIB::ifTpe ... ok testWalkIfDescrWithoutBulk (test_manager.TestManagerWithNone) Walk IF-MIB::ifDescr without GETBULK ... ok testWalkIfTable (test_manager.TestManagerWithNone) Test we can walk IF-MIB::ifTable ... ok testWalkIfTableWithoutBulk (test_manager.TestManagerWithNone) Walk IF-MIB::ifTable without GETBULK ... ok testWalkInvalidPartialIndexes (test_manager.TestManagerWithNone) Try to get a table slice with an incorrect index filter ... ok testWalkNotAccessible (test_manager.TestManagerWithNone) Test we can walk a table with the first entry not accessible. ... ok testWalkPartialIndexes (test_manager.TestManagerWithNone) Test if we can walk a slice of a table given a partial index ... ok testWalkReuseIndexes (test_manager.TestManagerWithNone) Test if we can walk a table with re-used indexes ... ok testWalkTableWithComplexIndexes (test_manager.TestManagerWithNone) Test if we can walk a table with complex indexes ... ok testWalkTableWithReuseIndexes (test_manager.TestManagerWithNone) Test if we can walk a table with re-used indexes ... ok testAccesInexistantModule (test_mib.TestMibSnimpy) Check that we get an exception when querying inexistant module ... ok testEnums (test_mib.TestMibSnimpy) Test that we got the enum values correctly ... ok testFmt (test_mib.TestMibSnimpy) Check that we get FMT from types ... ok testGet (test_mib.TestMibSnimpy) Test that we can get all named attributes ... /builddir/build/BUILD/snimpy-0.8.14/tests/test_mib.py:128: DeprecationWarning: Please use assertTrue instead. self.assert_(isinstance(mib.get('SNIMPY-MIB', i), mib.Scalar)) ok testGetByOid (test_mib.TestMibSnimpy) Test that we can get all named attributes by OID. ... ok testGetByOid_UnknownOid (test_mib.TestMibSnimpy) Test that unknown OIDs raise an exception. ... ok testGetColumns (test_mib.TestMibSnimpy) Test that we can get all columns ... ok testGetNodes (test_mib.TestMibSnimpy) Test that we can get all nodes ... ok testGetNotifications (test_mib.TestMibSnimpy) Test that we can get all notifications ... ok testGetScalars (test_mib.TestMibSnimpy) Test that we can get all scalars ... ok testGetTables (test_mib.TestMibSnimpy) Test that we can get all tables ... ok testGetType (test_mib.TestMibSnimpy) Test that _getType properly identifies known and unknown types. ... ok testImplied (test_mib.TestMibSnimpy) Check that we can get implied attribute for a given table ... ok testIndexes (test_mib.TestMibSnimpy) Test that we can retrieve correctly the index of tables ... ok testLoadInexistantModule (test_mib.TestMibSnimpy) Check that we get an exception when loading an inexistant module ... ok testLoadInvalidModule (test_mib.TestMibSnimpy) Check that an obviously invalid module cannot be loaded ... ok testLoadedMibNames (test_mib.TestMibSnimpy) Check that only expected modules were loaded. ... ok testOid (test_mib.TestMibSnimpy) Test that objects are rooted at the correct OID ... ok testRanges (test_mib.TestMibSnimpy) ... ok testTableColumnRelation (test_mib.TestMibSnimpy) Test that we can get the column from the table and vice-versa ... ok testTypeName (test_mib.TestMibSnimpy) Check that we can get the current declared type name ... ok testTypeOverrides (test_mib.TestMibSnimpy) Check that we can override a type ... ok testTypeOverrides_Errors (test_mib.TestMibSnimpy) ... ok testTypes (test_mib.TestMibSnimpy) Test that we get the correct types ... ok testGetPath (test_mib.TestSmi) Test we can get default SMI path ... ok testSetPath (test_mib.TestSmi) Test we can set path to some value ... ok testBulk (test_snmp.TestSnmp1) Try to set bulk to different values ... ok testGetEnum (test_snmp.TestSnmp1) Get an enum value ... ok testGetInteger (test_snmp.TestSnmp1) Get an integer value ... /builddir/build/BUILD/snimpy-0.8.14/tests/test_snmp.py:170: DeprecationWarning: Please use assertTrue instead. self.assert_(a > 1) # At least lo and another interface ok testGetMacAddress (test_snmp.TestSnmp1) Get a MAC address ... ok testGetObjectId (test_snmp.TestSnmp1) Get ObjectId. ... ok testGetString (test_snmp.TestSnmp1) Get a string value ... ok testInexistant (test_snmp.TestSnmp1) Get an inexistant value ... ok testMultipleGet (test_snmp.TestSnmp1) Get multiple values at once ... ok testMultipleThreads (test_snmp.TestSnmp1) Test with multiple sessions in different threads. ... /usr/lib/python3.6/site-packages/ply/yacc.py:1884: ResourceWarning: unclosed self.Follow[k] = [] /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/ply/yacc.py:2418: ResourceWarning: unclosed for r in C[j]: /usr/lib/python3.6/site-packages/ply/yacc.py:2418: ResourceWarning: unclosed for r in C[j]: /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:16: ResourceWarning: unclosed super(OrderedDict, self).__init__() /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:16: ResourceWarning: unclosed super(OrderedDict, self).__init__() /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:16: ResourceWarning: unclosed super(OrderedDict, self).__init__() /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:16: ResourceWarning: unclosed super(OrderedDict, self).__init__() /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:16: ResourceWarning: unclosed super(OrderedDict, self).__init__() /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:16: ResourceWarning: unclosed super(OrderedDict, self).__init__() /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:16: ResourceWarning: unclosed super(OrderedDict, self).__init__() ok testSetBits (test_snmp.TestSnmp1) Set Bits. ... ok testSetBoolean (test_snmp.TestSnmp1) Set Boolean. ... ok testSetCounter (test_snmp.TestSnmp1) Set Counter. ... ok testSetEnum (test_snmp.TestSnmp1) Set Enum. ... ok testSetGauge (test_snmp.TestSnmp1) Set Gauge. ... ok testSetInteger (test_snmp.TestSnmp1) Set Integer. ... ok testSetIpAddress (test_snmp.TestSnmp1) Set IpAddress. ... ok testSetMacAddress (test_snmp.TestSnmp1) Set a MAC address. ... ok testSetObjectId (test_snmp.TestSnmp1) Set ObjectId. ... ok testSetString (test_snmp.TestSnmp1) Set String. ... ok testSetTimeticks (test_snmp.TestSnmp1) Set Timeticks. ... ok testSeveralSessions (test_snmp.TestSnmp1) Test with two sessions ... ok testWalk (test_snmp.TestSnmp1) Check if we can walk ... ok testBulk (test_snmp.TestSnmp2) Try to set bulk to different values ... ok testGetEnum (test_snmp.TestSnmp2) Get an enum value ... ok testGetInteger (test_snmp.TestSnmp2) Get an integer value ... ok testGetMacAddress (test_snmp.TestSnmp2) Get a MAC address ... ok testGetObjectId (test_snmp.TestSnmp2) Get ObjectId. ... ok testGetString (test_snmp.TestSnmp2) Get a string value ... ok testInexistant (test_snmp.TestSnmp2) Get an inexistant value ... ok testInexistantNone (test_snmp.TestSnmp2) Get an inexistant value but request none ... ok testMultipleGet (test_snmp.TestSnmp2) Get multiple values at once ... ok testMultipleThreads (test_snmp.TestSnmp2) Test with multiple sessions in different threads. ... /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/ply/yacc.py:1489: ResourceWarning: unclosed self.Terminals[term] = [] /usr/lib/python3.6/site-packages/ply/yacc.py:1489: ResourceWarning: unclosed self.Terminals[term] = [] /usr/lib/python3.6/site-packages/ply/yacc.py:2335: ResourceWarning: unclosed for p in g: /usr/lib/python3.6/site-packages/ply/yacc.py:2560: ResourceWarning: unclosed log.info('') /usr/lib/python3.6/site-packages/ply/yacc.py:2560: ResourceWarning: unclosed log.info('') /usr/lib/python3.6/site-packages/ply/yacc.py:2560: ResourceWarning: unclosed log.info('') /usr/lib/python3.6/site-packages/ply/yacc.py:2177: ResourceWarning: unclosed gs = [] /usr/lib/python3.6/site-packages/ply/yacc.py:2177: ResourceWarning: unclosed gs = [] /usr/lib/python3.6/site-packages/ply/yacc.py:2177: ResourceWarning: unclosed gs = [] /usr/lib/python3.6/site-packages/ply/yacc.py:2177: ResourceWarning: unclosed gs = [] /usr/lib/python3.6/site-packages/ply/yacc.py:2177: ResourceWarning: unclosed gs = [] ok testSetBits (test_snmp.TestSnmp2) Set Bits. ... ok testSetBoolean (test_snmp.TestSnmp2) Set Boolean. ... ok testSetCounter (test_snmp.TestSnmp2) Set Counter. ... ok testSetCounter64 (test_snmp.TestSnmp2) Set Counter64. ... ok testSetEnum (test_snmp.TestSnmp2) Set Enum. ... ok testSetGauge (test_snmp.TestSnmp2) Set Gauge. ... ok testSetInteger (test_snmp.TestSnmp2) Set Integer. ... ok testSetIpAddress (test_snmp.TestSnmp2) Set IpAddress. ... ok testSetMacAddress (test_snmp.TestSnmp2) Set a MAC address. ... ok testSetObjectId (test_snmp.TestSnmp2) Set ObjectId. ... ok testSetString (test_snmp.TestSnmp2) Set String. ... ok testSetTimeticks (test_snmp.TestSnmp2) Set Timeticks. ... ok testSeveralSessions (test_snmp.TestSnmp2) Test with two sessions ... ok testWalk (test_snmp.TestSnmp2) Check if we can walk ... ok testBulk (test_snmp.TestSnmp3) Try to set bulk to different values ... ok testGetEnum (test_snmp.TestSnmp3) Get an enum value ... ok testGetInteger (test_snmp.TestSnmp3) Get an integer value ... ok testGetMacAddress (test_snmp.TestSnmp3) Get a MAC address ... /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} /usr/lib/python3.6/site-packages/pysnmp/smi/indices.py:104: ResourceWarning: unclosed self.__keysCache = {} ok testGetObjectId (test_snmp.TestSnmp3) Get ObjectId. ... ok testGetString (test_snmp.TestSnmp3) Get a string value ... ok testInexistant (test_snmp.TestSnmp3) Get an inexistant value ... ok testInexistantNone (test_snmp.TestSnmp3) Get an inexistant value but request none ... ok testMultipleGet (test_snmp.TestSnmp3) Get multiple values at once ... ok testMultipleThreads (test_snmp.TestSnmp3) Test with multiple sessions in different threads. ... /usr/lib/python3.6/site-packages/pysnmp/smi/builder.py:147: ResourceWarning: unclosed return compile(modData, pyPath, 'exec'), pyPath /usr/lib/python3.6/site-packages/ply/yacc.py:2178: ResourceWarning: unclosed for p in I: /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/pyasn1/codec/ber/encoder.py:94: ResourceWarning: unclosed for idx, singleTag in enumerate(tagSet.superTags): /usr/lib/python3.6/site-packages/ply/yacc.py:2178: ResourceWarning: unclosed for p in I: /usr/lib/python3.6/site-packages/ply/yacc.py:2178: ResourceWarning: unclosed for p in I: /usr/lib/python3.6/site-packages/ply/yacc.py:2178: ResourceWarning: unclosed for p in I: /usr/lib/python3.6/site-packages/ply/yacc.py:2178: ResourceWarning: unclosed for p in I: ok testSetBits (test_snmp.TestSnmp3) Set Bits. ... ok testSetBoolean (test_snmp.TestSnmp3) Set Boolean. ... ok testSetCounter (test_snmp.TestSnmp3) Set Counter. ... /usr/lib/python3.6/site-packages/ply/yacc.py:1562: ResourceWarning: unclosed c = eval(s) /usr/lib/python3.6/site-packages/ply/yacc.py:1562: ResourceWarning: unclosed c = eval(s) /usr/lib/python3.6/site-packages/ply/yacc.py:1562: ResourceWarning: unclosed c = eval(s) /usr/lib/python3.6/site-packages/ply/yacc.py:1562: ResourceWarning: unclosed c = eval(s) /usr/lib/python3.6/site-packages/ply/yacc.py:1562: ResourceWarning: unclosed c = eval(s) /usr/lib/python3.6/site-packages/ply/yacc.py:1562: ResourceWarning: unclosed c = eval(s) /usr/lib/python3.6/site-packages/ply/yacc.py:1562: ResourceWarning: unclosed c = eval(s) ok testSetCounter64 (test_snmp.TestSnmp3) Set Counter64. ... ok testSetEnum (test_snmp.TestSnmp3) Set Enum. ... ok testSetGauge (test_snmp.TestSnmp3) Set Gauge. ... ok testSetInteger (test_snmp.TestSnmp3) Set Integer. ... ok testSetIpAddress (test_snmp.TestSnmp3) Set IpAddress. ... ok testSetMacAddress (test_snmp.TestSnmp3) Set a MAC address. ... ok testSetObjectId (test_snmp.TestSnmp3) Set ObjectId. ... ok testSetString (test_snmp.TestSnmp3) Set String. ... ok testSetTimeticks (test_snmp.TestSnmp3) Set Timeticks. ... ok testSeveralSessions (test_snmp.TestSnmp3) Test with two sessions ... ok testWalk (test_snmp.TestSnmp3) Check if we can walk ... ok testErrors (test_snmp.TestSnmpRetriesTimeout) Try invalid values for timeout and retries ... ok testGetRetries (test_snmp.TestSnmpRetriesTimeout) Get default retries value ... ok testGetTimeout (test_snmp.TestSnmpRetriesTimeout) Get default timeout value ... ok testSetRetries (test_snmp.TestSnmpRetriesTimeout) Try to set a new retry value ... ok testSetTimeout (test_snmp.TestSnmpRetriesTimeout) Try to set a new timeout value ... ok testRepresentation (test_snmp.TestSnmpSession) Test session representation ... ok testSnmpV1 (test_snmp.TestSnmpSession) Check initialization of SNMPv1 session ... ok testSnmpV2 (test_snmp.TestSnmpSession) Check initialization of SNMPv2 session ... ok testSnmpV3 (test_snmp.TestSnmpSession) Check initialization of SNMPv3 session ... ok testSnmpV3Protocols (test_snmp.TestSnmpSession) Check accepted auth and privacy protocols ... ok testSnmpV3SecLevels (test_snmp.TestSnmpSession) Check accepted security levels ... ok testIpv4 (test_snmp.TestSnmpTransports) Test IPv4 transport ... ok testIpv4WithDNS (test_snmp.TestSnmpTransports) Test IPv4 transport with name resolution ... ok testIpv6 (test_snmp.TestSnmpTransports) Test IPv6 transport ... ok ---------------------------------------------------------------------- Ran 266 tests in 40.074s OK + exit 0 Processing files: python36-snimpy-0.8.14-2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rLJgm3 + umask 022 + cd /builddir/build/BUILD + cd snimpy-0.8.14 + DOCDIR=/builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/share/doc/python36-snimpy-0.8.14 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/share/doc/python36-snimpy-0.8.14 + cp -pr README.rst /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64/usr/share/doc/python36-snimpy-0.8.14 + exit 0 Provides: python3.6dist(snimpy) = 0.8.14 python36-snimpy = 0.8.14-2.el7 python36-snimpy(x86-64) = 0.8.14-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) libsmi.so.2()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: python-snimpy-debuginfo-0.8.14-2.el7.x86_64 Provides: python-snimpy-debuginfo = 0.8.14-2.el7 python-snimpy-debuginfo(x86-64) = 0.8.14-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64 Wrote: /builddir/build/RPMS/python36-snimpy-0.8.14-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python-snimpy-debuginfo-0.8.14-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DrdWRF + umask 022 + cd /builddir/build/BUILD + cd snimpy-0.8.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-snimpy-0.8.14-2.el7.x86_64 + exit 0 Child return code was: 0