<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"><<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>></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'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"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></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 <<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>> wrote:<br>
> On Mon, May 14, 2018, 15:06 Burton, Ross <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>> wrote:<br>
>><br>
>> Sorry, but:<br>
>><br>
>> 2018-05-14 18:57:44,968 - oe-selftest - INFO - FAIL:<br>
>> test_devtool_add_fetch_git (devtool.DevtoolTests)<br>
>> 2018-05-14 18:57:44,968 - oe-selftest - INFO -<br>
>> ------------------------------<wbr>------------------------------<wbr>----------<br>
>> 2018-05-14 18:57:44,968 - oe-selftest - INFO - Traceback (most recent<br>
>> call last):<br>
>> File<br>
>> "/home/pokybuild/yocto-autobui<wbr>lder/yocto-worker/nightly-oe-<wbr>selftest/build/meta/lib/oeqa/<wbr>core/decorator/__init__.py",<br>
>> line 32, in wrapped_f<br>
>> return func(*args, **kwargs)<br>
>> File<br>
>> "/home/pokybuild/yocto-autobui<wbr>lder/yocto-worker/nightly-oe-<wbr>selftest/build/meta/lib/oeqa/<wbr>selftest/cases/devtool.py",<br>
>> line 403, in test_devtool_add_fetch_git<br>
>> result = runCmd('devtool add %s %s -f "%s" -V 1.5' % (testrecipe,<br>
>> srcdir, url_rev))<br>
>> File<br>
>> "/home/pokybuild/yocto-autobui<wbr>lder/yocto-worker/nightly-oe-<wbr>selftest/build/meta/lib/oeqa/<wbr>utils/commands.py",<br>
>> line 191, in runCmd<br>
>> raise AssertionError("Command '%s' returned non-zero exit status<br>
>> %d:\n%s" % (command, result.status, exc_output))<br>
>> AssertionError: Command 'devtool add mraa /tmp/devtoolqa0aghorcw/mraa<br>
>> -f<br>
>> "gitsm://<a href="http://git.yoctoproject.org/mraa;rev=ae127b19a50aa54255e4330ccfdd9a5d058e581d" rel="noreferrer" target="_blank">git.yoctoproject.org/<wbr>mraa;rev=ae127b19a50aa54255e43<wbr>30ccfdd9a5d058e581d</a>"<br>
>> -V 1.5' returned non-zero exit status 1:<br>
>> ...<br>
>><br>
>> ERROR: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export<br>
>><br>
>> PATH="/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";<br>
>> export HOME="/home/pokybuild"; git -c core.fsyncobjectfiles=0<br>
>> submodule update --init --recursive --no-fetch failed with exit code<br>
>> 1, output:<br>
>> Submodule 'doxygen2jsdoc'<br>
>> (<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>
>> 'doxygen2jsdoc'<br>
>> fatal: reference is not a tree: 9cc90b7976252b2d14b7956230c587<wbr>0097e1f008<br>
>> Unable to checkout '9cc90b7976252b2d14b7956230c58<wbr>70097e1f008' in<br>
>> submodule path 'doxygen2jsdoc'<br>
>><br>
>> Ross<br>
>><br>
>> On 14 May 2018 at 19:50, Matt Hoosier <<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>> wrote:<br>
>> > Although the submodules' histories have been fetched during the<br>
>> > do_fetch() phase, the mechanics used to clone the workdir copy<br>
>> > of the repo haven't been transferring the actual .git/modules<br>
>> > directory from the repo fetched into downloads/ during the<br>
>> > fetch task.<br>
>> ><br>
>> > Fix that, and for good measure also explicitly tell Git to avoid<br>
>> > hitting the network during do_unpack() of the submodules.<br>
>> ><br>
>> > [YOCTO #12739]<br>
>> ><br>
>> > Signed-off-by: Matt Hoosier <<a href="mailto:matt.hoosier@gmail.com" target="_blank">matt.hoosier@gmail.com</a>><br>
>> > ---<br>
>> > lib/bb/fetch2/gitsm.py | 28 +++++++++++++++++++++++++++-<br>
>> > 1 file changed, 27 insertions(+), 1 deletion(-)<br>
>> ><br>
>> > diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py<br>
>> > index 0aff1008..c5019e98 100644<br>
>> > --- a/lib/bb/fetch2/gitsm.py<br>
>> > +++ b/lib/bb/fetch2/gitsm.py<br>
>> > @@ -132,4 +132,30 @@ class GitSM(Git):<br>
>> ><br>
>> > if self.uses_submodules(ud, d, ud.destdir):<br>
>> > runfetchcmd(ud.basecmd + " checkout " +<br>
>> > ud.revisions[ud.names[0]], d, workdir=ud.destdir)<br>
>> > - runfetchcmd(ud.basecmd + " submodule update --init<br>
>> > --recursive", d, workdir=ud.destdir)<br>
>> > +<br>
>> > + updateflags = ""<br>
>> > +<br>
>> > + # Copy over the submodules' fetched histories too.<br>
>> > + if ud.bareclone:<br>
>> > + repo_conf = ud.destdir<br>
>> > + else:<br>
>> > + repo_conf = os.path.join(ud.destdir, '.git')<br>
>> > +<br>
>> > + if os.path.exists(ud.clonedir):<br>
>> > + # This is not a copy unpacked from a shallow mirror<br>
>> > clone. So<br>
>> > + # the manual intervention to populate the .git/modules<br>
>> > done<br>
>> > + # in clone_shallow_local() won't have been done yet.<br>
>> > + runfetchcmd("cp -fpPRH %s %s" %<br>
>> > (os.path.join(ud.clonedir, 'modules'), repo_conf), d)<br>
>> > + updateflags += " --no-fetch"<br>
>> > + elif os.path.exists(os.path.join(re<wbr>po_conf, 'modules')):<br>
>> > + # Unpacked from a shallow mirror clone. Manual<br>
>> > population of<br>
>> > + # .git/modules is already done.<br>
>> > + updateflags += " --no-fetch"<br>
>> > + else:<br>
>> > + # This isn't fatal; git-submodule will just fetch it<br>
>> > + # during do_unpack().<br>
>> > + bb.error("submodule history not retrieved during<br>
>> > do_fetch()")<br>
>> > +<br>
>> > + # Careful not to hit the network during unpacking; all<br>
>> > history should already<br>
>> > + # be fetched.<br>
>> > + runfetchcmd(ud.basecmd + " submodule update --init<br>
>> > --recursive %s" % updateflags, d, workdir=ud.destdir)<br>
>> > --<br>
>> > 2.13.6<br>
>> ><br>
>> > --<br>
>> > ______________________________<wbr>_________________<br>
>> > bitbake-devel mailing list<br>
>> > <a href="mailto:bitbake-devel@lists.openembedded.org" target="_blank">bitbake-devel@lists.openembedd<wbr>ed.org</a><br>
>> > <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>
><br>
><br>
> Okay, I'll have a look at that. Are there any other test suites I should<br>
> know about?<br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>