Comment 3 for bug 462543

Revision history for this message
Jamu Kakar (jkakar) wrote :

[1]

I have a test failure (I don't have a 'landscape' group on this
machine):

[ERROR]: landscape.tests.subunit.RemotedTestCase.test_finish_as_root

Traceback (most recent call last):
Failure: landscape.tests.subunit.RemoteException: Traceback (most recent call last):
  File "/home/jkakar/src/projects/twisted/trunk/twisted/internet/defer.py", line 102, in maybeDeferred
    result = f(*args, **kw)
  File "/home/jkakar/src/projects/twisted/trunk/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/home/jkakar/src/free/landscape-client/release-upgrader/landscape/tests/mocker.py", line 102, in test_method_wrapper
    result = test_method()
  File "/home/jkakar/src/free/landscape-client/release-upgrader/landscape/package/tests/test_releaseupgrader.py", line 318, in test_finish_as_root
    setgid_mock(grp.getgrnam("landscape").gr_gid)
KeyError: 'getgrnam(): name not found: landscape'

This branch looks great. I haven't functionally tested it, but +1
on the code changes.