public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] CI: Protect Debian Ports targets by KFAIL
@ 2022-01-31  9:43 Anton Mikanovich
  2022-01-31  9:45 ` Anton Mikanovich
  2022-01-31 15:52 ` Anton Mikanovich
  0 siblings, 2 replies; 4+ messages in thread
From: Anton Mikanovich @ 2022-01-31  9:43 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Debian Ports provides unofficial architectures support which not always
stable enough.
Currently few sifive-fu540-sid-ports recipes fail with:

opensbi-0.9/lib/sbi/sbi_tlb.c: Assembler messages:
opensbi-0.9/lib/sbi/sbi_tlb.c:175: Error: unrecognized opcode `fence.i'
...
../arch/riscv/include/asm/timex.h: Assembler messages:
../arch/riscv/include/asm/timex.h:15: Error: unrecognized opcode `csrr a5,0xc01'
../arch/riscv/include/asm/timex.h:15: Error: unrecognized opcode `csrr a1,0xc01'
../arch/riscv/include/asm/timex.h:15: Error: unrecognized opcode `csrr a1,0xc01'
../arch/riscv/include/asm/timex.h:15: Error: unrecognized opcode `csrr t4,0xc01'
../arch/riscv/include/asm/timex.h:15: Error: unrecognized opcode `csrr a5,0xc01'
../arch/riscv/include/asm/timex.h:15: Error: unrecognized opcode `csrr a5,0xc01'
../arch/riscv/include/asm/timex.h:15: Error: unrecognized opcode `csrr a2,0xc01'

To not block other targets cover both sid-ports targets with KFAIL.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/build_test/build_test.py | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/testsuite/build_test/build_test.py b/testsuite/build_test/build_test.py
index 683aa55d..16f6d0a3 100644
--- a/testsuite/build_test/build_test.py
+++ b/testsuite/build_test/build_test.py
@@ -124,8 +124,6 @@ class NoCrossTest(CIBaseTest):
             'mc:qemuamd64-bullseye:isar-initramfs',
             'mc:qemumipsel-buster:isar-image-base',
             'mc:qemumipsel-bullseye:isar-image-base',
-            'mc:qemuriscv64-sid-ports:isar-image-base',
-            'mc:sifive-fu540-sid-ports:isar-image-base',
             'mc:imx6-sabrelite-bullseye:isar-image-ubi',
             'mc:phyboard-mira-bullseye:isar-image-ubi',
             'mc:rpi-arm-bullseye:isar-image-base',
@@ -160,6 +158,17 @@ class NoCrossTest(CIBaseTest):
         except:
             self.cancel('KFAIL')
 
+    def test_nocross_sidports(self):
+        targets = [
+            'mc:qemuriscv64-sid-ports:isar-image-base',
+            'mc:sifive-fu540-sid-ports:isar-image-base'
+                  ]
+
+        try:
+            self.perform_build_test(targets, 0, None)
+        except:
+            self.cancel('KFAIL')
+
 class RebuildTest(CIBaseTest):
 
     """
-- 
2.20.1


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

end of thread, other threads:[~2022-01-31 15:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31  9:43 [PATCH] CI: Protect Debian Ports targets by KFAIL Anton Mikanovich
2022-01-31  9:45 ` Anton Mikanovich
2022-01-31 10:31   ` Jan Kiszka
2022-01-31 15:52 ` Anton Mikanovich

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