[Zope3-dev] Win32 Tests - Zope 3 - Not OK :-(

Tim Peters tim@zope.com
Sun, 9 Mar 2003 22:04:36 -0500


> Python Version:2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)]
>
> Modules included:
> Zope3 (HEAD)
>
> Running tests from D:\ZopeTests\sandbox\Zope3
> CRITICAL:txn:Transaction failed during second phase of two-phase commmit
> Traceback (most recent call last):
>   File "D:\ZopeTests\sandbox\Zope3\src\transaction\manager.py",
> line 44, in _finishCommit
>     r.commit(txn)
>   File
> "D:\ZopeTests\sandbox\Zope3\src\transaction\tests\test_txn.py",
> line 41, in commit
>     raise RuntimeError
> RuntimeError
> CRITICAL:txn:Transaction failed during second phase of two-phase commmit
> Traceback (most recent call last):
>   File "D:\ZopeTests\sandbox\Zope3\src\transaction\manager.py",
> line 44, in _finishCommit
>     r.commit(txn)
>   File
> "D:\ZopeTests\sandbox\Zope3\src\transaction\tests\test_txn.py",
> line 41, in commit
>     raise RuntimeError
> RuntimeError
> ----------------------------------------------------------------------
> Ran 3530 tests in 276.016s
>
> OK

It really sucks that unittest doesn't consider thread deaths to be failures.

Ignoring that <wink>, here are the tests that are failing on Windows:

testCommitFailure (transaction.tests.test_txn.SimpleTxnTests) ...
CRITICAL:txn:Transaction failed during second phase of two-phase commmit
Traceback (most recent call last):
  File "C:\Code\Zope3\src\transaction\manager.py", line 44, in _finishCommit
    r.commit(txn)
  File "C:\Code\Zope3\src\transaction\tests\test_txn.py", line 41, in commit
    raise RuntimeError
RuntimeError
ok

and


testCommitFailure (transaction.tests.test_txn.ThreadedTxnTests) ...
CRITICAL:txn:Transaction failed during second phase of two-phase commmit
Traceback (most recent call last):
  File "C:\Code\Zope3\src\transaction\manager.py", line 44, in _finishCommit
    r.commit(txn)
  File "C:\Code\Zope3\src\transaction\tests\test_txn.py", line 41, in commit
    raise RuntimeError
RuntimeError
ok