zephyrproject-rtos / test_results

Consolidated test results
7 stars 12 forks source link

tests: secure_storage: psa: its.secure_storage.custom.transform test Failed #1892

Closed hakehuang closed 5 days ago

hakehuang commented 5 days ago

Describe the bug its.secure_storage.custom.transform test is Failed on v3.7.0-4826-g372b3a9b8da2 on lpcxpresso54114/lpc54114/m4 testcase path is secure_storage/psa/its/secure_storage/custom/transform/write_once_flag

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/its/secure_storage/custom/transform/write_once_flag
    # 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 ***
E: Unsupported write block size
Running TESTSUITE secure_storage_psa_its
===================================================================
START - test_all_offsets
E: Failed to write data to storage. (-146)

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/secure_storage/psa/its/src/main.c:67: secure_storage_psa_its_test_all_offsets: ret not equal to PSA_SUCCESS

 FAIL - test_all_offsets in 0.019 seconds
===================================================================
START - test_all_sizes
E: Failed to write data to storage. (-146)

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/secure_storage/psa/its/src/main.c:38: secure_storage_psa_its_test_all_sizes: ret not equal to PSA_SUCCESS

 FAIL - test_all_sizes in 0.019 seconds
===================================================================
START - test_max_num_entries
E: Failed to write data to storage. (-146)

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/secure_storage/psa/its/src/main.c:90: secure_storage_psa_its_test_max_num_entries: max_num_entries > 1 is false

 FAIL - test_max_num_entries in 0.019 seconds
===================================================================
START - test_write_once_flag
E: Failed to write data to storage. (-146)

    Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/secure_storage/psa/its/src/main.c:122: secure_storage_psa_its_test_write_once_flag: (ret not equal to PSA_SUCCESS)
-146
 FAIL - test_write_once_flag in 0.020 seconds
===================================================================
TESTSUITE secure_storage_psa_its failed.

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

SUITE FAIL -   0.00% [secure_storage_psa_its]: pass = 0, fail = 4, skip = 0, total = 4 duration = 0.077 seconds
 - FAIL - [secure_storage_psa_its.test_all_offsets] duration = 0.019 seconds
 - FAIL - [secure_storage_psa_its.test_all_sizes] duration = 0.019 seconds
 - FAIL - [secure_storage_psa_its.test_max_num_entries] duration = 0.019 seconds
 - FAIL - [secure_storage_psa_its.test_write_once_flag] duration = 0.020 seconds

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

===================================================================
RunID: 55a49eb423cae228bca5a3c12c17850f
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