From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 31660E00E9B; Mon, 11 Jul 2016 14:37:38 -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 * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B2DE1E00E0F for ; Mon, 11 Jul 2016 14:37:37 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 11 Jul 2016 14:37:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,348,1464678000"; d="scan'208";a="732758282" Received: from alimonb-mobl1.zpn.intel.com ([10.219.5.159]) by FMSMGA003.fm.intel.com with ESMTP; 11 Jul 2016 14:37:34 -0700 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= To: yocto@yoctoproject.org Date: Mon, 11 Jul 2016 16:37:53 -0500 Message-Id: <1468273073-8178-2-git-send-email-anibal.limon@linux.intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1468273073-8178-1-git-send-email-anibal.limon@linux.intel.com> References: <1468273073-8178-1-git-send-email-anibal.limon@linux.intel.com> MIME-Version: 1.0 Subject: [[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: Mon, 11 Jul 2016 21:37:38 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. 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