Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-redis.spec'], chrootPath='/var/lib/mock/1322549-epel-8-x86_64-1585410478.919487/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': 'en_US.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.tjozc1vt:/etc/resolv.conf', '--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.tjozc1vt:/etc/resolv.conf', '--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', '4597210f1222434d9ca84331cf2751f2', '-D', '/var/lib/mock/1322549-epel-8-x86_64-1585410478.919487/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjozc1vt:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-redis.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-redis-3.2.1-2.el8.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-redis.spec'], chrootPath='/var/lib/mock/1322549-epel-8-x86_64-1585410478.919487/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': 'en_US.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.tjozc1vt:/etc/resolv.conf', '--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.tjozc1vt:/etc/resolv.conf', '--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', 'e5396f196bac481da0c88583434ad06e', '-D', '/var/lib/mock/1322549-epel-8-x86_64-1585410478.919487/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tjozc1vt:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-redis.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TnjSuN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf redis-py-3.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/3.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd redis-py-3.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -frv redis.egg-info + rm tests/test_commands.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jUxi8E + umask 022 + cd /builddir/build/BUILD + cd redis-py-3.2.1 + /usr/bin/python2 setup.py build /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/redis copying redis/utils.py -> build/lib/redis copying redis/sentinel.py -> build/lib/redis copying redis/selector.py -> build/lib/redis copying redis/lock.py -> build/lib/redis copying redis/exceptions.py -> build/lib/redis copying redis/connection.py -> build/lib/redis copying redis/client.py -> build/lib/redis copying redis/_compat.py -> build/lib/redis copying redis/__init__.py -> build/lib/redis + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2Z6gjx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64 + cd redis-py-3.2.1 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64 /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/__init__.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/_compat.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/client.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/connection.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/exceptions.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/lock.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/selector.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/sentinel.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/utils.py -> /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/_compat.py to _compat.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/client.py to client.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/connection.py to connection.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/exceptions.py to exceptions.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/lock.py to lock.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/selector.py to selector.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/sentinel.py to sentinel.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis/utils.py to utils.pyc writing byte-compilation script '/tmp/tmpiVOm_E.py' /usr/bin/python2 -O /tmp/tmpiVOm_E.py removing /tmp/tmpiVOm_E.py running install_egg_info running egg_info creating redis.egg-info writing requirements to redis.egg-info/requires.txt writing redis.egg-info/PKG-INFO writing top-level names to redis.egg-info/top_level.txt writing dependency_links to redis.egg-info/dependency_links.txt writing manifest file 'redis.egg-info/SOURCES.txt' reading manifest file 'redis.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '__pycache__' warning: no previously-included files matching '*.pyc' found under directory 'tests' writing manifest file 'redis.egg-info/SOURCES.txt' Copying redis.egg-info to /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7/site-packages/redis-3.2.1-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.2.1-2.el8 --unique-debug-suffix -3.2.1-2.el8.x86_64 --unique-debug-src-base python-redis-3.2.1-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/redis-py-3.2.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4V0KTq + umask 022 + cd /builddir/build/BUILD + cd redis-py-3.2.1 + /usr/bin/python2 setup.py test + redis-server 196:C 28 Mar 2020 15:48:17.484 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 196:C 28 Mar 2020 15:48:17.484 # Redis version=5.0.3, bits=64, commit=00000000, modified=0, pid=196, just started 196:C 28 Mar 2020 15:48:17.485 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 196:M 28 Mar 2020 15:48:17.488 * Running mode=standalone, port=6379. 196:M 28 Mar 2020 15:48:17.488 # Server initialized 196:M 28 Mar 2020 15:48:17.489 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 196:M 28 Mar 2020 15:48:17.489 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 196:M 28 Mar 2020 15:48:17.490 * Ready to accept connections /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running test running egg_info writing requirements to redis.egg-info/requires.txt writing redis.egg-info/PKG-INFO writing top-level names to redis.egg-info/top_level.txt writing dependency_links to redis.egg-info/dependency_links.txt reading manifest file 'redis.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '__pycache__' warning: no previously-included files matching '*.pyc' found under directory 'tests' writing manifest file 'redis.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/redis-py-3.2.1, inifile: collected 158 items tests/test_connection_pool.py .......................................... [ 26%] .. [ 27%] tests/test_encoding.py ...... [ 31%] tests/test_lock.py ........................ [ 46%] tests/test_multiprocessing.py ......... [ 52%] tests/test_pipeline.py ................. [ 63%] tests/test_pubsub.py ............................... [ 82%] tests/test_scripting.py ....... [ 87%] tests/test_selector.py ........ [ 92%] tests/test_sentinel.py ............ [100%] ========================== 158 passed in 3.32 seconds ========================== + kill %1 + exit 0 196:signal-handler (1585410501) Received SIGTERM scheduling shutdown... Processing files: python2-redis-3.2.1-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CdbIKt + umask 022 + cd /builddir/build/BUILD + cd redis-py-3.2.1 + DOCDIR=/builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/share/doc/python2-redis + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/share/doc/python2-redis + cp -pr CHANGES /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/share/doc/python2-redis + cp -pr LICENSE /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/share/doc/python2-redis + cp -pr README.rst /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64/usr/share/doc/python2-redis + exit 0 196:M 28 Mar 2020 15:48:21.200 # User requested shutdown... 196:M 28 Mar 2020 15:48:21.201 * Saving the final RDB snapshot before exiting. 196:M 28 Mar 2020 15:48:21.202 * DB saved on disk 196:M 28 Mar 2020 15:48:21.202 # Redis is now ready to exit, bye bye... Provides: python2-redis = 3.2.1-2.el8 python2.7dist(redis) = 3.2.1 python2dist(redis) = 3.2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64 Wrote: /builddir/build/RPMS/python2-redis-3.2.1-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PFd99C + umask 022 + cd /builddir/build/BUILD + cd redis-py-3.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-redis-3.2.1-2.el8.x86_64 + exit 0 Child return code was: 0