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

Robert C Jennings 1687752 at bugs.launchpad.net
Tue May 9 19:31:50 UTC 2017


Updated to have bug # in changelog

** Patch added: "zesty debdiff"
   https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1687752/+attachment/4874299/+files/livecd-rootfs_2.441.3.debdiff

** Description changed:

+ [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.

-- 
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

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