In progress builds cannot be cancelled

Reported by Sarah Kowalik on 2007-11-30
76
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Colin Watson

Bug Description

https://launchpad.net/+builds/sejong/+cancel is not yet implemented.

Please implement this, so that people can cancel builds if they were known wrong (and not use up build time), or to cancel the build if it's known to have timed out.

Celso Providelo (cprov) on 2007-12-02
Changed in soyuz:
milestone: none → 1.2.1
Matthew Paul Thomas (mpt) wrote :
Changed in soyuz:
importance: Undecided → Medium
status: New → Confirmed
Celso Providelo (cprov) on 2008-01-02
Changed in soyuz:
milestone: 1.2.1 → 1.2.2
Celso Providelo (cprov) on 2008-01-28
Changed in soyuz:
milestone: 1.2.2 → 1.2.3
Changed in soyuz:
milestone: 1.2.3 → none
Adam Conrad (adconrad) wrote :

In discussing cancelling builds, two things came up today on IRC:

1) We need a new build status ("cancelled"?) in the DB to represent cancelled builds so that they don't get retried again and again. This current interface should twiddle that column when used.

2) We can easily hard-cancel builds on virtual builders (currently, only PPA) by just resetting the Xen guest completely, rather than having logic in launchpad-buildd to attempt to kill the build. This is bound to be more reliable anyway, so may as well be implemented.

if ((current_builder == virtual) && (action = cancel)) { mark_build_cancelled(); ppa_reset }

Celso Providelo (cprov) on 2008-08-11
Changed in soyuz:
milestone: none → 2.1.9
status: Confirmed → Triaged
Celso Providelo (cprov) wrote :

As per bug #257219, aborting superseded in-progress builds is also required.

Admittedly, it's much easier and effective for virtual builders, although I suspect whatever solution we consider should cover non-virtual builders (see the screenshot attached in the mentioned bug).

Changed in soyuz:
milestone: 2.1.9 → 2.1.12
milestone: 2.1.12 → 2.1.11
Changed in soyuz:
milestone: 2.1.11 → pending
Julian Edwards (julian-edwards) wrote :

See also bug 494560

tags: added: buildfarm
Tom Haddon (mthaddon) on 2010-10-15
tags: added: canonical-losa-lp
Robert Collins (lifeless) wrote :

Killing all the processes in a chroot is fairly well understood now - we have helpers for the LP test suite back when it was on praseodymium that does exactly that.

Changed in launchpad:
importance: Medium → High
summary: - Soyuz refuses to let you cancel a build
+ In progress builds cannot be cancelled
description: updated
description: updated
Changed in launchpad:
assignee: nobody → Julian Edwards (julian-edwards)
status: Triaged → In Progress
importance: High → Critical
tags: added: escalated
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
tags: added: bad-commit-14192 qa-bad
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-bad
Changed in launchpad:
status: In Progress → Fix Committed
Changed in launchpad:
status: Fix Committed → In Progress
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
Steve Kowalik (stevenk) on 2011-11-03
tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk) on 2011-11-04
Changed in launchpad:
status: Fix Committed → Fix Released
Changed in launchpad:
status: Fix Released → Fix Committed

Not quite released. Cancelling over the API works, but there's a pending branch for the UI changes.

Changed in launchpad:
status: Fix Committed → Fix Released
Tom Haddon (mthaddon) wrote :

I thought there was a separate bug for this, but I can't seem to find it. This doesn't appear to be possible for all builds - an example of one that it doesn't work for is https://launchpad.net/ubuntu/+source/libreoffice/1:3.5.0~beta2-2ubuntu1/+build/3082920 (armel).

Changed in launchpad:
status: Fix Released → Confirmed

It only works for virtual builds at the moment. To get it working for non-virtual is trickier.

Changed in launchpad:
status: Confirmed → Triaged
tags: removed: escalated
reneb (corbeau-5) on 2012-03-01
Changed in launchpad:
status: Triaged → Fix Committed
Changed in launchpad:
status: Fix Committed → Triaged
Curtis Hovey (sinzui) on 2012-09-11
Changed in launchpad:
assignee: Julian Edwards (julian-edwards) → nobody
William Grant (wgrant) on 2012-10-22
tags: added: buildd-manager
removed: bad-commit-14192 qa-ok
Curtis Hovey (sinzui) on 2012-11-15
Changed in launchpad:
importance: Critical → High
Colin Watson (cjwatson) on 2013-07-25
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
William Grant (wgrant) on 2013-08-30
Changed in launchpad:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers