From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 262F5E00F39; Tue, 12 Jul 2016 09:09:26 -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 * [192.55.52.93 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 904CFE00F35 for ; Tue, 12 Jul 2016 09:09:24 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 12 Jul 2016 09:09:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,352,1464678000"; d="scan'208";a="993775396" Received: from jlock-mobl1.ger.corp.intel.com ([10.252.11.132]) by orsmga001.jf.intel.com with ESMTP; 12 Jul 2016 09:09:22 -0700 Message-ID: <1468339760.2733.9.camel@linux.intel.com> From: Joshua G Lock To: =?ISO-8859-1?Q?An=EDbal_Lim=F3n?= , yocto@yoctoproject.org Date: Tue, 12 Jul 2016 17:09:20 +0100 In-Reply-To: <1468273073-8178-2-git-send-email-anibal.limon@linux.intel.com> References: <1468273073-8178-1-git-send-email-anibal.limon@linux.intel.com> <1468273073-8178-2-git-send-email-anibal.limon@linux.intel.com> X-Mailer: Evolution 3.20.3 (3.20.3-1.fc24) Mime-Version: 1.0 Subject: Re: [[PATCH][yocto-autobuilder] 2/2] buildsteps/RunOeSelftest.py: Set native_lsb to universal X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 16:09:26 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Mon, 2016-07-11 at 16:37 -0500, Aníbal Limón wrote: > The error report is generated into AB master and currently we > don't have a method to get AB worker distro, so set to universal. Can you elaborate a bit here? Why don't we have a method available to get the worker distro? Is it because we don't ensure all of the builders in the cluster include lsb_release? Are our worker distro versions new enough that we can rely on os- release? http://manpages.ubuntu.com/manpages/xenial/en/man5/os-release.5.html Regards, Joshua > > Signed-off-by: Aníbal Limón > --- >  lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py > | 4 +++- >  1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/lib/python2.7/site- > packages/autobuilder/buildsteps/RunOeSelftest.py > b/lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py > index 5b9e408..809bcc3 100644 > --- a/lib/python2.7/site- > packages/autobuilder/buildsteps/RunOeSelftest.py > +++ b/lib/python2.7/site- > packages/autobuilder/buildsteps/RunOeSelftest.py > @@ -52,7 +52,9 @@ class RunOeSelftest(ShellCommand): >          report['machine'] = 'universal' >          report['build_sys'] = "%s-%s" % (platform.machine(), >                  platform.system().lower()) > -        report['nativelsb'] = get_lsb_distro() or 'universal' > +        # XXX: Set to universal because isn't easy to get > Autobuilder > +        # worker distro. > +        report['nativelsb'] = 'universal'  >          report['distro'] = 'universal' >          report['target_sys'] = 'universal' >   > --  > 2.1.4 >