zephyrproject-rtos / test_results

Consolidated test results
7 stars 12 forks source link

tests: secure_storage: psa: crypto.secure_storage test Failed #1893

Closed hakehuang closed 5 days ago

hakehuang commented 5 days ago

Describe the bug crypto.secure_storage test is Failed on v3.7.0-4826-g372b3a9b8da2 on lpcxpresso54114/lpc54114/m4 testcase path is secure_storage/psa/crypto/secure_storage/persistent_key_usage

see logs for details

To Reproduce

  1. scripts/twister --device-testing --device-serial /dev/ttyACM0 -p lpcxpresso54114/lpc54114/m4  --sub-test secure_storage.psa

    or

    # cd tests/secure_storage/psa/crypto/secure_storage/persistent_key_usage
    # west build -b lpcxpresso54114/lpc54114/m4
    # west flash
  2. See error

Expected behavior test pass

Impact

Logs and console output


*** Booting Zephyr OS build v3.7.0-4826-g372b3a9b8da2 ***
WARNING: Using an insecure PSA ITS encryption key provider.
W: Using an insecure PSA ITS encryption key provider.
E: Unsupported write block size
Running TESTSUITE secure_storage_psa_crypto
===================================================================
START - test_its_caller_isolation
E: Failed to write data to storage. (-146)

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/secure_storage/psa/crypto/src/main.c:47: secure_storage_psa_crypto_test_its_caller_isolation: ret not equal to PSA_SUCCESS

 FAIL - test_its_caller_isolation in 0.028 seconds
===================================================================
START - test_persistent_key_usage
E: Failed to write data to storage. (-146)

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/secure_storage/psa/crypto/src/main.c:95: secure_storage_psa_crypto_test_persistent_key_usage: ret not equal to PSA_SUCCESS

 FAIL - test_persistent_key_usage in 0.023 seconds
===================================================================
TESTSUITE secure_storage_psa_crypto failed.

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

SUITE FAIL -   0.00% [secure_storage_psa_crypto]: pass = 0, fail = 2, skip = 0, total = 2 duration = 0.051 seconds
 - FAIL - [secure_storage_psa_crypto.test_its_caller_isolation] duration = 0.028 seconds
 - FAIL - [secure_storage_psa_crypto.test_persistent_key_usage] duration = 0.023 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
RunID: 3c13decfdac4a12086e605cbcf12c3a9
PROJECT EXECUTION FAILED

```**Environment (please complete the following information):**
 - OS: (e.g. Linux )
 - Toolchain (e.g Zephyr SDK)
 - Commit SHA or Version used: v3.7.0-4826-g372b3a9b8da2
hakehuang commented 5 days ago

Also fails on lpcxpresso54114/lpc54114/m4 for v3.7.0-4826-g372b3a9b8da2