Public bug reported:

Log example: https://autopkgtest.ubuntu.com/results/autopkgtest-
stonking/stonking/amd64/a/accountsservice/20260726_231721_c4c38@/log.gz

The relevant part is:

172s ======================================================================
172s FAIL: test_library_api (__main__.AccountsServiceTest.test_library_api) 
[promote-to-admin]
172s ----------------------------------------------------------------------
172s Traceback (most recent call last):
172s   File 
"/tmp/autopkgtest.X2DC9d/build.x5G/src/debian/tests/integration.py", line 457, 
in test_library_api
172s     self.assertCountEqual(self.get_user_groups(user.get_user_name()), [
172s     ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
172s         'users',
172s         ^^^^^^^^
172s     ...<5 lines>...
172s         user.get_user_name(),
172s         ^^^^^^^^^^^^^^^^^^^^^
172s     ])
172s     ^^
172s AssertionError: Element counts were not equal:
172s First has 1, Second has 0:  'lpadmin'
172s 
172s ======================================================================
172s FAIL: test_library_api (__main__.AccountsServiceTest.test_library_api) 
[add-admin-user]
172s ----------------------------------------------------------------------
172s Traceback (most recent call last):
172s   File 
"/tmp/autopkgtest.X2DC9d/build.x5G/src/debian/tests/integration.py", line 547, 
in test_library_api
172s     self.assertCountEqual(self.get_user_groups(admin_pwent.pw_name), [
172s     ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
172s         admin_pwent.pw_name,
172s         ^^^^^^^^^^^^^^^^^^^^
172s     ...<5 lines>...
172s         'sudo',
172s         ^^^^^^^
172s     ])
172s     ^^
172s AssertionError: Element counts were not equal:
172s First has 1, Second has 0:  'lpadmin'

This is triggered by the fact that Debian added lpadmin to
/usr/lib/sysusers.d/basic.conf by request of the CUPS maintainer:
https://salsa.debian.org/printing-
team/cups/-/merge_requests/11#note_737578.

But, acountsservice's test needs to be fixed, because accountsservice
debian/rules has:

-Dextra_admin_groups=adm,cdrom,dip,lpadmin,plugdev,sambashare,libvirtd

so now that the group exists by default, it is expected that the group
would show up in the promote-to-admin and add-admin-user tests.

** Affects: accountsservice (Ubuntu)
     Importance: Undecided
     Assignee: Nick Rosbrook (enr0n)
         Status: In Progress

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Also affects: accountsservice (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: accountsservice (Ubuntu)
       Status: New => In Progress

** Changed in: accountsservice (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161992

Title:
  systemd in stonking-proposed breaks acountsservice autopkgtest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2161992/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to