public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/2] Extend trixie test coverage
@ 2025-08-08  6:53 Anton Mikanovich
  2025-08-08  6:53 ` [PATCH 1/2] CI: Add "full" run tests for trixie targets Anton Mikanovich
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anton Mikanovich @ 2025-08-08  6:53 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Add fast build tests and run tests for some trixie targets.

Note: We don't run qemuarm-trixie run tests since the issue with
generating initrd images by dracut-install in this case causing
creation of unbootable system.

Anton Mikanovich (2):
  CI: Add "full" run tests for trixie targets
  CI: Add "fast" run tests for trixie target

 meta-isar/conf/machine/qemuriscv64.conf |  2 +-
 testsuite/citest.py                     | 42 +++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletion(-)

-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250808065350.3015002-1-amikan%40ilbers.de.

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

* [PATCH 1/2] CI: Add "full" run tests for trixie targets
  2025-08-08  6:53 [PATCH 0/2] Extend trixie test coverage Anton Mikanovich
@ 2025-08-08  6:53 ` Anton Mikanovich
  2025-08-08  6:53 ` [PATCH 2/2] CI: Add "fast" run tests for trixie target Anton Mikanovich
  2025-09-11  8:58 ` [PATCH 0/2] Extend trixie test coverage Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Mikanovich @ 2025-08-08  6:53 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Due to upcoming trixie release, extend testsuite with appropriate
run tests.

Also, since we have first qemuriscv64 run test now, fix incorrect
(unsupported by recent qemu versions) machine configuration.

Allow test_riscv64_trixie run test to cancel/KFAIL similar to
appropriate build tests.

Allow test_arm_trixie run test to cancel/KFAIL since the machine fails
to boot due to known bug with initrd generation on trixie/armhf.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta-isar/conf/machine/qemuriscv64.conf |  2 +-
 testsuite/citest.py                     | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/meta-isar/conf/machine/qemuriscv64.conf b/meta-isar/conf/machine/qemuriscv64.conf
index b9656090..541e4abd 100644
--- a/meta-isar/conf/machine/qemuriscv64.conf
+++ b/meta-isar/conf/machine/qemuriscv64.conf
@@ -18,7 +18,7 @@ QEMU_ROOTFS_DEV ?= "vda"
 
 QEMU_ARCH ?= "riscv64"
 QEMU_MACHINE ?= "virt"
-QEMU_CPU ?= "rv64gcsu-v1.10.0"
+QEMU_CPU ?= "rv64"
 # TODO: start_vm doesn't support multiline vars
 QEMU_DISK_ARGS ?= "-drive file=##ROOTFS_IMAGE##,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0"
 
diff --git a/testsuite/citest.py b/testsuite/citest.py
index 53881d25..6dd4c7f3 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -628,6 +628,13 @@ class VmBootTestFull(CIBaseTest):
             script='test_systemd_unit.sh getty.target 10',
         )
 
+    def test_arm_trixie(self):
+        self.init()
+        try:
+            self.vm_start('arm', 'trixie')
+        except exceptions.TestFail:
+            self.cancel('KFAIL')
+
     def test_arm64_bookworm(self):
         self.init()
         self.vm_start('arm64', 'bookworm', image='isar-image-ci', keep=True)
@@ -652,6 +659,10 @@ class VmBootTestFull(CIBaseTest):
             keep=True,
         )
 
+    def test_arm64_trixie(self):
+        self.init()
+        self.vm_start('arm64', 'trixie')
+
     def test_i386_buster(self):
         self.init()
         self.vm_start('i386', 'buster')
@@ -702,6 +713,10 @@ class VmBootTestFull(CIBaseTest):
         self.init()
         self.vm_start('mipsel', 'bookworm', image='isar-image-ci', keep=True)
 
+    def test_amd64_trixie(self):
+        self.init()
+        self.vm_start('amd64', 'trixie')
+
     def test_mipsel_bookworm_getty_target(self):
         self.init()
         self.vm_start(
@@ -721,6 +736,13 @@ class VmBootTestFull(CIBaseTest):
             script='test_kernel_module.sh example_module',
         )
 
+    def test_riscv64_trixie(self):
+        self.init()
+        try:
+            self.vm_start('riscv64', 'trixie')
+        except exceptions.TestFail:
+            self.cancel('KFAIL')
+
     def test_amd64_bookworm_prebuilt_containers(self):
         self.init()
         self.vm_start('amd64', 'bookworm', image='isar-image-ci',
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250808065350.3015002-2-amikan%40ilbers.de.

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

* [PATCH 2/2] CI: Add "fast" run tests for trixie target
  2025-08-08  6:53 [PATCH 0/2] Extend trixie test coverage Anton Mikanovich
  2025-08-08  6:53 ` [PATCH 1/2] CI: Add "full" run tests for trixie targets Anton Mikanovich
@ 2025-08-08  6:53 ` Anton Mikanovich
  2025-09-11  8:58 ` [PATCH 0/2] Extend trixie test coverage Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Mikanovich @ 2025-08-08  6:53 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Extend trixie coverage by "fast" cross-build and run test.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/citest.py | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/testsuite/citest.py b/testsuite/citest.py
index 6dd4c7f3..b59bea0f 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -186,6 +186,18 @@ class CrossTest(CIBaseTest):
         self.init()
         self.perform_build_test(targets, debsrc_cache=True)
 
+    def test_cross_trixie(self):
+        targets = [
+            'mc:qemuamd64-trixie:isar-image-base',
+            'mc:qemuarm64-trixie:isar-image-base',
+        ]
+
+        self.init()
+        try:
+            self.perform_build_test(targets, cross=False)
+        except exceptions.TestFail:
+            self.cancel('KFAIL')
+
     def test_cross_kselftest(self):
         targets = [
             'mc:qemuarm-buster:kselftest',
@@ -592,6 +604,14 @@ class VmBootTestFast(CIBaseTest):
             script='test_systemd_unit.sh getty.target 10',
         )
 
+    def test_amd64_trixie(self):
+        self.init()
+        self.vm_start('amd64', 'trixie')
+
+    def test_arm64_trixie(self):
+        self.init()
+        self.vm_start('arm64', 'trixie')
+
 
 class VmBootTestFull(CIBaseTest):
 
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250808065350.3015002-3-amikan%40ilbers.de.

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

* Re: [PATCH 0/2] Extend trixie test coverage
  2025-08-08  6:53 [PATCH 0/2] Extend trixie test coverage Anton Mikanovich
  2025-08-08  6:53 ` [PATCH 1/2] CI: Add "full" run tests for trixie targets Anton Mikanovich
  2025-08-08  6:53 ` [PATCH 2/2] CI: Add "fast" run tests for trixie target Anton Mikanovich
@ 2025-09-11  8:58 ` Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Mikanovich @ 2025-09-11  8:58 UTC (permalink / raw)
  To: isar-users

08/08/2025 09:53, Anton Mikanovich wrote:
> Add fast build tests and run tests for some trixie targets.
>
> Note: We don't run qemuarm-trixie run tests since the issue with
> generating initrd images by dracut-install in this case causing
> creation of unbootable system.
>
> Anton Mikanovich (2):
>    CI: Add "full" run tests for trixie targets
>    CI: Add "fast" run tests for trixie target
>
>   meta-isar/conf/machine/qemuriscv64.conf |  2 +-
>   testsuite/citest.py                     | 42 +++++++++++++++++++++++++
>   2 files changed, 43 insertions(+), 1 deletion(-)
>
Applied to next.

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/1d2fa558-401a-454c-a466-f10872a0caaf%40ilbers.de.

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

end of thread, other threads:[~2025-09-11  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-08  6:53 [PATCH 0/2] Extend trixie test coverage Anton Mikanovich
2025-08-08  6:53 ` [PATCH 1/2] CI: Add "full" run tests for trixie targets Anton Mikanovich
2025-08-08  6:53 ` [PATCH 2/2] CI: Add "fast" run tests for trixie target Anton Mikanovich
2025-09-11  8:58 ` [PATCH 0/2] Extend trixie test coverage Anton Mikanovich

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