[tahoe-dev] problems running some of the tests on archlinux after an update

Jimmy Tang jcftang at gmail.com
Thu Feb 3 22:22:10 UTC 2011


Hi Brian,

On Thu, Feb 3, 2011 at 9:53 PM, Brian Warner <warner at lothar.com> wrote:
>
> Arghh.. That looks like a python2.7 incompatibility in an error pathway
> (probably when that function is trying to find a version number for some
> dependency, and fails, and tries to explain why it failed). I don't know
> if that's a real error path or merely a warning.
>
> Could you replace that "e.__class__.name" with just "e" (in __init__.py
> line 301) and try it again, see what sorts of messages it emits?
>
> note to selves: too much complexity in __init__.py!!
>
> I filed bug #1355 for this one.
>

that seem to have enabled the tests to run, but a bunch of tests
failed, I've pasted the output of the failures. I don't have a record
of what the package manager updated to cause the errors, I'll see if I
can find out what changed on my system apart from python2.7 and
foolscap 0.6.


Thanks,
Jimmy.



[FAIL]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_runner.py",
line 539, in _cb2
    self.failUnlessEqual(rc_or_sig, 0, errstr)
twisted.trial.unittest.FailTest: rc=1, OUT: '', ERR: 'Traceback (most
recent call last):
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 631, in run
    runApp(config)
  File "/usr/lib/python2.7/site-packages/twisted/scripts/twistd.py",
line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 374, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 450, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/application/service.py",
line 400, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/persisted/sob.py",
line 210, in loadValueFromFile
    exec fileObj in d, d
  File "tahoe-client.tac", line 10, in <module>
    c = client.Client()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

Failed to load application: crypto for PB is not available, try
importing foolscap.crypto and see what happens

'
not equal:
a = 1
b = 0


allmydata.test.test_runner.RunNode.test_client
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_runner.py",
line 480, in _cb2
    self.failUnlessEqual(rc_or_sig, 0, errstr)
twisted.trial.unittest.FailTest: cc=1, OUT: '', ERR: 'Traceback (most
recent call last):
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 631, in run
    runApp(config)
  File "/usr/lib/python2.7/site-packages/twisted/scripts/twistd.py",
line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 374, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 450, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/application/service.py",
line 400, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/persisted/sob.py",
line 210, in loadValueFromFile
    exec fileObj in d, d
  File "tahoe-client.tac", line 10, in <module>
    c = client.Client()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

Failed to load application: crypto for PB is not available, try
importing foolscap.crypto and see what happens

'
not equal:
a = 1
b = 0


allmydata.test.test_runner.RunNode.test_client_no_noise
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_runner.py",
line 373, in _cb2
    self.failUnlessEqual(rc_or_sig, 0, errstr)
twisted.trial.unittest.FailTest: rc=1, OUT: '', ERR: 'Traceback (most
recent call last):
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 631, in run
    runApp(config)
  File "/usr/lib/python2.7/site-packages/twisted/scripts/twistd.py",
line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 374, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 450, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/application/service.py",
line 400, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/persisted/sob.py",
line 210, in loadValueFromFile
    exec fileObj in d, d
  File "tahoe-introducer.tac", line 10, in <module>
    c = introducer.IntroducerNode()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

Failed to load application: crypto for PB is not available, try
importing foolscap.crypto and see what happens

'
not equal:
a = 1
b = 0


allmydata.test.test_runner.RunNode.test_introducer
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_runner.py",
line 663, in _cb2
    self.failUnlessEqual(rc_or_sig, 0, errstr)
twisted.trial.unittest.FailTest: rc=1, OUT: '', ERR: 'Traceback (most
recent call last):
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 631, in run
    runApp(config)
  File "/usr/lib/python2.7/site-packages/twisted/scripts/twistd.py",
line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 374, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.7/site-packages/twisted/application/app.py",
line 450, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/application/service.py",
line 400, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.7/site-packages/twisted/persisted/sob.py",
line 210, in loadValueFromFile
    exec fileObj in d, d
  File "tahoe-key-generator.tac", line 10, in <module>
    k = key_generator.KeyGeneratorService(default_key_size=2048)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/key_generator.py",
line 82, in __init__
    self.tub = Tub(certFile=os.path.join(self.basedir, 'key_generator.pem'))
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

Failed to load application: crypto for PB is not available, try
importing foolscap.crypto and see what happens

'
not equal:
a = 1
b = 0


allmydata.test.test_runner.RunNode.test_keygen
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 35, in test_loadable
    client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_loadable
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 44, in test_loadable_old_config_bits
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_loadable_old_config_bits
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 57, in test_loadable_old_storage_config_bits
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_loadable_old_storage_config_bits
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 83, in test_reserved_1
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_reserved_1
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 95, in test_reserved_2
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_reserved_2
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 107, in test_reserved_3
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_reserved_3
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 120, in test_reserved_4
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_reserved_4
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 133, in test_reserved_bad
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_reserved_bad
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 66, in test_secrets
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_secrets
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 154, in test_versions
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Basic.test_versions
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 235, in test_maker
    c = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.NodeMaker.test_maker
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 193, in test_loadable
    client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Run.test_loadable
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_client.py",
line 200, in test_reloadable
    c1 = client.Client(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/client.py",
line 133, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_client.Run.test_reloadable
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_helper.py",
line 96, in setUp
    self.tub = t = Tub()
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 242, in __init__
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_helper.AssistedUpload.test_already_uploaded
allmydata.test.test_helper.AssistedUpload.test_one
allmydata.test.test_helper.AssistedUpload.test_previous_upload_failed
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/common.py",
line 928, in <lambda>
    d.addCallback(lambda x: self.set_up_nodes())
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/common.py",
line 386, in set_up_nodes
    iv = IntroducerNode(basedir=iv_dir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_immutable.Test.test_download
allmydata.test.test_immutable.Test.test_download_abort_if_too_many_corrupted_shares
allmydata.test.test_immutable.Test.test_download_abort_if_too_many_missing_shares
allmydata.test.test_immutable.Test.test_download_from_only_3_remaining_shares
allmydata.test.test_immutable.Test.test_download_from_only_3_shares_with_good_crypttext_hash
allmydata.test.test_immutable.Test.test_test_code
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_introducer.py",
line 27, in test_loadable
    q = IntroducerNode(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_introducer.Node.test_loadable
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_introducer.py",
line 349, in test_failure
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_introducer.py",
line 80, in create_tub
    self.central_tub = tub = Tub(certFile=tubfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_introducer.NonV1Server.test_failure
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_introducer.py",
line 96, in test_system
    return self.do_system_test(IntroducerService)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_introducer.py",
line 100, in do_system_test
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_introducer.py",
line 80, in create_tub
    self.central_tub = tub = Tub(certFile=tubfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_introducer.SystemTest.test_system
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_keygen.py",
line 24, in setUp
    self.tub = t = Tub()
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 242, in __init__
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_keygen.KeyGenService.test_key_gen_service
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_node.py",
line 42, in test_location
    n = TestNode(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_node.TestCase.test_location
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_node.py",
line 61, in test_location2
    n = TestNode(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_node.TestCase.test_location2
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_node.py",
line 86, in test_secrets_dir
    n = TestNode(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_node.TestCase.test_secrets_dir
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_node.py",
line 98, in test_secrets_dir_protected
    n = TestNode(basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_node.TestCase.test_secrets_dir_protected
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_system.py",
line 712, in test_filesystem
    d = self.set_up_nodes(use_stats_gatherer=True)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/common.py",
line 386, in set_up_nodes
    iv = IntroducerNode(basedir=iv_dir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_system.SystemTest.test_filesystem
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_system.py",
line 1745, in test_filesystem_with_cli_in_subprocess
    d = self.set_up_nodes()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/common.py",
line 386, in set_up_nodes
    iv = IntroducerNode(basedir=iv_dir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_system.SystemTest.test_filesystem_with_cli_in_subprocess
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_system.py",
line 469, in test_mutable
    d = self.set_up_nodes(use_key_generator=True)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/common.py",
line 386, in set_up_nodes
    iv = IntroducerNode(basedir=iv_dir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_system.SystemTest.test_mutable
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_system.py",
line 91, in test_upload_and_download_convergent
    return self._test_upload_and_download(convergence="some convergence string")
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_system.py",
line 97, in _test_upload_and_download
    d = self.set_up_nodes()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/common.py",
line 386, in set_up_nodes
    iv = IntroducerNode(basedir=iv_dir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_system.SystemTest.test_upload_and_download_convergent
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_system.py",
line 87, in test_upload_and_download_random_key
    return self._test_upload_and_download(convergence=None)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/test_system.py",
line 97, in _test_upload_and_download
    d = self.set_up_nodes()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/test/common.py",
line 386, in set_up_nodes
    iv = IntroducerNode(basedir=iv_dir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/introducer/server.py",
line 18, in __init__
    node.Node.__init__(self, basedir)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 70, in __init__
    self.create_tub()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/node.py",
line 144, in create_tub
    self.tub = Tub(certFile=certfile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 240, in __init__
    self.setupEncryptionFile(certFile)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 252, in
setupEncryptionFile
    self.setupEncryption(certData)
  File "/usr/lib/python2.7/site-packages/foolscap/pb.py", line 261, in
setupEncryption
    raise RuntimeError("crypto for PB is not available, "
exceptions.RuntimeError: crypto for PB is not available, try importing
foolscap.crypto and see what happens

allmydata.test.test_system.SystemTest.test_upload_and_download_random_key
-------------------------------------------------------------------------------
Ran 839 tests in 271.326s

FAILED (skips=7, expectedFailures=3, failures=4, errors=35, successes=790)
[jtang at lenny allmydata-tahoe-1.8.2]$





-- 
http://www.sgenomics.org/~jtang/



More information about the tahoe-dev mailing list