-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optee os update to 3.20+fio (take 2) #1059
Conversation
Update plug-and-trust to the latest release. Relevant changes: - b4fbe94 scp03 challenge: do not call OP-TEE - 13497ec se050x: policy: do not modify requested policy - 67cac4f ecdsa: op-tee signature handling - 6068e92 ecdsa: support P-521 curve Signed-off-by: Igor Opaniuk <[email protected]>
Operations that require a public key might fallback to a software based implementation. Operations that require a private key might fallback to a software based implementation as long as the private key is not in the secure element. This helps making the software stack compatible with an extended crypto set, allowing xtests to work correctly. Signed-off-by: Ricardo Salveti <[email protected]>
Update OP-TEE to 3.20. Signed-off-by: Igor Opaniuk <[email protected]> Signed-off-by: Ricardo Salveti <[email protected]>
Follow up of #1019 (as igor is off today and I needed to do a bit more testing due some other stuff). |
|
|
With SE050:
|
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UPDATE
Tested with main
lmp-manifest +
<project name="meta-lmp" path="layers/meta-lmp" remote="ricardo" revision="optee"/>
30227 subtests of which 2 failed
128 test cases of which 1 failed
0 test cases were skipped
TEE test application done!
fio@imx6ullevk:~$
regression_1039.1 FAILED first error at /usr/src/debug/optee-test/3.20.0-r0/git/host/xtest/regression_1000.c:3206
regression_1039.2 FAILED first error at /usr/src/debug/optee-test/3.20.0-r0/git/host/xtest/regression_1000.c:3213
regression_1039 FAILED
|
That is weird, both failed the same way. Will try on my imx6ullevk-sec as well. |
@MrCry0 can you run just the failed jobs and get the job log? |
This is really weird and seems a factory cache issue. The error is fixed in
So I think our 3.20 is OK. Well, and this is not a sstate cache issue:
Building locally. |
CKR_HOST_MEMORY, and I don't get this failure on every run.
|
Just the pkcs11 tests work ok. |
It fails when trying to allocate SHM memory for the test case, which is just a normal shm alloc operation, and why it works OK when retrying or when just running the pkcs11 tests. @igoropaniuk is this something you faced as well? I'm ok merging even with this failure but we should investigate this one a bit more (not an issue for the normal scenario as we never really stress optee this way). |
@MrCry0 working fine here. |
Will merge so we get a wider testing on this (we can fix as needed). |
Yeah, I said - that is not an op-tee issue, but building one. Somehow factory built an older version of optee-test. |
No description provided.