-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Closed
Copy link
Labels
area: ARM64ARM (64-bit) ArchitectureARM (64-bit) Architecturearea: TestsIssues related to a particular existing or missing testIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Milestone
Description
Describe the bug
The arch.interrupt test fails on the ARM64 QEMU targets (qemu_cortex_a53 and qemu_cortex_a53_smp) when compiled with GCC 12, which is the toolchain included in the Zephyr SDK 0.15.0.
To Reproduce
With Zephyr SDK 0.15.0,
scripts/twister -v -N -M -p qemu_cortex_a53 -s tests/kernel/interrupt/arch.interrupt
Expected behavior
Test passes.
Logs and console output
Running TESTSUITE interrupt_feature
===================================================================
START - test_isr_dynamic
installing dynamic ISR for IRQ 0
PASS - test_isr_dynamic in 0.001 seconds
===================================================================
START - test_isr_offload_job
SKIP - test_isr_offload_job in 0.001 seconds
===================================================================
START - test_isr_offload_job_identi
PASS - test_isr_offload_job_identi in 0.015 seconds
===================================================================
START - test_isr_offload_job_multiple
PASS - test_isr_offload_job_multiple in 0.021 seconds
===================================================================
START - test_nested_isr
Triggering irq : 14
isr0: Enter
Triggering irq : 15
Assertion failed at WEST_TOPDIR/zephyr-testing/tests/kernel/interrupt/src/nested_irq.c:106: isr0: (isr1_result not equal to ISR1_TOKEN)
isr1 did not execute
isr0: Leave
isr1: Enter
isr1: Leave
FAIL - test_nested_isr in 0.006 seconds
===================================================================
START - test_prevent_interruption
locking interrupts
unlocking interrupts
timer fired
PASS - test_prevent_interruption in 2.540 seconds
===================================================================
TESTSUITE interrupt_feature failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL - 80.00% [interrupt_feature]: pass = 4, fail = 1, skip = 1, total = 6 duration = 2.584 seconds
- PASS - [interrupt_feature.test_isr_dynamic] duration = 0.001 seconds
- SKIP - [interrupt_feature.test_isr_offload_job] duration = 0.001 seconds
- PASS - [interrupt_feature.test_isr_offload_job_identi] duration = 0.015 seconds
- PASS - [interrupt_feature.test_isr_offload_job_multiple] duration = 0.021 seconds
- FAIL - [interrupt_feature.test_nested_isr] duration = 0.006 seconds
- PASS - [interrupt_feature.test_prevent_interruption] duration = 2.540 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
RunID: 548cf47f515fc665f4459ceaf48fa404
PROJECT EXECUTION FAILED
Environment (please complete the following information):
- OS: Ubuntu 20.04
- Toolchain: Zephyr SDK 0.15.0
- Commit SHA: 822c377
Additional context
Adding a printk call in the arm_gic_get_active function makes this test pass even when compiling with GCC 12.
Metadata
Metadata
Assignees
Labels
area: ARM64ARM (64-bit) ArchitectureARM (64-bit) Architecturearea: TestsIssues related to a particular existing or missing testIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug