[tahoe-dev] Test failure with 1.6.1
David-Sarah Hopwood
david-sarah at jacaranda.org
Mon Mar 1 11:16:02 PST 2010
Ludovic Courtès wrote:
> Hello,
>
> I’m seeing this test failure with 1.6.1:
>
> --8<---------------cut here---------------start------------->8---
> [ERROR]: allmydata.test.test_immutable.Test.test_download_abort_if_too_many_corrupted_shares
>
> Traceback (most recent call last):
> File "/nix/store/bjyli4vn66xdr1iy4nd0macgf2qszlrk-python-twisted-8.2.0/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", line 106, in maybeDeferred
> result = f(*args, **kw)
> File "/tmp/nix-build-r96hdx3aqflfpz3n42ahnxr3h47pgb99-tahoe-lafs-1.6.1.drv-0/allmydata-tahoe-1.6.1/src/allmydata/util/pollmixin.py", line 34, in _poll
> raise TimeoutError("PollMixin never saw %s return True" % check_f)
> allmydata.util.pollmixin.TimeoutError: PollMixin never saw <bound method Test._check_connections of <allmydata.test.test_immutable.Test testMethod=test_download_abort_if_too_many_corrupted_shares>> return True
> ===============================================================================
> [ERROR]: allmydata.test.test_immutable.Test.test_download_abort_if_too_many_corrupted_shares
Please increase the timeout in test_immutable.py: at line 9 (after the
'class Test' declaration and before the test_test_code method), insert
timeout = 240
and retry the test. If it works, try using --until-failure, i.e.
python trial.py --until-failure allmydata.test.test_immutable
(The tests in test_immutable are mostly redundant with those in
test_hung_server, so if the latter is not failing, it's likely to be
that the timeout is too short, or there is some other problem just
with the test code.)
--
David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 292 bytes
Desc: OpenPGP digital signature
Url : http://allmydata.org/pipermail/tahoe-dev/attachments/20100301/f8e8e0d0/attachment-0001.pgp
More information about the tahoe-dev
mailing list