Message68136
I made a copy of test_multiprocessing.py (to test_mp.py) and basically
removed all test classes, except _TestCondition. In it, I commented all
test methods except test_notify_all. When run with make test
TESTOPTS="-v test_mp" there's the lockups every few runs, but I also got
(only three times in 40 or so runs so far):
9:57|paul@tabu:~/c/py3k-svn> make test TESTOPTS="-v test_mp"
Failed to find the necessary bits to build these modules:
_gestalt
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.
find ./Lib -name '*.py[co]' -print | xargs rm -f
./python -E -bb ./Lib/test/regrtest.py -v test_mp
test_mp
test_notify_all (test.test_mp.WithProcessesTestCondition) ... ok
test_notify_all (test.test_mp.WithThreadsTestCondition) ... ok
test_notify_all (test.test_mp.WithManagerTestCondition) ... ok
----------------------------------------------------------------------
Ran 3 tests in 1.087s
OK
1 test OK.
CAUTION: stdout isn't compared in verbose mode:
a test that passes in verbose mode may fail without it.
./python -E -bb ./Lib/test/regrtest.py -v test_mp
test_mp
test_notify_all (test.test_mp.WithProcessesTestCondition) ... ok
test_notify_all (test.test_mp.WithThreadsTestCondition) ... ok
test_notify_all (test.test_mp.WithManagerTestCondition) ... Exception in
thread Thread-28:
Traceback (most recent call last):
File "/home/paul/c/py3k-svn/Lib/threading.py", line 492, in
_bootstrap_inner
self.run()
File "/home/paul/c/py3k-svn/Lib/threading.py", line 447, in run
self._target(*self._args, **self._kwargs)
File "/home/paul/c/py3k-svn/Lib/test/test_mp.py", line 208, in f
cond.wait(timeout)
File "/home/paul/c/py3k-svn/Lib/multiprocessing/managers.py", line
973, in wait
return self._callmethod('wait', (timeout,))
File "/home/paul/c/py3k-svn/Lib/multiprocessing/managers.py", line
748, in _callmethod
raise convert_to_error(kind, result)
RuntimeError: cannot wait on un-aquired lock |
|
Date |
User |
Action |
Args |
2008-06-13 07:59:12 | paulmelis | set | spambayes_score: 0.00191417 -> 0.0019141659 recipients:
+ paulmelis, gvanrossum, barry, donmez, roudkerk, benjamin.peterson, jnoller |
2008-06-13 07:59:11 | paulmelis | set | spambayes_score: 0.00191417 -> 0.00191417 messageid: <1213343951.49.0.46137852329.issue3088@psf.upfronthosting.co.za> |
2008-06-13 07:59:10 | paulmelis | link | issue3088 messages |
2008-06-13 07:59:09 | paulmelis | create | |
|