I see these failures on x86 and PowerPC 32-bit Linux; Gentoo Linux to be specific. Others on x86 are able to successfully pass tests so I am suspecting by luck they have some dependency that I don't. If I can identify the dependency and pass tests, I can report the missing dep to the Gentoo zope maintainers so it can get fixed. So I am looking for a clue from anyone more familiar with these tests.
-brent On Tue, 2010-01-19 at 11:14 -0500, Jim Fulton wrote: > What platform? > > Jim > > On Tue, Jan 19, 2010 at 10:14 AM, baude <ran...@gentoo.org> wrote: > > I have been trying to test zodb and post-compilation I am having > > failures on some of the tests. I have attached the failed tests below > > to see if anyone recognizes these tests. My belief is that I am missing > > some dependency to complete these tests. I see these failures on x86 > > and PowerPC 32-bit. > > > > > > As follows: > > > > testRedo (ZODB.tests.testblob.ClientStorageSharedBlobsBlobUndoTests) ... > > ok > > testRedoOfCreation > > (ZODB.tests.testblob.ClientStorageSharedBlobsBlobUndoTests) ... ok > > testUndo (ZODB.tests.testblob.ClientStorageSharedBlobsBlobUndoTests) ... > > ok > > testUndoAfterConsumption > > (ZODB.tests.testblob.ClientStorageSharedBlobsBlobUndoTests) ... ok > > testUndoWithoutPreviousVersion > > (ZODB.tests.testblob.ClientStorageSharedBlobsBlobUndoTests) ... ok > > > > ====================================================================== > > FAIL: Doctest: blob_transaction.txt > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/lib/python2.6/site-packages/zope/testing/doctest.py", line > > 2336, in runTest > > raise self.failureException(self.format_failure(new.getvalue())) > > DocTestFailureException: Failed doctest test for blob_transaction.txt > > File > > "/var/tmp/portage/net-zope/zodb-3.9.4/work/ZODB3-3.9.4/src/ZODB/tests/blob_transaction.txt", > > line 0 > > > > ---------------------------------------------------------------------- > > File > > "/var/tmp/portage/net-zope/zodb-3.9.4/work/ZODB3-3.9.4/src/ZODB/tests/blob_transaction.txt", > > line 357, in blob_transaction.txt > > Failed example: > > open(blob.committed(), 'w') # doctest: +ELLIPSIS > > Expected: > > Traceback (most recent call last): > > ... > > IOError: ... > > Got: > > <open file > > '/var/tmp/portage/net-zope/zodb-3.9.4/temp/testpPk4eI/blobs/5/0.038383e9badb68bb.blob', > > mode 'w' at 0xae81cf0> > > ---------------------------------------------------------------------- > > File > > "/var/tmp/portage/net-zope/zodb-3.9.4/work/ZODB3-3.9.4/src/ZODB/tests/blob_transaction.txt", > > line 401, in blob_transaction.txt > > Failed example: > > open(blob_storage.loadBlob(blob._p_oid, oldserial)).read() > > Expected: > > "I'm a happy blob." > > Got: > > '' > > > > > > ====================================================================== > > FAIL: Doctest: blob_transaction.txt > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/lib/python2.6/site-packages/zope/testing/doctest.py", line > > 2336, in runTest > > raise self.failureException(self.format_failure(new.getvalue())) > > DocTestFailureException: Failed doctest test for blob_transaction.txt > > File > > "/var/tmp/portage/net-zope/zodb-3.9.4/work/ZODB3-3.9.4/src/ZODB/tests/blob_transaction.txt", > > line 0 > > > > ---------------------------------------------------------------------- > > File > > "/var/tmp/portage/net-zope/zodb-3.9.4/work/ZODB3-3.9.4/src/ZODB/tests/blob_transaction.txt", > > line 357, in blob_transaction.txt > > Failed example: > > open(blob.committed(), 'w') # doctest: +ELLIPSIS > > Expected: > > Traceback (most recent call last): > > ... > > IOError: ... > > Got: > > <open file > > '/var/tmp/portage/net-zope/zodb-3.9.4/temp/testu06FAK/blobs/0x00/0x00/0x00/0x00/0x00/0x00/0x00/0x05/0x038383ea15775d77.blob', > > mode 'w' at 0xae91c00> > > ---------------------------------------------------------------------- > > File > > "/var/tmp/portage/net-zope/zodb-3.9.4/work/ZODB3-3.9.4/src/ZODB/tests/blob_transaction.txt", > > line 401, in blob_transaction.txt > > Failed example: > > open(blob_storage.loadBlob(blob._p_oid, oldserial)).read() > > Expected: > > "I'm a happy blob." > > Got: > > '' > > > > > > _______________________________________________ > > For more information about ZODB, see the ZODB Wiki: > > http://www.zope.org/Wikis/ZODB/ > > > > ZODB-Dev mailing list - ZODB-Dev@zope.org > > https://mail.zope.org/mailman/listinfo/zodb-dev > > > > > _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev