Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7EC13E007A9 for ; Mon, 23 Dec 2013 05:49:47 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 23 Dec 2013 05:45:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,536,1384329600"; d="scan'208";a="428922042" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga001.jf.intel.com with ESMTP; 23 Dec 2013 05:49:45 -0800 Received: from irsmsx151.ger.corp.intel.com (163.33.192.59) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 23 Dec 2013 13:49:44 +0000 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.15]) by IRSMSX151.ger.corp.intel.com ([169.254.4.126]) with mapi id 14.03.0123.003; Mon, 23 Dec 2013 13:49:44 +0000 From: "Barros Pena, Belen" To: "Damian, Alexandru" , Richard Purdie Thread-Topic: [Toaster] orm_variable.changed Thread-Index: AQHO/9M9IX2s8LNlT0mzJKswHGj4TZphwsKAgAAJP4A= Date: Mon, 23 Dec 2013 13:49:42 +0000 Message-ID: References: <1387798563.11527.4.camel@ted> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [10.237.224.31] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: orm_variable.changed 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: Mon, 23 Dec 2013 13:49:52 -0000 Content-Language: en-US Content-Type: text/plain; charset="Windows-1252" Content-ID: <31FECA9A7C83A841A61090E3717A547A@intel.com> Content-Transfer-Encoding: quoted-printable On 23/12/2013 13:16, "Damian, Alexandru" wrote: > >On Mon, Dec 23, 2013 at 11:36 AM, Richard Purdie > wrote: > >On Mon, 2013-12-23 at 11:11 +0000, Barros Pena, Belen wrote: >> In the early days of the Toaster project, Yocto Project users we spoke >> wanted a way to narrow down which variables could be the source of a >>build >> failure. For example, if my latest build failed, but the previous one >> completed successfully, it is reasonable to assume that the cause of the >> failure is in some variable I've changed. >> >> To cater for this need, we added a 'changed' field to our db variables >> table, but we haven't worked out what 'changed' really means or how to >> collect the data. >> >> Users brought up 2 possible meanings of 'changed': >> >> >> 1. Changed from the Yocto Project default value (the value the variable >> has when you download / clone a stable release of the Yocto Project) >> 2. Changed since the last build >> >> Is it possible to collect any of the 2? > > >Changes in variables is effectively what we've been talking about when >we've talked about sstate signature differences and how to visualise >those, its effectively what diffsigs is about. > >I'm not sure a simple column is going to do this justice. Most likely this won=B9t be just a single column. > >Actually, a single column doesn't help, especially when we have no idea >what it actually means. =B3What it actually means=B2 is what are trying to work out here. And I respectfully disagree: a single column does help. That humble column can make a great entry point to the information I am interested in. > >In this case I think you're talking just about the base metadata and not >the task level variables though which I guess would simplify things a >bit... > > >Yep, this is about base metadata. We can show the a single variable value >across a number of builds, > >or do base metadata diff between two builds, if that helps. So =8Cchanged=B9 kind of means "Changed since the last build=B2, kind of be= cause we don=B9t need to limit ourselves to the last build, but potentially could offer: * the ability to choose which 2 builds, and also * to see a full history of the variable across builds recorded by Toaster. We have an issue in Bugzilla set to =8Cneed info=B9 for this: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D5226 Any ideas / suggestions you might have about how to collect the information would be very helpful. Thanks Bel=E9n > >We are not tracking task level variables, not sure if this is a problem >or not. > >=20 > > >Cheers, > >Richard > > > >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster > > > > > > > > >--=20 >Alex Damian >Yocto Project > >SSG / OTC=20 > > >