[ZODB-Dev] ZODB3-3.3.0b1 Failing Unit Tests

CLIFFORD ILKAY clifford_ilkay at dinamis.com
Wed Jun 16 03:31:23 EDT 2004


Hi,

I downloaded ZODB3-3.3.0b1 and after building with Python 2.3.4, it failed 
the unit tests. Actually, I had downloaded the current stable release as 
well and it too failed the tests, though not the same ones. The output of 
the tests for ZODB3-3.3.0b1 follow below the hashes. My configuration:

Mandrake 10 running kernel 2.4.25-2mdk
gcc 3.3.2-6mdk
glibc 2.3.3-10mdk
Python 2.3.4 installed from tarball in /usr/local/ as you can see below.
ZODB3-3.3.0b1

Regards,

Clifford Ilkay
Dinamis Corporation
3266 Yonge Street, Suite 1419
Toronto, Ontario
Canada M4N 3P6

Tel: 416-410-3326

#####################################################################

[cilkay at pluto ZODB3-3.3.0b1]$ /usr/local/bin/python test.py
Running unit tests from /home/cilkay/ZODB3-3.3.0b1/build
Failure in test checkLoadBefore (ZODB.tests.testFileStorage.FileStorageTests)
Traceback (most recent call last):
   File 
"/home/cilkay/ZODB3-3.3.0b1/build/lib.linux-i686-2.3/ZODB/tests/RevisionStorage.py", 
line 62, in checkLoadBefore
     assert prev < middle < cur  # else the snooze() trick failed
AssertionError

Failure in test checkPackJustOldRevisions 
(ZODB.tests.testFileStorage.FileStorageTests)
Traceback (most recent call last):
   File 
"/home/cilkay/ZODB3-3.3.0b1/build/lib.linux-i686-2.3/ZODB/tests/PackableStorage.py", 
line 400, in checkPackJustOldRevisions
     raises(KeyError, self._storage.loadSerial, oid, revid1)
   File "/usr/local/lib/python2.3/unittest.py", line 295, in failUnlessRaises
     raise self.failureException, excName
AssertionError: KeyError

======================================================================
FAIL: checkLoadBefore (ZODB.tests.testFileStorage.FileStorageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/cilkay/ZODB3-3.3.0b1/build/lib.linux-i686-2.3/ZODB/tests/RevisionStorage.py", 
line 62, in checkLoadBefore
     assert prev < middle < cur  # else the snooze() trick failed
AssertionError

======================================================================
FAIL: checkPackJustOldRevisions (ZODB.tests.testFileStorage.FileStorageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/cilkay/ZODB3-3.3.0b1/build/lib.linux-i686-2.3/ZODB/tests/PackableStorage.py", 
line 400, in checkPackJustOldRevisions
     raises(KeyError, self._storage.loadSerial, oid, revid1)
   File "/usr/local/lib/python2.3/unittest.py", line 295, in failUnlessRaises
     raise self.failureException, excName
AssertionError: KeyError

----------------------------------------------------------------------
Ran 1344 tests in 260.288s

FAILED (failures=2)
[cilkay at pluto ZODB3-3.3.0b1]$




More information about the ZODB-Dev mailing list