From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8CFECE00C50; Wed, 2 Sep 2015 07:37:33 -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 70ACCE005A2 for ; Wed, 2 Sep 2015 07:37:28 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 02 Sep 2015 07:37:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,453,1437462000"; d="scan'208";a="553873362" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by FMSMGA003.fm.intel.com with ESMTP; 02 Sep 2015 07:37:26 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.144]) by IRSMSX108.ger.corp.intel.com ([169.254.11.12]) with mapi id 14.03.0224.002; Wed, 2 Sep 2015 15:37:22 +0100 From: "Barros Pena, Belen" To: "Reyna, David L (Wind River)" , "toaster@yoctoproject.org" Thread-Topic: Design - Cancelling builds Thread-Index: AQHQ5LReAFMOEMVvSUKczQNvaExbIJ4pS9wwgAAEe4A= Date: Wed, 2 Sep 2015 14:37:21 +0000 Message-ID: References: <5E53D14CE4667A45B9A06760DE5D13D082655EF5@ALA-MBA.corp.ad.wrs.com> In-Reply-To: <5E53D14CE4667A45B9A06760DE5D13D082655EF5@ALA-MBA.corp.ad.wrs.com> 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: Wed, 02 Sep 2015 14:37:33 -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: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. 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