Skip to content

tests: boards: nrf: dmm: boards.nrf.dmm.more_chunks fails at H20 #96835

@nordic-piks

Description

@nordic-piks

Describe the bug

Describe the bug
Tests

  • tests/boards/nrf/dmm/boards.nrf.dmm.more_chunks fails

Observed for nrf54h20dk/nrf54h20/cpuapp.

To Reproduce
Steps to reproduce the behavior:

  1. haven nrf54h20dk/nrf54h20/cpuapp connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T tests/boards/nrf/dmm -pnrf54h20dk/nrf54h20/cpuapp --device-testing --device-serial /dev/ttyACM0 -v --inline-logs --west-flash="--erase"
  4. See console output with error

Expected behavior
Valid console output

Impact
Not clear

Logs and console output

*** Booting Zephyr OS build v4.2.0-4717-g5ad9494835ab ***
Running TESTSUITE dmm
===================================================================
START - test_check_dev_cache_in_allocate
aligned buffer in prepare buf:0x2f89c040 size:16 took 1.687us (540 cycles)
buffer in release buf:0x2f89c040 size:16 took 1.943us (622 cycles)
aligned buffer in prepare buf:0x2f89c040 size:128 took 2.312us (740 cycles)
buffer in release buf:0x2f89c040 size:128 took 4.168us (1334 cycles)
 PASS - test_check_dev_cache_in_allocate in 0.026 seconds
===================================================================
START - test_check_dev_cache_in_preallocate
aligned buffer in prepare buf:0x2f89c020 size:16 took 1.196us (383 cycles)
buffer in release buf:0x2f89c020 size:16 took 0.712us (228 cycles)
 PASS - test_check_dev_cache_in_preallocate in 0.013 seconds
===================================================================
START - test_check_dev_cache_out_allocate
aligned buffer out prepare size:16 buf:0x2f89c040 took 1.993us (638 cycles)
buffer out release buf:0x2f89c040 size:16 took 1.346us (431 cycles)
not aligned buffer out prepare size:16 buf:0x2f89c040 took 2.321us (743 cycles)
buffer out release buf:0x2f89c040 size:16 took 1.346us (431 cycles)
aligned buffer out prepare size:128 buf:0x2f89c040 took 3.221us (1031 cycles)
buffer out release buf:0x2f89c040 size:128 took 1.346us (431 cycles)
not aligned buffer out prepare size:128 buf:0x2f89c040 took 5.62us (1620 cycles)
buffer out release buf:0x2f89c040 size:128 took 1.340us (429 cycles)
 PASS - test_check_dev_cache_out_allocate in 0.052 seconds
===================================================================
START - test_check_dev_cache_out_preallocate
aligned buffer out prepare size:16 buf:0x2f89c000 took 1.275us (408 cycles)
buffer out release buf:0x2f89c000 size:16 took 0.562us (180 cycles)
 PASS - test_check_dev_cache_out_preallocate in 0.013 seconds
===================================================================
START - test_check_dev_nocache_in_allocate
aligned buffer in prepare buf:0x2fc12028 size:16 took 1.478us (473 cycles)
buffer in release buf:0x2fc12028 size:16 took 2.740us (877 cycles)
not aligned buffer in prepare buf:0x2fc12028 size:16 took 1.850us (592 cycles)
buffer in release buf:0x2fc12028 size:16 took 6.581us (2106 cycles)
aligned buffer in prepare buf:0x2fc12028 size:128 took 2.368us (758 cycles)
buffer in release buf:0x2fc12028 size:128 took 42.687us (13660 cycles)
not aligned buffer in prepare buf:0x2fc12028 size:128 took 1.909us (611 cycles)
buffer in release buf:0x2fc12028 size:128 took 41.493us (13278 cycles)
 PASS - test_check_dev_nocache_in_allocate in 0.052 seconds
===================================================================
START - test_check_dev_nocache_in_preallocate
aligned buffer in prepare buf:0x2fc12010 size:16 took 0.553us (177 cycles)
buffer in release buf:0x2fc12010 size:16 took 0.512us (164 cycles)
 PASS - test_check_dev_nocache_in_preallocate in 0.013 seconds
===================================================================
START - test_check_dev_nocache_out_allocate
aligned buffer out prepare size:16 buf:0x2fc12028 took 3.62us (980 cycles)
buffer out release buf:0x2fc12028 size:16 took 1.353us (433 cycles)
not aligned buffer out prepare size:16 buf:0x2fc12028 took 7.590us (2429 cycles)
buffer out release buf:0x2fc12028 size:16 took 1.365us (437 cycles)
aligned buffer out prepare size:128 buf:0x2fc12028 took 13.587us (4348 cycles)
buffer out release buf:0x2fc12028 size:128 took 1.418us (454 cycles)
not aligned buffer out prepare size:128 buf:0x2fc12028 took 49.462us (15828 cycles)
buffer out release buf:0x2fc12028 size:128 took 1.421us (455 cycles)
 PASS - test_check_dev_nocache_out_allocate in 0.053 seconds
===================================================================
START - test_check_dev_nocache_out_preallocate
aligned buffer out prepare size:16 buf:0x2fc12000 took 0.546us (175 cycles)
buffer out release buf:0x2fc12000 size:16 took 0.559us (179 cycles)
 PASS - test_check_dev_nocache_out_preallocate in 0.013 seconds
===================================================================
START - test_check_multiple_alloc_and_free
Stats start_address:0x2fc12028 current use:0% max use:7%
 PASS - test_check_multiple_alloc_and_free in 0.006 seconds
===================================================================
START - test_stress_allocator_cache

0% remaining:2000 ms
0% remaining:1000 ms
0% remaining:0 ms
Ztress execution report:
 context 0:
 - executed:9845, preempted:0
 - ticks initial:4, optimized:4
 context 1:
 - executed:6220, preempted:2850
 - ticks initial:4, optimized:4
 context 2:
 - executed:2519, preempted:1786
 - ticks initial:4, optimized:4
Average CPU load:94%, measurements:30
Executed 22260 allocation operation. Failed to allocate 0 times.

    Assertion failed at ../../../../../../../../../zephyr/tests/boards/nrf/dmm/src/main.c:549: stress_allocator: (curr_use not equal to curr_use2)
Unexpected usage got:2 exp:0
 FAIL - test_stress_allocator_cache in 3.063 seconds
===================================================================
START - test_stress_allocator_nocache

0% remaining:2000 ms
0% remaining:1000 ms
0% remaining:0 ms
Ztress execution report:
 context 0:
 - executed:7115, preempted:0
 - ticks initial:4, optimized:4
 context 1:
 - executed:2870, preempted:1928
 - ticks initial:4, optimized:4
 context 2:
 - executed:634, preempted:542
 - ticks initial:4, optimized:4
Average CPU load:97%, measurements:30
Executed 9389 allocation operation. Failed to allocate 6105 times.

    Assertion failed at ../../../../../../../../../zephyr/tests/boards/nrf/dmm/src/main.c:549: stress_allocator: (curr_use not equal to curr_use2)
Unexpected usage got:8 exp:0
 FAIL - test_stress_allocator_nocache in 3.065 seconds
===================================================================
TESTSUITE dmm failed.

------ TESTSUITE SUMMARY START ------

SUITE FAIL -  81.82% [dmm]: pass = 9, fail = 2, skip = 0, total = 11 duration = 6.369 seconds
 - PASS - [dmm.test_check_dev_cache_in_allocate] duration = 0.026 seconds
 - PASS - [dmm.test_check_dev_cache_in_preallocate] duration = 0.013 seconds
 - PASS - [dmm.test_check_dev_cache_out_allocate] duration = 0.052 seconds
 - PASS - [dmm.test_check_dev_cache_out_preallocate] duration = 0.013 seconds
 - PASS - [dmm.test_check_dev_nocache_in_allocate] duration = 0.052 seconds
 - PASS - [dmm.test_check_dev_nocache_in_preallocate] duration = 0.013 seconds
 - PASS - [dmm.test_check_dev_nocache_out_allocate] duration = 0.053 seconds
 - PASS - [dmm.test_check_dev_nocache_out_preallocate] duration = 0.013 seconds
 - PASS - [dmm.test_check_multiple_alloc_and_free] duration = 0.006 seconds
 - FAIL - [dmm.test_stress_allocator_cache] duration = 3.063 seconds
 - FAIL - [dmm.test_stress_allocator_nocache] duration = 3.065 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Ubuntu 20.04.1 LTS
  • Toolchain Zephyr SDK 0.17.0
  • Commit SHA or Version used: v4.2.0-4717-g5ad9494835ab

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxpriority: lowLow impact/importance bug

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions