Bug 6787 - Cancelling builds at any point in the build process
Summary: Cancelling builds at any point in the build process
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: 2.1
Assignee: Sujith H
QA Contact:
URL:
Whiteboard: GUI design available
Depends on:
Blocks: 8515
  Show dependency tree
 
Reported: 2014-10-01 14:12 UTC by Belen Barros Pena
Modified: 2016-05-24 09:32 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Design - Cancelling builds (730.43 KB, application/pdf)
2015-09-01 12:43 UTC, Belen Barros Pena
no flags Details
Design - Cancelling builds (880.48 KB, application/pdf)
2015-09-03 11:22 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.