Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-redis.spec'], chrootPath='/var/lib/mock/582777-epel-7-x86_64/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=[]printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '28f5b707743840d6af8bb780d2fe85a1', '-D', '/var/lib/mock/582777-epel-7-x86_64/root', '-a', '--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 sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: 28f5b707743840d6af8bb780d2fe85a1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-redis-2.10.5-4.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-redis.spec'], chrootPath='/var/lib/mock/582777-epel-7-x86_64/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=[]printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '605189eb561741c1ae64ba4bffccf0d7', '-D', '/var/lib/mock/582777-epel-7-x86_64/root', '-a', '--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.bjryFP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf redis-2.10.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/redis-2.10.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd redis-2.10.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -frv redis.egg-info removed 'redis.egg-info/top_level.txt' removed 'redis.egg-info/SOURCES.txt' removed 'redis.egg-info/PKG-INFO' removed 'redis.egg-info/dependency_links.txt' removed directory: 'redis.egg-info' + rm tests/test_commands.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pTb0Ug + umask 022 + cd /builddir/build/BUILD + cd redis-2.10.5 + /usr/bin/python2 setup.py build 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/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.cMiEuI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64 + cd redis-2.10.5 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/__init__.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/_compat.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/client.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/connection.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/exceptions.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/lock.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/sentinel.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis copying build/lib/redis/utils.py -> /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/_compat.py to _compat.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/client.py to client.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/connection.py to connection.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/exceptions.py to exceptions.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/lock.py to lock.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/sentinel.py to sentinel.pyc byte-compiling /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis/utils.py to utils.pyc writing byte-compilation script '/tmp/tmpIA71gw.py' /usr/bin/python2 -O /tmp/tmpIA71gw.py removing /tmp/tmpIA71gw.py running install_egg_info running egg_info creating redis.egg-info 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-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/redis-2.10.5-py2.7.egg-info running install_scripts + /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/redis-2.10.5 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /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-redis-2.10.5-4.el7.centos.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NNXH0a + umask 022 + cd /builddir/build/BUILD + cd redis-2.10.5 + /usr/bin/python2 setup.py test + redis-server 188:C 23 Jul 17:01:25.695 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 3.2.3 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 188 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 188:M 23 Jul 17:01:25.697 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 188:M 23 Jul 17:01:25.697 # Server started, Redis version 3.2.3 188:M 23 Jul 17:01:25.697 # 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. 188:M 23 Jul 17:01:25.697 # 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. 188:M 23 Jul 17:01:25.697 * The server is now ready to accept connections on port 6379 running test running egg_info 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.5, pytest-3.1.1, py-1.4.34, pluggy-0.4.0 rootdir: /builddir/build/BUILD/redis-2.10.5, inifile: collected 130 items tests/test_connection_pool.py ........................................ tests/test_encoding.py .... tests/test_lock.py ................................. tests/test_pipeline.py .............. tests/test_pubsub.py ..................... tests/test_scripting.py ....... tests/test_sentinel.py ........... ========================== 130 passed in 3.04 seconds ========================== 188:signal-handler (1500829288) Received SIGTERM scheduling shutdown... Processing files: python-redis-2.10.5-4.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Hv1fjM + kill %1 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd redis-2.10.5 + DOCDIR=/builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/share/doc/python-redis-2.10.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/share/doc/python-redis-2.10.5 + cp -pr CHANGES /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/share/doc/python-redis-2.10.5 + cp -pr LICENSE /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/share/doc/python-redis-2.10.5 + cp -pr README.rst /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64/usr/share/doc/python-redis-2.10.5 + exit 0 188:M 23 Jul 17:01:29.001 # User requested shutdown... 188:M 23 Jul 17:01:29.001 * Saving the final RDB snapshot before exiting. 188:M 23 Jul 17:01:29.002 * DB saved on disk 188:M 23 Jul 17:01:29.002 # Redis is now ready to exit, bye bye... Provides: python-redis = 2.10.5-4.el7.centos 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-2.10.5-4.el7.centos.x86_64 Wrote: /builddir/build/RPMS/python-redis-2.10.5-4.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bOCyW1 + umask 022 + cd /builddir/build/BUILD + cd redis-2.10.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-redis-2.10.5-4.el7.centos.x86_64 + exit 0 Child return code was: 0