From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2923CE01477 for ; Thu, 30 May 2013 07:28:40 -0700 (PDT) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r4UEWi1O030130; Thu, 30 May 2013 15:32:45 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3H_KePY0DDTO; Thu, 30 May 2013 15:32:44 +0100 (BST) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r4UEWdcO030119 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Thu, 30 May 2013 15:32:40 +0100 Message-ID: <1369924089.14887.304.camel@ted> From: Richard Purdie To: "Dragomir, CalinX L" Date: Thu, 30 May 2013 15:28:09 +0100 In-Reply-To: <27CEE5FF4D395E43B04459808802ADB7013EF5DD@IRSMSX106.ger.corp.intel.com> References: <1369863547.14887.246.camel@ted> <27CEE5FF4D395E43B04459808802ADB7013EF5DD@IRSMSX106.ger.corp.intel.com> X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Cc: Paul Eggleton , "Zhang, Jessica" , "webhob@yoctoproject.org" Subject: Re: [Webhob] task types and outcomes X-BeenThere: webhob@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 14:28:41 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2013-05-30 at 13:10 +0000, Dragomir, CalinX L wrote: > I have a couple of questions regarding the tasks if you could help me > understand better what's going on in a build operation. > > 1. From what I've read in the e-mails so far, it seems that there are > three types of tasks: built, sstate and skipped. Can you tell me what > each of them mean and how are they different ? > 2. It also seems that there can be multiple results for each of them. > Can you detail the meaning of each final state? (failed, missed, > etc.) ? > 3. How can I tell what type of task is the current executed task (if > it is sstate or built or anything else) ? Let me explain what bitbake actually does. How this is presented in the UI is a different question :) When you run "bitbake X", bitbake first goes through a "setscene" phase. This attempts to get the pre-built objects from the sstate cache. If does this in reverse dependency order so it will try X, then the things X depends on and so on. If it gets X, it would skip the dependencies in many cases. Bitbake then moves to the runqueue phase. If everything was obtained from sstate, great, we do nothing. If we couldn't get anything, we'd build from scratch. We also cover all the states in between. The tmp/stamps directory tells you the status of all the tasks. Each task can have a stamp or a setscene version of the stamp. Hope that helps a bit! Cheers, Richard