Mock Version: 1.2.15 Mock Version: 1.2.15 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-fastcache.spec'], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-18558-24383/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=497) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-fastcache.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-fastcache-1.0.2-3.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-fastcache.spec '], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-18558-24383/root'shell=Falseuid=497env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-fastcache.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M09bpu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-fastcache-1.0.2 + /usr/bin/mkdir -p python-fastcache-1.0.2 + cd python-fastcache-1.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.0.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DYb2mn + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/python-fastcache-1.0.2/fastcache-1.0.2 ~/build/BUILD/python-fastcache-1.0.2 + cd python-fastcache-1.0.2 + pushd fastcache-1.0.2 + /usr/bin/python2 setup.py build --define=WITH_THREAD running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/fastcache copying fastcache/__init__.py -> build/lib.linux-x86_64-2.7/fastcache copying fastcache/benchmark.py -> build/lib.linux-x86_64-2.7/fastcache creating build/lib.linux-x86_64-2.7/fastcache/tests copying fastcache/tests/__init__.py -> build/lib.linux-x86_64-2.7/fastcache/tests copying fastcache/tests/test_thread.py -> build/lib.linux-x86_64-2.7/fastcache/tests copying fastcache/tests/test_functools.py -> build/lib.linux-x86_64-2.7/fastcache/tests copying fastcache/tests/test_clrucache.py -> build/lib.linux-x86_64-2.7/fastcache/tests running build_ext building 'fastcache._lrucache' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src gcc -pthread -fno-strict-aliasing -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 -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 -DWITH_THREAD=1 -I/usr/include/python2.7 -c src/_lrucache.c -o build/temp.linux-x86_64-2.7/src/_lrucache.o gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/_lrucache.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/fastcache/_lrucache.so + popd ~/build/BUILD/python-fastcache-1.0.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UiPSRh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64 + cd python-fastcache-1.0.2 ~/build/BUILD/python-fastcache-1.0.2/fastcache-1.0.2 ~/build/BUILD/python-fastcache-1.0.2 + pushd fastcache-1.0.2 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache copying build/lib.linux-x86_64-2.7/fastcache/__init__.py -> /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache copying build/lib.linux-x86_64-2.7/fastcache/_lrucache.so -> /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache creating /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests copying build/lib.linux-x86_64-2.7/fastcache/tests/__init__.py -> /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests copying build/lib.linux-x86_64-2.7/fastcache/tests/test_thread.py -> /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests copying build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py -> /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests copying build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py -> /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests copying build/lib.linux-x86_64-2.7/fastcache/benchmark.py -> /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache byte-compiling /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests/test_thread.py to test_thread.pyc byte-compiling /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests/test_functools.py to test_functools.pyc byte-compiling /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/tests/test_clrucache.py to test_clrucache.pyc byte-compiling /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/benchmark.py to benchmark.pyc writing byte-compilation script '/tmp/tmpbL3rnC.py' /usr/bin/python2 -O /tmp/tmpbL3rnC.py removing /tmp/tmpbL3rnC.py running install_egg_info running egg_info creating fastcache.egg-info writing fastcache.egg-info/PKG-INFO writing top-level names to fastcache.egg-info/top_level.txt writing dependency_links to fastcache.egg-info/dependency_links.txt writing manifest file 'fastcache.egg-info/SOURCES.txt' reading manifest file 'fastcache.egg-info/SOURCES.txt' writing manifest file 'fastcache.egg-info/SOURCES.txt' Copying fastcache.egg-info to /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache-1.0.2-py2.7.egg-info running install_scripts + chmod 0755 /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/_lrucache.so ~/build/BUILD/python-fastcache-1.0.2 + popd + /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/python-fastcache-1.0.2 extracting debug info from /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/python2.7/site-packages/fastcache/_lrucache.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 76 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-fastcache-1.0.2-3.el7.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/lib64/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.p6PAle + umask 022 ~/build/BUILD/python-fastcache-1.0.2/fastcache-1.0.2 ~/build/BUILD/python-fastcache-1.0.2 + cd /builddir/build/BUILD + cd python-fastcache-1.0.2 + pushd fastcache-1.0.2 + py.cleanup-2.7 -p cleaning path /builddir/build/BUILD/python-fastcache-1.0.2/fastcache-1.0.2 of extensions ['.pyc', '$py.class'] + export PYTHONPATH=build/lib.linux-x86_64-2.7/fastcache/tests + PYTHONPATH=build/lib.linux-x86_64-2.7/fastcache/tests + py.test-2.7 -v --ignore=fastcache/tests ============================= test session starts ============================== platform linux2 -- Python 2.7.5, pytest-2.8.7, py-1.4.30, pluggy-0.3.1 -- /usr/bin/python2 cachedir: .cache rootdir: /builddir/build/BUILD/python-fastcache-1.0.2/fastcache-1.0.2, inifile: collecting ... collected 29 items build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_function_attributes[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_function_cache[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_memory_leaks[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_warn_unhashable_args[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_ignore_unhashable_args[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_default_unhashable_args[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_state_type[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_typed_False[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_typed_True[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_dynamic_attribute[cache0] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_function_attributes[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_function_cache[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_memory_leaks[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_warn_unhashable_args[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_ignore_unhashable_args[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_default_unhashable_args[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_state_type[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_typed_False[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_typed_True[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_clrucache.py::test_dynamic_attribute[cache1] PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py::TestLRU::test_lru PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py::TestLRU::test_lru_with_exceptions PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py::TestLRU::test_lru_with_keyword_args PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py::TestLRU::test_lru_with_keyword_args_maxsize_none PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py::TestLRU::test_lru_with_maxsize_none PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py::TestLRU::test_lru_with_types PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_functools.py::TestLRU::test_need_for_rlock PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_thread.py::Test_Threading::test_thread_cache_info PASSED build/lib.linux-x86_64-2.7/fastcache/tests/test_thread.py::Test_Threading::test_thread_random_cache_clears PASSED ========================== 29 passed in 61.53 seconds ========================== + popd ~/build/BUILD/python-fastcache-1.0.2 + exit 0 Processing files: python-fastcache-1.0.2-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ghLcnm + umask 022 + cd /builddir/build/BUILD + cd python-fastcache-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/share/doc/python-fastcache-1.0.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/share/doc/python-fastcache-1.0.2 + cp -pr fastcache-1.0.2/CHANGELOG /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/share/doc/python-fastcache-1.0.2 + cp -pr fastcache-1.0.2/README.md /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/share/doc/python-fastcache-1.0.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Xngpqu + umask 022 + cd /builddir/build/BUILD + cd python-fastcache-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/share/licenses/python-fastcache-1.0.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/share/licenses/python-fastcache-1.0.2 + cp -pr fastcache-1.0.2/LICENSE /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64/usr/share/licenses/python-fastcache-1.0.2 + exit 0 Provides: python-fastcache = 1.0.2-3.el7 python-fastcache(x86-64) = 1.0.2-3.el7 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-fastcache-debuginfo-1.0.2-3.el7.x86_64 Provides: python-fastcache-debuginfo = 1.0.2-3.el7 python-fastcache-debuginfo(x86-64) = 1.0.2-3.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-fastcache-1.0.2-3.el7.x86_64 Wrote: /builddir/build/RPMS/python-fastcache-1.0.2-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python-fastcache-debuginfo-1.0.2-3.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.u0JBPT + umask 022 + cd /builddir/build/BUILD + cd python-fastcache-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-fastcache-1.0.2-3.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->