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

tests/subsys/settings/fcb/src/settings_test_save_unaligned.c fail with assertion failure on nrf52_pca10040 #13734

Closed
arun1joshi opened this issue Feb 25, 2019 · 4 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@arun1joshi
Copy link
Contributor

The tests in tests/subsys/settings/fcb/src/settings_test_save_unaligned.c fail with assertion failure on nrf52_pca10040

The test started failing from this commit: [b1a7e71]

Arch: arm
Platforms: nrf52_pca10040

Error on console log:
nrf52_pca10040:arm

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.14.0-rc1-506-g406e942949 (delayed boot 1000ms) *****
===================================================================
starting test - test_config_save_fcb_unaligned

Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/subsys/settings/fcb/src/settings_test_save_unaligned.c:40: test_config_save_fcb_unaligned: (val8_un == 33 is false)
bad value read
FAIL - test_config_save_fcb_unaligned
===================================================================
Test suite test_config_fcb failed.
PROJECT EXECUTION FAILED
@arun1joshi arun1joshi added the bug The issue is a bug, or the PR is fixing a bug label Feb 25, 2019
@dcpleung dcpleung added the priority: low Low impact/importance bug label Feb 27, 2019
@nvlsianpu nvlsianpu self-assigned this Feb 27, 2019
@nvlsianpu
Copy link
Collaborator

nvlsianpu commented Feb 27, 2019

@arun1joshi At sha b1a7e71 this test was not implemented yet.

@nvlsianpu
Copy link
Collaborator

Pleas check your repository tree status - it must have been not well (clean) checkout-ed.
I closed this as this bug can not appear for SHA you pointed, and it is not present for master HEAD as well.

@arun1joshi
Copy link
Contributor Author

@nvlsianpu, can you please double check and re-open the issue?
still failing for the latest commit [9ec9c43].

@nvlsianpu
Copy link
Collaborator

nvlsianpu commented Mar 1, 2019

***** Booting Zephyr OS v1.14.0-rc1-669-g9ec9c430b312 *****
Running test suite test_config_fcb
===================================================================
starting test - config_empty_lookups
PASS - config_empty_lookups
===================================================================
starting test - test_config_insert
PASS - test_config_insert
===================================================================
starting test - test_config_getset_unknown
PASS - test_config_getset_unknown
===================================================================
starting test - test_config_getset_int
PASS - test_config_getset_int
===================================================================
starting test - test_config_getset_int64
PASS - test_config_getset_int64
===================================================================
starting test - test_config_commit
PASS - test_config_commit
===================================================================
starting test - test_config_save_fcb_unaligned
PASS - test_config_save_fcb_unaligned
===================================================================
starting test - test_config_empty_fcb
PASS - test_config_empty_fcb
===================================================================
starting test - test_config_save_1_fcb
PASS - test_config_save_1_fcb
===================================================================
starting test - test_config_insert2
PASS - test_config_insert2
===================================================================
starting test - test_config_save_2_fcb
PASS - test_config_save_2_fcb
===================================================================
starting test - test_config_insert3
PASS - test_config_insert3
===================================================================
starting test - test_config_save_3_fcb
PASS - test_config_save_3_fcb
===================================================================
starting test - test_config_compress_reset
PASS - test_config_compress_reset
===================================================================
starting test - test_config_save_one_fcb
PASS - test_config_save_one_fcb
===================================================================
starting test - test_config_compress_deleted
PASS - test_config_compress_deleted
===================================================================
Test suite test_config_fcb succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL

***** Booting Zephyr OS v1.14.0-rc1-669-g9ec9c430b312 *****
Running test suite test_config_fcb
===================================================================
starting test - test_settings_encode
PASS - test_settings_encode
===================================================================
starting test - test_setting_raw_read
PASS - test_setting_raw_read
===================================================================
starting test - test_setting_val_read
PASS - test_setting_val_read
===================================================================
starting test - config_empty_lookups
PASS - config_empty_lookups
===================================================================
starting test - test_config_insert
PASS - test_config_insert
===================================================================
starting test - test_config_getset_unknown
PASS - test_config_getset_unknown
===================================================================
starting test - test_config_getset_int
PASS - test_config_getset_int
===================================================================
starting test - test_config_getset_int64
PASS - test_config_getset_int64
===================================================================
starting test - test_config_commit
PASS - test_config_commit
===================================================================
starting test - test_config_save_fcb_unaligned
PASS - test_config_save_fcb_unaligned
===================================================================
starting test - test_config_empty_fcb
PASS - test_config_empty_fcb
===================================================================
starting test - test_config_save_1_fcb
PASS - test_config_save_1_fcb
===================================================================
starting test - test_config_insert2
PASS - test_config_insert2
===================================================================
starting test - test_config_save_2_fcb
PASS - test_config_save_2_fcb
===================================================================
starting test - test_config_insert3
PASS - test_config_insert3
===================================================================
starting test - test_config_save_3_fcb
PASS - test_config_save_3_fcb
===================================================================
starting test - test_config_compress_reset
PASS - test_config_compress_reset
===================================================================
starting test - test_config_save_one_fcb
PASS - test_config_save_one_fcb
===================================================================
starting test - test_config_compress_deleted
PASS - test_config_compress_deleted
===================================================================
Test suite test_config_fcb succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL

This are Results I have (RAW and BASE64 builds).

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 priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants