[Bug 1687752] Re: ubuntu-cpc: Exit on first failure for extra hooks

Brian Murray brian at ubuntu.com
Tue May 9 20:47:53 UTC 2017


I'm handling the sponsoring of these.

** Also affects: livecd-rootfs (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Changed in: livecd-rootfs (Ubuntu Zesty)
       Status: New => In Progress

** Also affects: livecd-rootfs (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1687752

Title:
  ubuntu-cpc: Exit on first failure for extra hooks

Status in livecd-rootfs package in Ubuntu:
  New
Status in livecd-rootfs source package in Xenial:
  New
Status in livecd-rootfs source package in Yakkety:
  New
Status in livecd-rootfs source package in Zesty:
  In Progress

Bug description:
  [Impact]

   * When running extra binary hooks for the ubuntu-cpc project, exit on
  first failure rather than running all hooks.

   * This allows ubuntu-cpc to fail fast and find errors more easily.
  This change has been made in devel and proves very useful.

  [Test Case]

   * Add binary hooks to the extra directory where one hook exits non-
  zero. Ensure build returns an error at that point rather than run-
  parts continuing after the initial failure

  [Regression Potential]

   * Low risk, any non-zero exit will fail the build with or without
  this patch.  Now we'll fail optimally for the first failure.

  ==== Original description ====

  This was fixed(improved?) in devel with r1464.1.2.  I have opened this
  bug to back-port these to zesty, yakkety, and xenial.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1687752/+subscriptions



More information about the Ubuntu-sponsors mailing list