Message159677
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. |
|
Date |
User |
Action |
Args |
2012-04-30 08:30:40 | neologix | set | recipients:
+ neologix, pitrou |
2012-04-30 08:30:40 | neologix | set | messageid: <1335774640.36.0.246153891142.issue14698@psf.upfronthosting.co.za> |
2012-04-30 08:30:39 | neologix | link | issue14698 messages |
2012-04-30 08:30:39 | neologix | create | |
|