Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-binaryornot.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-fb75653cde3b2996b80e9161eae2392ca0cc8bbe/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', '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=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-binaryornot.spec'] with env {'LANG': 'en_US.UTF-8', '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 sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-binaryornot-0.4.0-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-binaryornot.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-fb75653cde3b2996b80e9161eae2392ca0cc8bbe/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', '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=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-binaryornot.spec'] with env {'LANG': 'en_US.UTF-8', '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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EkFRBM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf binaryornot-0.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/binaryornot-0.4.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd binaryornot-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf binaryornot.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iifIGy + umask 022 + cd /builddir/build/BUILD + cd binaryornot-0.4.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/binaryornot copying binaryornot/helpers.py -> build/lib/binaryornot copying binaryornot/check.py -> build/lib/binaryornot copying binaryornot/__init__.py -> build/lib/binaryornot running egg_info creating binaryornot.egg-info writing requirements to binaryornot.egg-info/requires.txt writing binaryornot.egg-info/PKG-INFO writing top-level names to binaryornot.egg-info/top_level.txt writing dependency_links to binaryornot.egg-info/dependency_links.txt writing manifest file 'binaryornot.egg-info/SOURCES.txt' reading manifest file 'binaryornot.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' writing manifest file 'binaryornot.egg-info/SOURCES.txt' + sleep 1 ++ pwd + make -C docs html PYTHONPATH=/builddir/build/BUILD/binaryornot-0.4.0 make: Entering directory `/builddir/build/BUILD/binaryornot-0.4.0/docs' sphinx-build -b html -d _build/doctrees . _build/html Making output directory... Running Sphinx v1.1.3 loading pickled environment... not yet created building [html]: targets for 9 source files that are out of date updating environment: 9 added, 0 changed, 0 removed reading sources... [ 11%] authors reading sources... [ 22%] binaryornot reading sources... [ 33%] contributing reading sources... [ 44%] history reading sources... [ 55%] index reading sources... [ 66%] installation reading sources... [ 77%] modules reading sources... [ 88%] quickstart reading sources... [100%] readme /builddir/build/BUILD/binaryornot-0.4.0/docs/index.rst:7: WARNING: Title underline too short. Welcome to BinaryOrNot's documentation! ====================================== ../README.rst:None: WARNING: nonlocal image URI found: https://badge.fury.io/py/binaryornot.png ../README.rst:None: WARNING: nonlocal image URI found: https://travis-ci.org/audreyr/binaryornot.png?branch=master ../README.rst:None: WARNING: nonlocal image URI found: https://readthedocs.org/projects/binaryornot/badge/?version=latest looking for now-outdated files... none found pickling environment... done checking consistency... done /builddir/build/BUILD/binaryornot-0.4.0/docs/modules.rst:: WARNING: document isn't included in any toctree preparing documents... done writing output... [ 11%] authors writing output... [ 22%] binaryornot writing output... [ 33%] contributing writing output... [ 44%] history writing output... [ 55%] index writing output... [ 66%] installation writing output... [ 77%] modules writing output... [ 88%] quickstart writing output... [100%] readme writing additional files... (2 module code pages) _modules/index genindex py-modindex search copying static files... done WARNING: html_static_path entry '/builddir/build/BUILD/binaryornot-0.4.0/docs/_static' does not exist dumping search index... done dumping object inventory... done build succeeded, 6 warnings. Build finished. The HTML pages are in _build/html. make: Leaving directory `/builddir/build/BUILD/binaryornot-0.4.0/docs' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8H67Kz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch + cd binaryornot-0.4.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr creating /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot copying build/lib/binaryornot/helpers.py -> /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot copying build/lib/binaryornot/check.py -> /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot copying build/lib/binaryornot/__init__.py -> /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot byte-compiling /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot/helpers.py to helpers.pyc byte-compiling /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot/check.py to check.pyc byte-compiling /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpNSx8xq.py' /usr/bin/python2 -O /tmp/tmpNSx8xq.py removing /tmp/tmpNSx8xq.py running install_egg_info running egg_info writing requirements to binaryornot.egg-info/requires.txt writing binaryornot.egg-info/PKG-INFO writing top-level names to binaryornot.egg-info/top_level.txt writing dependency_links to binaryornot.egg-info/dependency_links.txt reading manifest file 'binaryornot.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' writing manifest file 'binaryornot.egg-info/SOURCES.txt' Copying binaryornot.egg-info to /builddir/build/BUILDROOT/python-binaryornot-0.4.0-2.el7.noarch/usr/lib/python2.7/site-packages/binaryornot-0.4.0-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 50000000 /builddir/build/BUILD/binaryornot-0.4.0 /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-binaryornot-0.4.0-2.el7.noarch/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.p16YbY + umask 022 + cd /builddir/build/BUILD + cd binaryornot-0.4.0 + /usr/bin/python2 setup.py test running test running egg_info writing requirements to binaryornot.egg-info/requires.txt writing binaryornot.egg-info/PKG-INFO writing top-level names to binaryornot.egg-info/top_level.txt writing dependency_links to binaryornot.egg-info/dependency_links.txt reading manifest file 'binaryornot.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' writing manifest file 'binaryornot.egg-info/SOURCES.txt' running build_ext test_never_crashes (tests.test_check.TestDetectionProperties) ... ERROR test_binary_exe2 (tests.test_check.TestIsBinary) ... ok test_binary_gif2 (tests.test_check.TestIsBinary) ... ok test_binary_gif3 (tests.test_check.TestIsBinary) ... ok test_binary_pdf2 (tests.test_check.TestIsBinary) ... expected failure test_binary_rgb_stream (tests.test_check.TestIsBinary) ... ok test_bmp (tests.test_check.TestIsBinary) ... ok test_css (tests.test_check.TestIsBinary) ... ok test_ds_store (tests.test_check.TestIsBinary) ... ok test_empty (tests.test_check.TestIsBinary) ... ok test_eot (tests.test_check.TestIsBinary) ... ok test_gif (tests.test_check.TestIsBinary) ... ok test_jpg (tests.test_check.TestIsBinary) ... ok test_json (tests.test_check.TestIsBinary) ... ok test_otf (tests.test_check.TestIsBinary) ... ok test_png (tests.test_check.TestIsBinary) ... ok test_svg (tests.test_check.TestIsBinary) ... ok test_text_big5 (tests.test_check.TestIsBinary) ... ok test_text_big5b (tests.test_check.TestIsBinary) ... ok test_text_gb (tests.test_check.TestIsBinary) ... ok test_text_gb2 (tests.test_check.TestIsBinary) ... ok test_text_js (tests.test_check.TestIsBinary) ... ok test_text_kr (tests.test_check.TestIsBinary) ... ok test_text_latin (tests.test_check.TestIsBinary) ... ok test_text_lua (tests.test_check.TestIsBinary) ... ok test_text_perl2 (tests.test_check.TestIsBinary) ... ok test_text_russian2 (tests.test_check.TestIsBinary) ... ok test_text_shishi (tests.test_check.TestIsBinary) ... ok test_text_utf16 (tests.test_check.TestIsBinary) ... ok test_text_utf16be (tests.test_check.TestIsBinary) ... ok test_text_utf16le (tests.test_check.TestIsBinary) ... ok test_text_utf32 (tests.test_check.TestIsBinary) ... ok test_text_utf32le (tests.test_check.TestIsBinary) ... ok test_text_utf8 (tests.test_check.TestIsBinary) ... ok test_text_utf82 (tests.test_check.TestIsBinary) ... ok test_text_utfcn (tests.test_check.TestIsBinary) ... ok test_tiff (tests.test_check.TestIsBinary) ... ok test_triggers_decoding_error (tests.test_check.TestIsBinary) ... ok test_triggers_lookup_error (tests.test_check.TestIsBinary) ... ok test_ttf (tests.test_check.TestIsBinary) ... ok test_txt (tests.test_check.TestIsBinary) ... ok test_txt_unicode (tests.test_check.TestIsBinary) ... ok test_woff (tests.test_check.TestIsBinary) ... ok ====================================================================== ERROR: test_never_crashes (tests.test_check.TestDetectionProperties) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/binaryornot-0.4.0/tests/test_check.py", line 180, in test_never_crashes def test_never_crashes(self, data): File "/usr/lib/python2.7/site-packages/hypothesis/core.py", line 644, in wrapped_test random, settings, test_runner, search_strategy) File "/usr/lib/python2.7/site-packages/hypothesis/core.py", line 388, in perform_health_checks HealthCheck.too_slow, File "/usr/lib/python2.7/site-packages/hypothesis/core.py", line 262, in fail_health_check raise FailedHealthCheck(message) FailedHealthCheck: Data generation is extremely slow: Only produced 1 valid examples in 1.04 seconds (0 invalid ones and 0 exceeded maximum size). Try decreasing size of the data you're generating (with e.g.average_size or max_leaves parameters). See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test. ---------------------------------------------------------------------- Ran 43 tests in 5.704s FAILED (errors=1, expected failures=1) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.p16YbY (%check) Bad exit status from /var/tmp/rpm-tmp.p16YbY (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-binaryornot.spec