<div dir="ltr">These test cases failures are fixed up in the v5 submission: <a href="http://lists.openembedded.org/pipermail/bitbake-devel/2018-May/009350.html">http://lists.openembedded.org/pipermail/bitbake-devel/2018-May/009350.html</a>.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 17, 2018 at 2:17 PM, Matt Hoosier <span dir="ltr">&lt;<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Right; I got enough context from your copied/pasted failure report to duplicate it. I&#39;m just wondering if there are other test batteries besides bitbake-selftest and oe-selftest that are gates to clear?<span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">-Matt</font></span><div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 17, 2018 at 11:28 AM, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matt,<br>
<br>
If you run oe-selftest -r devtool then it will run the tests which are failing.<br>
<span class="m_2919359520399924599HOEnZb"><font color="#888888"><br>
Ross<br>
</font></span><div class="m_2919359520399924599HOEnZb"><div class="m_2919359520399924599h5"><br>
On 14 May 2018 at 22:59, Matt Hoosier &lt;<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>&gt; wrote:<br>
&gt; On Mon, May 14, 2018, 15:06 Burton, Ross &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Sorry, but:<br>
&gt;&gt;<br>
&gt;&gt; 2018-05-14 18:57:44,968 - oe-selftest - INFO - FAIL:<br>
&gt;&gt; test_devtool_add_fetch_git (devtool.DevtoolTests)<br>
&gt;&gt; 2018-05-14 18:57:44,968 - oe-selftest - INFO -<br>
&gt;&gt; ------------------------------<wbr>------------------------------<wbr>----------<br>
&gt;&gt; 2018-05-14 18:57:44,968 - oe-selftest - INFO - Traceback (most recent<br>
&gt;&gt; call last):<br>
&gt;&gt;   File<br>
&gt;&gt; &quot;/home/pokybuild/yocto-autobui<wbr>lder/yocto-worker/nightly-oe-<wbr>selftest/build/meta/lib/oeqa/<wbr>core/decorator/__init__.py&quot;,<br>
&gt;&gt; line 32, in wrapped_f<br>
&gt;&gt;     return func(*args, **kwargs)<br>
&gt;&gt;   File<br>
&gt;&gt; &quot;/home/pokybuild/yocto-autobui<wbr>lder/yocto-worker/nightly-oe-<wbr>selftest/build/meta/lib/oeqa/<wbr>selftest/cases/devtool.py&quot;,<br>
&gt;&gt; line 403, in test_devtool_add_fetch_git<br>
&gt;&gt;     result = runCmd(&#39;devtool add %s %s -f &quot;%s&quot; -V 1.5&#39; % (testrecipe,<br>
&gt;&gt; srcdir, url_rev))<br>
&gt;&gt;   File<br>
&gt;&gt; &quot;/home/pokybuild/yocto-autobui<wbr>lder/yocto-worker/nightly-oe-<wbr>selftest/build/meta/lib/oeqa/<wbr>utils/commands.py&quot;,<br>
&gt;&gt; line 191, in runCmd<br>
&gt;&gt;     raise AssertionError(&quot;Command &#39;%s&#39; returned non-zero exit status<br>
&gt;&gt; %d:\n%s&quot; % (command, result.status, exc_output))<br>
&gt;&gt; AssertionError: Command &#39;devtool add mraa /tmp/devtoolqa0aghorcw/mraa<br>
&gt;&gt; -f<br>
&gt;&gt; &quot;gitsm://<a href="http://git.yoctoproject.org/mraa;rev=ae127b19a50aa54255e4330ccfdd9a5d058e581d" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>mraa;rev=ae127b19a50aa54255e43<wbr>30ccfdd9a5d058e581d</a>&quot;<br>
&gt;&gt; -V 1.5&#39; returned non-zero exit status 1:<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt; ERROR: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export<br>
&gt;&gt;<br>
&gt;&gt; PATH=&quot;/home/pokybuild/yocto-au<wbr>tobuilder/yocto-worker/nightly<wbr>-oe-selftest/build/build/tmp/<wbr>sysroots-uninative/x86_64-<wbr>linux/usr/bin:/home/pokybuild/<wbr>yocto-autobuilder/yocto-<wbr>worker/nightly-oe-selftest/<wbr>build/scripts:/home/pokybuild/<wbr>yocto-autobuilder/yocto-<wbr>worker/nightly-oe-selftest/<wbr>build/build/tmp/work/recipetoo<wbr>l-utucnynk/work/recipe-<wbr>sysroot-native/usr/bin/x86_64-<wbr>poky-linux:/home/pokybuild/<wbr>yocto-autobuilder/yocto-<wbr>worker/nightly-oe-selftest/<wbr>build/build/tmp/work/recipetoo<wbr>l-utucnynk/work/recipe-<wbr>sysroot/usr/bin/crossscripts:/<wbr>home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-oe-selftest/build/<wbr>build/tmp/work/recipetool-<wbr>utucnynk/work/recipe-sysroot-<wbr>native/usr/sbin:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-oe-<wbr>selftest/build/build/tmp/work/<wbr>recipetool-utucnynk/work/<wbr>recipe-sysroot-native/usr/bin:<wbr>/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-oe-selftest/build/<wbr>build/tmp/work/recipetool-<wbr>utucnynk/work/recipe-sysroot-<wbr>native/sbin:/home/pokybuild/<wbr>yocto-autobuilder/yocto-<wbr>worker/nightly-oe-selftest/<wbr>build/build/tmp/work/<wbr>recipetool-utucnynk/work/<wbr>recipe-sysroot-native/bin:/<wbr>home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-oe-selftest/build/<wbr>bitbake/bin:/home/pokybuild/<wbr>yocto-autobuilder/yocto-<wbr>worker/nightly-oe-selftest/<wbr>build/build/tmp/hosttools&quot;;<br>
&gt;&gt; export HOME=&quot;/home/pokybuild&quot;; git -c core.fsyncobjectfiles=0<br>
&gt;&gt; submodule update --init --recursive  --no-fetch failed with exit code<br>
&gt;&gt; 1, output:<br>
&gt;&gt; Submodule &#39;doxygen2jsdoc&#39;<br>
&gt;&gt; (<a href="https://github.com/arfoll/doxygen2jsdoc.git" rel="noreferrer" target="_blank">https://github.com/arfoll/dox<wbr>ygen2jsdoc.git</a>) registered for path<br>
&gt;&gt; &#39;doxygen2jsdoc&#39;<br>
&gt;&gt; fatal: reference is not a tree: 9cc90b7976252b2d14b7956230c587<wbr>0097e1f008<br>
&gt;&gt; Unable to checkout &#39;9cc90b7976252b2d14b7956230c58<wbr>70097e1f008&#39; in<br>
&gt;&gt; submodule path &#39;doxygen2jsdoc&#39;<br>
&gt;&gt;<br>
&gt;&gt; Ross<br>
&gt;&gt;<br>
&gt;&gt; On 14 May 2018 at 19:50, Matt Hoosier &lt;<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Although the submodules&#39; histories have been fetched during the<br>
&gt;&gt; &gt; do_fetch() phase, the mechanics used to clone the workdir copy<br>
&gt;&gt; &gt; of the repo haven&#39;t been transferring the actual .git/modules<br>
&gt;&gt; &gt; directory from the repo fetched into downloads/ during the<br>
&gt;&gt; &gt; fetch task.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Fix that, and for good measure also explicitly tell Git to avoid<br>
&gt;&gt; &gt; hitting the network during do_unpack() of the submodules.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; [YOCTO #12739]<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Signed-off-by: Matt Hoosier &lt;<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>&gt;<br>
&gt;&gt; &gt; ---<br>
&gt;&gt; &gt;  lib/bb/fetch2/gitsm.py | 28 +++++++++++++++++++++++++++-<br>
&gt;&gt; &gt;  1 file changed, 27 insertions(+), 1 deletion(-)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py<br>
&gt;&gt; &gt; index 0aff1008..c5019e98 100644<br>
&gt;&gt; &gt; --- a/lib/bb/fetch2/gitsm.py<br>
&gt;&gt; &gt; +++ b/lib/bb/fetch2/gitsm.py<br>
&gt;&gt; &gt; @@ -132,4 +132,30 @@ class GitSM(Git):<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;          if self.uses_submodules(ud, d, ud.destdir):<br>
&gt;&gt; &gt;              runfetchcmd(ud.basecmd + &quot; checkout &quot; +<br>
&gt;&gt; &gt; ud.revisions[ud.names[0]], d, workdir=ud.destdir)<br>
&gt;&gt; &gt; -            runfetchcmd(ud.basecmd + &quot; submodule update --init<br>
&gt;&gt; &gt; --recursive&quot;, d, workdir=ud.destdir)<br>
&gt;&gt; &gt; +<br>
&gt;&gt; &gt; +            updateflags = &quot;&quot;<br>
&gt;&gt; &gt; +<br>
&gt;&gt; &gt; +            # Copy over the submodules&#39; fetched histories too.<br>
&gt;&gt; &gt; +            if ud.bareclone:<br>
&gt;&gt; &gt; +                repo_conf = ud.destdir<br>
&gt;&gt; &gt; +            else:<br>
&gt;&gt; &gt; +                repo_conf = os.path.join(ud.destdir, &#39;.git&#39;)<br>
&gt;&gt; &gt; +<br>
&gt;&gt; &gt; +            if os.path.exists(ud.clonedir):<br>
&gt;&gt; &gt; +                # This is not a copy unpacked from a shallow mirror<br>
&gt;&gt; &gt; clone. So<br>
&gt;&gt; &gt; +                # the manual intervention to populate the .git/modules<br>
&gt;&gt; &gt; done<br>
&gt;&gt; &gt; +                # in clone_shallow_local() won&#39;t have been done yet.<br>
&gt;&gt; &gt; +                runfetchcmd(&quot;cp -fpPRH %s %s&quot; %<br>
&gt;&gt; &gt; (os.path.join(ud.clonedir, &#39;modules&#39;), repo_conf), d)<br>
&gt;&gt; &gt; +                updateflags += &quot; --no-fetch&quot;<br>
&gt;&gt; &gt; +            elif os.path.exists(os.path.join(re<wbr>po_conf, &#39;modules&#39;)):<br>
&gt;&gt; &gt; +                # Unpacked from a shallow mirror clone. Manual<br>
&gt;&gt; &gt; population of<br>
&gt;&gt; &gt; +                # .git/modules is already done.<br>
&gt;&gt; &gt; +                updateflags += &quot; --no-fetch&quot;<br>
&gt;&gt; &gt; +            else:<br>
&gt;&gt; &gt; +                # This isn&#39;t fatal; git-submodule will just fetch it<br>
&gt;&gt; &gt; +                # during do_unpack().<br>
&gt;&gt; &gt; +                bb.error(&quot;submodule history not retrieved during<br>
&gt;&gt; &gt; do_fetch()&quot;)<br>
&gt;&gt; &gt; +<br>
&gt;&gt; &gt; +            # Careful not to hit the network during unpacking; all<br>
&gt;&gt; &gt; history should already<br>
&gt;&gt; &gt; +            # be fetched.<br>
&gt;&gt; &gt; +            runfetchcmd(ud.basecmd + &quot; submodule update --init<br>
&gt;&gt; &gt; --recursive %s&quot; % updateflags, d, workdir=ud.destdir)<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; 2.13.6<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; ______________________________<wbr>_________________<br>
&gt;&gt; &gt; bitbake-devel mailing list<br>
&gt;&gt; &gt; <a href="mailto:bitbake-devel@lists.openembedded.org" target="_blank">bitbake-devel@lists.openembedd<wbr>ed.org</a><br>
&gt;&gt; &gt; <a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/bitbake-devel</a><br>
&gt;<br>
&gt;<br>
&gt; Okay, I&#39;ll have a look at that. Are there any other test suites I should<br>
&gt; know about?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>