[Zope-tests] FAILED (errors=1) : Zope-2_7-branch Python-2.4.2 : Linux

Zope Unit Tests zope-tests at epy.co.at
Sat Oct 29 23:37:38 EDT 2005


Zope Unit Tests : FAILED (errors=1)
Zope-2_7-branch Python-2.4.2 : Linux

Running /usr/local/python2.4/bin/python test.py
/usr/local/python2.4/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
Script (Python):filepath:1: DeprecationWarning: integer argument expected, got float
Exception in thread Thread-26:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/tests/PackableStorage.py", line 562, in run
    get_transaction().commit()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/Transaction.py", line 240, in commit
    self._commit_begin(jars, subjars, subtransaction)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/Transaction.py", line 348, in _commit_begin
    jar.tpc_begin(self)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/Connection.py", line 729, in tpc_begin
    self._storage.tpc_begin(transaction)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/BaseStorage.py", line 168, in tpc_begin
    self._clear_temp()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 1024, in _clear_temp
    self._tfile.seek(0)
ValueError: I/O operation on closed file

Exception in thread Thread-25:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/tests/PackableStorage.py", line 561, in run
    self.root[j % 10].value = MinPO(j)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/Connection.py", line 597, in setstate
    p, serial = self._storage.load(oid, self._version)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 697, in load
    return self._load(oid, version, self._index, self._file)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 668, in _load
    file.seek(pos)
ValueError: I/O operation on closed file

Exception in thread Thread-27:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/tests/PackableStorage.py", line 561, in run
    self.root[j % 10].value = MinPO(j)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/Connection.py", line 597, in setstate
    p, serial = self._storage.load(oid, self._version)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 697, in load
    return self._load(oid, version, self._index, self._file)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 668, in _load
    file.seek(pos)
ValueError: I/O operation on closed file

Exception in thread Thread-28:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/tests/PackableStorage.py", line 561, in run
    self.root[j % 10].value = MinPO(j)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/Connection.py", line 597, in setstate
    p, serial = self._storage.load(oid, self._version)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 697, in load
    return self._load(oid, version, self._index, self._file)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 668, in _load
    file.seek(pos)
ValueError: I/O operation on closed file

======================================================================
ERROR: checkPackNowWhileWriting (ZODB.tests.testFileStorage.FileStorageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/tests/PackableStorage.py", line 437, in checkPackNowWhileWriting
    self._PackWhileWriting(pack_now=1)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/tests/PackableStorage.py", line 412, in _PackWhileWriting
    db.pack(time.time())
  File "/autotest/temp/python24-zope27/lib/python/ZODB/DB.py", line 555, in pack
    try: self._storage.pack(t,referencesf)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/FileStorage.py", line 1582, in pack
    opos = p.pack()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/fspack.py", line 700, in pack
    self.gc.findReachable()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/fspack.py", line 455, in findReachable
    self.buildPackIndex()
  File "/autotest/temp/python24-zope27/lib/python/ZODB/fspack.py", line 475, in buildPackIndex
    self.checkTxn(th, pos)
  File "/autotest/temp/python24-zope27/lib/python/ZODB/fspack.py", line 169, in checkTxn
    self.fail(pos, "transaction with checkpoint flag set")
  File "/autotest/temp/python24-zope27/lib/python/ZODB/fspack.py", line 161, in fail
    raise CorruptedError(s)
CorruptedError: FileStorageTests.fs:27752:transaction with checkpoint flag set

----------------------------------------------------------------------
Ran 2531 tests in 239.530s

FAILED (errors=1)


More information about the Zope-tests mailing list