Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test-ci: test_flash_map:twr_ke18f: test failure #38438

Closed
hakehuang opened this issue Sep 10, 2021 · 4 comments
Closed

test-ci: test_flash_map:twr_ke18f: test failure #38438

hakehuang opened this issue Sep 10, 2021 · 4 comments
Assignees
Labels
area: Flash area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug

Comments

@hakehuang
Copy link
Collaborator

Describe the bug

Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/storage/flash_map/src/main.c:90: test_flash_area_get_sectors: (rc == 0 is false)

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=twr_ke18f
  3. make
  4. See error

Expected behavior
test assert

Impact
test failure

Logs and console output


Finished #31138834 storage.flash_map.mpu
Overview
Retries
History
platform: twrke18f
compiler: armgcc , release
runtimeout: 720 (s)
Image: zephyr.elf
project:
revision: None
comment:
RAW
RAW
RAW
RAW
======== Target.main.COM31 Output ========
*** Booting Zephyr OS build v2.7.0-rc1-20-g538968a77328  ***
Running test suite test_flash_map
===================================================================
START - test_flash_area_erased_val
 PASS - test_flash_area_erased_val in 0.1 seconds
===================================================================
START - test_flash_area_get_sectors

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/storage/flash_map/src/main.c:90: test_flash_area_get_sectors: (rc == 0 is false)
area not erased
 FAIL - test_flash_area_get_sectors in 0.672 seconds
===================================================================
START - test_flash_area_check_int_sha256
 PASS - test_flash_area_check_int_sha256 in 0.205 seconds
===================================================================
Test suite test_flash_map failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used: v2.7.0-rc1-20-g538968a77328
@hakehuang hakehuang added the bug The issue is a bug, or the PR is fixing a bug label Sep 10, 2021
@hakehuang
Copy link
Collaborator Author

@MaureenHelm @dleach02 @henrikbrixandersen

looks like the flash setting for twr_ke18f need update for testing.

@hakehuang hakehuang added area: Tests Issues related to a particular existing or missing test area: Flash platform: NXP NXP labels Sep 10, 2021
@henrikbrixandersen
Copy link
Member

I am unable to reproduce this issue here:

*** Booting Zephyr OS build v2.7.0-rc1-100-g50ff77fa910d  ***
Running test suite test_flash_map
===================================================================
START - test_flash_area_erased_val
 PASS - test_flash_area_erased_val in 0.1 seconds
===================================================================
START - test_flash_area_get_sectors
 PASS - test_flash_area_get_sectors in 0.638 seconds
===================================================================
START - test_flash_area_check_int_sha256
 PASS - test_flash_area_check_int_sha256 in 0.201 seconds
===================================================================
Test suite test_flash_map succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL

@dleach02
Copy link
Member

@hakehuang can you retest? I'm also unable to reproduce this.

@dleach02 dleach02 added the priority: low Low impact/importance bug label Sep 14, 2021
@hakehuang
Copy link
Collaborator Author

it now passes on v2.7.0-rc1-94-gf83dc928f6&

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Flash area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants