Public bug reported: Install tpm2-tools then run some test scripts from git (https://github.com/01org/tpm2.0-tools/tree/master/test). There are several tests failed.
steps 1.Install tpm2.0-tools from xenial/universe $ sudo apt-get install tpm2.0-tools 2.Clone tpm2.0-tools for test script $ git clone https://github.com/01org/tpm2.0-tools 3.Run resource manager daemon $ sudo resourcemgr 4.Run test script $ cd tpm2.0-tools/test $ ./test_all.sh 5.Check test results in test_all_fail.log and test_all_pass.log Expected results: TPM 2.0 test items should be pass. Actual results: TPM 2.0 test items failed. test_tpm2_getrandom.sh pass test_tpm2_hash.sh pass test_tpm2_akparse.sh pass test_tpm2_getpubek.sh pass test_tpm2_makecredential.sh pass test_tpm2_takeownership_all.sh fail test_tpm2_nv.sh fail test_tpm2_listpcrs.sh fail test_tpm2_load.sh fail test_tpm2_loadexternal.sh fail test_tpm2_evictcontrol.sh fail test_tpm2_hmac.sh fail test_tpm2_quote.sh fail test_tpm2_unseal.sh fail test_tpm2_certify.sh fail test_tpm2_evictcontrol.sh fail test_tpm2_getpubak.sh fail test_tpm2_activecredential.sh fail test_tpm2_readpublic.sh fail test_tpm2_rsaencrypt.sh fail test_tpm2_rsadecrypt.sh fail test_tpm2_encryptdecrypt.sh fail test_tpm2_sign.sh fail test_tpm2_verifysignature.sh fail Additional information tpm2-tools: Installed: 1.0.0+20160226.64b3334-0ubuntu2 Candidate: 1.0.0+20160226.64b3334-0ubuntu2 Version table: *** 1.0.0+20160226.64b3334-0ubuntu2 500 500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 100 /var/lib/dpkg/status Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial Linux u-Precision-7520 4.4.0-47-generic If compile/install latest tpm2-tools in github (https://github.com/01org/tpm2.0-tools), most tests are passed. test_tpm2_takeownership_all.sh pass test_tpm2_nv.sh pass test_tpm2_listpcrs.sh pass test_tpm2_getrandom.sh pass test_tpm2_load.sh pass test_tpm2_loadexternal.sh pass test_tpm2_evictcontrol.sh pass test_tpm2_hash.sh pass test_tpm2_hmac.sh pass test_tpm2_akparse.sh pass test_tpm2_certify.sh pass test_tpm2_evictcontrol.sh pass test_tpm2_getpubek.sh pass test_tpm2_getpubak.sh pass test_tpm2_makecredential.sh pass test_tpm2_activecredential.sh pass test_tpm2_readpublic.sh pass test_tpm2_rsaencrypt.sh pass test_tpm2_rsadecrypt.sh pass test_tpm2_sign.sh pass test_tpm2_verifysignature.sh pass test_tpm2_quote.sh fail test_tpm2_unseal.sh fail test_tpm2_encryptdecrypt.sh fail ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: tpm2-tools 1.0.0+20160226.64b3334-0ubuntu2 ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24 Uname: Linux 4.4.0-47-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CurrentDesktop: Unity Date: Wed Nov 16 10:23:33 2016 DistributionChannelDescriptor: # This is a distribution channel descriptor # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-somerville-xenial-amd64-20160624-2 InstallationDate: Installed on 2016-11-02 (13 days ago) InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47 SourcePackage: tpm2-tools UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: tpm2-tools (Ubuntu) Importance: Undecided Status: Confirmed ** Tags: amd64 apport-bug xenial ** Changed in: tpm2-tools (Ubuntu) Status: New => Confirmed -- 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/ubuntu/+source/tpm2-tools/+bug/1642118/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs