[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3547: Regression in allmydata.test.test_introducer.Announcements.test_client_cache and allmydata.test.test_introducer.ClientSeqnums.test_client

Tahoe-LAFS trac at tahoe-lafs.org
Sat Dec 5 14:06:02 UTC 2020


#3547: Regression in
allmydata.test.test_introducer.Announcements.test_client_cache and
allmydata.test.test_introducer.ClientSeqnums.test_client
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 The change for ticket:3504 introduced a Python 3.6 regression:

 {{{
 ===============================================================================
 [ERROR]
 Traceback (most recent call last):
 Failure: testtools.testresult.real._StringException: Empty attachments:
   twisted-log

 Traceback (most recent call last):
   File "/home/exarkun/Work/python/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
     result = g.send(result)
   File "/home/exarkun/Work/python/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/allmydata/test/test_introducer.py", line 810, in
 test_client_cache
     write_introducer(basedir, "default", "nope")
   File "/home/exarkun/Work/python/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/allmydata/scripts/common.py", line 128, in write_introducer
     "furl": furl.decode("ascii"),
 AttributeError: 'str' object has no attribute 'decode'


 allmydata.test.test_introducer.Announcements.test_client_cache
 ===============================================================================
 [ERROR]
 Traceback (most recent call last):
 Failure: testtools.testresult.real._StringException: Empty attachments:
   twisted-log

 Traceback (most recent call last):
   File "/home/exarkun/Work/python/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
     result = g.send(result)
   File "/home/exarkun/Work/python/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/allmydata/test/test_introducer.py", line 903, in test_client
     write_introducer(basedir, "default", "nope")
   File "/home/exarkun/Work/python/tahoe-lafs/.tox/py36/lib/python3.6/site-
 packages/allmydata/scripts/common.py", line 128, in write_introducer
     "furl": furl.decode("ascii"),
 AttributeError: 'str' object has no attribute 'decode'


 allmydata.test.test_introducer.ClientSeqnums.test_client
 -------------------------------------------------------------------------------
 }}}

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


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