Back after the holidays I have tested a few builds and I've noticed
that a few builds fail a bunch of tests.
Fails on all tool chains.
Is this a known issue?
psoc64, musca_s1 works.
Musca_B1 (nxp lpcxpresso55s69 also fails:
PS D:\Projects\tf-m6\trusted-firmware-m\armclang> cmake -GNinja
-S .. -B . -DTFM_PLATFORM=arm/musca_b1/sse_200
"-DTFM_TOOLCHAIN_FILE=..\toolchain_ARMCLANG.cmake" -DTEST_NS=ON
-DTEST_S=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBL2=ON
Musca B eflash Firmware Version 3.4
[INF] Starting bootloader
[WRN] This device was provisioned with dummy keys. This device is
NOT SECURE
[INF] Swap type: none
[INF] Swap type: none
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
[INF] Bootloader chainload address offset: 0x20000
[INF] Jumping to the first image slot
[WRN] This device was provisioned with dummy keys. This device is
NOT SECURE
[Sec Thread] Secure image initializing!
TF-M FP mode: Software
Booting TFM v1.5.0
#### Execute test suites for the Secure area ####
Running Test Suite PSA protected storage S interface tests
(TFM_S_PS_TEST_1XXX)...
> Executing 'TFM_S_PS_TEST_1001'
Description: 'Set interface'
TEST: TFM_S_PS_TEST_1001 - PASSED!
> Executing 'TFM_S_PS_TEST_1002'
Description: 'Set interface with create flags'
TEST: TFM_S_PS_TEST_1002 - PASSED!
> Executing 'TFM_S_PS_TEST_1003'
Description: 'Set interface with NULL data pointer'
TEST: TFM_S_PS_TEST_1003 - PASSED!
> Executing 'TFM_S_PS_TEST_1004'
Description: 'Set interface with invalid data length'
TEST: TFM_S_PS_TEST_1004 - PASSED!
> Executing 'TFM_S_PS_TEST_1005'
Description: 'Set interface with write once UID'
TEST: TFM_S_PS_TEST_1005 - PASSED!
> Executing 'TFM_S_PS_TEST_1006'
Description: 'Get interface with valid data'
TEST: TFM_S_PS_TEST_1006 - PASSED!
> Executing 'TFM_S_PS_TEST_1007'
Description: 'Get interface with zero data length'
TEST: TFM_S_PS_TEST_1007 - PASSED!
> Executing 'TFM_S_PS_TEST_1008'
Description: 'Get interface with invalid UIDs'
TEST: TFM_S_PS_TEST_1008 - PASSED!
> Executing 'TFM_S_PS_TEST_1009'
Description: 'Get interface with invalid data lengths and offsets'
TEST: TFM_S_PS_TEST_1009 - PASSED!
> Executing 'TFM_S_PS_TEST_1010'
Description: 'Get interface with NULL data pointer'
TEST: TFM_S_PS_TEST_1010 - PASSED!
> Executing 'TFM_S_PS_TEST_1011'
Description: 'Get info interface with write once UID'
TEST: TFM_S_PS_TEST_1011 - PASSED!
> Executing 'TFM_S_PS_TEST_1012'
Description: 'Get info interface with valid UID'
TEST: TFM_S_PS_TEST_1012 - PASSED!
> Executing 'TFM_S_PS_TEST_1013'
Description: 'Get info interface with invalid UIDs'
TEST: TFM_S_PS_TEST_1013 - PASSED!
> Executing 'TFM_S_PS_TEST_1014'
Description: 'Get info interface with NULL info pointer'
TEST: TFM_S_PS_TEST_1014 - PASSED!
> Executing 'TFM_S_PS_TEST_1015'
Description: 'Remove interface with valid UID'
TEST: TFM_S_PS_TEST_1015 - PASSED!
> Executing 'TFM_S_PS_TEST_1016'
Description: 'Remove interface with write once UID'
TEST: TFM_S_PS_TEST_1016 - PASSED!
> Executing 'TFM_S_PS_TEST_1017'
Description: 'Remove interface with invalid UID'
TEST: TFM_S_PS_TEST_1017 - PASSED!
> Executing 'TFM_S_PS_TEST_1018'
Description: 'Block compaction after remove'
TEST: TFM_S_PS_TEST_1018 - PASSED!
> Executing 'TFM_S_PS_TEST_1019'
Description: 'Multiple partial gets'
TEST: TFM_S_PS_TEST_1019 - PASSED!
> Executing 'TFM_S_PS_TEST_1020'
Description: 'Multiple sets to same UID from same thread'
TEST: TFM_S_PS_TEST_1020 - PASSED!
> Executing 'TFM_S_PS_TEST_1021'
Description: 'Get support interface'
TEST: TFM_S_PS_TEST_1021 - PASSED!
> Executing 'TFM_S_PS_TEST_1022'
Description: 'Set, get and remove interface with different asset
sizes'
TEST: TFM_S_PS_TEST_1022 - PASSED!
TESTSUITE PASSED!
Running Test Suite PS reliability tests (TFM_PS_TEST_3XXX)...
> Executing 'TFM_S_PS_TEST_2001'
Description: 'repetitive sets and gets in/from an asset'
> Iteration 15 of 15
TEST: TFM_S_PS_TEST_2001 - PASSED!
> Executing 'TFM_S_PS_TEST_2002'
Description: 'repetitive sets, gets and removes'
> Iteration 15 of 15
TEST: TFM_S_PS_TEST_2002 - PASSED!
TESTSUITE PASSED!
Running Test Suite PS rollback protection tests
(TFM_S_PS_TEST_3XXX)...
> Executing 'TFM_S_PS_TEST_3001'
Description: 'Check PS area version when NV counters 1/2/3 have
the same value'
TEST: TFM_S_PS_TEST_3001 - PASSED!
> Executing 'TFM_S_PS_TEST_3002'
Description: 'Check PS area version when it is different from NV
counters 1/2/3'
TEST: TFM_S_PS_TEST_3002 - PASSED!
> Executing 'TFM_S_PS_TEST_3003'
Description: 'Check PS area version when NV counters 1 and 2 are
equals, 3 is different, and PS area version match NV counters 1 and
2'
TEST: TFM_S_PS_TEST_3003 - PASSED!
> Executing 'TFM_S_PS_TEST_3004'
Description: 'Check PS area version when NV counters 2 and 3 are
equals, 1 is different and PS area version match NV counter 2 and 3'
TEST: TFM_S_PS_TEST_3004 - PASSED!
> Executing 'TFM_S_PS_TEST_3005'
Description: 'Check PS area version when NV counters 2 and 3 are
equals, 1 is different and PS area version match NV counter 1'
TEST: TFM_S_PS_TEST_3005 - PASSED!
> Executing 'TFM_S_PS_TEST_3006'
Description: 'Check PS area version when NV counters 1, 2 and 3
have different values and PS area version match NV counter 1 value'
TEST: TFM_S_PS_TEST_3006 - PASSED!
> Executing 'TFM_S_PS_TEST_3007'
Description: 'Check PS area version when NV counters 1, 2 and 3
have different values and PS area version match NV counter 2 value'
TEST: TFM_S_PS_TEST_3007 - PASSED!
> Executing 'TFM_S_PS_TEST_3008'
Description: 'Check PS area version when NV counters 1, 2 and 3
have different values and PS area version match NV counter 3 value'
TEST: TFM_S_PS_TEST_3008 - PASSED!
> Executing 'TFM_S_PS_TEST_3009'
Description: 'Check PS area version when NV counter 1 cannot be
incremented'
TEST: TFM_S_PS_TEST_3009 - PASSED!
TESTSUITE PASSED!
Running Test Suite PSA internal trusted storage S interface tests
(TFM_S_ITS_TEST_1XXX)...
> Executing 'TFM_S_ITS_TEST_1001'
Description: 'Set interface'
Set should not fail with valid UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:32)
TEST: TFM_S_ITS_TEST_1001 - FAILED!
> Executing 'TFM_S_ITS_TEST_1002'
Description: 'Set interface with create flags'
Set should not fail with no flags (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:91)
TEST: TFM_S_ITS_TEST_1002 - FAILED!
> Executing 'TFM_S_ITS_TEST_1003'
Description: 'Set interface with NULL data pointer'
Set should succeed with NULL data pointer and zero length (Failed
at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:115)
TEST: TFM_S_ITS_TEST_1003 - FAILED!
> Executing 'TFM_S_ITS_TEST_1004'
Description: 'Set interface with write once UID'
Set should not rewrite a write once UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:138)
TEST: TFM_S_ITS_TEST_1004 - FAILED!
> Executing 'TFM_S_ITS_TEST_1005'
Description: 'Get interface with valid data'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:186)
TEST: TFM_S_ITS_TEST_1005 - FAILED!
> Executing 'TFM_S_ITS_TEST_1006'
Description: 'Get interface with zero data length'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:293)
TEST: TFM_S_ITS_TEST_1006 - FAILED!
> Executing 'TFM_S_ITS_TEST_1007'
Description: 'Get interface with invalid UIDs'
TEST: TFM_S_ITS_TEST_1007 - PASSED!
> Executing 'TFM_S_ITS_TEST_1008'
Description: 'Get interface with data lengths and offsets greater
than UID length'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:426)
TEST: TFM_S_ITS_TEST_1008 - FAILED!
> Executing 'TFM_S_ITS_TEST_1009'
Description: 'Get interface with NULL data pointer'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:541)
TEST: TFM_S_ITS_TEST_1009 - FAILED!
> Executing 'TFM_S_ITS_TEST_1010'
Description: 'Get info interface with write once UID'
Get info should not fail for write once UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:578)
TEST: TFM_S_ITS_TEST_1010 - FAILED!
> Executing 'TFM_S_ITS_TEST_1011'
Description: 'Get info interface with valid UID'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:612)
TEST: TFM_S_ITS_TEST_1011 - FAILED!
> Executing 'TFM_S_ITS_TEST_1012'
Description: 'Get info interface with invalid UIDs'
TEST: TFM_S_ITS_TEST_1012 - PASSED!
> Executing 'TFM_S_ITS_TEST_1013'
Description: 'Remove interface with valid UID'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:708)
TEST: TFM_S_ITS_TEST_1013 - FAILED!
> Executing 'TFM_S_ITS_TEST_1014'
Description: 'Remove interface with write once UID'
Remove should not succeed with write once UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:751)
TEST: TFM_S_ITS_TEST_1014 - FAILED!
> Executing 'TFM_S_ITS_TEST_1015'
Description: 'Remove interface with invalid UID'
TEST: TFM_S_ITS_TEST_1015 - PASSED!
> Executing 'TFM_S_ITS_TEST_1016'
Description: 'Block compaction after remove'
Set should not fail for UID 1 (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:790)
TEST: TFM_S_ITS_TEST_1016 - FAILED!
> Executing 'TFM_S_ITS_TEST_1017'
Description: 'Multiple partial gets'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:860)
TEST: TFM_S_ITS_TEST_1017 - FAILED!
> Executing 'TFM_S_ITS_TEST_1018'
Description: 'Multiple sets to same UID from same thread'
First set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:911)
TEST: TFM_S_ITS_TEST_1018 - FAILED!
> Executing 'TFM_S_ITS_TEST_1019'
Description: 'Set, get and remove interface with different asset
sizes'
Set should not fail with valid UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:995)
TEST: TFM_S_ITS_TEST_1019 - FAILED!
> Executing 'TFM_S_ITS_TEST_1020'
Description: 'Set interface with invalid data length'
TEST: TFM_S_ITS_TEST_1020 - PASSED!
> Executing 'TFM_S_ITS_TEST_1021'
Description: 'Get interface with invalid data lengths and offsets'
TEST: TFM_S_ITS_TEST_1021 - PASSED!
> Executing 'TFM_S_ITS_TEST_1022'
Description: 'Get info interface with NULL info pointer'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/secure/psa_its_s_interface_testsuite.c:210)
TEST: TFM_S_ITS_TEST_1022 - FAILED!
> Executing 'TFM_S_ITS_TEST_1023'
Description: 'Attempt to get a UID set by a different partition'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/secure/psa_its_s_interface_testsuite.c:253)
TEST: TFM_S_ITS_TEST_1023 - FAILED!
TESTSUITE FAILED!
Number of failed tests: 18 of 23
Running Test Suite ITS reliability tests (TFM_ITS_TEST_2XXX)...
> Executing 'TFM_S_ITS_TEST_2001'
Description: 'repetitive sets and gets in/from an asset'
Set should not fail with valid UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/secure/psa_its_s_reliability_testsuite.c:75)
TEST: TFM_S_ITS_TEST_2001 - FAILED!
> Executing 'TFM_S_ITS_TEST_2002'
Description: 'repetitive sets, gets and removes'
Set should not fail with valid UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/secure/psa_its_s_reliability_testsuite.c:133)
TEST: TFM_S_ITS_TEST_2002 - FAILED!
TESTSUITE FAILED!
Number of failed tests: 2 of 2
Running Test Suite Crypto secure interface tests
(TFM_S_CRYPTO_TEST_1XXX)...
> Executing 'TFM_S_CRYPTO_TEST_1001'
Description: 'Secure Key management interface'
TEST: TFM_S_CRYPTO_TEST_1001 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1002'
Description: 'Secure Symmetric encryption (AES-128-CBC) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_S_CRYPTO_TEST_1002 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1005'
Description: 'Secure Symmetric encryption (AES-128-CTR) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_S_CRYPTO_TEST_1005 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1007'
Description: 'Secure Symmetric encryption invalid cipher'
TEST: TFM_S_CRYPTO_TEST_1007 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1008'
Description: 'Secure Symmetric encryption invalid cipher
(AES-152)'
TEST: TFM_S_CRYPTO_TEST_1008 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1010'
Description: 'Secure Unsupported Hash (SHA-1) interface'
TEST: TFM_S_CRYPTO_TEST_1010 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1011'
Description: 'Secure Hash (SHA-224) interface'
TEST: TFM_S_CRYPTO_TEST_1011 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1012'
Description: 'Secure Hash (SHA-256) interface'
TEST: TFM_S_CRYPTO_TEST_1012 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1013'
Description: 'Secure Hash (SHA-384) interface'
TEST: TFM_S_CRYPTO_TEST_1013 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1014'
Description: 'Secure Hash (SHA-512) interface'
TEST: TFM_S_CRYPTO_TEST_1014 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1019'
Description: 'Secure Unsupported HMAC (SHA-1) interface'
TEST: TFM_S_CRYPTO_TEST_1019 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1020'
Description: 'Secure HMAC (SHA-256) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_S_CRYPTO_TEST_1020 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1021'
Description: 'Secure HMAC (SHA-384) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_S_CRYPTO_TEST_1021 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1022'
Description: 'Secure HMAC (SHA-512) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_S_CRYPTO_TEST_1022 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1024'
Description: 'Secure HMAC with long key (SHA-224) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_S_CRYPTO_TEST_1024 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1030'
Description: 'Secure AEAD (AES-128-CCM) interface'
Algorithm NOT SUPPORTED by the implementation - skip multipart API
flow
TEST: TFM_S_CRYPTO_TEST_1030 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1031'
Description: 'Secure AEAD (AES-128-GCM) interface'
Algorithm NOT SUPPORTED by the implementation - skip multipart API
flow
TEST: TFM_S_CRYPTO_TEST_1031 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1032'
Description: 'Secure key policy interface'
TEST: TFM_S_CRYPTO_TEST_1032 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1033'
Description: 'Secure key policy check permissions'
TEST: TFM_S_CRYPTO_TEST_1033 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1034'
Description: 'Secure persistent key interface'
Failed to import a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:1292)
TEST: TFM_S_CRYPTO_TEST_1034 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1035'
Description: 'Key access control'
TEST: TFM_S_CRYPTO_TEST_1035 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1036'
Description: 'Secure AEAD interface with truncated auth tag
(AES-128-CCM-8)'
Algorithm NOT SUPPORTED by the implementation - skip multipart API
flow
TEST: TFM_S_CRYPTO_TEST_1036 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1037'
Description: 'Secure TLS 1.2 PRF key derivation'
TEST: TFM_S_CRYPTO_TEST_1037 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1038'
Description: 'Secure TLS-1.2 PSK-to-MasterSecret key derivation'
TEST: TFM_S_CRYPTO_TEST_1038 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1039'
Description: 'Secure HKDF key derivation'
TEST: TFM_S_CRYPTO_TEST_1039 - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1040'
Description: 'Secure ECDH key agreement'
Error importing the private key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:1390)
TEST: TFM_S_CRYPTO_TEST_1040 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1041'
Description: 'Secure Symmetric encryption (AES-128-OFB) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_S_CRYPTO_TEST_1041 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1042'
Description: 'Secure Symmetric encryption (AES-128-ECB) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_S_CRYPTO_TEST_1042 - FAILED!
> Executing 'TFM_S_CRYPTO_TEST_1043)'
Description: 'Secure Asymmetric encryption interface (RSA_OAEP)'
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
TEST: TFM_S_CRYPTO_TEST_1043) - PASSED!
> Executing 'TFM_S_CRYPTO_TEST_1044'
Description: 'Secure Asymmetric encryption interface
(RSA_PKCS1V15)'
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
TEST: TFM_S_CRYPTO_TEST_1044 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1045'
Description: 'Secure Sign and verify message interface
(ECDSA-SECP256R1-SHA256)'
Error importing the private key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:1726)
TEST: TFM_NS_CRYPTO_TEST_1045 - FAILED!
TESTSUITE FAILED!
Number of failed tests: 11 of 31
Running Test Suite Initial Attestation Service secure interface
tests(TFM_S_ATTEST_TEST_1XXX)...
> Executing 'TFM_S_ATTEST_TEST_1004'
Description: 'ECDSA signature test of attest token'
TEST: TFM_S_ATTEST_TEST_1004 - PASSED!
> Executing 'TFM_S_ATTEST_TEST_1005'
Description: 'Negative test cases for initial attestation service'
TEST: TFM_S_ATTEST_TEST_1005 - PASSED!
TESTSUITE PASSED!
Running Test Suite Platform Service Secure interface
tests(TFM_S_PLATFORM_TEST_1XXX)...
> Executing 'TFM_S_PLATFORM_TEST_1001'
Description: 'Minimal platform service test'
TEST: TFM_S_PLATFORM_TEST_1001 - PASSED!
TESTSUITE PASSED!
Running Test Suite IPC secure interface test
(TFM_S_IPC_TEST_1XXX)...
> Executing 'TFM_S_IPC_TEST_1001'
Description: 'Accessing stateless service from secure partition'
[IPC_SERVICE_TEST_STATELESS_ROT] Service called! arg=ffffabcd
TEST: TFM_S_IPC_TEST_1001 - PASSED!
TESTSUITE PASSED!
*** Secure test suites summary ***
Test suite 'PSA protected storage S interface tests
(TFM_S_PS_TEST_1XXX)' has PASSED
Test suite 'PS reliability tests (TFM_PS_TEST_3XXX)' has PASSED
Test suite 'PS rollback protection tests (TFM_S_PS_TEST_3XXX)' has
PASSED
Test suite 'PSA internal trusted storage S interface tests
(TFM_S_ITS_TEST_1XXX)' has FAILED
Test suite 'ITS reliability tests (TFM_ITS_TEST_2XXX)' has FAILED
Test suite 'Crypto secure interface tests (TFM_S_CRYPTO_TEST_1XXX)'
has FAILED
Test suite 'Initial Attestation Service secure interface
tests(TFM_S_ATTEST_TEST_1XXX)' has PASSED
Test suite 'Platform Service Secure interface
tests(TFM_S_PLATFORM_TEST_1XXX)' has PASSED
Test suite 'IPC secure interface test (TFM_S_IPC_TEST_1XXX)' has
PASSED
*** End of Secure test suites ***
Non-Secure system starting...
#### Execute test suites for the Non-secure area ####
Running Test Suite PSA protected storage NS interface tests
(TFM_NS_PS_TEST_1XXX)...
> Executing 'TFM_NS_PS_TEST_1001'
Description: 'Set interface'
TEST: TFM_NS_PS_TEST_1001 - PASSED!
> Executing 'TFM_NS_PS_TEST_1002'
Description: 'Set interface with create flags'
TEST: TFM_NS_PS_TEST_1002 - PASSED!
> Executing 'TFM_NS_PS_TEST_1003'
Description: 'Set interface with NULL data pointer'
TEST: TFM_NS_PS_TEST_1003 - PASSED!
> Executing 'TFM_NS_PS_TEST_1004'
Description: 'Set interface with write once UID'
TEST: TFM_NS_PS_TEST_1004 - PASSED!
> Executing 'TFM_NS_PS_TEST_1005'
Description: 'Get interface with valid data'
TEST: TFM_NS_PS_TEST_1005 - PASSED!
> Executing 'TFM_NS_PS_TEST_1006'
Description: 'Get interface with zero data length'
TEST: TFM_NS_PS_TEST_1006 - PASSED!
> Executing 'TFM_NS_PS_TEST_1007'
Description: 'Get interface with invalid UIDs'
TEST: TFM_NS_PS_TEST_1007 - PASSED!
> Executing 'TFM_NS_PS_TEST_1008'
Description: 'Get interface with invalid data lengths and offsets'
TEST: TFM_NS_PS_TEST_1008 - PASSED!
> Executing 'TFM_NS_PS_TEST_1009'
Description: 'Get interface with NULL data pointer'
TEST: TFM_NS_PS_TEST_1009 - PASSED!
> Executing 'TFM_NS_PS_TEST_1010'
Description: 'Get info interface with write once UID'
TEST: TFM_NS_PS_TEST_1010 - PASSED!
> Executing 'TFM_NS_PS_TEST_1011'
Description: 'Get info interface with valid UID'
TEST: TFM_NS_PS_TEST_1011 - PASSED!
> Executing 'TFM_NS_PS_TEST_1012'
Description: 'Get info interface with invalid UIDs'
TEST: TFM_NS_PS_TEST_1012 - PASSED!
> Executing 'TFM_NS_PS_TEST_1013'
Description: 'Remove interface with valid UID'
TEST: TFM_NS_PS_TEST_1013 - PASSED!
> Executing 'TFM_NS_PS_TEST_1014'
Description: 'Remove interface with write once UID'
TEST: TFM_NS_PS_TEST_1014 - PASSED!
> Executing 'TFM_NS_PS_TEST_1015'
Description: 'Remove interface with invalid UID'
TEST: TFM_NS_PS_TEST_1015 - PASSED!
> Executing 'TFM_NS_PS_TEST_1021'
Description: 'Block compaction after remove'
TEST: TFM_NS_PS_TEST_1021 - PASSED!
> Executing 'TFM_NS_PS_TEST_1022'
Description: 'Multiple partial gets'
TEST: TFM_NS_PS_TEST_1022 - PASSED!
> Executing 'TFM_NS_PS_TEST_1023'
Description: 'Multiple sets to same UID from same thread'
TEST: TFM_NS_PS_TEST_1023 - PASSED!
> Executing 'TFM_NS_PS_TEST_1024'
Description: 'Get support interface'
TEST: TFM_NS_PS_TEST_1024 - PASSED!
> Executing 'TFM_NS_PS_TEST_1025'
Description: 'Set, get and remove interface with different asset
sizes'
TEST: TFM_NS_PS_TEST_1025 - PASSED!
TESTSUITE PASSED!
Running Test Suite PSA internal trusted storage NS interface tests
(TFM_NS_ITS_TEST_1XXX)...
> Executing 'TFM_NS_ITS_TEST_1001'
Description: 'Set interface'
Set should not fail with valid UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:32)
TEST: TFM_NS_ITS_TEST_1001 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1002'
Description: 'Set interface with create flags'
Note: The UID in this test has already been created with
the PSA_STORAGE_FLAG_WRITE_ONCE flag in a previous test
run. Wipe the storage area to run the full test.
TEST: TFM_NS_ITS_TEST_1002 - PASSED!
> Executing 'TFM_NS_ITS_TEST_1003'
Description: 'Set interface with NULL data pointer'
Set should succeed with NULL data pointer and zero length (Failed
at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:115)
TEST: TFM_NS_ITS_TEST_1003 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1004'
Description: 'Set interface with write once UID'
Get should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:146)
TEST: TFM_NS_ITS_TEST_1004 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1005'
Description: 'Get interface with valid data'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:186)
TEST: TFM_NS_ITS_TEST_1005 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1006'
Description: 'Get interface with zero data length'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:293)
TEST: TFM_NS_ITS_TEST_1006 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1007'
Description: 'Get interface with invalid UIDs'
TEST: TFM_NS_ITS_TEST_1007 - PASSED!
> Executing 'TFM_NS_ITS_TEST_1008'
Description: 'Get interface with invalid data lengths and offsets'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:426)
TEST: TFM_NS_ITS_TEST_1008 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1009'
Description: 'Get interface with NULL data pointer'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:541)
TEST: TFM_NS_ITS_TEST_1009 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1010'
Description: 'Get info interface with write once UID'
TEST: TFM_NS_ITS_TEST_1010 - PASSED!
> Executing 'TFM_NS_ITS_TEST_1011'
Description: 'Get info interface with valid UID'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:612)
TEST: TFM_NS_ITS_TEST_1011 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1012'
Description: 'Get info interface with invalid UIDs'
TEST: TFM_NS_ITS_TEST_1012 - PASSED!
> Executing 'TFM_NS_ITS_TEST_1013'
Description: 'Remove interface with valid UID'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:708)
TEST: TFM_NS_ITS_TEST_1013 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1014'
Description: 'Remove interface with write once UID'
TEST: TFM_NS_ITS_TEST_1014 - PASSED!
> Executing 'TFM_NS_ITS_TEST_1015'
Description: 'Remove interface with invalid UID'
TEST: TFM_NS_ITS_TEST_1015 - PASSED!
> Executing 'TFM_NS_ITS_TEST_1016'
Description: 'Block compaction after remove'
Set should not fail for UID 1 (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:790)
TEST: TFM_NS_ITS_TEST_1016 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1017'
Description: 'Multiple partial gets'
Set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:860)
TEST: TFM_NS_ITS_TEST_1017 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1018'
Description: 'Multiple sets to same UID from same thread'
First set should not fail (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:911)
TEST: TFM_NS_ITS_TEST_1018 - FAILED!
> Executing 'TFM_NS_ITS_TEST_1019'
Description: 'Set, get and remove interface with different asset
sizes'
Set should not fail with valid UID (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/its/its_tests_common.c:995)
TEST: TFM_NS_ITS_TEST_1019 - FAILED!
TESTSUITE FAILED!
Number of failed tests: 13 of 19
Running Test Suite Crypto non-secure interface test
(TFM_NS_CRYPTO_TEST_1XXX)...
> Executing 'TFM_NS_CRYPTO_TEST_1001'
Description: 'Non Secure Key management interface'
TEST: TFM_NS_CRYPTO_TEST_1001 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1002'
Description: 'Non Secure Symmetric encryption (AES-128-CBC)
interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_NS_CRYPTO_TEST_1002 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1005'
Description: 'Non Secure Symmetric encryption (AES-128-CTR)
interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_NS_CRYPTO_TEST_1005 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1007'
Description: 'Non Secure Symmetric encryption invalid cipher'
TEST: TFM_NS_CRYPTO_TEST_1007 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1008'
Description: 'Non Secure Symmetric encryption invalid cipher
(AES-152)'
TEST: TFM_NS_CRYPTO_TEST_1008 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1010'
Description: 'Non Secure Unsupported Hash (SHA-1) interface'
TEST: TFM_NS_CRYPTO_TEST_1010 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1011'
Description: 'Non Secure Hash (SHA-224) interface'
TEST: TFM_NS_CRYPTO_TEST_1011 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1012'
Description: 'Non Secure Hash (SHA-256) interface'
TEST: TFM_NS_CRYPTO_TEST_1012 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1013'
Description: 'Non Secure Hash (SHA-384) interface'
TEST: TFM_NS_CRYPTO_TEST_1013 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1014'
Description: 'Non Secure Hash (SHA-512) interface'
TEST: TFM_NS_CRYPTO_TEST_1014 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1019'
Description: 'Non Secure Unsupported HMAC (SHA-1) interface'
TEST: TFM_NS_CRYPTO_TEST_1019 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1020'
Description: 'Non Secure HMAC (SHA-256) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_NS_CRYPTO_TEST_1020 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1021'
Description: 'Non Secure HMAC (SHA-384) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_NS_CRYPTO_TEST_1021 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1022'
Description: 'Non Secure HMAC (SHA-512) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_NS_CRYPTO_TEST_1022 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1024'
Description: 'Non Secure HMAC with long key (SHA-224) interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:634)
TEST: TFM_NS_CRYPTO_TEST_1024 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1030'
Description: 'Non Secure AEAD (AES-128-CCM) interface'
Algorithm NOT SUPPORTED by the implementation - skip multipart API
flow
TEST: TFM_NS_CRYPTO_TEST_1030 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1031'
Description: 'Non Secure AEAD (AES-128-GCM) interface'
Algorithm NOT SUPPORTED by the implementation - skip multipart API
flow
TEST: TFM_NS_CRYPTO_TEST_1031 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1032'
Description: 'Non Secure key policy interface'
TEST: TFM_NS_CRYPTO_TEST_1032 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1033'
Description: 'Non Secure key policy check permissions'
TEST: TFM_NS_CRYPTO_TEST_1033 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1034'
Description: 'Non Secure persistent key interface'
Failed to import a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:1292)
TEST: TFM_NS_CRYPTO_TEST_1034 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1035'
Description: 'Non Secure AEAD interface with truncated auth tag
(AES-128-CCM-8)'
Algorithm NOT SUPPORTED by the implementation - skip multipart API
flow
TEST: TFM_NS_CRYPTO_TEST_1035 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1036'
Description: 'Non Secure TLS 1.2 PRF key derivation'
TEST: TFM_NS_CRYPTO_TEST_1036 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1037'
Description: 'Non Secure TLS-1.2 PSK-to-MasterSecret key
derivation'
TEST: TFM_NS_CRYPTO_TEST_1037 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1038'
Description: 'Non Secure HKDF key derivation'
TEST: TFM_NS_CRYPTO_TEST_1038 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1039'
Description: 'Non Secure ECDH key agreement'
Error importing the private key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:1390)
TEST: TFM_NS_CRYPTO_TEST_1039 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1040'
Description: 'Non Secure Symmetric encryption (AES-128-OFB)
interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_NS_CRYPTO_TEST_1040 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1041'
Description: 'Non Secure Symmetric encryption (AES-128-ECB)
interface'
Error importing a key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:140)
TEST: TFM_NS_CRYPTO_TEST_1041 - FAILED!
> Executing 'TFM_NS_CRYPTO_TEST_1042'
Description: 'Non Secure Asymmetric encryption interface
(RSA_OAEP)'
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
TEST: TFM_NS_CRYPTO_TEST_1042 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1043'
Description: 'Non Secure Asymmetric encryption interface
(RSA_PKCS1V15)'
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
CC:error_mapping_cc_to_mbedtls_rsa: Converted CC_ERROR 0
(0x00000000) to MBEDTLS_ERR 0
TEST: TFM_NS_CRYPTO_TEST_1043 - PASSED!
> Executing 'TFM_NS_CRYPTO_TEST_1044'
Description: 'Non Secure Sign and verify message interface
(ECDSA-SECP256R1-SHA256)'
Error importing the private key (Failed at
D:/Projects/tf-m6/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/suites/crypto/crypto_tests_common.c:1726)
TEST: TFM_NS_CRYPTO_TEST_1044 - FAILED!
TESTSUITE FAILED!
Number of failed tests: 11 of 30
Running Test Suite Platform Service Non-Secure interface
tests(TFM_NS_PLATFORM_TEST_1XXX)...
> Executing 'TFM_NS_PLATFORM_TEST_1001'
Description: 'Minimal platform service test'
TEST: TFM_NS_PLATFORM_TEST_1001 - PASSED!
TESTSUITE PASSED!
Running Test Suite Initial Attestation Service non-secure interface
tests(TFM_NS_ATTEST_TEST_1XXX)...
> Executing 'TFM_NS_ATTEST_TEST_1004'
Description: 'ECDSA signature test of attest token'
TEST: TFM_NS_ATTEST_TEST_1004 - PASSED!
> Executing 'TFM_NS_ATTEST_TEST_1005'
Description: 'Negative test cases for initial attestation service'
TEST: TFM_NS_ATTEST_TEST_1005 - PASSED!
TESTSUITE PASSED!
Running Test Suite QCBOR regression test(TFM_NS_QCBOR_TEST_1XXX)...
> Executing 'TFM_NS_QCBOR_TEST_1001'
Description: 'Regression test of QCBOR library'
TEST: TFM_NS_QCBOR_TEST_1001 - PASSED!
TESTSUITE PASSED!
Running Test Suite T_COSE regression
test(TFM_NS_T_COSE_TEST_1XXX)...
> Executing 'TFM_NS_T_COSE_TEST_1001'
Description: 'Regression test of t_cose library'
TEST: TFM_NS_T_COSE_TEST_1001 - PASSED!
TESTSUITE PASSED!
Running Test Suite PSA firmware update NS interface tests
(TFM_NS_FWU_TEST_1xxx)...
> Executing 'TFM_NS_FWU_TEST_1001'
Description: 'Write, install and abort interface'
TEST: TFM_NS_FWU_TEST_1001 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1003'
Description: 'Write interface with image_offset + block_size
overflow'
TFM FWU: write flash failed.
TEST: TFM_NS_FWU_TEST_1003 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1004'
Description: 'Install interface with NULL dependency uuid'
TEST: TFM_NS_FWU_TEST_1004 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1005'
Description: 'Install interface with NULL dependency version'
TEST: TFM_NS_FWU_TEST_1005 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1006'
Description: 'Install before write'
TEST: TFM_NS_FWU_TEST_1006 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1007'
Description: 'Install after abort'
TEST: TFM_NS_FWU_TEST_1007 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1008'
Description: 'Abort interface with no image is being installing'
TEST: TFM_NS_FWU_TEST_1008 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1009'
Description: 'Query interface with the active image'
TEST: TFM_NS_FWU_TEST_1009 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1011'
Description: 'Query interface invald image id'
TFM FWU: invalid slot_id: 3 TEST: TFM_NS_FWU_TEST_1011 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1012'
Description: 'Accept interface'
TEST: TFM_NS_FWU_TEST_1012 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1014'
Description: 'Image update with dependency, no new image is
required'
TEST: TFM_NS_FWU_TEST_1014 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1015'
Description: 'Image update with dependency, new image is required'
TEST: TFM_NS_FWU_TEST_1015 - PASSED!
> Executing 'TFM_NS_FWU_TEST_1016'
Description: 'psa_fwu_write boundary test'
TEST: TFM_NS_FWU_TEST_1016 - PASSED!
TESTSUITE PASSED!
Running Test Suite Core non-secure positive tests
(TFM_NS_CORE_TEST_1XXX)...
> Executing 'TFM_NS_CORE_TEST_1001'
Description: 'Test service request from NS thread mode'
TEST: TFM_NS_CORE_TEST_1001 - PASSED!
> Executing 'TFM_NS_CORE_TEST_1003'
Description: 'Test the success of service init'
TEST: TFM_NS_CORE_TEST_1003 - PASSED!
> Executing 'TFM_NS_CORE_TEST_1007'
Description: 'Test secure service buffer accesses'
TEST: TFM_NS_CORE_TEST_1007 - PASSED!
> Executing 'TFM_NS_CORE_TEST_1008'
Description: 'Test secure service to service call'
TEST: TFM_NS_CORE_TEST_1008 - PASSED!
> Executing 'TFM_NS_CORE_TEST_1010'
Description: 'Test secure service to service call with buffer
handling'
TEST: TFM_NS_CORE_TEST_1010 - PASSED!
> Executing 'TFM_NS_CORE_TEST_1014'
Description: 'Test service parameter sanitization'
TEST: TFM_NS_CORE_TEST_1014 - PASSED!
> Executing 'TFM_NS_CORE_TEST_1015'
Description: 'Test outvec write'
TEST: TFM_NS_CORE_TEST_1015 - PASSED!
TESTSUITE PASSED!
Running Test Suite IPC non-secure interface test
(TFM_NS_IPC_TEST_1XXX)...
> Executing 'TFM_NS_IPC_TEST_1001'
Description: 'Get PSA framework version'
The version of the PSA Framework API is 257.
TEST: TFM_NS_IPC_TEST_1001 - PASSED!
> Executing 'TFM_NS_IPC_TEST_1002'
Description: 'Get version of an RoT Service'
The service version is 1.
TEST: TFM_NS_IPC_TEST_1002 - PASSED!
> Executing 'TFM_NS_IPC_TEST_1003'
Description: 'Connect to an RoT Service'
Connect success!
TEST: TFM_NS_IPC_TEST_1003 - PASSED!
> Executing 'TFM_NS_IPC_TEST_1004'
Description: 'Call an RoT Service'
TFM service support version is 1.
psa_call is successful!
outvec1 is: It is just for IPC call test.
outvec2 is: It is just for IPC call test.
TEST: TFM_NS_IPC_TEST_1004 - PASSED!
> Executing 'TFM_NS_IPC_TEST_1005'
Description: 'Call IPC_INIT_BASIC_TEST service'
Connect success!
Call success!
TEST: TFM_NS_IPC_TEST_1005 - PASSED!
> Executing 'TFM_NS_IPC_TEST_1006'
Description: 'Call PSA RoT access APP RoT memory test service'
Connect success!
Call success!
TEST: TFM_NS_IPC_TEST_1006 - PASSED!
> Executing 'TFM_NS_IPC_TEST_1010'
Description: 'Test psa_call with the status of
PSA_ERROR_PROGRAMMER_ERROR'
Connect success!
The first time call success!
The second time call success!
TEST: TFM_NS_IPC_TEST_1010 - PASSED!
> Executing 'TFM_NS_IPC_TEST_1012'
Description: 'Accessing stateless service from non-secure client'
[IPC_SERVICE_TEST_STATELESS_ROT] Service called! arg=ffffabcd
TEST: TFM_NS_IPC_TEST_1012 - PASSED!
TESTSUITE PASSED!
Running Test Suite TFM IRQ Test (TFM_IRQ_TEST_1xxx)...
> Executing 'TFM_NS_IRQ_TEST_SLIH_1001'
Description: 'SLIH HANDLING Case 1'
TEST: TFM_NS_IRQ_TEST_SLIH_1001 - PASSED!
TESTSUITE PASSED!
*** Non-secure test suites summary ***
Test suite 'PSA protected storage NS interface tests
(TFM_NS_PS_TEST_1XXX)' has PASSED
Test suite 'PSA internal trusted storage NS interface tests
(TFM_NS_ITS_TEST_1XXX)' has FAILED
Test suite 'Crypto non-secure interface test
(TFM_NS_CRYPTO_TEST_1XXX)' has FAILED
Test suite 'Platform Service Non-Secure interface
tests(TFM_NS_PLATFORM_TEST_1XXX)' has PASSED
Test suite 'Initial Attestation Service non-secure interface
tests(TFM_NS_ATTEST_TEST_1XXX)' has PASSED
Test suite 'QCBOR regression test(TFM_NS_QCBOR_TEST_1XXX)' has
PASSED
Test suite 'T_COSE regression test(TFM_NS_T_COSE_TEST_1XXX)' has
PASSED
Test suite 'PSA firmware update NS interface tests
(TFM_NS_FWU_TEST_1xxx)' has PASSED
Test suite 'Core non-secure positive tests (TFM_NS_CORE_TEST_1XXX)'
has PASSED
Test suite 'IPC non-secure interface test (TFM_NS_IPC_TEST_1XXX)'
has PASSED
Test suite 'TFM IRQ Test (TFM_IRQ_TEST_1xxx)' has PASSED
*** End of Non-secure test suites ***