ubuntu-cpc: Exit on first failure for extra hooks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
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.
tags: | added: id-58ff759a4e904f9e97018edd |
The attachment "xenial debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]