<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 03/09/2017 01:57 PM, Burton, Ross wrote:<br>
<blockquote
cite="mid:CAJTo0LZNJx08iHnc7G6ka57ky0=NbkV2WDE9ihT29-pba+8Y1g@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
On 23 January 2017 at 22:13, <<a moz-do-not-send="true"
href="mailto:jose.perez.carranza@linux.intel.com">jose.perez.carranza@linux.intel.com</a>>
wrote:<br>
><br>
> + checkmodcode = runCmd("strings %s | head -n 10 |
grep '%s'" % (bzimagefile, modstring))<br>
<br>
<br>
Annoyingly this bit is failing on some autobuilders:<br>
<br>
</div>
</blockquote>
Do you have a list of workers where this is failing ? <br>
<blockquote
cite="mid:CAJTo0LZNJx08iHnc7G6ka57ky0=NbkV2WDE9ihT29-pba+8Y1g@mail.gmail.com"
type="cite">
<div dir="ltr">AssertionError: Command 'strings
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86-poky-linux/linux-yocto/4.10+git999-r0/image/boot/bzImage-4.10.0-yocto-standard
| head -n 10 | grep 'use a boot loader - Devtool kernel
testing'' returned non-zero exit status 1:<br>
BFD:
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86-poky-linux/linux-yocto/4.10+git999-r0/image/boot/bzImage-4.10.0-yocto-standard:
Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in
section .bss
<div><br>
</div>
<div>I'm wondering if grep on its own - not strings|head|grep -
would work around this?</div>
<div><br>
</div>
</div>
</blockquote>
I will try using grep and do some test to see if everything is OK.
on local AB's <br>
<blockquote
cite="mid:CAJTo0LZNJx08iHnc7G6ka57ky0=NbkV2WDE9ihT29-pba+8Y1g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>(note that strings is "smart" and if executed on an ELF
will use libbfd to extract the segments with human strings in,
which is why it's returning errors from BFD)</div>
<div><br>
</div>
<div>Ross</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Saludos
José </pre>
</body>
</html>