[tahoe-dev] Test runs for hours
Black Dew
blackdew at gmail.com
Mon Jun 15 01:59:14 PDT 2009
> on one of my computers I installed tahoe successfully and the tests
> ran within a few minutes. On another machine, one of the tests is
> running very long. Both run Ubuntu 8.10 interpid.
>
> > Check
> > test_check ...
My debian-unstable buildbot is geting stuck on the same test with the
same symptoms (1.0 load, etc), this happens both on the last release
and latest checkout from darcs.
I haven't figured out what exactly is going on, if i attach strace to
the process when it gets stuck i see the same 3 calls over and over:
poll([{fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11,
events=POLLIN}], 3, 0) = 0 (Timeout)
gettimeofday({1245047959, 430391}, NULL) = 0
gettimeofday({1245047959, 430436}, NULL) = 0
This seems to run without any delays and the poll() call has 0 timeout
so it eats all the CPU it can get.
Hmm... i see that those tests do use threading(deferToThread) and my
system is also has only one cpu - could there be some bug that causes
a deadlock/starvation on uniprocessor systems?
More information about the tahoe-dev
mailing list