This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年04月30日 08:30 by neologix, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| test_no_pwd.diff | neologix, 2012年04月30日 08:30 | review | ||
| Messages (2) | |||
|---|---|---|---|
| msg159677 - (view) | Author: Charles-François Natali (neologix) * (Python committer) | Date: 2012年04月30日 08:30 | |
test_posix is consistently failing on the bigmem buildbot: http://python.org/dev/buildbot/all/builders/AMD64 debian bigmem 3.x/builds/291/steps/test/logs/stdio """ ====================================================================== ERROR: test_getgrouplist (test.test_posix.PosixTester) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmpfs/martin.vonloewis/3.x.loewis-parallel2/build/Lib/test/test_posix.py", line 633, in test_getgrouplist set(posix.getgrouplist(pwd.getpwuid(os.getuid())[0], KeyError: 'getpwuid(): uid not found: 5025' ====================================================================== ERROR: test_initgroups (test.test_posix.PosixTester) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmpfs/martin.vonloewis/3.x.loewis-parallel2/build/Lib/test/test_posix.py", line 111, in test_initgroups name = pwd.getpwuid(posix.getuid()).pw_name KeyError: 'getpwuid(): uid not found: 5025' """ I assume that's because the buildbot tests run with a UID without any corresponding pwd entry (which is legit). The attached patch should fix thoe failures, by making the tests more robust. |
|||
| msg159811 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年05月02日 18:05 | |
New changeset 45f0272f5296 by Charles-François Natali in branch '2.7': Issue #14698: Make test_posix more robust when the current UID doesn't have an http://hg.python.org/cpython/rev/45f0272f5296 New changeset 93424b084d08 by Charles-François Natali in branch '3.2': Issue #14698: Make test_posix more robust when the current UID doesn't have an http://hg.python.org/cpython/rev/93424b084d08 New changeset 982c30064bc9 by Charles-François Natali in branch 'default': Issue #14698: Make test_posix more robust when the current UID doesn't have an http://hg.python.org/cpython/rev/982c30064bc9 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58903 |
| 2012年06月25日 19:20:31 | neologix | set | status: open -> closed resolution: fixed stage: resolved |
| 2012年05月02日 18:05:33 | python-dev | set | nosy:
+ python-dev messages: + msg159811 |
| 2012年04月30日 08:30:39 | neologix | create | |