[Zope3-dev] MinimalMemoryStorage test failure in Zope 3

Tim Peters tim@zope.com
Tue, 24 Jun 2003 15:31:34 -0400


[Tim]
> [testPackWhileWriting shows two intermittent failure modes when
>  running on top of MinimalMemoryStorage]
>
> FYI, I also see a different intermittent failure when running this
> test via ZEO on FileStorage:
>
> ======================================================================
> ERROR: testPackWhileWriting (<class
> 'zodb.zeo.tests.test_zeo.FileStorageTests'>)
>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\Code\Zope3\src\zodb\storage\tests\packable.py", line 266,
>     in testPackWhileWriting db.pack(packt)
>   File "C:\Code\Zope3\src\zodb\db.py", line 323, in pack
>   self._storage.pack(t) File "C:\Code\Zope3\src\zodb\zeo\client.py",
>     line 774, in pack return self._server.pack(t, wait)
>   File "C:\Code\Zope3\src\zodb\zeo\stubs.py", line 128, in pack
>     self.rpc.call('pack', t, wait)
>   File "C:\Code\Zope3\src\zodb\zeo\zrpc\connection.py", line 355, in
>     call raise inst # error raised by server
> CorruptedError:
> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\~13568-926:31903:transaction with
> checkpoint flag set

This one may be fixed now.  If so, the FileStorage fix won't help the
MinimalMemoryStorage failures.

BTW, anyone know how to get logging to a file to work under Zope3 when
running the *tests* (not when running z3.py)?