[tahoe-lafs-trac-stream] [tahoe-lafs] #2017: non-deterministic test hang on OpenBSD

tahoe-lafs trac at tahoe-lafs.org
Sun Jul 7 08:45:12 UTC 2013


#2017: non-deterministic test hang on OpenBSD
------------------------+--------------------------------------
     Reporter:  zooko   |      Owner:  sickness
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  undecided
    Component:  code    |    Version:  1.10.0
   Resolution:          |   Keywords:  iputil heisenbug openbsd
Launchpad Bug:          |
------------------------+--------------------------------------

Comment (by sickness):

 did run the tests as requested (rsyncing the build subdir of the buildbot
 in /tmp/someotherdir because I don't know how to properly checkout trunk)
 and here's the results:

 [...]

 ===============================================================================
 [TODO]
 Reason: 'Fix this after 1.7.1 release.'
 Traceback (most recent call last):
   File "/tmp/build/src/allmydata/immutable/upload.py", line 604, in
 _got_response
     return self._loop()
   File "/tmp/build/src/allmydata/immutable/upload.py", line 455, in _loop
     return self._failed("%s (%s)" % (failmsg,
 self._get_progress_message()))
   File "/tmp/build/src/allmydata/immutable/upload.py", line 617, in
 _failed
     raise UploadUnhappinessError(msg)
 allmydata.interfaces.UploadUnhappinessError: shares could be placed on
 only 3 server(s) such that any
 2 of them have enough shares to recover the file, but we were asked to
 place shares on at least 4 such
  servers. (placed all 4 shares, want to place shares on at least 4 servers
 such that any 2 of them hav
 e enough shares to recover the file, sent 4 queries to 4 servers, 4
 queries placed some shares, 0 plac
 ed none (of which 0 placed none due to the server being full and 0 placed
 none due to an error))

 ===============================================================================
 [SKIPPED]
 A non-ASCII argument/output could not be encoded on this platform.

 allmydata.test.test_runner.BinTahoe.test_unicode_arguments_and_output
 ===============================================================================
 [TODO]
 Reason: "this isn't fixed yet"
 Traceback (most recent call last):
   File "/tmp/build/src/allmydata/immutable/upload.py", line 604, in
 _got_response
     return self._loop()
   File "/tmp/build/src/allmydata/immutable/upload.py", line 455, in _loop
     return self._failed("%s (%s)" % (failmsg,
 self._get_progress_message()))
   File "/tmp/build/src/allmydata/immutable/upload.py", line 617, in
 _failed
     raise UploadUnhappinessError(msg)
 allmydata.interfaces.UploadUnhappinessError: shares could be placed on
 only 2 server(s) such that any
 2 of them have enough shares to recover the file, but we were asked to
 place shares on at least 3 such
  servers. (placed all 3 shares, want to place shares on at least 3 servers
 such that any 2 of them hav
 e enough shares to recover the file, sent 3 queries to 3 servers, 1
 queries placed some shares, 2 plac
 ed none (of which 2 placed none due to the server being full and 0 placed
 none due to an error))

 allmydata.test.test_upload.EncodingParameters.test_problem_layout_comment_187
 allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket_1124
 ===============================================================================
 [TODO]
 Reason: 'Invent a smarter uploader that uploads successfully in this
 case.'
 Traceback (most recent call last):
   File "/tmp/build/src/allmydata/immutable/upload.py", line 604, in
 _got_response
     return self._loop()
   File "/tmp/build/src/allmydata/immutable/upload.py", line 455, in _loop
     return self._failed("%s (%s)" % (failmsg,
 self._get_progress_message()))
   File "/tmp/build/src/allmydata/immutable/upload.py", line 617, in
 _failed
     raise UploadUnhappinessError(msg)
 allmydata.interfaces.UploadUnhappinessError: shares could be placed on
 only 3 server(s) such that any 2 of them have enough shares to recover the
 file, but we were asked to place shares on at least 4 such servers.
 (placed all 4 shares, want to place shares on at least 4 servers such that
 any 2 of them have enough shares to recover the file, sent 4 queries to 4
 servers, 3 queries placed some shares, 1 placed none (of which 1 placed
 none due to the server being full and 0 placed none due to an error))

 allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket_1128
 ===============================================================================
 [ERROR]
 Traceback (most recent call last):
 Failure: twisted.internet.defer.TimeoutError:
 <allmydata.test.test_runner.RunNode testMethod=test_client_no_noise>
 (test_client_no_noise) still running at 240.0 secs

 allmydata.test.test_runner.RunNode.test_client_no_noise
 ===============================================================================
 [ERROR]
 Traceback (most recent call last):
 Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was
 unclean.
 DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to
 debug)
 <DelayedCall 0xb89705ec [0.00525784492493s] called=0 cancelled=0
 LoopingCall<0.01>(RunNode._poll, *(<function _node_has_started at
 0xb84a09cc>, 1373110342.373227), **{})()>

 allmydata.test.test_runner.RunNode.test_client_no_noise
 -------------------------------------------------------------------------------
 Ran 1139 tests in 2020.513s

 FAILED (skips=15, expectedFailures=3, errors=2, successes=1120

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2017#comment:2>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


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