Message ID | 20231027072147.111314-1-alex.kanavin@gmail.com |
---|---|
State | New |
Headers | show |
Series | [yocto-autobuilder-helper] config.json: add a standalone builder for running yocto mirror tests | expand |
On Fri, 2023-10-27 at 09:21 +0200, Alexander Kanavin wrote: > Those tests are currently run as the last step in a-full/a-quick, > but it's useful to also trigger them separately, after perhaps > executing other builders that populate the mirrors (such as > qemux86-64 and such). > > Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> > --- > config.json | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/config.json b/config.json > index 9987514..918cf08 100644 > --- a/config.json > +++ b/config.json > @@ -1433,6 +1433,14 @@ > "${SCRIPTSDIR}/setup-auh ${HELPERBUILDDIR}; ${SCRIPTSDIR}/run-auh ${HELPERBUILDDIR} ${WEBPUBLISH_DIR}/pub/auh/" > ] > }, > + "yocto-mirror" : { > + "MACHINE" : "qemux86-64", > + "step1" : { > + "shortname" : "Yocto Mirror Selftest", > + "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest -a -t yocto-mirrors -j 15"], > + "ADDLAYER" : ["${BUILDDIR}/../meta-selftest"] > + } > + }, > "meta-oe-mirror" : { > "SDKMACHINE" : "x86_64", > "MACHINE" : "qemux86-64", This and the controller patch should be live. Cheers, Richard
Thanks, I'm also just now testing the change that also prints what sstate paths were actually requested when the test fails due to missing objects. Alex On Fri, 27 Oct 2023 at 10:56, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > > On Fri, 2023-10-27 at 09:21 +0200, Alexander Kanavin wrote: > > Those tests are currently run as the last step in a-full/a-quick, > > but it's useful to also trigger them separately, after perhaps > > executing other builders that populate the mirrors (such as > > qemux86-64 and such). > > > > Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> > > --- > > config.json | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/config.json b/config.json > > index 9987514..918cf08 100644 > > --- a/config.json > > +++ b/config.json > > @@ -1433,6 +1433,14 @@ > > "${SCRIPTSDIR}/setup-auh ${HELPERBUILDDIR}; ${SCRIPTSDIR}/run-auh ${HELPERBUILDDIR} ${WEBPUBLISH_DIR}/pub/auh/" > > ] > > }, > > + "yocto-mirror" : { > > + "MACHINE" : "qemux86-64", > > + "step1" : { > > + "shortname" : "Yocto Mirror Selftest", > > + "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest -a -t yocto-mirrors -j 15"], > > + "ADDLAYER" : ["${BUILDDIR}/../meta-selftest"] > > + } > > + }, > > "meta-oe-mirror" : { > > "SDKMACHINE" : "x86_64", > > "MACHINE" : "qemux86-64", > > This and the controller patch should be live. > > Cheers, > > Richard
diff --git a/config.json b/config.json index 9987514..918cf08 100644 --- a/config.json +++ b/config.json @@ -1433,6 +1433,14 @@ "${SCRIPTSDIR}/setup-auh ${HELPERBUILDDIR}; ${SCRIPTSDIR}/run-auh ${HELPERBUILDDIR} ${WEBPUBLISH_DIR}/pub/auh/" ] }, + "yocto-mirror" : { + "MACHINE" : "qemux86-64", + "step1" : { + "shortname" : "Yocto Mirror Selftest", + "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest -a -t yocto-mirrors -j 15"], + "ADDLAYER" : ["${BUILDDIR}/../meta-selftest"] + } + }, "meta-oe-mirror" : { "SDKMACHINE" : "x86_64", "MACHINE" : "qemux86-64",
Those tests are currently run as the last step in a-full/a-quick, but it's useful to also trigger them separately, after perhaps executing other builders that populate the mirrors (such as qemux86-64 and such). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> --- config.json | 8 ++++++++ 1 file changed, 8 insertions(+)