Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376743 - dev-lang/python-2.7.2-r2 fails tests argparse asynchat httpservers
Summary: dev-lang/python-2.7.2-r2 fails tests argparse asynchat httpservers
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2011-07-28 14:48 UTC by Markus Walter
Modified: 2016-08-04 05:06 UTC (History)
1 user (show)

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


Attachments
build log (build-dev-lang--python-2.7.2-r2::gentoo-gcc-6.log,474.04 KB, text/plain)
2011-07-28 14:48 UTC, Markus Walter
Details
emerge --info (info.txt,5.37 KB, text/plain)
2011-07-28 14:49 UTC, Markus Walter
Details
diff patch (python-2.7.patch,5.44 KB, text/plain)
2011-11-11 07:26 UTC, Ian Delaney (RETIRED)
Details
build log with failing test socket (build.log,495.27 KB, text/plain)
2011-11-23 14:16 UTC, Markus Walter
Details
build log with failing tests socket and asynchat (build.log,495.27 KB, text/plain)
2011-11-23 14:21 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-07-28 14:48:37 UTC
Created attachment 281275 [details]
build log

python-2.7.2-r2 fails the three tests argparse, asynchat and httpservers on my system. I'm using hardened-gcc-4.6.1 on ~amd64. The tests fail in the same way if I use vanilla-gcc-4.6.1.

Trying python-2.7.1-r1 results in argparse succeeding and ansynchat, httpservers failing.

httpservers is probably the same as bug 350968.
Comment 1 Markus Walter 2011-07-28 14:49:43 UTC
Created attachment 281277 [details]
emerge --info
Comment 2 Mike Gilbert gentoo-dev 2011-10-25 02:47:39 UTC
*** Bug 388303 has been marked as a duplicate of this bug. ***
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-11-11 07:26:36 UTC
Created attachment 292177 [details]
diff patch

@ portage/dev-lang/python-2.7.2-r2/work/Python-2.7.2

test_argparse
test_asynchat
test_httpservers

archtester python # grep FEATURES /etc/make.conf
FEATURES="userpriv usersandbox .......

See comment 5 of Bug 376745.  The patch python-2.7.2-argparse.patch is a copy that patch, renamed.  You may ofcourse prefer to rename the patch to
python-argparse.patch so as to reduce /files by one files and ref it in ebuilds 2.7.2 and 3.2 by that name.
Comment 4 Markus Walter 2011-11-14 15:13:52 UTC
I still see a failure for asynchat with userspriv and usersandbox. I see currently additional failures for anydbm, socket and whichdb.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-11-18 15:25:08 UTC
Apparently the dbm test failure is known and has been fixed upstream, learned from the python library Arfrever. That accounts for anydbm and whichdb.
Well at least argparse is not showing up.  As for, socket. a build log required.  Must be some subtle use flag or background system setting.
Comment 6 Markus Walter 2011-11-23 14:15:40 UTC
Test socket is probably a failure specific to hardened.

It fails with 'Permission denied: /proc/modules' and I'm building with userpriv, where /proc is not accessible.
Comment 7 Markus Walter 2011-11-23 14:16:58 UTC
Created attachment 293513 [details]
build log with failing test socket
Comment 8 Markus Walter 2011-11-23 14:21:41 UTC
Created attachment 293515 [details]
build log with failing tests socket and asynchat

Sorry, the other build log was wrong (from sage-notebook).