Source: binaryornot
Version: 0.4.4+dfsg-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/binaryornot.html

...
======================================================================
ERROR: test_never_crashes (tests.test_check.TestDetectionProperties)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/binaryornot-0.4.4+dfsg/tests/test_check.py", line 214, in 
test_never_crashes
    def test_never_crashes(self, data):
  File "/usr/lib/python2.7/dist-packages/hypothesis/core.py", line 1002, in 
wrapped_test
    state.run()
  File "/usr/lib/python2.7/dist-packages/hypothesis/core.py", line 727, in run
    runner.run()
  File 
"/usr/lib/python2.7/dist-packages/hypothesis/internal/conjecture/engine.py", 
line 470, in run
    self._run()
  File 
"/usr/lib/python2.7/dist-packages/hypothesis/internal/conjecture/engine.py", 
line 868, in _run
    self.generate_new_examples()
  File 
"/usr/lib/python2.7/dist-packages/hypothesis/internal/conjecture/engine.py", 
line 760, in generate_new_examples
    HealthCheck.large_base_example
  File "/usr/lib/python2.7/dist-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 44 tests in 0.985s

FAILED (errors=1, expected failures=1)
Test failed: <unittest.runner.TextTestResult run=44 errors=1 failures=0>
You can add @seed(221414468027289032423022124386177593491) to this test to 
reproduce this failure.
error: Test failed: <unittest.runner.TextTestResult run=44 errors=1 failures=0>
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: 
python2.7 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25

Reply via email to