Summary: | dev-python/attrs-17.4.0 fails tests on slower machines | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Turner <mattst88> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leio |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/python-attrs/attrs/pull/364 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=608570 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matt Turner
2018-03-27 23:10:00 UTC
Sometimes fails on 2GHz arm64 as well.. Same problem with another test on dev-python/attrs-16.3.0-r1 on ppc: ==================================================================================================== FAILURES ===================================================================================================== ________________________________________________________________________________________ TestAsTuple.test_recurse_property ________________________________________________________________________________________ self = <tests.test_funcs.TestAsTuple object at 0xf48a05f0> @given(nested_classes, st.sampled_from(SEQUENCE_TYPES)) > def test_recurse_property(self, cls, tuple_class): """ Property tests for recursive astuple. tests/test_funcs.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python2.7/site-packages/hypothesis/core.py:438: in wrapped_test HealthCheck.too_slow, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ message = 'Data generation is extremely slow: Only produced 9 valid examples in 1.07 seconds (0 invalid ones and 0 exceeded maxi... want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test.' label = <HealthCheck.too_slow: 3> def fail_health_check(message, label): if label in settings.suppress_health_check: return message += ( '\nSee https://hypothesis.readthedocs.io/en/latest/health' 'checks.html for more information about this. ' ) message += ( 'If you want to disable just this health check, add %s ' 'to the suppress_health_check settings for this test.' ) % (label,) > raise FailedHealthCheck(message) E FailedHealthCheck: Data generation is extremely slow: Only produced 9 valid examples in 1.07 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). E 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. 19.3.0 passes all tests on my yeeloong. |