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.

Author ronaldoussoren
Recipients belopolsky, flox, ixokai, l0nwlf, loewis, orsenthil, pitrou, r.david.murray, ronaldoussoren
Date 2010-11-16.13:44:41
SpamBayes Score 2.522122e-06
Marked as misclassified No
Message-id <1289915082.87.0.793994847322.issue7900@psf.upfronthosting.co.za>
In-reply-to
Content
Please explain how the failure can be reproduced.


I've done some testing on my machine using Apple's copy of python 2.6.1 (on OSX 10.6), which has the same getgroups implementation as the current heads of the active branches.


>>> os.getgroups()
[20, 402, 204, 61, 12, 401]
>>> os.system("id -G")
20 402 204 61 12 401
0

(Now open the Accounts preference pane and add a new user)


>>> os.getgroups()
[20, 403, 402, 204, 61, 12, 401]
>>> os.system("id -G")
20 403 402 204 61 12 401
0

Note how the result of both os.getgroups and id -G changes, which should mean that tests shouldn't fail unless you happened to add a new account in the split-second between the "calls" to os.getgroups and "id -G" in a testrun.

Was the buildbot started using launchd (the recipe at <http://buildbot.net/trac/wiki/UsingLaunchd> seems correct)? If not, how is it started?
History
Date User Action Args
2010-11-16 13:44:42ronaldoussorensetrecipients: + ronaldoussoren, loewis, ixokai, belopolsky, orsenthil, pitrou, r.david.murray, flox, l0nwlf
2010-11-16 13:44:42ronaldoussorensetmessageid: <1289915082.87.0.793994847322.issue7900@psf.upfronthosting.co.za>
2010-11-16 13:44:41ronaldoussorenlinkissue7900 messages
2010-11-16 13:44:41ronaldoussorencreate