From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 92D88E00B7F; Thu, 3 Sep 2015 04:23:39 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6CBB2E00A9C for ; Thu, 3 Sep 2015 04:23:33 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 03 Sep 2015 04:23:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,461,1437462000"; d="scan'208";a="796971354" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga002.jf.intel.com with ESMTP; 03 Sep 2015 04:23:32 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.144]) by IRSMSX152.ger.corp.intel.com ([169.254.6.220]) with mapi id 14.03.0224.002; Thu, 3 Sep 2015 12:23:31 +0100 From: "Barros Pena, Belen" To: "Reyna, David L (Wind River)" , "toaster@yoctoproject.org" Thread-Topic: Design - Cancelling builds Thread-Index: AQHQ5LReAFMOEMVvSUKczQNvaExbIJ4pS9wwgAAEe4CAAVwqgA== Date: Thu, 3 Sep 2015 11:23:30 +0000 Message-ID: References: <5E53D14CE4667A45B9A06760DE5D13D082655EF5@ALA-MBA.corp.ad.wrs.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.4.150722 x-originating-ip: [10.237.224.30] MIME-Version: 1.0 Subject: Re: Design - Cancelling builds X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 11:23:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 02/09/2015 15:37, "Barros Pena, Belen" wrote: > > >On 02/09/2015 15:31, "Reyna, David" wrote: > >>Hi Bel=E9n, >> >>I have just one question about the backend latency, and how the backend >>does the cancel. >> >>It appears that when you click "Cancel" the Toaster GUI immediately >>transitions to show that the build is cancelled and the "Run Again" >>button appears. Normally when I cancel a build on the command line it can >>take several minutes for the tasks to cleanly finish up. That would mean >>that if the user immediately clicks the "Run Again" button in Toaster the >>backend may not be ready. >> >>So, how is the cancel handled? Does Toaster try the clean way to stop a >>build, or does it something radical like killing the build thread? > >These are really good questions. The answer is I don't know. I guess some >discussion is needed about the technical implementation details of this >feature.=20 > >If a delay is likely between clicking 'cancel' and the build being >stopped, we can create a 'cancelling' state for builds in the UI. I will >make sure to add that to the design document. I've updated the design to include a 'cancelling' state. Attached to https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D6787 Bel=E9n > >Cheers > >Bel=E9n > >> >>- David >> >>> -----Original Message----- >>> From: toaster-bounces@yoctoproject.org [mailto:toaster- >>> bounces@yoctoproject.org] On Behalf Of Barros Pena, Belen >>> Sent: Tuesday, September 01, 2015 5:48 AM >>> To: toaster@yoctoproject.org >>> Subject: [Toaster] Design - Cancelling builds >>> >>> We have been speaking about letting users cancel builds at any point >>> during the build process. We have a Bugzilla entry for that >>> >>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D6787 >>> >>> Which now has design attached to it. It should not be controversial in >>>any >>> way, but if you have any questions / comments, let me know. >>> >>> Thanks! >>> >>> Bel=E9n >>> >>> -- >>> _______________________________________________ >>> toaster mailing list >>> toaster@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/toaster >