From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4C972E00C92; Wed, 9 Sep 2015 03:55:30 -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 * [134.134.136.24 listed in list.dnswl.org] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 28815E00AB5 for ; Wed, 9 Sep 2015 03:55:26 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 09 Sep 2015 03:55:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,496,1437462000"; d="scan'208";a="801378286" Received: from linux.intel.com ([10.23.219.25]) by fmsmga002.fm.intel.com with ESMTP; 09 Sep 2015 03:55:25 -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 B13406A4083; Wed, 9 Sep 2015 03:54:32 -0700 (PDT) Date: Wed, 9 Sep 2015 13:55:20 +0300 From: Ed Bartosh To: Brian Avery Message-ID: <20150909105520.GA7630@linux.intel.com> References: <1441702210-29157-1-git-send-email-ed.bartosh@linux.intel.com> 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: [review-request][PATCH] toaster: increase waiting time 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: Wed, 09 Sep 2015 10:55:30 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 08, 2015 at 08:46:22AM -0700, Brian Avery wrote: > Do we know why bitbake suddenly took longer to start up? I did not > see this bug on either of my development machines. It turned out that it was caused by recent bitbake change. The issue was fixed in bitbake code, but I'd suggest to merge my patch anyway. Please, see https://bugzilla.yoctoproject.org/show_bug.cgi?id=8240 for details. Regards, Ed > On Tue, Sep 8, 2015 at 1:50 AM, Ed Bartosh wrote: > > Increased waiting time for toasterUI from 10 to 25 seconds. Bitbake > > takes longer time to start, so toaster should wait longer. > > > > [YOCTO #8240] > > > > Signed-off-by: Ed Bartosh > > --- > > bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py > > index 231a7d3..a9909b8 100644 > > --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py > > +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py > > @@ -140,7 +140,7 @@ class LocalhostBEController(BuildEnvironmentController): > > > > retries = 0 > > started = False > > - while not started and retries < 10: > > + while not started and retries < 50: > > started = _toaster_ui_started(toaster_ui_log_filepath, toaster_ui_log_filelength) > > import time > > logger.debug("localhostbecontroller: Waiting bitbake server to start") > > @@ -150,7 +150,7 @@ class LocalhostBEController(BuildEnvironmentController): > > if not started: > > toaster_ui_log = open(os.path.join(self.be.builddir, "toaster_ui.log"), "r").read() > > toaster_server_log = open(os.path.join(self.be.builddir, "toaster_server.log"), "r").read() > > - raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 5 seconds, aborting (Error: '%s' '%s')" % (toaster_ui_log, toaster_server_log)) > > + raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 25 seconds, aborting (Error: '%s' '%s')" % (toaster_ui_log, toaster_server_log)) > > > > logger.debug("localhostbecontroller: Started bitbake server") > > > > -- > > 2.1.4 > > > > -- > > _______________________________________________ > > toaster mailing list > > toaster@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/toaster