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

* Re: [PATCH] CI: Protect Debian Ports targets by KFAIL
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Anton Mikanovich @ 2022-01-31  9:45 UTC (permalink / raw)
  To: isar-users

Upstream was broken few days ago, so we need to apply hotfix ASAP before 
release.
Will also apply this today if no objections.

31.01.2022 12:43, Anton Mikanovich wrote:
> 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):
>   
>       """

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

* Re: [PATCH] CI: Protect Debian Ports targets by KFAIL
  2022-01-31  9:45 ` Anton Mikanovich
@ 2022-01-31 10:31   ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2022-01-31 10:31 UTC (permalink / raw)
  To: Anton Mikanovich, isar-users

On 31.01.22 10:45, Anton Mikanovich wrote:
> Upstream was broken few days ago, so we need to apply hotfix ASAP before 
> release.
> Will also apply this today if no objections.
> 

sid can only be KFAIL. If you want a reliable test for the risc-v 
targets, you would need to pin to a archived repo revision. But then the 
downloading from snapshot.debian.org will not work reliably...

Jan

> 31.01.2022 12:43, Anton Mikanovich wrote:
>> 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):
>>       """
> 

-- 
Siemens AG, Technology
Competence Center Embedded Linux

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

* Re: [PATCH] CI: Protect Debian Ports targets by KFAIL
  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 15:52 ` Anton Mikanovich
  1 sibling, 0 replies; 4+ messages in thread
From: Anton Mikanovich @ 2022-01-31 15:52 UTC (permalink / raw)
  To: isar-users

31.01.2022 12:43, Anton Mikanovich wrote:
> 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>

Applied to next.


^ 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