CI: Update to the latest kas version
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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Quoted 1 line · Jon Mason
Signed-off-by Jon Mason <[email protected]>
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@@ -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