Since it most reliably fails on LP infra and almost never locally I tried to 
verify it in [1][2]
But this becomes a can of worms hitting [3] now.

Whenever you do the next merge/fix you'll need to fix that anyway; Also
on that next upload that will follow sooner or later you will have to
pass the tests - so I'll avoid duplication of work.

Instead I attach the current patch that I have here for your
consideration, since it only ignores one service fail it should be
rather safe - worst case it doesn't fix the issue, but it should
hopefully not cause extra breakage.

Leaving it to you, let me know if I can help anything

[1]: https://bileto.ubuntu.com/#/ticket/3541
[2]: https://bileto.ubuntu.com/#/ticket/3542
[3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909455

** Bug watch added: Debian Bug tracker #909455
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909455

** Patch added: "autopkgtests: Ignore a the gdm start which is known to be 
flaky"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1805358/+attachment/5216954/+files/0001-d-t-boot-and-services-ignore-flaky-results-on-gdm-in.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1805358

Title:
  autopkgtest boot-and-services fails on many architectures very often
  since systemd/239-7ubuntu12

Status in systemd package in Ubuntu:
  New

Bug description:
  I appreciate that some old known issues on 'upstream' are fixed.
  But looking at the current tests I see that often on amd64 (2/3 and very 
often on ppc64le (4/4 since ubuntu12 and 11/11 before that version).

  Looking at the list of people hitting retry and the list of packages
  blocked that seems an issue that must be checked.

  See current head of tests at:
  amd64: http://autopkgtest.ubuntu.com/packages/s/systemd/disco/amd64
  ppc64el: http://autopkgtest.ubuntu.com/packages/s/systemd/disco/ppc64el

  One example log:
  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/ppc64el/s/systemd/20181126_074048_cb8d2@/log.gz

  Example of the error that one can see in the log:
  test_no_failed (__main__.ServicesTest)
  No failed units ... -------- journal for failed service user@118.service 
-----------
  -- Logs begin at Tue 2018-10-30 09:54:39 UTC, end at Mon 2018-11-26 07:05:17 
UTC. --
  Nov 26 07:05:09 autopkgtest systemd[1]: Starting User Manager for UID 118...
  Nov 26 07:05:10 autopkgtest systemd[1292]: pam_unix(systemd-user:session): 
session opened for user gdm by (uid=0)
  Nov 26 07:05:10 autopkgtest systemd[1292]: Failed to fully start up daemon: 
Permission denied
  Nov 26 07:05:10 autopkgtest systemd[1]: user@118.service: Failed with result 
'protocol'.
  Nov 26 07:05:10 autopkgtest systemd[1]: Failed to start User Manager for UID 
118.
  FAIL

  ======================================================================
  FAIL: test_no_failed (__main__.ServicesTest)
  No failed units
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File 
"/tmp/autopkgtest.Xm5RBa/build.JSa/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']
  + []

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to