Those failures are mostly due to the tests use

"tpm2_takeownership -c"   to clear the Hierarchy auth fail

Start to clear the Hierarchy auth....

ClearControl Failed ! ErrorCode: 0x9a2

Error Code 0x9a2 means "TPM ERROR: SESSION #1, TPM_RC_BAD_AUTH:
authroization failure without DA implications". So if you met any 0x9a2
error, usually it is due to that the platform auth is not NULL or owner
auth is not NULL.

They have modifications for the test to avoid this issue on the following 
patches on https://github.com/01org/tpm2.0-tools
commit 4d5c543ae056538f0ab1a1eaa6ed0cf3362f4b58
commit f18d77cdd6029af086ce0ac1a63a8afd86d7aceb
commit adba1405e1358c9ee987121ae5e7aff4fa44afd3


and some failures are for the mismatch for the tool wrapped application between 
test scripts.
the tpm2 packages we have was packed on 2016.02.26 but the test script for 
tpm2-tools developed from 2016.4.28. It means we used newer test scripts to 
test old wrapped applications.
so you can find some error messages such as,

tpm2_listpcrs: invalid option -- 'L'
tpm2_quote: invalid option -- 'q'





** Attachment added: "test_all.log"
   
https://bugs.launchpad.net/ubuntu/+source/tpm2-tools/+bug/1642118/+attachment/4788467/+files/test_all.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1642118

Title:
  Several TPM2.0 tests fail

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1642118/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to