-
Notifications
You must be signed in to change notification settings - Fork 3k
Return proper error if internal storage configuration not given #11390
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
Conversation
@0xc0170 Why there is no labels in this PR? Looks like the Bot have not touched this at all. Add |
CI started |
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
CI restarted, internal fault |
Because of 5.14.0-rc1 CI jobs, we aborted CI job here. We will restart once 5.14.0rc1 is ready. |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
CI restarted |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
are failures related:
? |
@SeppoTakalo Please review test failures |
a922d55
to
7f3d37a
Compare
Now I need to study why F429ZI fails PSA test, or why it even builds PSA component. |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
CI restarted |
After studying, I have now concluded that PSA and Crypto tests fail because they expect storage to be configured, but it is not. For example, PSA requires (I'm assuming) secure storage in the internal flash, but for F429ZI there is not configuration given, so it does not work. We have only 3 boards, that have required TDBStore values defined: https://github.com/ARMmbed/mbed-os/blob/master/features/storage/kvstore/conf/tdb_internal/mbed_lib.json I'm assuming that only those can now run those PSA and crypto tests that require secure storage. |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
80a9769
to
3cfefcf
Compare
I see this was updated, should be ready for CI? |
CI started |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Failures look still related |
3cfefcf
to
1f23d57
Compare
I'll try with that commit reverted, whether it works now or not. |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
1f23d57
to
e1853a3
Compare
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
Restarted, should be fixed in CI |
I restarted entire pipeline |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Not sure why this is failing, retrying CI one more time |
Test run: FAILEDSummary: 2 of 11 test jobs failed Failed test jobs:
|
Mmmm now failed in a different way, restarting ci yet again |
Test run: FAILEDSummary: 2 of 11 test jobs failed Failed test jobs:
|
@SeppoTakalo Please review failures. cloud client test look related. |
Don't push this into CI. This needs a bit more thinking as the approach does not seem to be correct. It looks like assumption is that KVStore should work, even when not configured to any location. |
I added needs work and I also remove now 5.14.1 (will be in the next patch release the earliest). |
Description
If function _storage_config_TDB_INTERNAL() is called, but
proper configuration for TDBStore location in flash is not
given, return MBED_ERROR_UNSUPPORTED instead of dummy, that
does not work.
This fixes KVStore related nightly tests on LPC55S69_NS
Pull request type
Reviewers
@VeijoPesonen
Release Notes