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

subsys: settings: file: settings.file.raw fails #71554

Closed
katgiadla opened this issue Apr 16, 2024 · 0 comments · Fixed by #71593
Closed

subsys: settings: file: settings.file.raw fails #71554

katgiadla opened this issue Apr 16, 2024 · 0 comments · Fixed by #71593
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx

Comments

@katgiadla
Copy link
Contributor

Describe the bug
The test settings.file.raw fails.

Observed for:

  • nrf52840dk/nrf52840
  • nrf5340dk/nrf5340/cpuapp

To Reproduce
Steps to reproduce the behavior:

  1. have nrf52840dk/nrf52840 connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T subsys/settings/file -p nrf52840dk/nrf52840 --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.6.0-2554-g2c8ea07b3498 ***
Running TESTSUITE settings_config
===================================================================
START - test_config_commit
PASS - test_config_commit in 0.001 seconds
===================================================================
START - test_config_empty_lookups
PASS - test_config_empty_lookups in 0.001 seconds
===================================================================
START - test_config_getset_int64
PASS - test_config_getset_int64 in 0.001 seconds
===================================================================
START - test_config_getset_int
PASS - test_config_getset_int in 0.001 seconds
===================================================================
START - test_config_getset_unknown
PASS - test_config_getset_unknown in 0.001 seconds
===================================================================
TESTSUITE settings_config succeeded
Running TESTSUITE settings_config_fs
===================================================================
Assumption failed at ../../../../../../../zephyr/tests/subsys/settings/file/src/settings_setup_littlefs.c:33: config_setup_fs: (rc == 0 is false)
erasing flash area [-5]
I: LittleFS version 2.8, disk version 2.1
I: FS at mx25r6435f@0:0x0 is 16 0x1000-byte blocks with 512 cycle
I: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
W: can't mount (LFS -5); formatting
E: format failed (LFS -5)
E: fs mount error (-5)
Assumption failed at ../../../../../../../zephyr/tests/subsys/settings/file/src/settings_setup_littlefs.c:36: config_setup_fs: (rc == 0 is false)
mounting littlefs [-5]
START - test_config_compress_file
SKIP - test_config_compress_file in 0.000 seconds
===================================================================
START - test_config_empty_file
SKIP - test_config_empty_file in 0.001 seconds
===================================================================
START - test_config_multiple_in_file
SKIP - test_config_multiple_in_file in 0.000 seconds
===================================================================
START - test_config_save_in_file
SKIP - test_config_save_in_file in 0.001 seconds
===================================================================
START - test_config_save_one_file
SKIP - test_config_save_one_file in 0.000 seconds
===================================================================
START - test_config_small_file
SKIP - test_config_small_file in 0.000 seconds
===================================================================
TESTSUITE settings_config_fs succeeded
------ TESTSUITE SUMMARY START ------
SUITE PASS - 100.00% [settings_config]: pass = 5, fail = 0, skip = 0, total = 5 duration = 0.005 seconds
- PASS - [settings_config.test_config_commit] duration = 0.001 seconds
- PASS - [settings_config.test_config_empty_lookups] duration = 0.001 seconds
- PASS - [settings_config.test_config_getset_int64] duration = 0.001 seconds
- PASS - [settings_config.test_config_getset_int] duration = 0.001 seconds
- PASS - [settings_config.test_config_getset_unknown] duration = 0.001 seconds
SUITE SKIP -   0.00% [settings_config_fs]: pass = 0, fail = 0, skip = 6, total = 6 duration = 0.002 seconds
- SKIP - [settings_config_fs.test_config_compress_file] duration = 0.000 seconds
- SKIP - [settings_config_fs.test_config_empty_file] duration = 0.001 seconds
- SKIP - [settings_config_fs.test_config_multiple_in_file] duration = 0.000 seconds
- SKIP - [settings_config_fs.test_config_save_in_file] duration = 0.001 seconds
- SKIP - [settings_config_fs.test_config_save_one_file] duration = 0.000 seconds
- SKIP - [settings_config_fs.test_config_small_file] duration = 0.000 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
RunID: 693490c7707721c4913f0904f93984e0
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Ubuntu 20.04.1 LTS
  • Toolchain Zephyr SDK 0.16.5
  • Commit SHA or Version used: v3.6.0-2554-g2c8ea07b3498
@katgiadla katgiadla added the bug The issue is a bug, or the PR is fixing a bug label Apr 16, 2024
@henrikbrixandersen henrikbrixandersen added the platform: nRF Nordic nRFx label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants