Issue 19599: Failure of test_async_timeout() of test_multiprocessing_spawn: TimeoutError not raised (original) (raw)

Created on 2013-11-15 01:01 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
koobs-freebsd9-py27-build116.log koobs,2013-11-21 02:22
koobs-freebsd10-py27-build236.log koobs,2013-11-21 02:34
Messages (9)
msg202914 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-11-15 01:01
http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/1716/steps/test/logs/stdio and http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/7529/steps/test/logs/stdio ====================================================================== FAIL: test_async_timeout (test.test_multiprocessing_spawn.WithManagerTestPool) ---------------------------------------------------------------------- Traceback (most recent call last): File "E:\Data\buildslave\cpython\3.x.snakebite-win2k3r2sp2-x86\build\lib\test\_test_multiprocessing.py", line 1726, in test_async_timeout self.assertRaises(multiprocessing.TimeoutError, get, timeout=TIMEOUT2) AssertionError: TimeoutError not raised by <test._test_multiprocessing.TimingWrapper object at 0x09FE0930>
msg202988 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-11-16 00:15
Seen on another buildbot. http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6809/steps/test/logs/stdio ====================================================================== FAIL: test_async_timeout (test.test_multiprocessing_fork.WithProcessesTestPool) ---------------------------------------------------------------------- Traceback (most recent call last): File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/_test_multiprocessing.py", line 1726, in test_async_timeout self.assertRaises(multiprocessing.TimeoutError, get, timeout=TIMEOUT2) AssertionError: TimeoutError not raised by <test._test_multiprocessing.TimingWrapper object at 0xffffdd7ffda3be90>
msg203204 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-17 17:48
New changeset ba7d53b5f3de by Richard Oudkerk in branch '2.7': Issue #19599: Increase sleep period. http://hg.python.org/cpython/rev/ba7d53b5f3de New changeset 7d6a9e7060c7 by Richard Oudkerk in branch '3.3': Issue #19599: Increase sleep period. http://hg.python.org/cpython/rev/7d6a9e7060c7
msg203216 - (view) Author: Richard Oudkerk (sbt) * (Python committer) Date: 2013-11-17 22:14
Hopefully the applied change will fix failure (or at least make this much less likey).
msg203560 - (view) Author: Kubilay Kocak (koobs) (Python triager) Date: 2013-11-21 02:22
2.7 builds are failing on koobs-freebsd9 buildbot since ba7d53b5f3de ------------------------ test_multiprocessing [74777 refs] test test_multiprocessing failed -- Traceback (most recent call last): File "/usr/home/buildbot/python/2.7.koobs-freebsd9/build/Lib/test/test_multiprocessing.py", line 1194, in test_terminate self.assertTrue(join.elapsed < 0.2) AssertionError: False is not true 1 test failed: test_multiprocessing ------------------------ Full log of build #116 attached.
msg203563 - (view) Author: Kubilay Kocak (koobs) (Python triager) Date: 2013-11-21 02:34
koobs-freebsd10 (2.7) is also seeing identical test failures since the change (slightly more intermittent than freebsd9) Is the increased sleep period now bumping against a test timing threshold (0.2) ? ====================================================================== FAIL: test_terminate (test.test_multiprocessing.WithThreadsTestPool) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/buildbot/koobs-freebsd10/2.7.koobs-freebsd10/build/Lib/test/test_multiprocessing.py", line 1194, in test_terminate self.assertTrue(join.elapsed < 0.2) AssertionError: False is not true ---------------------------------------------------------------------- Full build log of #236 attached Adding 3.3 and 2.7 to versions since changes were backported
msg203603 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-11-21 10:24
> 2.7 builds are failing on koobs-freebsd9 buildbot since ba7d53b5f3de I reopen the issue.
msg203653 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-21 16:36
New changeset 086865ceefe1 by Richard Oudkerk in branch '2.7': Issue #19599: Use a separate pool for test_terminate(). http://hg.python.org/cpython/rev/086865ceefe1
msg203726 - (view) Author: Kubilay Kocak (koobs) (Python triager) Date: 2013-11-22 07:14
@Richard, reporting all green on koobs-freebsd{9,10} 2.7 since 086865ceefe1 Thank you! :)
History
Date User Action Args
2022-04-11 14:57:53 admin set github: 63798
2013-11-22 10:33:41 sbt set status: open -> closedresolution: fixed
2013-11-22 07:14:30 koobs set messages: +
2013-11-21 16:36:48 python-dev set messages: +
2013-11-21 10:24:58 vstinner set status: closed -> openresolution: fixed -> (no value)messages: +
2013-11-21 02:34:09 koobs set files: + koobs-freebsd10-py27-build236.logmessages: + versions: + Python 2.7, Python 3.3
2013-11-21 02:22:48 koobs set files: + koobs-freebsd9-py27-build116.lognosy: + koobsmessages: +
2013-11-17 22:14:07 sbt set status: open -> closedtype: behaviormessages: + resolution: fixedstage: resolved
2013-11-17 17:48:41 python-dev set nosy: + python-devmessages: +
2013-11-16 00:15:19 vstinner set messages: +
2013-11-15 01:01:20 vstinner create