[tahoe-dev] [mm] unparseable directory

Ben Laurie ben at links.org
Mon May 5 21:49:03 PDT 2008


zooko wrote:
> On May 5, 2008, at 11:23 AM, zooko wrote:
> 
>> Could you use the wui (point your web browser to http://
>> 127.0.0.1:8124 ) and look at the "recent uploads and downloads" page
>> and see which shares from which servers were used for fetching that
>> mutable file?
>>
>> Also, could you paste the output of "bin/tahoe --version"?
> 
> Oh, one more thing: did you run the self-tests?
> 
> As mentioned in:
> 
> http://allmydata.org/source/tahoe/trunk/docs/install.html
> 
> You can run "make test" to run the Tahoe tests.  For the cryptography  
> library, which does SHA-256, AES, and RSA, you are using the  
> pycryptopp-0.3.0 which came bundled in the misc/dependencies  
> directory (unless you separately installed a different pycryptopp):

Could be.

self-tests on what I built ends like this:

[TODO]: allmydata.test.test_nevow.Web.test_read_default_css

Reason: 'This patch that we submitted to Nevow fixes this issue: 
http://www.divmod.org/trac/ticket/2527'
Traceback (most recent call last):
   File 
"/disk1.1/usr/home/ben/darcs-work/tahoe/src/allmydata/test/test_nevow.py", 
line 10, in test_read_default_css
     webform.defaultCSS.openForReading()
   File 
"/disk1.1/usr/home/ben/darcs-work/tahoe/support/lib/python2.5/site-packages/Nevow-0.9.18-py2.5.egg/nevow/static.py", 
line 264, in openForReading
     return self.fp.open()
   File 
"/usr/local/lib/python2.5/site-packages/twisted/python/filepath.py", 
line 213, in open
     return open(self.path, mode+'b')
exceptions.IOError: [Errno 2] No such file or directory: 
'/disk1.1/usr/home/ben/darcs-work/tahoe/support/lib/python2.5/site-packages/Nevow-0.9.18-py2.5.egg/formless/freeform-default.css'
===============================================================================
[FAIL]: allmydata.test.test_system.SystemTest.test_vdrive

Traceback (most recent call last):
   File 
"/disk1.1/usr/home/ben/darcs-work/tahoe/src/allmydata/test/test_system.py", 
line 1549, in _check_ls_file
     self.failUnlessEqual(out.strip(), "112 subdir1/mydata567")
twisted.trial.unittest.FailTest: 
'http://localhost:52722/uri/URI%3ADIR2%3Awr63gnyf2rhbl354ziba6tma7i%3An377tmj4xgef5sy2h3ois5bwfc445pl4efm4fi2u3a4pwbygaeaa/subdir1/mydata567?t=json\n 
       112 subdir1/mydata567' != '112 subdir1/mydata567'
-------------------------------------------------------------------------------
Ran 350 tests in 257.216s

FAILED (expectedFailures=1, failures=1, successes=348)

> 
> http://allmydata.org/trac/tahoe/browser/misc/dependencies/?rev=2514
> 
> You can untar that and run "python ./setup.py test" to run the  
> pycryptopp self-tests.

Well, here lies the problem, I would say:

======================================================================
FAIL: test_encrypt_zeroes (pycryptopp.test.test_aes.AES128)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/tmp/cpp-test/pycryptopp-0.3.0/pycryptopp/test/test_aes.py", 
line 53, in test_encrypt_zeroes
     self.failUnlessEqual(self.enc0, b2a_hex(ct))
AssertionError: '66e94bd4ef8a2c3b884cfa59ca342b2e' != 
'b9f316a973ed7213a8dbfdcc69967d05'

======================================================================
FAIL: test_encrypt_zeroes_in_two_parts (pycryptopp.test.test_aes.AES128)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/tmp/cpp-test/pycryptopp-0.3.0/pycryptopp/test/test_aes.py", 
line 63, in test_encrypt_zeroes_in_two_parts
     self.failUnlessEqual(self.enc0, b2a_hex(ct1+ct2))
AssertionError: '66e94bd4ef8a2c3b884cfa59ca342b2e' != 
'b9f316a973ed7213a8dbfdcc69967d05'

======================================================================
FAIL: test_encrypt_zeroes (pycryptopp.test.test_aes.AES256)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/tmp/cpp-test/pycryptopp-0.3.0/pycryptopp/test/test_aes.py", 
line 34, in test_encrypt_zeroes
     self.failUnlessEqual(self.enc0, b2a_hex(ct))
AssertionError: 
'dc95c078a2408989ad48a21492842087530f8afbc74536b9a963b4f1c4cb738b' != 
'b8e22daa6261ee3cf7b99bc1dcdb4100d74f1a7184c994018e4c81329bb16033'

======================================================================
FAIL: test_encrypt_zeroes_in_two_parts (pycryptopp.test.test_aes.AES256)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/tmp/cpp-test/pycryptopp-0.3.0/pycryptopp/test/test_aes.py", 
line 45, in test_encrypt_zeroes_in_two_parts
     self.failUnlessEqual(self.enc0, b2a_hex(ct1+ct2))
AssertionError: 
'dc95c078a2408989ad48a21492842087530f8afbc74536b9a963b4f1c4cb738b' != 
'b8e22daa6261ee3cf7b99bc1dcdb4100d74f1a7184c994018e4c81329bb16033'

----------------------------------------------------------------------
Ran 45 tests in 2.595s

FAILED (failures=4)

> 
> Likewise with zfec, also bundled, also using "python ./setup.py test"  
> to run its own tests.
> 
> Regards,
> 
> Zooko
> 
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at allmydata.org
> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
> 
> 


-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff


More information about the tahoe-dev mailing list