Comments (4)
more detail log
root@OpenWrt:/# xtest -x regression 1033
Test ID: -x regression
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
D/TC:? 0 tee_ta_init_pseudo_ta_session:296 Lookup pseudo TA 380231ac-fb99-47ad-a689-9e017eb6e78a
D/TC:? 0 ldelf_load_ldelf:96 ldelf load address 0x80006000
D/LD: ldelf:135 Loading TS 380231ac-fb99-47ad-a689-9e017eb6e78a
F/TC:? 0 trace_syscall:149 syscall #3 (syscall_get_property)
F/TC:? 0 trace_syscall:149 syscall #5 (syscall_open_ta_session)
D/TC:? 0 ldelf_syscall_open_bin:143 Lookup user TA ELF 380231ac-fb99-47ad-a689-9e017eb6e78a (Secure Storage TA)
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x8A
F/TC:? 0 plat_prng_add_jitter_entropy:72 0xCE
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x86
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x67
D/TC:? 0 ldelf_syscall_open_bin:146 res=0xffff0008
D/TC:? 0 ldelf_syscall_open_bin:143 Lookup user TA ELF 380231ac-fb99-47ad-a689-9e017eb6e78a (REE)
F/TC:? 0 plat_prng_add_jitter_entropy:72 0xBA
D/TC:? 0 ldelf_syscall_open_bin:146 res=0
F/TC:? 0 trace_syscall:149 syscall #7 (syscall_invoke_ta_command)
F/TC:? 0 trace_syscall:149 syscall #11 (syscall_mask_cancellation)
F/TC:? 0 trace_syscall:149 syscall #7 (syscall_invoke_ta_command)
F/TC:? 0 trace_syscall:149 syscall #3 (syscall_get_property)
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x2D
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x51
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x04
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x2F
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x49
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x0E
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x10
F/TC:? 0 trace_syscall:149 syscall #6 (syscall_close_ta_session)
F/TC:? 0 trace_syscall:149 syscall #3 (syscall_get_property)
D/LD: ldelf:170 ELF (380231ac-fb99-47ad-a689-9e017eb6e78a) at 0x80071000
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #4 (syscall_get_property_name_to_index)
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #5 (syscall_open_ta_session)
D/TC:? 0 tee_ta_init_pseudo_ta_session:296 Lookup pseudo TA 3a2f8978-5dc0-11e8-9c2d-fa7ae01bbebc
D/TC:? 0 tee_ta_init_pseudo_ta_session:309 Open system.pta
D/TC:? 0 tee_ta_init_pseudo_ta_session:326 system.pta : 3a2f8978-5dc0-11e8-9c2d-fa7ae01bbebc
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #7 (syscall_invoke_ta_command)
D/TC:? 0 invoke_command:335 2
F/TC:? 0 trace_syscall:149 syscall #7 (syscall_invoke_ta_command)
D/TC:? 0 invoke_command:335 13
D/TC:? 0 tee_ta_invoke_command:840 Error: ffff0008 of 4
F/TC:? 0 trace_syscall:149 syscall #8 (syscall_check_access_rights)
F/TC:? 0 trace_syscall:149 syscall #7 (syscall_invoke_ta_command)
D/TC:? 0 invoke_command:335 3
E/TA: tee_invoke_supp_plugin:105 Invoke tee-supplicant's plugin failed: 0xffff0008
D/TC:? 0 tee_ta_close_session:530 csess 0x430c8d90 id 1
D/TC:? 0 tee_ta_close_session:548 Destroy session
D/TC:? 0 destroy_context:326 Destroy TA ctx (0x430c8d30)
D/TC:? 0 tee_ta_close_session:530 csess 0x430c7680 id 1
D/TC:? 0 tee_ta_close_session:548 Destroy session
E/TC:? 0 tee_ta_open_session:785 Failed. Return error 0xffff0008
F/TC:? 0 plat_prng_add_jitter_entropy:72 0x87
/mfs/mtkslt1261/mtk30464/mt7896/openwrt/lede/build_dir/target-aarch64_cortex-a53_musl/optee-mediatek-3.9.0/optee_test/host/xtest/regression_1000.c:2450: 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 "-x regression":
Result of testsuite regression filtered by "1033":
regression_1033 FAILED first error at /mfs/mtkslt1261/mtk30464/mt7896/openwrt/lede/build_dir/target-aarch64_cortex-a53_musl/optee-mediatek-3.9.0/optee_test/host/xtest/regression_1000.c:2450
+-----------------------------------------------------
1 subtest of which 1 failed
1 test case of which 1 failed
103 test cases were skipped
TEE test application done!
thanks!!
from optee_test.
root@OpenWrt:/# xtest -x regression 1033
xtest 1033
is simpler (what -x regression 1033
does is: first remove all tests having regression
in their name from the whole list of tests, then add all tests having 1033
in their name which is only regression_1033
).
E/TA: tee_invoke_supp_plugin:105 Invoke tee-supplicant's plugin failed: 0xffff0008
Could it be that the supplicant plugin for this test is not installed? In the QEMU build it is copied to /usr/lib/tee-supplicant/plugins/f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin.so
.
The plugin path is configured via CFG_TEE_PLUGIN_LOAD_PATH
when building tee-supplicant
(in optee_client
) so it may be different on your platform.
The test plugin source code is in optee_test/host/supp_plugin
.
from optee_test.
Thanks for your reply.
I find the CFG_TEE_PLUGIN_LOAD_PATH
and CFG_TEE_PLUGIN_LOAD_PATH
is set to
/usr/lib/tee-supplicant/plugins/
.
And, I find f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin
in /usr/lib/tee- supplicant/plugins/
in my device.
Thanks !!
from optee_test.
Thank you for help !!
I find the CFG_TEE_PLUGIN_LOAD_PATH
and move to this path.
After rebooting, this fail don;'t happend.
Thanks !!
from optee_test.
Related Issues (20)
- xtest 1008 case fail with TEEC_ERROR_OUT_OF_MEMORY sometimes
- SO PIN in PKCS#11 tests HOT 13
- regression 1039, test subkey on SE05x with non-default TA sign keys failing HOT 15
- regression_1039 fails with CFG_ENCRYPT_TA=y HOT 3
- Useless code in attestation test case. HOT 6
- Question about build error HOT 5
- Machine readable test report HOT 2
- xtest benchmark_1000.c HOT 2
- TA remote attestation HOT 3
- openssl binary usage HOT 9
- Need to fix host/xtest/Makefile? HOT 2
- Xtest 1039 failed! HOT 2
- How to establish a bi-directional data transfer process between Normal and Secure World ? HOT 4
- xtest 1027 & 1028 failed HOT 2
- xtest 1033 failed HOT 1
- Fail to build xtest with enabing SDP test cases. HOT 5
- Queries related to PKCS11 based tests HOT 40
- Compile error when building xtest with musl HOT 10
- Add submodule in ta to get "execvp Argument list too long" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optee_test.