OP-TEE/optee_test

xtest 1033 failed

willzx95 opened this issue · 1 comments

Hello, when I use xtest, 1033 failed.
The error log as follow:

# xtest 1033
Test ID: 1033
Run test suite with level=0

TEE test application started over default TEE instance
######################################################
#
#regression
#
######################################################
 
* regression_1033 Test the supplicant plugin framework
E/TA:  tee_invoke_supp_plugin:105 Invoke tee-supplicant's plugin failed: 0xffff0008
E/TC:? 0 tee_ta_open_session:767 Failed. Return error 0xffff0008
/xxxx/optee/optee_test/host/xtest/regression_1000.c:2396: xtest_teec_open_session(&session, &supp_plugin_test_ta_uuid, ((void *)0), &ret_orig) has an unexpected value: 0xffff0008 = TEEC_ERROR_ITEM_NOT_FOUND, expected 0x0 = TEEC_SUCCESS
  regression_1033 FAILED
+-----------------------------------------------------
Result of testsuite regression filtered by "1033":
regression_1033 FAILED first error at /xxxx/optee/optee_test/host/xtest/regression_1000.c:2396
+-----------------------------------------------------
1 subtest of which 1 failed
1 test case of which 1 failed
94 test cases were skipped
TEE test application done!

It notes that TEEC_ERROR_ITEM_NOT_FOUND, but the path of supplicant plugin in rootfs is same as the configured in optee_test/host/supp_plugin/CMakeLists.txt
set (CFG_TEE_PLUGIN_LOAD_PATH "/usr/lib/tee-supplicant/plugins/")
and shell as follow:
# ls /usr/lib/tee-supplicant/plugins/
f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin
# cat /data/tee/teec.log
ERR [141] TSUP:plugin_load_all:159: open plugin <f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin> failed: /usr/lib/tee-supplicant/plugins/f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin: cannot open shared object file: No such file or directory
Now, I have no idea to solve it, and need some help, thanks!

This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note that you can always re-open a closed issue at any time.