[tahoe-lafs-trac-stream] [Tahoe-LAFS] #4063: allmydata.test.test_storage_http fails on PyPy (perhaps due to new release of Hypothesis)

Tahoe-LAFS trac at tahoe-lafs.org
Tue Sep 5 14:04:46 UTC 2023


#4063: allmydata.test.test_storage_http fails on PyPy (perhaps due to new release
of Hypothesis)
----------------------+---------------------------
 Reporter:  itamarst  |          Owner:
     Type:  defect    |         Status:  new
 Priority:  normal    |      Milestone:  undecided
Component:  unknown   |        Version:  n/a
 Keywords:            |  Launchpad Bug:
----------------------+---------------------------
 {{{
 $ trial allmydata.test.test_storage_http
 ...
 [ERROR]
 Traceback (most recent call last):
 Failure: testtools.testresult.real._StringException: Traceback (most
 recent call last):
   File "/home/itamarst/devel/tahoe-lafs/venvpypy/lib/pypy3.9/site-
 packages/twisted/internet/defer.py", line 234, in maybeDeferred
     result = f(*args, **kwargs)
   File "/home/itamarst/devel/tahoe-lafs/venvpypy/lib/pypy3.9/site-
 packages/testtools/testcase.py", line 703, in _run_test_method
     return self._get_test_method()()
   File "/home/itamarst/devel/tahoe-lafs/src/allmydata/test/eliotutil.py",
 line 155, in run_with_logging
     return test_method(*args, **kwargs)
   File "/home/itamarst/devel/tahoe-
 lafs/src/allmydata/test/test_storage_http.py", line 1677, in
 test_read_with_no_range
     def test_read_with_no_range(self, data_length):
   File "/home/itamarst/devel/tahoe-lafs/venvpypy/lib/pypy3.9/site-
 packages/hypothesis/core.py", line 1262, in wrapped_test
     fail_health_check(settings, msg, HealthCheck.differing_executors)
   File "/home/itamarst/devel/tahoe-lafs/venvpypy/lib/pypy3.9/site-
 packages/hypothesis/internal/healthcheck.py", line 27, in
 fail_health_check
     raise FailedHealthCheck(message)
 hypothesis.errors.FailedHealthCheck: The method
 SharedImmutableMutableTestsMixin.test_read_with_no_range was called from
 multiple different executors. This may lead to flaky tests and
 nonreproducible errors when replaying from database.
 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.differing_executors to the suppress_health_check settings for
 this test.


 allmydata.test.test_storage_http.MutableSharedTests.test_read_with_no_range
 -------------------------------------------------------------------------------
 Ran 66 tests in 6.322s
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4063>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list