| msg310930 - (view) |
Author: Xiang Zhang (xiang.zhang) *  |
Date: 2018-01-28 08:54 |
| test_threading.test_set_and_clear fails in AppVeyor CI. But seems it not stable since rerun succeeds. See https://ci.appveyor.com/project/python/cpython/build/3.6build11314/job/ussor83yaglx5whb. FAIL: test_set_and_clear (test.test_threading.EventTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\projects\cpython\lib\test\lock_tests.py", line 407, in test_set_and_clear self.assertEqual(results, [True] * N) AssertionError: Lists differ: [False, False, False, True, True] != [True, True, True, True, True] First differing element 0: False True - [False, False, False, True, True] + [True, True, True, True, True] |
|
|
| msg321896 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2018-07-18 16:59 |
| Another failure on Python 3.6 on my PR 8330: https://ci.appveyor.com/project/python/cpython/build/3.6build19434/job/n24xudh8egp8i78j ====================================================================== FAIL: test_set_and_clear (test.test_threading.EventTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\projects\cpython\lib\test\lock_tests.py", line 417, in test_set_and_clear self.assertEqual(results, [True] * N) AssertionError: Lists differ: [False, False, False, True, True] != [True, True, True, True, True] First differing element 0: False True - [False, False, False, True, True] + [True, True, True, True, True] ---------------------------------------------------------------------- |
|
|
| msg321899 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2018-07-18 17:04 |
| Python 3.7 and master are likely impacted as well since Lib/test/lock_tests.py is the same file in 3.6, 3.7 and master branches. |
|
|
| msg321901 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2018-07-18 17:08 |
| The test rely on time. Using smaller timeouts, I'm able to reproduce the bug on Linux as well. |
|
|
| msg321940 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2018-07-19 08:50 |
| New changeset 81950495ba2c36056e0ce48fd37d514816c26747 by Victor Stinner in branch 'master': bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331) https://github.com/python/cpython/commit/81950495ba2c36056e0ce48fd37d514816c26747 |
|
|
| msg321942 - (view) |
Author: miss-islington (miss-islington) |
Date: 2018-07-19 09:27 |
| New changeset 339e0c1296c61c9dbc1f8f880c5c668bf4007e5e by Miss Islington (bot) in branch '3.7': bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331) https://github.com/python/cpython/commit/339e0c1296c61c9dbc1f8f880c5c668bf4007e5e |
|
|
| msg321944 - (view) |
Author: miss-islington (miss-islington) |
Date: 2018-07-19 09:44 |
| New changeset 2fe1c6b386e7bbb8b647636643cc637795b99123 by Miss Islington (bot) in branch '3.6': bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331) https://github.com/python/cpython/commit/2fe1c6b386e7bbb8b647636643cc637795b99123 |
|
|
| msg321951 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2018-07-19 11:53 |
| I changed the timeout in 3.6, 3.7 and master branches. The failure should now be much less likely. Python 2.7 doesn't have the unit test. |
|
|
| msg365238 - (view) |
Author: Kubilay Kocak (koobs)  |
Date: 2020-03-29 00:02 |
| Seeing the following on the freebsd CURRENT bb: ====================================================================== FAIL: test_set_and_clear (test.test_threading.EventTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/buildbot/python/3.8.koobs-freebsd-9e36.nondebug/build/Lib/test/lock_tests.py", line 418, in test_set_and_clear self.assertEqual(results, [True] * N) AssertionError: Lists differ: [False, False, False, True, True] != [True, True, True, True, True] First differing element 0: False True - [False, False, False, True, True] + [True, True, True, True, True] ---------------------------------------------------------------------- Ran 168 tests in 29.254s FAILED (failures=1) test test_threading failed Full log attached |
|
|