Skip to contentSkip to conversation

CI: Update to the latest kas version

PATCH In review Jon Mason 1 participant 3 messages Nov 2, 2023 Arm/versatile express platform

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/2 CI: Update to the latest kas version

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.yml +1 -1
index 2ecf132a6ff5..c94274cdbc2b 100644
@@ -1,4 +1,4 @@
-image: ghcr.io/siemens/kas/kas:3.2.3
+image: ghcr.io/siemens/kas/kas:4.0
 
 variables:
   CPU_REQUEST: ""
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/2 zephyr-core/zephyr-kernel-tests: remove now passing tests from exclude list

Retested the zephyr kernel tests to verify which ones are now building and which ones are now passing CI on qemu machines. They are organized as follows:
* Any test that fails to be configured is added to a list in zephyr-kernel-test.inc
* Any test that fails to compile for all machines is added to a list in zephyr-kernel-test.inc
* Any test that fails to compile for a specific machine is added to a machine specific list in zephyr-kernel-test.inc
* Any test that fails CI is added to a list in the relevant machine yml file

Hopefully by making this way of doing things uniform, it will enable better testing and CI.

It is worth noting that with this version of zephyr, gen_isr_table and other tests are now working for a number of machines.

---
 ci/intel-x86-64.yml                                    |  4 ++++
 ci/mps2-an385.yml                                      |  4 ++++
 ci/qemu-cortex-a53.yml                                 |  2 +-
 ci/qemu-cortex-a9.yml                                  |  2 +-
 ci/qemu-cortex-r5.yml                                  |  4 ----
 ci/qemu-nios2.yml                                      |  3 ---
 ci/qemu-x86.yml                                        |  2 +-
 ci/v2m-beetle.yml                                      |  4 ++++
 ci/v2m-musca-b1.yml                                    |  4 ----
 ci/v2m-musca-s1.yml                                    |  4 ----
 .../zephyr-kernel/zephyr-kernel-test.inc               | 10 +++-------
 11 files changed, 18 insertions(+), 25 deletions(-)
ci/intel-x86-64.yml +4 -0
index 23e711ceac91..2eda5a43e92d 100644
@@ -3,4 +3,8 @@ header:
   includes:
     - ci/base.yml
 
+local_conf_header:
+  failing_tests: |
+    ZEPHYRTESTS:remove = "gen_isr_table"
+
 machine: intel-x86-64
ci/mps2-an385.yml +4 -0
index e536118c6832..caa685eb5f14 100644
@@ -3,4 +3,8 @@ header:
   includes:
     - ci/base.yml
 
+local_conf_header:
+  failing_tests: |
+    ZEPHYRTESTS:remove = "gen_isr_table"
+
 machine: mps2-an385
ci/qemu-cortex-a53.yml +1 -1
index ca8b6495fef0..d959075cd528 100644
@@ -5,6 +5,6 @@ header:
 
 local_conf_header:
   failing_tests: |
-    ZEPHYRTESTS:remove = "interrupt"
+    ZEPHYRTESTS:remove = "gen_isr_table"
 
 machine: qemu-cortex-a53
ci/qemu-cortex-a9.yml +1 -1
index cc4473004775..d75ea4d496ce 100644
@@ -5,6 +5,6 @@ header:
 
 local_conf_header:
   failing_tests: |
-    ZEPHYRTESTS:remove = "common queue"
+    ZEPHYRTESTS:remove = "common gen_isr_table poll queue"
 
 machine: qemu-cortex-a9
ci/qemu-cortex-r5.yml +0 -4
index e595bceb059e..6e5ca8173647 100644
@@ -3,8 +3,4 @@ header:
   includes:
     - ci/base.yml
 
-local_conf_header:
-  nonbuilding_tests: |
-    ZEPHYRTESTS:remove = "common poll sleep queue device"
-
 machine: qemu-cortex-r5
ci/qemu-nios2.yml +0 -3
index b818371c8be0..30a560a79c5f 100644
@@ -3,8 +3,5 @@ header:
   includes:
     - ci/base.yml
 
-local_conf_header:
-  nonbuilding_tests: |
-    ZEPHYRTESTS:remove = "interrupt"
 
 machine: qemu-nios2
ci/qemu-x86.yml +1 -1
index df744a1206fa..ab929171ccc8 100644
@@ -5,6 +5,6 @@ header:
 
 local_conf_header:
   failing_tests: |
-    ZEPHYRTESTS:remove = "pending"
+    ZEPHYRTESTS:remove = "gen_isr_table pending"
 
 machine: qemu-x86
ci/v2m-beetle.yml +4 -0
index df62469d9c52..51a4225f3361 100644
@@ -3,4 +3,8 @@ header:
   includes:
     - ci/base.yml
 
+local_conf_header:
+  failing_tests: |
+    ZEPHYRTESTS:remove = "gen_isr_table"
+
 machine: v2m-beetle
ci/v2m-musca-b1.yml +0 -4
index a867c4ccd6d6..490f29549c94 100644
@@ -3,8 +3,4 @@ header:
   includes:
     - ci/base.yml
 
-local_conf_header:
-  nonbuilding_tests: |
-    ZEPHYRTESTS:remove = "common sleep poll device queue"
-
 machine: v2m-musca-b1
ci/v2m-musca-s1.yml +0 -4
index 01480e2e26e8..4451ff0460eb 100644
@@ -3,8 +3,4 @@ header:
   includes:
     - ci/base.yml
 
-local_conf_header:
-  nonbuilding_tests: |
-    ZEPHYRTESTS:remove = "common sleep poll device queue"
-
 machine: v2m-musca-s1
meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc +3 -7
index 77f45a737407..f8ba1ff6c557 100644
@@ -1,16 +1,12 @@
+# Exclude tests that fail to configure
 ZEPHYRTESTS:remove = "fifo fpu_sharing lifo mbox mem_heap mem_pool \
     mem_protect mem_slab msgq mutex pipe profiling sched semaphore \
     stack threads tickless timer workq"
 
-# Exclude tests which does not build for various reasons
-ZEPHYRTESTS:remove = "gen_isr_table spinlock smp mp"
-
 # Exclude tests that are not currently compiling
+ZEPHYRTESTS:remove = "mp smp spinlock"
 ZEPHYRTESTS:remove:96b-avenger96 = "common device poll queue sleep"
-ZEPHYRTESTS:remove:96b-nitrogen = "common device poll queue sleep"
-ZEPHYRTESTS:remove:arduino-nano-33-ble = "common device poll queue sleep"
-ZEPHYRTESTS:remove:nrf52840dk-nrf52840 = "common device poll queue sleep"
-ZEPHYRTESTS:remove:qemu-x86 = "common device interrupt poll queue sleep"
+ZEPHYRTESTS:remove:qemu-nios2 = "interrupt"
 ZEPHYRTESTS:remove:stm32mp157c-dk2 = "common device poll queue sleep"
 
 # test_context will fail because QEMU for ARM does not emulate CortexM3 BASEPRI register
Signature · 1 line
2.30.2
author
#2 lore raw
In reply to Jon Mason
Quoted 1 line · Jon Mason

Here is the CI for this series
https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/1058077201

As you can see from the branch history, these 2 patches were applied on top of the zephyr version update series.

Thanks,
Jon

Quoted 18 lines
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.yml +1 -1
index 2ecf132a6ff5..c94274cdbc2b 100644
@@ -1,4 +1,4 @@
-image: ghcr.io/siemens/kas/kas:3.2.3
+image: ghcr.io/siemens/kas/kas:4.0
 
 variables:
   CPU_REQUEST: ""
Signature · 1 line
2.30.2