[tahoe-dev] tahoe-1.8.0-r4803 -- fails tests on osx 10.6

Jimmy Tang jcftang at gmail.com
Tue Nov 9 13:01:43 UTC 2010


Hi All,

Not sure if i should post the tests failing here or to log a ticket, so here
it is....

I downloaded the release
http://tahoe-lafs.org/source/tahoe-lafs/tarballs/allmydata-tahoe-1.8.0-r4803.tar.bz2,
built it with the system version of python (which works fine for 1.8.0) and
it fails the tests. I'm testing this out on my OSX 10.6 desktop.

If you want me to open a  ticket with the below errors I can do so.


Jimmy


===============================================================================
[SKIPPED]:
allmydata.test.test_encodingutil.StdlibUnicode.test_open_unrepresentable

This test is not applicable to platforms that represent filenames as
Unicode.
===============================================================================
[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_runner.BinTahoe.test_version_no_noise

We pass this test only with Twisted >= v9.0.0
===============================================================================
[SKIPPED]: allmydata.test.test_runner.RunNode.test_client_no_noise

We pass this test only with Twisted >= v9.0.0
===============================================================================
[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).
===============================================================================
[TODO]:
allmydata.test.test_upload.EncodingParameters.test_problem_layout_comment_187

Reason: "this isn't fixed yet"
Traceback (most recent call last):
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/immutable/upload.py",
line 546, in _got_response
    return self._loop()
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/immutable/upload.py",
line 396, in _loop
    return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/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
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/immutable/upload.py",
line 546, in _got_response
    return self._loop()
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/immutable/upload.py",
line 396, in _loop
    return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/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
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/immutable/upload.py",
line 546, in _got_response
    return self._loop()
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/immutable/upload.py",
line 396, in _loop
    return self._failed("%s (%s)" % (failmsg, self._get_progress_message()))
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/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
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/threadpool.py",
line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/runner.py",
line 100, in runner
    rc = cli.dispatch[command](so)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/cli.py",
line 509, in ln
    rc = tahoe_mv.mv(options, mode="link")
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "build/bdist.macosx-10.6-universal/egg/simplejson/__init__.py", line
384, in loads

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
402, in decode

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
420, in raw_decode

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
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/threadpool.py",
line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/runner.py",
line 100, in runner
    rc = cli.dispatch[command](so)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/cli.py",
line 509, in ln
    rc = tahoe_mv.mv(options, mode="link")
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "build/bdist.macosx-10.6-universal/egg/simplejson/__init__.py", line
384, in loads

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
402, in decode

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
420, in raw_decode

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
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/threadpool.py",
line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/runner.py",
line 100, in runner
    rc = cli.dispatch[command](so)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/cli.py",
line 504, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "build/bdist.macosx-10.6-universal/egg/simplejson/__init__.py", line
384, in loads

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
402, in decode

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
420, in raw_decode

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
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/threadpool.py",
line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/runner.py",
line 100, in runner
    rc = cli.dispatch[command](so)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/cli.py",
line 504, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "build/bdist.macosx-10.6-universal/egg/simplejson/__init__.py", line
384, in loads

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
402, in decode

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
420, in raw_decode

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
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/threadpool.py",
line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/runner.py",
line 100, in runner
    rc = cli.dispatch[command](so)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/cli.py",
line 504, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "build/bdist.macosx-10.6-universal/egg/simplejson/__init__.py", line
384, in loads

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
402, in decode

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
420, in raw_decode

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
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/threadpool.py",
line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/context.py",
line 37, in callWithContext
    return func(*args,**kw)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/runner.py",
line 100, in runner
    rc = cli.dispatch[command](so)
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/cli.py",
line 504, in mv
    rc = tahoe_mv.mv(options, mode="move")
  File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/scripts/tahoe_mv.py",
line 32, in mv
    nodetype, attrs = simplejson.loads(data)
  File "build/bdist.macosx-10.6-universal/egg/simplejson/__init__.py", line
384, in loads

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
402, in decode

  File "build/bdist.macosx-10.6-universal/egg/simplejson/decoder.py", line
420, in raw_decode

simplejson.decoder.JSONDecodeError: No JSON object could be decoded: line 1
column 0 (char 0)
-------------------------------------------------------------------------------
Ran 828 tests in 331.003s

FAILED (skips=8, expectedFailures=3, errors=6, successes=811)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20101109/5b85c556/attachment.html>


More information about the tahoe-dev mailing list