<div dir="ltr"><div class="gmail_quote">On Tue, Nov 9, 2010 at 9:22 PM, David-Sarah Hopwood <span dir="ltr"><<a href="mailto:david-sarah@jacaranda.org">david-sarah@jacaranda.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br></div>Please attach to the ticket (or include in a comment) the following<br>
information to help us debug this:<br>
<br>
- the output of 'bin/tahoe --version-and-path'<br>
<br>
- modify /Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata<br>
/scripts/tahoe_mv.py by changing line 32 to:<br>
<br>
print repr(data); nodetype, attrs = simplejson.loads(data)<br>
<br>
then do 'python setup.py build' again, repeat the tests, and attach the<br>
extra output from the ones that fail with [ERROR].<br><font class="Apple-style-span" color="#888888"><br></font></blockquote><div><br></div><div>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.</div>
<div><br></div><div>Now only one thing fails</div><div><br></div><div><div>===============================================================================</div><div>[FAIL]: allmydata.test.test_client.Basic.test_reserved_4</div>
<div><br></div><div>Traceback (most recent call last):</div><div> File "/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/test/test_client.py", line 122, in test_reserved_4</div><div> 78*1000*1000*1000)</div>
<div> File "/Users/jtang/sandbox/allmydata-tahoe-1.8.0-r4803/src/allmydata/test/common_util.py", line 32, in failUnlessReallyEqual</div><div> self.failUnlessEqual(type(a), type(b), msg="a :: %r, b :: %r, %r" % (a, b, msg))</div>
<div>twisted.trial.unittest.FailTest: a :: 78000000000, b :: 78000000000L, None</div><div>not equal:</div><div>a = <type 'int'></div><div>b = <type 'long'></div><div><br></div><div>-------------------------------------------------------------------------------</div>
<div>Ran 828 tests in 311.771s</div><div><br></div><div>FAILED (skips=15, expectedFailures=3, failures=1, successes=809)</div></div><div><br></div><div><br></div><div>also I noticed this as well (I didn't spot this the first time I ran the tests)</div>
<div><br></div><div><div>running build_ext</div><div>/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</div>
<div> import os, md5, sys</div><div>/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</div>
<div> import sha</div><div>Traceback (most recent call last):</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/usage.py", line 241, in parseOptions</div>
<div> self.postOptions()</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/scripts/trial.py", line 293, in postOptions</div><div> self['reporter'] = self._loadReporterByName(self['reporter'])</div>
<div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/scripts/trial.py", line 279, in _loadReporterByName</div><div> for p in plugin.getPlugins(itrial.IReporter):</div>
<div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/plugin.py", line 200, in getPlugins</div><div> allDropins = getCache(package)</div><div>--- <exception caught here> ---</div>
<div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/plugin.py", line 179, in getCache</div><div> dropinPath.setContent(pickle.dumps(dropinDotCache))</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/filepath.py", line 623, in setContent</div>
<div> f = sib.open('w')</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python/filepath.py", line 433, in open</div><div> return open(self.path, mode+'b')</div>
<div>exceptions.IOError: [Errno 13] Permission denied: '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/plugins/dropin.cache.new'</div></div><div><br></div><div><br></div><div>it seems the tests or build wants to install something into my system and it obviously failed because I'm not running as root.</div>
<div><br></div><div><br></div><div>Hope the reporting above helps.</div><div><br></div><div><br></div><div>Jimmy.</div><div><br></div></div></div>