[ZODB-Dev] zodb test failures
Patrick Strawderman
patrick at zope.com
Tue Jan 19 11:57:13 EST 2010
Are you running the test as root? :-)
On Jan 19, 2010, at 10:14 AM, baude 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 at zope.org
> https://mail.zope.org/mailman/listinfo/zodb-dev
More information about the ZODB-Dev
mailing list