Skip to contentSkip to conversation

config.json: add a standalone builder for running yocto mirror tests

PATCH In review Alexander Kanavin 2 participants 3 messages Oct 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config.json: add a standalone builder for running yocto mirror tests

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).

---
 config.json | 8 ++++++++
 1 file changed, 8 insertions(+)
config.json +8 -0
index 9987514..918cf08 100644
@@ -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",
Signature · 1 line
2.41.0
#1 lore raw
Quoted 19 lines · 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).

---
 config.json | 8 ++++++++
 1 file changed, 8 insertions(+)
config.json +1 -0
index 9987514..918cf08 100644
@@ -1433,6 +1433,14 @@
                 "${SCRIPTSDIR}/setup-auh ${HELPERBUILDDIR}; ${SCRIPTSDIR}/run-auh ${HELPERBUILDDIR} ${WEBPUBLISH_DIR}/pub/auh/"
             ]
         },
+        "yocto-mirror" : {

config.json line 1446

Quoted 10 lines
config.json +7 -0
+            "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

#2 lore raw

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

Quoted 37 lines · Richard Purdie
Quoted 19 lines · 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).

---
 config.json | 8 ++++++++
 1 file changed, 8 insertions(+)
config.json +1 -0
index 9987514..918cf08 100644
@@ -1433,6 +1433,14 @@
                 "${SCRIPTSDIR}/setup-auh ${HELPERBUILDDIR}; ${SCRIPTSDIR}/run-auh ${HELPERBUILDDIR} ${WEBPUBLISH_DIR}/pub/auh/"
             ]
         },
+        "yocto-mirror" : {

config.json line 1446

Quoted 10 lines
config.json +7 -0
+            "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