zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.73k stars 6.56k forks source link

tests drivers: can: fails at nrf54h20 - assertion at icmsg #80053

Open nordic-piks opened 6 days ago

nordic-piks commented 6 days ago

Describe the bug The tests:

Observed for

To Reproduce Steps to reproduce the behavior:

  1. have nrf54h20dk/nrf54h20/cpuap connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T tests/drivers/can/timing -p nrf54h20dk/nrf54h20/cpuapp --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
  4. See console output with error

Expected behavior Valid console output

Impact Not clear

Logs and console output

ASSERTION FAIL [len <= sizeof(rx_buffer)] @ ../../../../../../../../../../zephyr/zephyr/subsys/ipc/ipc_service/lib/icmsg.c:190
E: r0/a1:  0x00000004  r1/a2:  0x000000be  r2/a3:  0x00000000
E: r3/a4:  0x00000004 r12/ip:  0x00000001 r14/lr:  0x0e0b8eb3
E:  xpsr:  0x21000000
E: Faulting instruction address (r15/pc): 0x0e0b8ed2
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x2f011148 (icmsg_workq)
E: Halting system

There are expected ping/pong messages.

Environment (please complete the following information):

gmarull commented 6 days ago

Why is icmsg involved in CAN tests?