[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 237-3ubuntu10.22

---
systemd (237-3ubuntu10.22) bionic; urgency=medium

  * d/p/resolved-rework-how-we-determine-which-scope-to-send.patch
- fix DNS leakage (LP: 1754671)
  * d/p/ask-password-prevent-buffer-overrow-when-reading-fro.patch:
- prevent buffer overflow when reading keyring (LP: #1814373)
  * d/t/boot-smoke:
- Fix false negative checking for running jobs after boot
  (LP: #1825997)

 -- Dan Streetman   Wed, 24 Apr 2019 17:15:36
-0400

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

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 239-7ubuntu10.14

---
systemd (239-7ubuntu10.14) cosmic; urgency=medium

  * d/p/resolved-rework-how-we-determine-which-scope-to-send.patch
- fix DNS leakage (LP: 1754671)
  * d/t/boot-and-services:
- skip test_no_failed if gdm failed to start (LP: #1830484)
  * d/p/ask-password-prevent-buffer-overrow-when-reading-fro.patch:
- prevent buffer overflow when reading keyring (LP: #1814373)
  * d/t/boot-smoke:
- Fix false negative checking for running jobs after boot
  (LP: #1825997)

 -- Dan Streetman   Wed, 24 Apr 2019 17:08:26
-0400

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

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 240-6ubuntu5.1

---
systemd (240-6ubuntu5.1) disco; urgency=medium

  * d/p/ask-password-prevent-buffer-overrow-when-reading-fro.patch:
- prevent buffer overflow when reading keyring (LP: #1814373)
  * d/p/network-wireguard-fixes-sending-wireguard-peer-setti.patch,
d/p/test-network-add-more-checks-in-NetworkdNetDevTests..patch,
d/p/sd-netlink-introduce-sd_netlink_message_append_socka.patch,
d/p/network-wireguard-use-sd_netlink_message_append_sock.patch:
- systemd doesn't set wireguard peer endpoint (LP: #1825378)
  * d/t/boot-smoke:
- Fix false negative checking for running jobs after boot
  (LP: #1825997)

 -- Dan Streetman   Thu, 16 May 2019 06:07:49
-0400

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

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-04 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 240-6ubuntu9

---
systemd (240-6ubuntu9) eoan; urgency=medium

  * Fix typpo in storage test.
File: debian/tests/storage

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=f28aa5fe4ab175b99b6ea702559c59ca473b4ca8

  * Fix bashism
File: debian/extra/dhclient-enter-resolved-hook

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=0725c1169ddde4f41cacba7af3e546704e2206be

systemd (240-6ubuntu8) eoan; urgency=medium

  * Only restart resolved on changes in dhclient enter hook.
This prevents spurious restarts of resolved on rebounds when
the addresses did not change. (LP: #1805183)
Author: Julian Andres Klode
File: debian/extra/dhclient-enter-resolved-hook

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=258893bae8cbb12670e4807636fe8f7e9fb5407a

  * Wait for cryptsetup unit to start, before stopping.
Patch from cascardo. Plus small refactor for readability. (LP: #1814373)
File: debian/tests/storage

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=b65aa350be7e61c65927fbc0921a750fcfaa51cd

  * Wait for systemctl is-system-running state.
File: debian/tests/boot-smoke

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=776998f1f55c445b6e385cab69a4219c42d00838

systemd (240-6ubuntu7) eoan; urgency=medium

  * Revert "Add check to switch VTs only between K_XLATE or K_UNICODE"
This reverts commit 60407728a1a453104e3975ecfdf25a254dd7cc44.
Files:
- 
debian/patches/Add-check-to-switch-VTs-only-between-K_XLATE-or-K_UNICODE.patch
- 
debian/patches/Move-verify_vc_kbmode-to-terminal-util.c-as-vt_verify_kbm.patch

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=18029ab5ff436bfb3b401f24cd1e3a4cf2a1579c

  * Cherrypick missing systemd-stable patches to unbreak wireguard peer 
endpoints.
Signed-off-by: Dimitri John Ledkov  (LP: #1825378)
Author: Dan Streetman
Files:
- debian/patches/network-wireguard-fixes-sending-wireguard-peer-setti.patch
- debian/patches/network-wireguard-use-sd_netlink_message_append_sock.patch
- debian/patches/sd-netlink-introduce-sd_netlink_message_append_socka.patch
- debian/patches/test-network-add-more-checks-in-NetworkdNetDevTests..patch

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=4046f515e40c4dc80d18d2303466737f1f451f11

  * Remove expected failure from passing test.
Signed-off-by: Dimitri John Ledkov  (LP: #1829450)
Author: Dan Streetman
File: debian/tests/systemd-fsckd

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=c43b12037d08555dc1d26593307726d7c7992df0

  * Fix false negative checking for running jobs after boot.
Signed-off-by: Dimitri John Ledkov  (LP: #1825997)
Author: Dan Streetman
File: debian/tests/boot-smoke

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=aeb01631efbaf3fe851dee15d496e0b66b5c347f

  * Cherrypick ask-password: prevent buffer overrow when reading from keyring.
Signed-off-by: Dimitri John Ledkov  (LP: #1814373)
Author: Dan Streetman
File: 
debian/patches/ask-password-prevent-buffer-overrow-when-reading-fro.patch

https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=6d6e9cbd4fc6e018031a4762e88f2c3aa19e24e8

 -- Dimitri John Ledkov   Thu, 30 May 2019 21:45:50
+0100

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

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-03 Thread Dan Streetman
note on the corosync autopkgtest failure in disco; i opened bug 1831492
and the failure can be ignored for this upload.

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-03 Thread Dan Streetman
autopkgtest failures:

disco:

linux-oracle, linux-snapdragon: tests never passed; ignore

dbus: this appears to be the same issue as is seen for systemd in bug
1829829; i'm re-running the test (again), but if it still doesn't pass I
think we need to ignore it as a failure due to that bug.

systemd (amd64): only failure is due to bug 1831459

systemd (ppc64el): also fails due to bug 1831459, and also has some upstream 
failed tests:
FAILED TESTS:  test/TEST-18-FAILUREACTION test/TEST-19-DELEGATE 
test/TEST-25-IMPORT test/TEST-27-STDOUTFILE
I opened bug 1831468 to track these failures; they do not appear 
related/caused-by this upload.

corosync (all archs): this has failed since before this upload, and
looks like problem with the corosync source not being available in
disco, possibly due to using disco-proposed.  in any case, not caused or
related to this upload and can be ignored.

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-03 Thread Dan Streetman
autopkgtest failures:

cosmic:

linux-oracle: tests never passed; ignore.

umockdev: I opened bug 1831467, and i'm re-running the test; it's an
intermittent failure so hopefully it will pass the next time, but even
if not i believe we can ignore its failure as it seems to be a test case
problem of expecting very-accurate ms-level usleep() timing, as
explained in the bug.

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-03 Thread Dan Streetman
autopkgtest failures:

bionic:

linux-snapdragon, linux-gke-4.15, linux-aws-edge: these have never
passed; ignore.

gvfs (ppc64el and i386): bug 1713098 (failure matches report from that
bug)

systemd (ppc64el): only test failure is due to bug 1821625 (which
requires kernel patch)

systemd (i386): test failed twice due to bug 1829829, re-running test,
but impossible to tell when it will pass or fail due to this bug, so may
need to just ignore this failure

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-06-03 Thread Dan Streetman
boot-smoke passed for all releases/archs from this upload

** Tags removed: verification-needed verification-needed-bionic 
verification-needed-cosmic verification-needed-disco
** Tags added: verification-done verification-done-bionic 
verification-done-cosmic verification-done-disco

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-31 Thread Timo Aaltonen
Hello Dan, or anyone else affected,

Accepted systemd into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.22 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: systemd (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-bionic

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-31 Thread Timo Aaltonen
Hello Dan, or anyone else affected,

Accepted systemd into disco-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/systemd/240-6ubuntu5.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-disco to verification-done-disco. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-disco. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: systemd (Ubuntu Disco)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-disco

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

** Tags added: verification-needed-cosmic

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-30 Thread Dan Streetman
** Tags removed: ddstreet-next

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-29 Thread Dimitri John Ledkov
** Changed in: systemd (Ubuntu Eoan)
   Status: In Progress => Fix Committed

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-29 Thread Dan Streetman
** Description changed:

  [impact]
  
  boot-smoke test reboots 5 times and verifies systemd is fully started up
  after each boot, including checking if there are any running jobs (with
  list-jobs).  However, this test makes the assumption that no further
  jobs will be started after systemd reaches 'running' (or 'degraded')
  state, which is a false assumption.
  
  [test case]
  
  see various boot-smoke failures in autopkgtest.ubuntu.com
  
  [regression potential]
  
  possible false-positive or false-negative autopkgtest results.
  
  [other info]
  
- The problem appears to be that systemd reaches 'running' (or 'degraded')
- state, and then other systemd services are started.  This confuses the
- boot-smoke test, because it sees that 'is-system-running' is done, but
- then it sees running jobs, which fails the test.
+ Note: This patch is not required for debian, because debian's boot-smoke
+ does not include the wait for systemctl is-system-running.
+ 
+ 
+ The problem appears to be that systemd reaches 'running' (or 'degraded') 
state, and then other systemd services are started.  This confuses the 
boot-smoke test, because it sees that 'is-system-running' is done, but then it 
sees running jobs, which fails the test.
  
  What is starting jobs after systemd reaches running state appears to be
  X inside the test system.  There are various services started by gnome-
  session and dbus-daemon.  Additionally, from the artifacts of one
  example:
  
  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-
  bionic/bionic/i386/s/systemd/20190416_171327_478f6@/artifacts.tar.gz
  
  the artifacts/journal.txt shows that after the boot-smoke test causes
  the reboot and then re-ssh into the system after the reboot, it only
  gives the test system 9 seconds before deciding it has failed, and only
  4 seconds after ssh'ing into the rebooted test system.
  
  Another wait is needed when checking for remaining running jobs.  Or,
  the running jobs check could be removed entirely, and we can just trust
  that systemd correctly knows when it has reached running|degraded state.

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-17 Thread Dan Streetman
** Also affects: systemd (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: systemd (Ubuntu Xenial)
   Status: New => Invalid

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-14 Thread Dan Streetman
** Changed in: systemd (Ubuntu Eoan)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-02 Thread Dan Streetman
** Changed in: systemd (Ubuntu Eoan)
 Assignee: Dan Streetman (ddstreet) => (unassigned)

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-05-02 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~ddstreet/ubuntu/+source/systemd/+git/systemd/+merge/366857

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-04-23 Thread Dan Streetman
** Tags added: ddstreet-next

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-04-23 Thread Dan Streetman
** Description changed:

  [impact]
  
  boot-smoke test reboots 5 times and verifies systemd is fully started up
  after each boot, including checking if there are any running jobs (with
  list-jobs).  However, this test makes the assumption that no further
  jobs will be started after systemd reaches 'running' (or 'degraded')
  state, which is a false assumption.
  
  [test case]
  
  see various boot-smoke failures in autopkgtest.ubuntu.com
  
  [regression potential]
  
  possible false-positive or false-negative autopkgtest results.
  
  [other info]
  
  The problem appears to be that systemd reaches 'running' (or 'degraded')
  state, and then other systemd services are started.  This confuses the
  boot-smoke test, because it sees that 'is-system-running' is done, but
  then it sees running jobs, which fails the test.
  
  What is starting jobs after systemd reaches running state appears to be
  X inside the test system.  There are various services started by gnome-
  session and dbus-daemon.  Additionally, from the artifacts of one
  example:
  
  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-
  bionic/bionic/i386/s/systemd/20190416_171327_478f6@/artifacts.tar.gz
  
  the artifacts/journal.txt shows that after the boot-smoke test causes
  the reboot and then re-ssh into the system after the reboot, it only
  gives the test system 9 seconds before deciding it has failed, and only
  4 seconds after ssh'ing into the rebooted test system.
  
- The timeout waiting for is-system-running is actually probably fine;
- what is needed is another timeout while checking list-jobs, after we
- know that the system is running.  Another timeout should let any new
- jobs started after we reached running complete.
+ Another wait is needed when checking for remaining running jobs.  Or,
+ the running jobs check could be removed entirely, and we can just trust
+ that systemd correctly knows when it has reached running|degraded state.

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-04-23 Thread Dan Streetman
** Description changed:

  [impact]
  
  boot-smoke test reboots 5 times and verifies systemd is fully started up
  after each boot, including checking if there are any running jobs (with
  list-jobs).  However, this test makes the assumption that no further
  jobs will be started after systemd reaches 'running' (or 'degraded')
  state, which is a false assumption.
  
  [test case]
  
  see various boot-smoke failures in autopkgtest.ubuntu.com
  
  [regression potential]
  
  possible false-positive or false-negative autopkgtest results.
  
  [other info]
  
  The problem appears to be that systemd reaches 'running' (or 'degraded')
  state, and then other systemd services are started.  This confuses the
  boot-smoke test, because it sees that 'is-system-running' is done, but
  then it sees running jobs, which fails the test.
  
  What is starting jobs after systemd reaches running state appears to be
  X inside the test system.  There are various services started by gnome-
  session and dbus-daemon.  Additionally, from the artifacts of one
  example:
  
  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-
  bionic/bionic/i386/s/systemd/20190416_171327_478f6@/artifacts.tar.gz
  
  the artifacts/journal.txt shows that after the boot-smoke test causes
  the reboot and then re-ssh into the system after the reboot, it only
  gives the test system 9 seconds before deciding it has failed, and only
  4 seconds after ssh'ing into the rebooted test system.
  
- While increasing the timeout isn't guaranteed to stop the boot-smoke
- failures due to still-running jobs, the logs show it certainly should
- help.
- 
- If we continue to get failures for still-running jobs, it probably
- should just be made a non-failing check.
+ The timeout waiting for is-system-running is actually probably fine;
+ what is needed is another timeout while checking list-jobs, after we
+ know that the system is running.  Another timeout should let any new
+ jobs started after we reached running complete.

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

Title:
  boot-smoke fails due to running jobs

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

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

[Bug 1825997] Re: boot-smoke fails due to running jobs

2019-04-23 Thread Dan Streetman
** Description changed:

  [impact]
  
  boot-smoke test reboots 5 times and verifies systemd is fully started up
- after each boot, but only gives 35 seconds for each boot.  On loaded
- systems this is too short.
+ after each boot, including checking if there are any running jobs (with
+ list-jobs).  However, this test makes the assumption that no further
+ jobs will be started after systemd reaches 'running' (or 'degraded')
+ state, which is a false assumption.
  
  [test case]
  
  see various boot-smoke failures in autopkgtest.ubuntu.com
  
  [regression potential]
  
- longer autopkgtest times.
+ possible false-positive or false-negative autopkgtest results.
  
  [other info]
  
- i can't reproduce this failure locally, but it seems to happen
- intermittently on the adt setup.  Therefore, I don't know for sure that
- the short timeout is actually the cause of the problem, but it certainly
- seems likely - 35 seconds really isn't very long for a full reboot and
- for systemd to finish starting all services, especially on the highly
- loaded autopkgtest.ubuntu.com systems.
+ The problem appears to be that systemd reaches 'running' (or 'degraded')
+ state, and then other systemd services are started.  This confuses the
+ boot-smoke test, because it sees that 'is-system-running' is done, but
+ then it sees running jobs, which fails the test.
  
- There should be no harm, other than delaying an actual failure, from
- extending the timeout.  The test case checks each second if all services
- have finished starting, so on success case it won't wait any longer than
- it currently does.
+ What is starting jobs after systemd reaches running state appears to be
+ X inside the test system.  There are various services started by gnome-
+ session and dbus-daemon.  Additionally, from the artifacts of one
+ example:
+ 
+ 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
+ /autopkgtest-
+ bionic/bionic/i386/s/systemd/20190416_171327_478f6@/artifacts.tar.gz
+ 
+ the artifacts/journal.txt shows that after the boot-smoke test causes
+ the reboot and then re-ssh into the system after the reboot, it only
+ gives the test system 9 seconds before deciding it has failed, and only
+ 4 seconds after ssh'ing into the rebooted test system.
+ 
+ While increasing the timeout isn't guaranteed to stop the boot-smoke
+ failures due to still-running jobs, the logs show it certainly should
+ help.
+ 
+ If we continue to get failures for still-running jobs, it probably
+ should just be made a non-failing check.

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

Title:
  boot-smoke fails due to running jobs

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

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