Skip to content

intel_adsp: kernel.pipe.api fails #98746

@arikgreen

Description

@arikgreen

Describe the bug

Occurs on platform:

  • intel_adsp/ace15_mtpm
  • intel_adsp/ace15_mtpm/sim
  • intel_adsp/ace20_lnl
  • intel_adsp/ace30_ptl
  • intel_adsp/cavs25

There is failed test with statuses:

test suite test case test suite status test case status
kernel.pipe.api k_pipe_concurrency.zero_size_pipe_read_write failed failed
kernel.pipe.api k_pipe_stress.write failed blocked
kernel.pipe.api k_pipe_stress.read failed blocked

Test suite reason of all fails: Unknown Error

Same issue occurs on

Regression

  • This is a regression.

Steps to reproduce

twister -p intel_adsp/ace15_mtpm --device-testing --hardware-map hw-map-file -s kernel.pipe.api

Relevant log output

Fail log for test suite on platform: intel_adsp/ace15_mtpm.
Failed reason: Unknown Error
Test suite name: kernel.pipe.api

INFO:cavs-client:Monitor process
INFO:cavs-client:Sent:     start_log
INFO:cavs-client:Receive: start_log
INFO:cavs-client:Start to monitor log output...
--
***** delaying boot 500ms (per build configuration) *****
*** Booting Zephyr OS build v4.3.0-rc1-122-gfb01c781b6c0 (delayed boot 500ms) ***
Running TESTSUITE k_pipe_basic
===================================================================
START - test_close
 PASS - test_close in 0.001 seconds
===================================================================
START - test_init
 PASS - test_init in 0.001 seconds
===================================================================
START - test_read_empty
 PASS - test_read_empty in 1.001 seconds
===================================================================
START - test_read_write_full
 PASS - test_read_write_full in 0.001 seconds
===================================================================
START - test_read_write_wrapp_around
 PASS - test_read_write_wrapp_around in 0.001 seconds
===================================================================
START - test_reset
 PASS - test_reset in 0.001 seconds
===================================================================
START - test_write_full
 PASS - test_write_full in 1.001 seconds
===================================================================
START - test_write_read_multiple
 PASS - test_write_read_multiple in 0.001 seconds
===================================================================
START - test_write_read_one
 PASS - test_write_read_one in 0.001 seconds
===================================================================
TESTSUITE k_pipe_basic succeeded
Running TESTSUITE k_pipe_concurrency
===================================================================
START - test_close_on_read
 PASS - test_close_on_read in 0.101 seconds
===================================================================
START - test_close_on_write
 PASS - test_close_on_write in 0.101 seconds
===================================================================
START - test_partial_read
 PASS - test_partial_read in 0.501 seconds
===================================================================
START - test_partial_write
 PASS - test_partial_write in 1.001 seconds
===================================================================
START - test_reset_on_read
 PASS - test_reset_on_read in 0.101 seconds
===================================================================
START - test_reset_on_write
 PASS - test_reset_on_write in 0.101 seconds
===================================================================
START - test_zero_size_pipe_read_write
ASSERTION FAIL [z_spin_lock_mem_coherent(l)] @ WEST_TOPDIR/zephyr/include/zephyr/spinlock.h:138
ASSERTION FAIL [z_spin_lock_mem_coherent(l)] @ WEST_TOPDIR/zephyr/include/zephyr/spinlock.h:138
E:  ** FATAL EXCEPTION
E:  ** FATAL EXCEPTION
E:  ** CPU 0 EXCCAUSE 63 (zephyr exception)
E:  ** CPU 2 EXCCAUSE 63 (zephyr exception)
E:  **  PC 0xa00321c3 VADDR 0
E:  **  PC 0xa00321c3 VADDR 0
E:  **  PS 0x60820
E:  **  PS 0x60920
E:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:9 CALLINC:2)
E:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:8 CALLINC:2)
E:  **  A0 0xa0033e8c  SP 0xa0040eb0  A2 0x4  A3 0x40046818
E:  **  A0 0xa0033e8c  SP 0xa0042100  A2 0x4  A3 0x40046818
E:  **  A4 0  A5 0x60023  A6 0x1  A7 0
E:  **  A4 0  A5 0x60623  A6 0x1  A7 0x1
E:  **  A8 0x1  A9 0xa0040e30 A10 0x1 A11 0
E:  ** A12 0x40046042 A13 0x25 A14 0x3 A15 0x10
E:  **  A8 0x1  A9 0xa0042080 A10 0x1 A11 0
E:  ** A12 0x40046110 A13 0x25 A14 0x3 A15 0x10
E:  ** LBEG 0xa0032804 LEND 0xa003280f LCOUNT 0
E:  ** SAR 0
E:  ** LBEG 0xa0032804 LEND 0xa003280f LCOUNT 0
E:  ** SAR 0
E:  **  THREADPTR 0xa0040ea0
E:  **  THREADPTR 0xa00420f0

Backtrace: 
 
Backtrace:0xa00321c0:0xa0040eb0 0xa00321c0:0xa0042100 0xa0033e89:0xa0040ec0 0xa0033e89:0xa0042110 0xa00396fd:0xa0040ee0 0xa00395c5:0xa0042130 0xa0033360:0xa0040f40 0xa003345a:0xa0042180 0xa0033e51:0xa0040f70 0xa003573b:0xa0042250  
 
0xa0033e51:0xa0042270 E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 2
 
E: Current thread: 0x40046040 (unknown)
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Halting system
E: Current thread: 0x40046110 (test_zero_size_pipe_read_write)
E: Halting system

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

  • OS: Ubuntu 24.02
  • Zephyr version: v4.3.0-rc1-122-gfb01c781b6c0
  • toolchain: zephyr
  • SDK: 0.17.4

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe issue is a bug, or the PR is fixing a bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions