From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 01/23] CI: Introduce Standard CI for cross building
Date: Mon, 25 Mar 2024 17:55:18 +0200 [thread overview]
Message-ID: <20240325155540.4162990-2-amikan@ilbers.de> (raw)
In-Reply-To: <20240325155540.4162990-1-amikan@ilbers.de>
Add new testsuite called Standard as successor of Full CI.
It will build the same targets as Full but using cross compile.
There are also few targets left noncross for minimal checking.
>From now we should switch using:
$ ci_build.sh -T full
to:
$ ci_build.sh -T standard
Old full testsuite is left for compatibility and keeping coverage only.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
testsuite/citest.py | 109 ++++++++++++++++++++++++++++++++++++++++----
1 file changed, 100 insertions(+), 9 deletions(-)
diff --git a/testsuite/citest.py b/testsuite/citest.py
index 7e24c498..92499781 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -22,7 +22,7 @@ class DevTest(CIBaseTest):
"""
Developer's test
- :avocado: tags=dev,fast,full
+ :avocado: tags=dev,fast,standard,full
"""
def test_dev(self):
targets = [
@@ -76,7 +76,7 @@ class ReproTest(CIBaseTest):
"""
Test cached base repository
- :avocado: tags=repro,full
+ :avocado: tags=repro,standard,full
"""
def test_repro_signed(self):
targets = [
@@ -108,7 +108,7 @@ class CcacheTest(CIBaseTest):
"""
Test rebuild speed improve with ccache
- :avocado: tags=ccache,full
+ :avocado: tags=ccache,standard,full
"""
def test_ccache_rebuild(self):
targets = ['mc:qemuamd64-bullseye:hello-isar']
@@ -120,7 +120,7 @@ class CrossTest(CIBaseTest):
"""
Start cross build for the defined set of configurations
- :avocado: tags=cross,fast,full
+ :avocado: tags=cross,fast,standard,full
"""
def test_cross(self):
targets = [
@@ -153,7 +153,7 @@ class WicTest(CIBaseTest):
"""
Test creation of wic images
- :avocado: tags=wic,full
+ :avocado: tags=wic,standard,full
"""
def test_wic_nodeploy_partitions(self):
targets = ['mc:qemuarm64-bookworm:isar-image-ci']
@@ -171,6 +171,97 @@ class WicTest(CIBaseTest):
self.perform_wic_partition_test(targets,
wic_deploy_parts=True, debsrc_cache=True, compat_arch=False)
+class StandardTest(CIBaseTest):
+
+ """
+ Start standard build for the defined set of configurations
+
+ :avocado: tags=standardbase,standard
+ """
+ def test_standard_cross(self):
+ targets = [
+ 'mc:qemuarm-buster:isar-image-ci',
+ 'mc:qemuarm-bullseye:isar-image-base',
+ 'mc:qemuarm64-bullseye:isar-image-ci',
+ 'mc:qemui386-buster:isar-image-base',
+ 'mc:qemui386-bullseye:isar-image-base',
+ 'mc:qemuamd64-buster:isar-image-ci',
+ 'mc:qemuamd64-bullseye:isar-initramfs',
+ 'mc:qemumipsel-bullseye:isar-image-base',
+ 'mc:imx6-sabrelite-bullseye:isar-image-base',
+ 'mc:phyboard-mira-bullseye:isar-image-base',
+ 'mc:hikey-bullseye:isar-image-base',
+ 'mc:virtualbox-bullseye:isar-image-base',
+ 'mc:virtualbox-bookworm:isar-image-base',
+ 'mc:bananapi-bullseye:isar-image-base',
+ 'mc:bananapi-bookworm:isar-image-base',
+ 'mc:nanopi-neo-bullseye:isar-image-base',
+ 'mc:nanopi-neo-bookworm:isar-image-base',
+ 'mc:stm32mp15x-bullseye:isar-image-base',
+ 'mc:qemuamd64-focal:isar-image-ci',
+ 'mc:qemuamd64-bookworm:isar-image-ci',
+ 'mc:qemui386-bookworm:isar-image-base',
+ 'mc:qemumipsel-bookworm:isar-image-ci',
+ 'mc:hikey-bookworm:isar-image-base',
+ 'mc:de0-nano-soc-bookworm:isar-image-base',
+ ]
+
+ self.init()
+ self.perform_build_test(targets, debsrc_cache=True)
+
+ def test_standard_nocross(self):
+ targets = [
+ 'mc:qemumipsel-buster:isar-image-base',
+ 'mc:qemuarm-bookworm:isar-image-ci',
+ ]
+
+ self.init()
+ self.perform_build_test(targets, cross=False)
+
+ def test_standard_rpi(self):
+ targets = [
+ 'mc:rpi-arm-bullseye:isar-image-base',
+ 'mc:rpi-arm-v7-bullseye:isar-image-base',
+ 'mc:rpi-arm-v7l-bullseye:isar-image-base',
+ 'mc:rpi-arm64-v8-bullseye:isar-image-base',
+ 'mc:rpi-arm-bookworm:isar-image-base',
+ 'mc:rpi-arm-v7-bookworm:isar-image-base',
+ 'mc:rpi-arm-v7l-bookworm:isar-image-base',
+ 'mc:rpi-arm64-v8-bookworm:isar-image-base',
+ ]
+
+ self.init()
+ try:
+ self.perform_build_test(targets, debsrc_cache=True)
+ except:
+ self.cancel('KFAIL')
+
+ def test_standard_trixie(self):
+ targets = [
+ 'mc:qemuamd64-trixie:isar-image-base',
+ 'mc:qemuarm64-trixie:isar-image-base',
+ 'mc:qemuarm-trixie:isar-image-base',
+ ]
+
+ self.init()
+ try:
+ self.perform_build_test(targets)
+ except:
+ self.cancel('KFAIL')
+
+ def test_standard_sid(self):
+ targets = [
+ 'mc:qemuriscv64-sid:isar-image-base',
+ 'mc:sifive-fu540-sid:isar-image-base',
+ 'mc:starfive-visionfive2-sid:isar-image-base',
+ ]
+
+ self.init()
+ try:
+ self.perform_build_test(targets)
+ except:
+ self.cancel('KFAIL')
+
class NoCrossTest(CIBaseTest):
"""
@@ -263,7 +354,7 @@ class ContainerImageTest(CIBaseTest):
"""
Test containerized images creation
- :avocado: tags=containerbuild,fast,full,container
+ :avocado: tags=containerbuild,fast,standard,full,container
"""
@skipUnless(UMOCI_AVAILABLE and SKOPEO_AVAILABLE, 'umoci/skopeo not found')
def test_container_image(self):
@@ -281,7 +372,7 @@ class ContainerSdkTest(CIBaseTest):
"""
Test SDK container image creation
- :avocado: tags=containersdk,fast,full,container
+ :avocado: tags=containersdk,fast,standard,full,container
"""
@skipUnless(UMOCI_AVAILABLE and SKOPEO_AVAILABLE, 'umoci/skopeo not found')
def test_container_sdk(self):
@@ -295,7 +386,7 @@ class SstateTest(CIBaseTest):
"""
Test builds with artifacts taken from sstate cache
- :avocado: tags=sstate,full
+ :avocado: tags=sstate,standard,full
"""
def test_sstate_populate(self):
@@ -406,7 +497,7 @@ class VmBootTestFull(CIBaseTest):
"""
Test QEMU image start (full)
- :avocado: tags=startvm,full
+ :avocado: tags=startvm,standard,full
"""
def test_arm_bullseye(self):
--
2.34.1
next prev parent reply other threads:[~2024-03-25 15:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 15:55 [PATCH 00/23] Additional CI improvements Anton Mikanovich
2024-03-25 15:55 ` Anton Mikanovich [this message]
2024-03-25 15:55 ` [PATCH 02/23] CI: Rename cross to fast Anton Mikanovich
2024-03-25 15:55 ` [PATCH 03/23] CI: Rename nocross to full Anton Mikanovich
2024-03-25 15:55 ` [PATCH 04/23] CI: Remove test keyword from class names Anton Mikanovich
2024-03-25 15:55 ` [PATCH 05/23] CI: Rename base test cases Anton Mikanovich
2024-03-25 15:55 ` [PATCH 06/23] CI: Remove cleanup before nocross build Anton Mikanovich
2024-03-25 15:55 ` [PATCH 07/23] CI: Update default target to bookworm Anton Mikanovich
2024-03-25 15:55 ` [PATCH 08/23] CI: Remove duplicated targets Anton Mikanovich
2024-03-25 15:55 ` [PATCH 09/23] CI: Run startvm for all qemu targets Anton Mikanovich
2024-03-25 15:55 ` [PATCH 10/23] CI: Fix errors reporting during startvm Anton Mikanovich
2024-03-25 15:55 ` [PATCH 11/23] CI: Remove logging hack for job.log Anton Mikanovich
2024-03-25 15:55 ` [PATCH 12/23] CI: Do not lost errors on failed processes Anton Mikanovich
2024-03-25 15:55 ` [PATCH 13/23] CI: Remove container package list hack from testsuite Anton Mikanovich
2024-03-25 15:55 ` [PATCH 14/23] CI: Minimize debsrc_cache checking Anton Mikanovich
2024-03-25 15:55 ` [PATCH 15/23] CI: Minimize kselftest checking Anton Mikanovich
2024-03-25 15:55 ` [PATCH 16/23] CI: Do not include testsuites into each other Anton Mikanovich
2024-03-25 15:55 ` [PATCH 17/23] CI: Mark some single testcases with tags Anton Mikanovich
2024-03-25 15:55 ` [PATCH 18/23] CI: Execute startvm testcases after building Anton Mikanovich
2024-03-25 15:55 ` [PATCH 19/23] CI: Fix missing endline in generated config Anton Mikanovich
2024-03-25 15:55 ` [PATCH 20/23] CI: Remove absolute path to citest.py Anton Mikanovich
2024-03-25 15:55 ` [PATCH 21/23] CI: Create avocado.conf inside build_dir Anton Mikanovich
2024-03-25 15:55 ` [PATCH 22/23] CI: Set also cache dir for Avocado Anton Mikanovich
2024-03-25 15:55 ` [PATCH 23/23] CI: Add make world test case Anton Mikanovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240325155540.4162990-2-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox