Skip to content

tests/kernel/mem_pool/mem_pool_concept/: Assertion failures for mpns2_an385 #15148

@cinlyooi-intel

Description

@cinlyooi-intel

To Reproduce
Steps to reproduce the behavior:

# To generate the errors
scripts/sanitycheck --coverage 
   --coverage-platform mps2_an385 -p mps2_an385 
   --coverage-platform qemu_x86 -p qemu_x86  
   --coverage-platform qemu_x86_nommu  -p qemu_x86_nommu -
   -gcov-tool /opt/zephyr-sdk-0.10.0/i586-zephyr-elf/bin/i586-zephyr-elf-gcov \
   -T tests/kernel -T tests/subsys/logging | tee output.log

# the file to open is
# sanity-out/mps2_an385/tests/kernel/mem_pool/mem_pool_concept/kernel.memory_pool/handler.log

Screenshots or console output

***** Booting Zephyr OS v1.14.0-rc3-76-g0734b4fcaaea *****
Running test suite mpool_concept
===================================================================
starting test - test_mpool_alloc_wait_prio

    Assertion failed at /home/cinlyooi/tests/zephyrproject/zephyr/tests/kernel/mem_pool/mem_pool_concept/src/test_mpool_alloc_wait.c:24: tmpool_alloc_wait_timeout: k_mem_pool_alloc(&mpool1, &block, BLK_S
IZE_MIN, TIMEOUT) == -EAGAIN is false

FAIL - test_mpool_alloc_wait_prio
===================================================================
starting test - test_mpool_alloc_size_roundup

    Assertion failed at /home/cinlyooi/tests/zephyrproject/zephyr/tests/kernel/mem_pool/mem_pool_concept/src/test_mpool_alloc_size.c:36: test_mpool_alloc_size_roundup: k_mem_pool_alloc(&mpool1, &block[i]
, TEST_SIZE, K_NO_WAIT) == 0 is false

FAIL - test_mpool_alloc_size_roundup
===================================================================
starting test - test_mpool_alloc_merge_failed_diff_size
PASS - test_mpool_alloc_merge_failed_diff_size
===================================================================
starting test - test_mpool_alloc_merge_failed_diff_parent

    Assertion failed at /home/cinlyooi/tests/zephyrproject/zephyr/tests/kernel/mem_pool/mem_pool_concept/src/test_mpool_merge_fail_diff_parent.c:33: test_mpool_alloc_merge_failed_diff_parent: k_mem_pool_
alloc(&mpool1, &block[i], BLK_SIZE_MIN, K_NO_WAIT) == 0 is false

FAIL - test_mpool_alloc_merge_failed_diff_parent
===================================================================
Test suite mpool_concept failed.
===================================================================
PROJECT EXECUTION FAILED

GCOV_COVERAGE_DUMP_START
...
GCOV_COVERAGE_DUMP_END

Environment (please complete the following information):

  • OS: fedora29
  • Toolchain zephyr
  • Commit SHA or Version used: 0734b4f

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