Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1482337 Details for
Bug 1627282
test_tpm2_unseal.sh failed with "tpm2_unseal didn't fail without a PCR policy!"
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
All three TPM2 testsuites now run successfully.
testreport (text/plain), 6.92 KB, created by
Vilém Maršík
on 2018-09-11 11:45:18 UTC
(
hide
)
Description:
All three TPM2 testsuites now run successfully.
Filename:
MIME Type:
Creator:
Vilém Maršík
Created:
2018-09-11 11:45:18 UTC
Size:
6.92 KB
patch
obsolete
># journalctl | grep tpm | cut -d: -f4- > tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id 2) > ># uname -r >3.10.0-944.el7.x86_64 ># rpm -qa | grep tpm >tpm2-tss-1.4.0-1.el7.x86_64 >kernel-kernel-crypto-tpm-tpm2-0.1-1.noarch >tpm2-tss-devel-1.4.0-1.el7.x86_64 >tpm2-abrmd-1.1.0-9.el7.x86_64 >tpm2-tools-3.0.4-2.el7.x86_64 > > ># systemctl stop tpm2-abrmd ># git clone -b 3.X git://github.com/tpm2-software/tpm2-tools.git >(...) ># cd tpm2-tools/test/system ># export TPM2TOOLS_TCTI_NAME=device ># export TPM2TOOLS_DEVICE_FILE=/dev/tpmrm0 ># ./test.sh >test_output_formats.sh ... PASSED >test_tpm2_activecredential.sh ... PASSED >test_tpm2_certify.sh ... PASSED >test_tpm2_createpolicy.sh ... PASSED >test_tpm2_createprimary.sh ... PASSED >test_tpm2_create.sh ... PASSED >test_tpm2_dictionarylockout.sh ... PASSED >\WARN: Command EncryptDecrypt is not supported by your device, skipping... >test_tpm2_encryptdecrypt.sh ... PASSED >test_tpm2_evictcontrol.sh ... PASSED >test_tpm2_getcap.sh ... PASSED >\WARN: TLS communication with the said TPM manufacturer server setup with SSL_NO_VERIFY! >\WARN: TLS communication with the said TPM manufacturer server setup with SSL_NO_VERIFY! >/WARN: TLS communication with the said TPM manufacturer server setup with SSL_NO_VERIFY! >test_tpm2_getmanufec.sh ... PASSED >test_tpm2_getpubak.sh ... PASSED >test_tpm2_getpubek.sh ... PASSED >test_tpm2_getrandom.sh ... PASSED >test_tpm2_hash.sh ... PASSED >test_tpm2_hmac.sh ... PASSED >test_tpm2_listpersistent.sh ... PASSED >test_tpm2_loadexternal.sh ... PASSED >test_tpm2_load.sh ... PASSED >test_tpm2_makecredential.sh ... PASSED >test_tpm2_nv.sh ... PASSED >test_tpm2_pcrevent.sh ... PASSED >test_tpm2_pcrextend.sh ... PASSED >test_tpm2_pcrlist.sh ... PASSED >test_tpm2_quote.sh ... PASSED >test_tpm2_rc_decode.sh ... PASSED >test_tpm2_readpublic.sh ... PASSED >test_tpm2_rsadecrypt.sh ... PASSED >test_tpm2_rsaencrypt.sh ... PASSED >test_tpm2_send.sh ... PASSED >test_tpm2_sign.sh ... PASSED >test_tpm2_startup.sh ... PASSED >test_tpm2_takeownership.sh ... PASSED >test_tpm2_unseal.sh ... PASSED >test_tpm2_verifysignature.sh ... PASSED >Tests passed: 35 >Tests Failed: 0 > > > ># git clone git://github.com/jsakkine-intel/tpm2-scripts >(...) ># cd tpm2-scripts/ ># systemctl stop tpm2-abrmd ># python -m unittest -v tpm2_smoke >test_seal_with_auth (tpm2_smoke.SmokeTest) ... ok >test_seal_with_policy (tpm2_smoke.SmokeTest) ... ok >test_seal_with_too_long_auth (tpm2_smoke.SmokeTest) ... ok >test_too_short_cmd (tpm2_smoke.SmokeTest) ... ok >test_unseal_with_wrong_auth (tpm2_smoke.SmokeTest) ... ok >test_unseal_with_wrong_policy (tpm2_smoke.SmokeTest) ... ok >test_flush_context (tpm2_smoke.SpaceTest) ... ok >test_get_handles (tpm2_smoke.SpaceTest) ... ok >test_invalid_cc (tpm2_smoke.SpaceTest) ... ok >test_make_two_spaces (tpm2_smoke.SpaceTest) ... ok > >---------------------------------------------------------------------- >Ran 10 tests in 151.870s > >OK > > > ># cd /mnt/tests/kernel/crypto/tpm/tpm2 ># make run >(...) >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: TEST PROTOCOL >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > > Package : crypto > beakerlib RPM : beakerlib-1.17-13.el7bkr.1.noarch > bl-redhat RPM : beakerlib-redhat-1-32.el7bkr.noarch > Test version : developer > Test started : 2018-09-11 07:24:00 EDT > Test finished : 2018-09-11 07:24:03 EDT (still running) > Test duration : 3 seconds > Test name : /kernel/crypto/tpm/tpm2 > Distro : Red Hat Enterprise Linux Server release 7.6 Beta (Maipo) > Hostname : dell-per730-01.khw.lab.eng.bos.redhat.com > Architecture : x86_64 > CPUs : 16 x Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz > RAM size : 48014 MB > HDD size : 812.64 GB > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Test description >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >Runs different tpm2-tools tests against a TPM2 HW. > > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Setup >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ 07:24:01 ] :: [ PASS ] :: starting tpm2-abrmd (Expected 0, got 0) >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Duration: 1s >:: Assertions: 1 good, 0 bad >:: RESULT: PASS > > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Presence >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ 07:24:02 ] :: [ PASS ] :: Command 'tpm2_pcrlist' (Expected 0, got 0) >:: [ 07:24:02 ] :: [ PASS ] :: 24 PCRS (Assert: "24" should be >= "24") >:: [ 07:24:02 ] :: [ PASS ] :: File /dev/tpm0 should exist >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Duration: 0s >:: Assertions: 3 good, 0 bad >:: RESULT: PASS > > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Functionality >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ 07:24:03 ] :: [ PASS ] :: Command 'tpm2_nvlist' (Expected 0, got 0) >:: [ 07:24:03 ] :: [ PASS ] :: random number generator (Expected 0, got 0) >:: [ 07:24:03 ] :: [ PASS ] :: random number count (Assert: '20' should equal '20') >:: [ 07:24:03 ] :: [ PASS ] :: hashing (Expected 0, got 0) >:: [ 07:24:03 ] :: [ PASS ] :: extending PCR (Expected 0, got 0) >:: [ 07:24:03 ] :: [ PASS ] :: PCR value changed (Assert: " 4 : f2387a3ee9df654a7a713d8689a2031ff579c9ad" should not equal " 4 : b2ee90ef4f69613be2ceb16a6ad351ab7fddfb07") >:: [ 07:24:03 ] :: [ PASS ] :: tpm2_rc_decode 0x9a2 -> BAD_AUTH (Assert: '1' should equal '1') >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Duration: 1s >:: Assertions: 7 good, 0 bad >:: RESULT: PASS > > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Data RW >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Duration: 0s >:: Assertions: 0 good, 0 bad >:: RESULT: PASS > > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Cleanup >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Duration: 0s >:: Assertions: 0 good, 0 bad >:: RESULT: PASS > > >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: /kernel/crypto/tpm/tpm2 >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > >:: [ 07:24:03 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/beakerlib-716smEb/journal.xml >:: [ 07:24:03 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/beakerlib-716smEb/journal.txt >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: >:: Duration: 3s >:: Phases: 5 good, 0 bad >:: OVERALL RESULT: PASS
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1627282
: 1482337