Issue 13902: Sporadic test_threading failure on FreeBSD 6.4 buildbot (original) (raw)

Issue13902

Created on 2012-01-29 13:53 by nadeem.vawda, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
freebsd_tls_spurious.diff neologix,2012-03-24 10:33 review
Messages (5)
msg152226 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-01-29 13:53
http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%206.4%203.x/builds/2206/steps/test/logs/stdio FAIL: test_6_daemon_threads (test.test_threading.ThreadJoinOnShutdown) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/db3l/buildarea/3.x.bolen-freebsd/build/Lib/test/test_threading.py", line 675, in test_6_daemon_threads self.assertFalse(err) AssertionError: b'[52879 refs]\nT' is not false
msg156689 - (view) Author: Charles-François Natali (neologix) * (Python committer) Date: 2012-03-24 10:33
And here's the full message: """ ====================================================================== FAIL: test_6_daemon_threads (test.test_threading.ThreadJoinOnShutdown) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/db3l/buildarea/3.2.bolen-freebsd/build/Lib/test/test_threading.py", line 667, in test_6_daemon_threads self.assertFalse(err) AssertionError: b'[46830 refs]\nThread 85d0600 has exited with leftover thread-specific data after 4 destructor iterations' is not false """ It's actually a bug in FreeBSD < 7 pthread implementation, see http://lists.freebsd.org/pipermail/freebsd-threads/2009-June/004563.html The patch attached simply skips this test on FreeBSD 6 (like many other similar tests do).
msg156693 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-03-24 13:26
Patch looks good to me.
msg156716 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-24 19:37
New changeset 2456e4e69cd0 by Charles-François Natali in branch '3.2': Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due http://hg.python.org/cpython/rev/2456e4e69cd0 New changeset c1191cbc7b37 by Charles-François Natali in branch 'default': Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due http://hg.python.org/cpython/rev/c1191cbc7b37
msg156742 - (view) Author: Charles-François Natali (neologix) * (Python committer) Date: 2012-03-25 08:38
Should be fixed now.
History
Date User Action Args
2022-04-11 14:57:26 admin set github: 58110
2012-03-25 08:38:14 neologix set status: open -> closedresolution: fixedmessages: + stage: needs patch -> resolved
2012-03-24 19:37:44 python-dev set nosy: + python-devmessages: +
2012-03-24 13:26:48 nadeem.vawda set messages: +
2012-03-24 10:33:06 neologix set files: + freebsd_tls_spurious.diffnosy: + neologixmessages: + keywords: + patch
2012-01-29 13:53:30 nadeem.vawda create