[PATCH yocto-autobuilder-helper] config.json: add x86 (32 bit) ptest options


Alexander Kanavin
 

This will be particularly useful for testing Y2038 issues,
as that is the only 32 bit target that can be run at native speed
on the AB cluster.

Whether a-full should get fast ptests or full ptests can be decided
after collecting AB execution times for both.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.json | 8 ++++++++
scripts/publish-artefacts | 5 +++++
2 files changed, 13 insertions(+)

diff --git a/config.json b/config.json
index 713afe5..4dbfb2b 100644
--- a/config.json
+++ b/config.json
@@ -485,6 +485,14 @@
"MACHINE" : "qemux86",
"TEMPLATE" : "altcfg-qemu"
},
+ "qemux86-ptest" : {
+ "MACHINE" : "qemux86",
+ "TEMPLATE" : "ptest-qemu"
+ },
+ "qemux86-ptest-fast" : {
+ "MACHINE" : "qemux86",
+ "TEMPLATE" : "ptest-qemu-fast"
+ },
"genericx86" : {
"MACHINE" : "genericx86",
"TEMPLATE" : "arch-hw",
diff --git a/scripts/publish-artefacts b/scripts/publish-artefacts
index 506f790..ed08278 100755
--- a/scripts/publish-artefacts
+++ b/scripts/publish-artefacts
@@ -181,6 +181,11 @@ case "$target" in
sha256sums $TMPDIR/deploy/images/qemux86
cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/qemux86/*qemux86* $DEST/machines/qemu/qemux86
;;
+ "qemux86-ptest")
+ mkdir -p $DEST/machines/qemu/qemux86
+ sha256sums $TMPDIR/deploy/images/qemux86
+ cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/qemux86/*qemux86* $DEST/machines/qemu/qemux86
+ ;;
"genericx86")
mkdir -p $DEST/machines/genericx86
sha256sums $TMPDIR/deploy/images/genericx86
--
2.38.1


Alexander Kanavin
 

Is this sufficient to have those builders show up in buildbot (so they
can be manually triggered), or should they be also added to
yocto-autobuilder2/config.py somewhere?

Alex

On Fri, 2 Dec 2022 at 19:10, Alexander Kanavin via
lists.yoctoproject.org <alex.kanavin=gmail.com@...>
wrote:


This will be particularly useful for testing Y2038 issues,
as that is the only 32 bit target that can be run at native speed
on the AB cluster.

Whether a-full should get fast ptests or full ptests can be decided
after collecting AB execution times for both.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.json | 8 ++++++++
scripts/publish-artefacts | 5 +++++
2 files changed, 13 insertions(+)

diff --git a/config.json b/config.json
index 713afe5..4dbfb2b 100644
--- a/config.json
+++ b/config.json
@@ -485,6 +485,14 @@
"MACHINE" : "qemux86",
"TEMPLATE" : "altcfg-qemu"
},
+ "qemux86-ptest" : {
+ "MACHINE" : "qemux86",
+ "TEMPLATE" : "ptest-qemu"
+ },
+ "qemux86-ptest-fast" : {
+ "MACHINE" : "qemux86",
+ "TEMPLATE" : "ptest-qemu-fast"
+ },
"genericx86" : {
"MACHINE" : "genericx86",
"TEMPLATE" : "arch-hw",
diff --git a/scripts/publish-artefacts b/scripts/publish-artefacts
index 506f790..ed08278 100755
--- a/scripts/publish-artefacts
+++ b/scripts/publish-artefacts
@@ -181,6 +181,11 @@ case "$target" in
sha256sums $TMPDIR/deploy/images/qemux86
cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/qemux86/*qemux86* $DEST/machines/qemu/qemux86
;;
+ "qemux86-ptest")
+ mkdir -p $DEST/machines/qemu/qemux86
+ sha256sums $TMPDIR/deploy/images/qemux86
+ cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/qemux86/*qemux86* $DEST/machines/qemu/qemux86
+ ;;
"genericx86")
mkdir -p $DEST/machines/genericx86
sha256sums $TMPDIR/deploy/images/genericx86
--
2.38.1




Richard Purdie
 

On Fri, 2022-12-02 at 19:19 +0100, Alexander Kanavin wrote:
Is this sufficient to have those builders show up in buildbot (so they
can be manually triggered), or should they be also added to
yocto-autobuilder2/config.py somewhere?
Needs to be added to yocto-autobuilder2 as well.

Cheers,

Richard