<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sat, 20 Oct 2018 at 02:11, &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2018-10-16 at 18:21 -0500, Aníbal Limón wrote:<br>
&gt; When use simpleremote target the flash/boot process is executed<br>
&gt; manually, the IMAGE_FSTYPES validation is only needed when execute<br>
&gt; testimage against qemu.<br>
&gt; <br>
&gt; The supported_fstypes comes from oeqa.core.target.qemu module.<br>
&gt; <br>
&gt; Signed-off-by: Aníbal Limón &lt;<a href="mailto:anibal.limon@linaro.org" target="_blank">anibal.limon@linaro.org</a>&gt;<br>
&gt; ---<br>
&gt;  meta/classes/testimage.bbclass | 13 +++++++------<br>
&gt;  1 file changed, 7 insertions(+), 6 deletions(-)<br>
&gt; <br>
&gt; diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass<br>
&gt; index 2642a722e7..734cb7caae 100644<br>
&gt; --- a/meta/classes/testimage.bbclass<br>
&gt; +++ b/meta/classes/testimage.bbclass<br>
&gt; @@ -194,12 +194,13 @@ def testimage_main(d):<br>
&gt;      machine = d.getVar(&quot;MACHINE&quot;)<br>
&gt;  <br>
&gt;      # Get rootfs<br>
&gt; -    fstypes = [fs for fs in d.getVar(&#39;IMAGE_FSTYPES&#39;).split(&#39; &#39;)<br>
&gt; -                  if fs in supported_fstypes]<br>
&gt; -    if not fstypes:<br>
&gt; -        bb.fatal(&#39;Unsupported image type built. Add a comptible image to &#39;<br>
&gt; -                 &#39;IMAGE_FSTYPES. Supported types: %s&#39; %<br>
&gt; -                 &#39;, &#39;.join(supported_fstypes))<br>
&gt; +    fstypes = d.getVar(&#39;IMAGE_FSTYPES&#39;)<br>
&gt; +    if d.getVar(&quot;TEST_TARGET&quot;) == &quot;qemu&quot;:<br>
&gt; +        fstypes = [fs for fs in fstypes if fs in supported_fstypes]<br>
&gt; +        if not fstypes:<br>
&gt; +            bb.fatal(&#39;Unsupported image type built. Add a comptible image to &#39;<br>
&gt; +                     &#39;IMAGE_FSTYPES. Supported types: %s&#39; %<br>
&gt; +                     &#39;, &#39;.join(supported_fstypes))<br>
&gt;      rootfs = &#39;%s.%s&#39; % (image_name, fstypes[0])<br>
&gt;  <br>
&gt;      # Get tmpdir (not really used, just for compatibility)<br>
<br>
This causes the autobuilder to break and there is a bug in the logic<br>
above:<br>
<br>
<a href="https://autobuilder.yoctoproject.org/typhoon/#/builders/32/builds/128/steps/7/logs/step1c" rel="noreferrer" target="_blank">https://autobuilder.yoctoproject.org/typhoon/#/builders/32/builds/128/steps/7/logs/step1c</a></blockquote><div><br></div><div>I&#39;m not seeing this error, I executed testimage in qemuarm and qemux86, </div><div>I&#39;m looking at the configuration but should not fail because I added only a conditional to filter only<br></div><div>when the target is qemu.</div><div><br></div><div>Regards,</div><div>Anibal </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
(one of many failures as everything broke)<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
</blockquote></div></div>