[ZODB-Dev] zodb test failures

baude ranger at gentoo.org
Tue Jan 19 10:14:51 EST 2010


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:
    ''




More information about the ZODB-Dev mailing list