-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
rhel-9.0.0
-
None
-
Low
-
rhel-virt-core
-
ssg_virtualization
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
x86_64
-
None
-
57,005
Description of problem:
LibTester.LibTesterTBSFunctional.WHCKTpmTbsAdminEncryptDecrypt test failed.
Version-Release number of selected component (if applicable):
RHEL9.0
kernel: 5.14.0-3.el9.x86_64
qemu-kvm: qemu-kvm-6.1.0-2.el9.x86_64
libtpms: libtpms-0.8.2-0.20210301git729fc6a4ca.el9.7.x86_64
swtpm: swtpm-0.6.0-3.20210607gitea627b3.el9.x86_64
libvirt: libvirt-7.6.0-2.el9.x86_64
Win 10 version: 21h1
Studio version: 10.0.19041.1
This test case is passed with: libtpms-0.7.5-0.20210218gite271498466.el9.1.x86_64
And also failed with: libtpms-0.9.0-0.20210301git729fc6a4ca.el9.0.x86_64
How reproducible:
5/5
Steps to Reproduce:
1. Launch a Win10 guest with vtpm device
2. Launch HLK server
3. Select and run tpm test case
Actual results:
Got LibTester.LibTesterTBSFunctional.WHCKTpmTbsAdminEncryptDecrypt failed
Expected results:
Test pass.
Additional info:
Error 9/28/2021 11:02:54.420 PM TestEncryptDecrypt;
TPM Error: Size. Error
was returned for command EncryptDecrypt.
Details:
[Code=TpmRc.Size],[RawCode=0x95,149]
[ErrorEntity=Handle], [ParmNum=0]
[ParmName=Unknown]
Parameters:
Tdes.128.Ecb<p>Tpm2Lib.Tpm2EncryptDecryptRequest
keyHandle - TpmHandle
handle 2164260855 (0x80fffff7) uint
decrypt 0 (0x0) byte
mode Ecb TpmAlgId
ivIn 0x0000000000000000 byte[8]
inData 0x3e81f78cebba4258 byte[8]
<p>To reproduce use option: -seed 85089ee57865e44c
WexTraceInfo ThreadId=5052 ProcessId=3640 TimeStamp=13503212288 LogSessionId=1 SessionTraceCount=3901
Result Failed
File: Line: -1
Error Type:
Error Code: 0x0
Error Text: Error 0x00000000