From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 316F7E00911; Mon, 21 Mar 2016 05:54:07 -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: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D6922E007C2 for ; Mon, 21 Mar 2016 05:54:03 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 21 Mar 2016 05:54:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,372,1455004800"; d="scan'208";a="915566324" Received: from linux.intel.com ([10.23.219.25]) by orsmga001.jf.intel.com with ESMTP; 21 Mar 2016 05:54:00 -0700 Received: from linux.intel.com (vmed.fi.intel.com [10.237.72.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTP id A29B76A4002; Mon, 21 Mar 2016 06:41:43 -0700 (PDT) Date: Mon, 21 Mar 2016 12:34:08 +0200 From: Ed Bartosh To: Brian Avery Message-ID: <20160321103408.GB29533@linux.intel.com> References: MIME-Version: 1.0 In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.21 (2010-09-15) Cc: toaster@yoctoproject.org Subject: Re: [PATCH 00/15] Build cancellation X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: ed.bartosh@linux.intel.com List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2016 12:54:07 -0000 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sun, Mar 20, 2016 at 10:12:22AM -0700, Brian Avery wrote: > a couple of other thoughts after looking at it a little more today: > > 1) pid of bitbake started in proj builds dir for cleanup? do we want > to save these? not until we use them. > bitbake.lock with lsof might mean we don't need these. however, having > them might negate the lsof requirement...) I'll look what I can do. I was planning to reuse what I did in my old ed/toaster/bec branch: to generate shell script for cloning all repos and running the build. It would be much more easy to deal with pid files in the shell script than in current python code. However, I think it's better not to do right now as we already have quite a bit of changes and very close to release. > 2)should poky oe-init be a #!/bin/bash if dash fails? No, we shouldn't as it works with zsh. > 3) toasterui event loop should probably check for liveness of server > connection…. or do we get an error on waitEvent if the server has > died (segv’d, kill -9 by user, etc)? We run sever only during the build. We probably need to set build state to 'Failed' if server is killed or crashed. Regards, Ed