[tahoe-dev] tahoe-1.8.0-r4803 -- fails tests on osx 10.6
Jimmy Tang
jcftang at gmail.com
Tue Nov 9 21:58:27 UTC 2010
On Tue, Nov 9, 2010 at 9:22 PM, David-Sarah Hopwood <
david-sarah at jacaranda.org> wrote:
>
> Please attach to the ticket (or include in a comment) the following
> information to help us debug this:
>
> - the output of 'bin/tahoe --version-and-path'
>
> - modify /Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata
> /scripts/tahoe_mv.py by changing line 32 to:
>
> print repr(data); nodetype, attrs = simplejson.loads(data)
>
> then do 'python setup.py build' again, repeat the tests, and attach the
> extra output from the ones that fail with [ERROR].
>
>
I've done as requested, I tried to format the output as best I could on the
ticket. After making the change you suggested I noticed some of the tests
were trying to use my proxy when running some of the tests. Interestingly
when I unset the http_proxy and HTTP_PROXY environment variables the tests
that failed before now passes.
Now only one thing fails
===============================================================================
[FAIL]: allmydata.test.test_client.Basic.test_reserved_4
Traceback (most recent call last):
File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/test/test_client.py",
line 122, in test_reserved_4
78*1000*1000*1000)
File
"/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/test/common_util.py",
line 32, in failUnlessReallyEqual
self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a,
b, msg))
twisted.trial.unittest.FailTest: a :: 78000000000, b :: 78000000000L, None
not equal:
a = <type 'int'>
b = <type 'long'>
-------------------------------------------------------------------------------
Ran 828 tests in 311.771s
FAILED (skips=15, expectedFailures=3, failures=1, successes=809)
also I noticed this as well (I didn't spot this the first time I ran the
tests)
running build_ext
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/persisted/sob.py:12:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import os, md5, sys
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/filepath.py:12:
DeprecationWarning: the sha module is deprecated; use the hashlib module
instead
import sha
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/usage.py",
line 241, in parseOptions
self.postOptions()
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/scripts/trial.py",
line 293, in postOptions
self['reporter'] = self._loadReporterByName(self['reporter'])
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/scripts/trial.py",
line 279, in _loadReporterByName
for p in plugin.getPlugins(itrial.IReporter):
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/plugin.py",
line 200, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/plugin.py",
line 179, in getCache
dropinPath.setContent(pickle.dumps(dropinDotCache))
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/filepath.py",
line 623, in setContent
f = sib.open('w')
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/filepath.py",
line 433, in open
return open(self.path, mode+'b')
exceptions.IOError: [Errno 13] Permission denied:
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/plugins/dropin.cache.new'
it seems the tests or build wants to install something into my system and it
obviously failed because I'm not running as root.
Hope the reporting above helps.
Jimmy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20101109/3bd058f0/attachment.html>
More information about the tahoe-dev
mailing list