Yocto Project Discussions
 help / color / mirror / Atom feed
* [PATCH yocto-autobuilder-helper] config.json: add a standalone builder for running yocto mirror tests
@ 2023-10-27  7:21 Alexander Kanavin
  2023-10-27  8:56 ` [yocto] " Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2023-10-27  7:21 UTC (permalink / raw)
  To: yocto; +Cc: Alexander Kanavin

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",
-- 
2.41.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [yocto] [PATCH yocto-autobuilder-helper] config.json: add a standalone builder for running yocto mirror tests
  2023-10-27  7:21 [PATCH yocto-autobuilder-helper] config.json: add a standalone builder for running yocto mirror tests Alexander Kanavin
@ 2023-10-27  8:56 ` Richard Purdie
  2023-10-27  9:03   ` Alexander Kanavin
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2023-10-27  8:56 UTC (permalink / raw)
  To: Alexander Kanavin, yocto

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] [PATCH yocto-autobuilder-helper] config.json: add a standalone builder for running yocto mirror tests
  2023-10-27  8:56 ` [yocto] " Richard Purdie
@ 2023-10-27  9:03   ` Alexander Kanavin
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Kanavin @ 2023-10-27  9:03 UTC (permalink / raw)
  To: Richard Purdie; +Cc: yocto

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-27  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27  7:21 [PATCH yocto-autobuilder-helper] config.json: add a standalone builder for running yocto mirror tests Alexander Kanavin
2023-10-27  8:56 ` [yocto] " Richard Purdie
2023-10-27  9:03   ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox