[tahoe-dev] Error Logs for Failed Self-Test Cases

Bostonian ygwen77 at gmail.com
Mon Nov 15 21:45:01 UTC 2010


Dear All:

I a new to Tahoe and am trying to experiment it on a desktop with
ubuntu. However, I cannot get all the self-test cases passed. Any
advice will be highly appreciated.

Here is my environment:
allmydata-tahoe: 1.8.0, foolscap: 0.5.1, pycryptopp: 0.5.25, zfec:
1.4.7, Twisted: 10.1.0, Nevow: 0.10.0, zope.interface: 3.6.1, python:
2.6.6, platform: Linux-Ubuntu_10.10-x86_64-64bit_ELF, sqlite: 3.7.2,
simplejson: 2.1.1, argparse: 1.1, pycrypto: 2.0.1, pyOpenSSL: 0.10,
pyutil: 1.7.12, zbase32: 1.1.2, setuptools: 0.6c16dev2, pyasn1:
0.0.11a, pysqlite: 2.4.1

Here is the error output:
===============================================================================
[SKIPPED]: allmydata.test.test_encodingutil.StdlibUnicode.test_open_unrepresentable

This test cannot be run unless we know a filename that is not representable.
===============================================================================
[SKIPPED]: allmydata.test.test_encodingutil.Windows.test_listdir_unicode

This platform does not support the 'mbcs' filesystem encoding that we
are testing for the benefit of a different platform.
===============================================================================
[SKIPPED]: allmydata.test.test_hung_server.HungServerDownloadTest.test_2_good_8_hung_then_1_recovers_mutable

still broken
===============================================================================
[SKIPPED]: allmydata.test.test_hung_server.HungServerDownloadTest.test_2_good_8_hung_then_1_recovers_with_2_shares_mutable

still broken
===============================================================================
[SKIPPED]: allmydata.test.test_hung_server.HungServerDownloadTest.test_3_good_7_hung_mutable

still broken
===============================================================================
[SKIPPED]: allmydata.test.test_provisioning.Reliability.test_basic

reliability model requires NumPy
===============================================================================
[SKIPPED]: allmydata.test.test_storage.Server.test_large_share

This test can spuriously fail if you have less than 4 GiB free on your
filesystem, and if your filesystem doesn't support efficient sparse
files then it is very expensive (Mac OS X and Windows don't support
efficient sparse files).
===============================================================================
[SKIPPED]: allmydata.test.test_web.Web.test_reliability_tool

reliability tool requires NumPy
===============================================================================
[TODO]: allmydata.test.test_upload.EncodingParameters.test_problem_layout_comment_187

Reason: "this isn't fixed yet"
Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 546, in _got_response
    return self._loop()
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 396, in _loop
    return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 561, 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 have enough shares to recover the
file, sent 3 queries to 3 peers, 1 queries placed some shares, 2
placed none (of which 2 placed none due to the server being full and 0
placed none due to an error))
===============================================================================
[TODO]: allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket_1124

Reason: 'Fix this after 1.7.1 release.'
Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 546, in _got_response
    return self._loop()
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 396, in _loop
    return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 561, 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 peers, 4 queries placed some shares, 0
placed none (of which 0 placed none due to the server being full and 0
placed none due to an error))
===============================================================================
[TODO]: allmydata.test.test_upload.EncodingParameters.test_problem_layout_ticket_1128

Reason: 'Invent a smarter uploader that uploads successfully in this case.'
Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 546, in _got_response
    return self._loop()
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 396, in _loop
    return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/immutable/upload.py",
line 561, 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 peers, 4 queries placed some shares, 0
placed none (of which 0 placed none due to the server being full and 0
placed none due to an error))
===============================================================================
[ERROR]: allmydata.test.test_cli.Ln.test_ln_with_nonexistent_alias

Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/threadpool.py",
line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/runner.py",
line 104, in runner
    rc = cli.dispatch[command](so)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/cli.py",
line 508, in ln
    rc = tahoe_mv.mv(options, mode="link")
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 384, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 420,
in raw_decode
    raise JSONDecodeError("No JSON object could be decoded", s, idx)
simplejson.decoder.JSONDecodeError: No JSON object could be decoded:
line 1 column 0 (char 0)
===============================================================================
[ERROR]: allmydata.test.test_cli.Ln.test_ln_without_alias

Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/threadpool.py",
line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/runner.py",
line 104, in runner
    rc = cli.dispatch[command](so)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/cli.py",
line 508, in ln
    rc = tahoe_mv.mv(options, mode="link")
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 384, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 420,
in raw_decode
    raise JSONDecodeError("No JSON object could be decoded", s, idx)
simplejson.decoder.JSONDecodeError: No JSON object could be decoded:
line 1 column 0 (char 0)
===============================================================================
[ERROR]: allmydata.test.test_cli.Mv.test_mv_behavior

Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/threadpool.py",
line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/runner.py",
line 104, in runner
    rc = cli.dispatch[command](so)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/cli.py",
line 503, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 384, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 420,
in raw_decode
    raise JSONDecodeError("No JSON object could be decoded", s, idx)
simplejson.decoder.JSONDecodeError: No JSON object could be decoded:
line 1 column 0 (char 0)
===============================================================================
[ERROR]: allmydata.test.test_cli.Mv.test_mv_with_nonexistent_alias

Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/threadpool.py",
line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/runner.py",
line 104, in runner
    rc = cli.dispatch[command](so)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/cli.py",
line 503, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 384, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 420,
in raw_decode
    raise JSONDecodeError("No JSON object could be decoded", s, idx)
simplejson.decoder.JSONDecodeError: No JSON object could be decoded:
line 1 column 0 (char 0)
===============================================================================
[ERROR]: allmydata.test.test_cli.Mv.test_mv_without_alias

Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/threadpool.py",
line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/runner.py",
line 104, in runner
    rc = cli.dispatch[command](so)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/cli.py",
line 503, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 384, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 420,
in raw_decode
    raise JSONDecodeError("No JSON object could be decoded", s, idx)
simplejson.decoder.JSONDecodeError: No JSON object could be decoded:
line 1 column 0 (char 0)
===============================================================================
[ERROR]: allmydata.test.test_system.SystemTest.test_filesystem

Traceback (most recent call last):
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/threadpool.py",
line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/Twisted-10.1.0-py2.6-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/runner.py",
line 104, in runner
    rc = cli.dispatch[command](so)
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/cli.py",
line 503, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 384, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 420,
in raw_decode
    raise JSONDecodeError("No JSON object could be decoded", s, idx)
simplejson.decoder.JSONDecodeError: No JSON object could be decoded:
line 1 column 0 (char 0)
-------------------------------------------------------------------------------
Ran 825 tests in 359.330s

FAILED (skips=8, expectedFailures=3, errors=6, successes=808)


More information about the tahoe-dev mailing list