Bug 6787

Summary: Cancelling builds at any point in the build process
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Sujith H <sujith.h>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, eduard.bartosh, henry.bruce, sujith.h
Version: unspecified   
Target Milestone: 2.1   
Hardware: All   
OS: Multiple   
Whiteboard: GUI design available
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 8515    
Attachments:
Description Flags
Design - Cancelling builds
none
Design - Cancelling builds none

Description Belen Barros Pena 2014-10-01 14:12:00 UTC
Currently, Toaster users can only cancel builds before the build actually starts. Once the build starts in the build servers, users can no longer cancel the build: they must wait until the build process finishes.

Users should be able to cancel builds at any time.
Comment 1 Belen Barros Pena 2015-04-30 13:04:17 UTC
Moving this to 1.9, since it is relevant for the image recipe customisation feature.
Comment 2 Belen Barros Pena 2015-06-30 10:12:02 UTC
This has no assignee, but the image customisation feature, as designed, relies on having a layers parse that can be cancelled by users, which seems connected to this feature.
Comment 3 Michael Halstead 2015-08-12 15:58:08 UTC
Clearing 2.0 milestone
Comment 4 Belen Barros Pena 2015-09-01 12:43:00 UTC
Created attachment 2698 [details]
Design - Cancelling builds
Comment 5 Sujith H 2015-09-01 13:10:28 UTC
The attachment looks fine in the first glance.
Comment 6 Belen Barros Pena 2015-09-03 11:22:03 UTC
Created attachment 2706 [details]
Design - Cancelling builds

Adding a 'Cancelling' state for builds, as suggested by David Reyna, since builds can take some time to stop
Comment 7 Sujith H 2016-02-03 14:08:51 UTC
The patches are under review.
Comment 8 Henry Bruce 2016-02-26 23:22:34 UTC
This strikes me a key feature rather than an enhancement. I frequently interrupt builds when I realize that I have made a configuration error.

I'd vote for increasing priority.
Comment 9 Ed Bartosh 2016-04-07 09:53:26 UTC
The implementation has been accepted to bitbake master: http://cgit.openembedded.org/bitbake/commit/?id=a724d6aa7515e712a1d656e46e1d0f3bf7d4cea9
Comment 10 Alexandru Roman 2016-05-24 09:32:56 UTC
Verified.