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.36k stars 6.35k forks source link

tests: boards: nrf: dmm fails on nrf54h20 #75431

Closed nordic-piks closed 1 month ago

nordic-piks commented 1 month ago

Describe the bug The tests:

Observed for

To Reproduce Steps to reproduce the behavior:

  1. have nrf54h20dk/nrf54h20/cpuapp connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T tests/boards/nrf/dmm -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

*** Booting Zephyr OS build v3.7.0-rc2-61-g6700a154be3c ***
Running TESTSUITE dmm
===================================================================
START - test_check_dev_cache_in_allocate
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/boards/nrf/dmm/src/main.c:118: dmm_check_input_buffer: IS_ALIGNED(buf, CONFIG_DCACHE_LINE_SIZE) is false
FAIL - test_check_dev_cache_in_allocate in 0.018 seconds
===================================================================
START - test_check_dev_cache_in_preallocate
PASS - test_check_dev_cache_in_preallocate in 0.001 seconds
===================================================================
START - test_check_dev_cache_out_allocate
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/boards/nrf/dmm/src/main.c:84: dmm_check_output_buffer: retval is non-zero
FAIL - test_check_dev_cache_out_allocate in 0.015 seconds
===================================================================
START - test_check_dev_cache_out_preallocate
PASS - test_check_dev_cache_out_preallocate in 0.001 seconds
===================================================================
START - test_check_dev_nocache_in_allocate
PASS - test_check_dev_nocache_in_allocate in 0.001 seconds
===================================================================
START - test_check_dev_nocache_in_preallocate
PASS - test_check_dev_nocache_in_preallocate in 0.001 seconds
===================================================================
START - test_check_dev_nocache_out_allocate
PASS - test_check_dev_nocache_out_allocate in 0.001 seconds
===================================================================
START - test_check_dev_nocache_out_preallocate
PASS - test_check_dev_nocache_out_preallocate in 0.001 seconds
===================================================================
TESTSUITE dmm failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL -  75.00% [dmm]: pass = 6, fail = 2, skip = 0, total = 8 duration = 0.039 seconds
- FAIL - [dmm.test_check_dev_cache_in_allocate] duration = 0.018 seconds
- PASS - [dmm.test_check_dev_cache_in_preallocate] duration = 0.001 seconds
- FAIL - [dmm.test_check_dev_cache_out_allocate] duration = 0.015 seconds
- PASS - [dmm.test_check_dev_cache_out_preallocate] duration = 0.001 seconds
- PASS - [dmm.test_check_dev_nocache_in_allocate] duration = 0.001 seconds
- PASS - [dmm.test_check_dev_nocache_in_preallocate] duration = 0.001 seconds
- PASS - [dmm.test_check_dev_nocache_out_allocate] duration = 0.001 seconds
- PASS - [dmm.test_check_dev_nocache_out_preallocate] duration = 0.001 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

nordic-piks commented 1 month ago

@nika-nordic @nordic-krch FYI