Skip to main content
Graduate II
April 15, 2025
Question

Many testcases are failed in TEE test application

  • April 15, 2025
  • 1 reply
  • 359 views

I am working with openSTLinux as below:
- oe-manifest: TAG openstlinux-6.6-yocto-scarthgap-mpu-v25.03.19
- Hardware: STM32MP257F-DK
- Image: st-image-weston

- Secure boot is enable and device is closed (BSEC_STATE_SEC_CLOSED)

- Remove Debug Support in Linux Device tree as KYAO suggested in this topic

 

I ran command xtest. The command is provides by a recipe optee-test_4.0.bb in meta-st-openstlinux. I found that many test cases are failed. They are related to pcks11. I attached the log file while running xtest.

28179 subtests of which 33 failed
134 test cases of which 29 failed
0 test cases were skipped
TEE test application done!

Is there any problem with OPTEE OS? Please help me solve the problem or give suggestions to solve this problem.

 

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 16, 2025

    Hello,

    It would be helpful to know which test cases failed (the list should be detailed above the trace you shared). One guess would be that the ones that fail are related to pkcs11 and you do not embed the PKCS11 Trusted Application. 

    You can exclude some xtests: https://optee.readthedocs.io/en/latest/building/gits/optee_test.html 

    I hope this helps,

    Gatien