New submission from Charles-François Natali <neolo...@free.fr>: 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. ---------- components: Tests files: test_no_pwd.diff keywords: buildbot, easy, needs review, patch messages: 159677 nosy: neologix, pitrou priority: normal severity: normal status: open title: test_posix failures - getpwduid()/initgroups()/getgroups() type: behavior versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file25420/test_no_pwd.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14698> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com