<div dir="ltr"><br>On 23 January 2017 at 22:13, &lt;<a href="mailto:jose.perez.carranza@linux.intel.com">jose.perez.carranza@linux.intel.com</a>&gt; wrote:<br>&gt;<br>&gt; +        checkmodcode = runCmd(&quot;strings %s | head -n 10 | grep &#39;%s&#39;&quot; % (bzimagefile, modstring))<br><br><br>Annoyingly this bit is failing on some autobuilders:<br><br>AssertionError: Command &#39;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 &#39;use a boot loader - Devtool kernel testing&#39;&#39; 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&#39;m wondering if grep on its own - not strings|head|grep - would work around this?</div><div><br></div><div>(note that strings is &quot;smart&quot; and if executed on an ELF will use libbfd to extract the segments with human strings in, which is why it&#39;s returning errors from BFD)</div><div><br></div><div>Ross</div></div>