* Package: dev-python/binaryornot-0.4.3 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking binaryornot-0.4.3.tar.gz to /var/tmp/portage/dev-python/binaryornot-0.4.3/work >>> Source unpacked in /var/tmp/portage/dev-python/binaryornot-0.4.3/work >>> Preparing source in /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python2_7/lib/binaryornot copying binaryornot/helpers.py -> /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python2_7/lib/binaryornot copying binaryornot/check.py -> /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python2_7/lib/binaryornot copying binaryornot/__init__.py -> /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python2_7/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 '*' writing manifest file 'binaryornot.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * python3_5: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.5 setup.py build running build running build_py creating /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python3_5/lib/binaryornot copying binaryornot/helpers.py -> /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python3_5/lib/binaryornot copying binaryornot/check.py -> /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python3_5/lib/binaryornot copying binaryornot/__init__.py -> /var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3-python3_5/lib/binaryornot running egg_info writing top-level names to binaryornot.egg-info/top_level.txt writing dependency_links to binaryornot.egg-info/dependency_links.txt writing binaryornot.egg-info/PKG-INFO writing requirements to binaryornot.egg-info/requires.txt reading manifest file 'binaryornot.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' writing manifest file 'binaryornot.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/binaryornot-0.4.3 * python2_7: running distutils-r1_run_phase python_test /usr/bin/python2.7 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 '*' writing manifest file 'binaryornot.egg-info/SOURCES.txt' running build_ext test_css (tests.test_check.TestCodeFiles) ... ok test_json (tests.test_check.TestCodeFiles) ... ok test_text_js (tests.test_check.TestCodeFiles) ... ok test_text_lua (tests.test_check.TestCodeFiles) ... ok test_text_perl2 (tests.test_check.TestCodeFiles) ... ok test_never_crashes (tests.test_check.TestDetectionProperties) ... ERROR test_text_big5 (tests.test_check.TestEncodings) ... ok test_text_big5b (tests.test_check.TestEncodings) ... ok test_text_gb (tests.test_check.TestEncodings) ... ok test_text_gb2 (tests.test_check.TestEncodings) ... ok test_text_kr (tests.test_check.TestEncodings) ... ok test_text_latin (tests.test_check.TestEncodings) ... ok test_text_shishi (tests.test_check.TestEncodings) ... ok test_text_utf16 (tests.test_check.TestEncodings) ... ok test_text_utf16be (tests.test_check.TestEncodings) ... ok test_text_utf16le (tests.test_check.TestEncodings) ... ok test_text_utf32 (tests.test_check.TestEncodings) ... ok test_text_utf32le (tests.test_check.TestEncodings) ... ok test_text_utf8 (tests.test_check.TestEncodings) ... ok test_text_utf82 (tests.test_check.TestEncodings) ... ok test_text_utfcn (tests.test_check.TestEncodings) ... ok test_eot (tests.test_check.TestFontFiles) ... ok test_otf (tests.test_check.TestFontFiles) ... ok test_ttf (tests.test_check.TestFontFiles) ... ok test_woff (tests.test_check.TestFontFiles) ... ok test_binary_gif2 (tests.test_check.TestImageFiles) ... ok test_binary_gif3 (tests.test_check.TestImageFiles) ... ok test_binary_rgb_stream (tests.test_check.TestImageFiles) ... ok test_bmp (tests.test_check.TestImageFiles) ... ok test_gif (tests.test_check.TestImageFiles) ... ok test_jpg (tests.test_check.TestImageFiles) ... ok test_png (tests.test_check.TestImageFiles) ... ok test_svg (tests.test_check.TestImageFiles) ... ok test_tiff (tests.test_check.TestImageFiles) ... ok test_binary_exe2 (tests.test_check.TestIsBinary) ... ok test_binary_pdf2 (tests.test_check.TestIsBinary) ... expected failure test_ds_store (tests.test_check.TestIsBinary) ... ok test_empty (tests.test_check.TestIsBinary) ... ok test_text_russian2 (tests.test_check.TestIsBinary) ... ok test_triggers_decoding_error (tests.test_check.TestIsBinary) ... ok test_triggers_lookup_error (tests.test_check.TestIsBinary) ... ok test_txt (tests.test_check.TestIsBinary) ... ok test_txt_unicode (tests.test_check.TestIsBinary) ... ok test_binary_empty_pyc (tests.test_check.TestProgrammingArtifacts) ... ok test_binary_pyc (tests.test_check.TestProgrammingArtifacts) ... ok test_binary_troublesome_pyc (tests.test_check.TestProgrammingArtifacts) ... ok ====================================================================== ERROR: test_never_crashes (tests.test_check.TestDetectionProperties) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3/tests/test_check.py", line 220, in test_never_crashes def test_never_crashes(self, data): File "/usr/lib64/python2.7/site-packages/hypothesis/core.py", line 1001, in wrapped_test state.run() File "/usr/lib64/python2.7/site-packages/hypothesis/core.py", line 725, in run runner.run() File "/usr/lib64/python2.7/site-packages/hypothesis/internal/conjecture/engine.py", line 393, in run self._run() File "/usr/lib64/python2.7/site-packages/hypothesis/internal/conjecture/engine.py", line 791, in _run self.generate_new_examples() File "/usr/lib64/python2.7/site-packages/hypothesis/internal/conjecture/engine.py", line 685, in generate_new_examples HealthCheck.large_base_example File "/usr/lib64/python2.7/site-packages/hypothesis/internal/healthcheck.py", line 38, in fail_health_check raise FailedHealthCheck(message, label) FailedHealthCheck: The smallest natural example for your test is extremely large. This makes it difficult for Hypothesis to generate good examples, especially when trying to reduce failing ones at the end. Consider reducing the size of your data if it is of a fixed size. You could also fix this by improving how your data shrinks (see https://hypothesis.readthedocs.io/en/latest/data.html#shrinking for details), or by introducing default values inside your strategy. e.g. could you replace some arguments with their defaults by using one_of(none(), some_complex_strategy)? 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.large_base_example to the suppress_health_check settings for this test. ---------------------------------------------------------------------- Ran 46 tests in 0.900s FAILED (errors=1, expected failures=1) Test failed: You can add @seed(337196728908709745552018116333542091729) to this test to reproduce this failure. error: Test failed: * ERROR: dev-python/binaryornot-0.4.3::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2629: Called distutils-r1_src_test * environment, line 896: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 358: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2175: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1550: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1548: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 570: Called distutils-r1_run_phase 'python_test' * environment, line 827: Called python_test * environment, line 2531: Called esetup.py 'test' * environment, line 1095: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/binaryornot-0.4.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/binaryornot-0.4.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:binaryornot-0.4.3:20180113-082429.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/binaryornot-0.4.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/binaryornot-0.4.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3' * S: '/var/tmp/portage/dev-python/binaryornot-0.4.3/work/binaryornot-0.4.3'