Skip to content

drivers: flash: common: drivers.flash.common.disable_spi_nor fails #89826

@katgiadla

Description

@katgiadla

Describe the bug
The test tests/drivers/flash/common/drivers.flash.common.disable_spi_nor fails.

Observed for:

  • nrf54l15dk/nrf54l05/cpuapp
  • nrf54l15dk/nrf54l10/cpuapp
  • nrf54l15dk/nrf54l15/cpuapp

To Reproduce
Steps to reproduce the behavior:

  1. go to your zephyr dir
  2. call ./scripts/twister -s drivers.flash.common.disable_spi_nor -p nrf54l15dk/nrf54l15/cpuapp --device-testing --device-serial /dev/ttyACM1 -v --inline-logs --west-flash="--erase"
  3. See console output with error

Expected behavior
Valid console output

Impact
Not clear

Logs and console output

*** Booting Zephyr OS build v4.1.0-3766-gb2c6d960cbd1 ***
Running TESTSUITE flash_driver
===================================================================
START - test_flash_copy
Test will run on device rram-controller@5004b000
No devices with erase requirement present

    Assertion failed at zephyr/tests/drivers/flash/common/src/main.c:403: test_flash_copy_inner: flash_flatten(flash_dev, page_info.start_offset + page_info.size, page_info.size) is non-zero

 FAIL - test_flash_copy in 0.246 seconds
===================================================================
START - test_flash_erase
Test will run on device rram-controller@5004b000
No devices with erase requirement present
 PASS - test_flash_erase in 0.155 seconds
===================================================================
START - test_flash_fill
Test will run on device rram-controller@5004b000
No devices with erase requirement present
 PASS - test_flash_fill in 0.423 seconds
===================================================================
START - test_flash_flatten
Test will run on device rram-controller@5004b000
No devices with erase requirement present
 PASS - test_flash_flatten in 0.351 seconds
===================================================================
START - test_flash_page_layout
Test will run on device rram-controller@5004b000
No devices with erase requirement present
start_offset=0x15c000size=4096index=348
page_count=357
 PASS - test_flash_page_layout in 0.014 seconds
===================================================================
START - test_get_size
Test will run on device rram-controller@5004b000
No devices with erase requirement present
 SKIP - test_get_size in 0.009 seconds
===================================================================
START - test_read_unaligned_address
Test will run on device rram-controller@5004b000
No devices with erase requirement present
 PASS - test_read_unaligned_address in 0.013 seconds
===================================================================
TESTSUITE flash_driver failed.

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

SUITE FAIL -  83.33% [flash_driver]: pass = 5, fail = 1, skip = 1, total = 7 duration = 1.211 seconds
 - FAIL - [flash_driver.test_flash_copy] duration = 0.246 seconds
 - PASS - [flash_driver.test_flash_erase] duration = 0.155 seconds
 - PASS - [flash_driver.test_flash_fill] duration = 0.423 seconds
 - PASS - [flash_driver.test_flash_flatten] duration = 0.351 seconds
 - PASS - [flash_driver.test_flash_page_layout] duration = 0.014 seconds
 - SKIP - [flash_driver.test_get_size] duration = 0.009 seconds
 - PASS - [flash_driver.test_read_unaligned_address] duration = 0.013 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: b2c6d960cbd1de8258d18acfcf947ca13231e84d

Additional information:
Probably introducedy by commit d8be41c

Metadata

Metadata

Assignees

Labels

area: FlashbugThe 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