From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: Joshua G Lock <joshua.g.lock@linux.intel.com>, yocto@yoctoproject.org
Subject: Re: [[PATCH][yocto-autobuilder] 2/2] buildsteps/RunOeSelftest.py: Set native_lsb to universal
Date: Tue, 12 Jul 2016 11:21:58 -0500 [thread overview]
Message-ID: <57851926.7000907@linux.intel.com> (raw)
In-Reply-To: <1468339760.2733.9.camel@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]
On 07/12/2016 11:09 AM, Joshua G Lock wrote:
> 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?
Currently, we don't have an easy way to get the worker distro an
buildstep is needed in order TODO that but isn't trivial.
I propose to have at step at buildinit for get the worker information.
At this time only will be distro. I removed the get_lsb_distro() because
it gets the distro of the master instead of the worker.
I added a bug for this task,
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9917
Cheers,
alimon
>
> 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 <anibal.limon@linux.intel.com>
>> ---
>> 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
>>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2016-07-12 16:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 21:37 [[PATCH][yocto-autobuilder] 1/2] buildbot/steps/transfer.py: Fix typo in DirectoryDownload step Aníbal Limón
2016-07-11 21:37 ` [[PATCH][yocto-autobuilder] 2/2] buildsteps/RunOeSelftest.py: Set native_lsb to universal Aníbal Limón
2016-07-12 16:09 ` Joshua G Lock
2016-07-12 16:21 ` Aníbal Limón [this message]
2016-07-13 13:32 ` Joshua G Lock
2016-07-13 15:07 ` Aníbal Limón
2016-07-13 15:19 ` [[PATCH][yocto-autobuilder] 1/2] buildbot/steps/transfer.py: Fix typo in DirectoryDownload step Joshua G Lock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57851926.7000907@linux.intel.com \
--to=anibal.limon@linux.intel.com \
--cc=joshua.g.lock@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.