Protected Storage tests (TFM_NS_PS_TEST_1016, TFM_NS_PS_TEST_1017, TFM_NS_PS_TEST_1018) are failing in current master, with the following reasons:
[37m> Executing 'TFM_NS_PS_TEST_1016' Description: 'Get interface with invalid thread name' [31m Get should not succeed with invalid thread name (Failed at /home/anvi/git/tfm/tf-m-tests/test/suites/ps/non_secure/psa_ps_ns_interface_testsuite.c:893) TEST: TFM_NS_PS_TEST_1016 - FAILED! [37m> Executing 'TFM_NS_PS_TEST_1017' Description: 'Get info interface with invalid thread name' [31m Get info should not succeed with invalid thread name (Failed at /home/anvi/git/tfm/tf-m-tests/test/suites/ps/non_secure/psa_ps_ns_interface_testsuite.c:972) TEST: TFM_NS_PS_TEST_1017 - FAILED! [37m> Executing 'TFM_NS_PS_TEST_1018' Description: 'Remove interface with invalid thread name' [31m Remove should not succeed with invalid thread name (Failed at /home/anvi/git/tfm/tf-m-tests/test/suites/ps/non_secure/psa_ps_ns_interface_testsuite.c:1050) TEST: TFM_NS_PS_TEST_1018 - FAILED!
These tests are specifically testing the Non-Secure Client Identification, so they must be enabled with TFM_NS_CLIENT_IDENTIFICATION:
cmake -GNinja -DTFM_PLATFORM=nordic_nrf/nrf9160dk_nrf9106 -DTEST_S=ON -DTEST_NS=ON -DTFM_NS_CLIENT_IDENTIFICATION=ON
I've tried running the tests on nrf9160, nrf5340 and an521 (using QEMU), and the same three tests fail for all of the devices. There are two more Client Identification tests in the Protected Storage suite that are passing. I've looked into the CI logs for TF-M, and it looks like these tests aren't executed in any of the configurations.