← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

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

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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