public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 1/2] CI: Add "full" run tests for trixie targets
Date: Fri,  8 Aug 2025 09:53:49 +0300	[thread overview]
Message-ID: <20250808065350.3015002-2-amikan@ilbers.de> (raw)
In-Reply-To: <20250808065350.3015002-1-amikan@ilbers.de>

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.

  reply	other threads:[~2025-08-08  6:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-08  6:53 [PATCH 0/2] Extend trixie test coverage Anton Mikanovich
2025-08-08  6:53 ` Anton Mikanovich [this message]
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

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=20250808065350.3015002-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