[PKG-Openstack-devel] Bug#823166: Bug#823166: swift: FTBFS: AssertionError: Items in the first set but not the second:

Ondrej Novy novy at ondrej.org
Sat Aug 13 17:46:00 UTC 2016


Hi,

so your result is now:

getpass.getuser: lamby
pwd.getpwname(user).pw_gid: 1000
os.getgroups(): [27, 1000]
grp.getgrall() filtered: [27]

And failing tests runs:
groups = [g.gr_gid for g in grp.getgrall() if user in g.gr_mem]
groups.append(pwd.getpwnam(user).pw_gid)
self.assertEqual(set(groups), set(os.getgroups()))

which is for you:
groups = [27]
groups.append(1000)
self.assertEqual(set([27, 1000]), set([27, 1000])

-> not possible :)

Please recheck and send new log + test again my test.py.

Thanks.

-- 
Best regards
 Ondřej Nový
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160813/6c9e1599/attachment-0001.html>


More information about the Openstack-devel mailing list