Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548164 - dev-lang/python-2.7.9-r1 fails tests in test_thread.py / AssertionError: 'Traceback' not found in 'Unhandled exception in thread started by <function task at 0x7fd5b8933f50>\n'
Summary: dev-lang/python-2.7.9-r1 fails tests in test_thread.py / AssertionError: 'Tr...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 17:33 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-04-21 21:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo,4.91 KB, text/plain)
2015-04-29 17:33 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
build.log (build.log,209.71 KB, text/x-log)
2015-04-29 17:35 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-04-29 17:33:58 UTC
Created attachment 402240 [details]
emerge --info

[338/398] test_thread
test test_thread failed -- Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.7.9-r1/work/Python-2.7.9/Lib/test/test_thread.py", line 150, in test_save_exception_state_on_error
    self.assertIn("Traceback", stderr.getvalue())
AssertionError: 'Traceback' not found in 'Unhandled exception in thread started by <function task at 0x7fd5b8933f50>\n'


emerge -pqv '=dev-lang/python-2.7.9-r1::gentoo'
[ebuild   R   ] dev-lang/python-2.7.9-r1  USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -hardened -sqlite -tk -wininst"

GCC-5.1 may be a factor (unverified) and any upgrade-to-fix solutions will be acceptable because the box in question is a VM expressly for isolating/hacking on 5.1 issues, ( to smoke out anything that needs to be stabilized before GCC 5.1 )
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-04-29 17:35:16 UTC
Created attachment 402242 [details]
build.log
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-04-29 20:19:22 UTC
A second attempt at building it the same way succeeded with the same configuration, so methinks its some sort of timing/race condition problem.

Otherwise looks unrelated to GCC.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-21 21:45:22 UTC
Mass closing of bugs reported against old versions of dev-lang/python.  If the problem still occurs with the current versions (i.e. newest in each visible slot), feel free to reopen.