Public bug reported:

[impact]

gdm on cosmic running in the autopkgtest is flaky and sometimes fails to
start; when it does it causes other systemd service failures like
'user@118.service' or other services, which fail the test case.

the test_gdm3 testcase was already skipped because of this in bug
1790478, the test_no_failed testcase needs to be skipped as well if gdm
fails to start.

[test case]

the failure is intermittent, but looking through old cosmic systemd
autopkgtest logs look for:

May 23 11:13:38 autopkgtest systemd[1]: user@118.service: Killing process 1251 
(systemctl) with signal SIGKILL.
May 23 11:13:38 autopkgtest systemd[1]: Stopped User Manager for UID 118.
May 23 11:13:39 autopkgtest systemd[1]: Starting User Manager for UID 118...
May 23 11:13:37 autopkgtest systemd[1280]: pam_unix(systemd-user:session): 
session opened for user gdm by (uid=0)
May 23 11:13:38 autopkgtest systemd[1280]: Failed to fully start up daemon: 
Permission denied
May 23 11:13:38 autopkgtest systemd[1]: user@118.service: Failed with result 
'protocol'.
May 23 11:13:38 autopkgtest systemd[1]: Failed to start User Manager for UID 
118.
FAIL
test_rsyslog (__main__.ServicesTest) ... ok
test_tmp_cleanup (__main__.ServicesTest) ... ok
test_tmp_mount (__main__.ServicesTest) ... ok
test_udev (__main__.ServicesTest) ... ok

======================================================================
FAIL: test_no_failed (__main__.ServicesTest)
No failed units
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.jGFP4N/build.FWq/src/debian/tests/boot-and-services", 
line 62, in test_no_failed
    self.assertEqual(failed, [])
AssertionError: Lists differ: ['user@118.service loaded failed failed User 
Manager for UID 118'] != []

First list contains 1 additional elements.
First extra element 0:
'user@118.service loaded failed failed User Manager for UID 118'

- ['user@118.service loaded failed failed User Manager for UID 118']
+ []

[regression potential]

low; testcase skipping due to flaky gdm inside autopkgtest, only on
cosmic.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: systemd (Ubuntu Cosmic)
     Importance: Medium
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Also affects: systemd (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu)
       Status: New => Fix Released

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

** Changed in: systemd (Ubuntu Cosmic)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Cosmic)
   Importance: Undecided => Medium

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

Title:
  boot-and-services test_no_failed fails if gdm failed to start in
  testbed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to