|
From: Saurabh A. <tan...@gm...> - 2007-03-07 04:40:18
|
Hi
I am a student and am using HP dc7600 with infineon TPM 1.2 - gentoo
2.6.19- trousers 2.9 (with IFX dual patch) - jTSS 0.2.5
when i run junit tests i get 21 fails of 54 tests. below i have pasted
few important test fails and a TSPI call error.
Also after installing jTPMTools 0.2 , i am not able to use the
(read_pubek) command, which generates the following output :
-------------------
$ ./jtt.sh read_pubek -o password
IAIK/OpenTC Java TPM Tools
- - - - - - - - - -
based on IAIK/OpenTC jTSS Wrapper
LOG_DEBUG TSPI ../tcsd_api/clntside.c:102 Sending TSP packet to host localhost.
LOG_DEBUG TSPI ../tcsd_api/clntside.c:118 Connecting to 127.0.0.1
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:291 TCS_OpenContext_RPC_TP:
Received TCS Context: 0xa019693a
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:2366 TCSP_GetCapability_TP: TCS
Context: 0xa019693a
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:1224 TCSP_OIAP_TP: TCS Context: 0xa019693a
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:1224 TCSP_OIAP_TP: TCS Context: 0xa019693a
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:1224 TCSP_OIAP_TP: TCS Context: 0xa019693a
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:1224 TCSP_OIAP_TP: TCS Context: 0xa019693a
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:1224 TCSP_OIAP_TP: TCS Context: 0xa019693a
LOG_DEBUG TSPI ../tcsd_api/tcstp.c:1224 TCSP_OIAP_TP: TCS Context: 0xa019693a
TSPI call error:
error code: 0x15
error message: TPM layer: Insufficient TPM resources
at iaik.tss.impl.jni.TcBaseObject.handleRetCode(TcBaseObject.java:102)
at iaik.tss.impl.jni.TcTpm.getPubEndorsementKey(TcTpm.java:99)
at iaik.tc.apps.jtt.tpm.ReadPublicEk.execute(ReadPublicEk.java:73)
at iaik.tc.utils.cmdline.SubCommand.run(SubCommand.java:80)
at iaik.tc.utils.cmdline.SubCommandParser.parse(SubCommandParser.java:52)
at iaik.tc.apps.jtt.common.JTpmTools.main(JTpmTools.java:67)
----------------------------
can you guide me the way out ??
-------JUNIT OUTPUT-----------------------
TSPI call error:
error code: 0x15
error message: TPM layer: Insufficient TPM resources
------------------------------
------------------------------
There were 21 failures:
1) testGetKeyByPublicInfo(iaik.tss.test.junit.TestContext)junit.framework.AssertionFailedError:
getting key by public info failed
at iaik.tss.test.junit.TestContext.testGetKeyByPublicInfo(TestContext.java:546)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at iaik.tss.test.junit.TestMain.allTests(TestMain.java:64)
at iaik.tss.test.junit.TestMain.main(TestMain.java:91)
8) testGetPubKey(iaik.tss.test.junit.TestKeys)junit.framework.AssertionFailedError:
creating rsa key failed
at iaik.tss.test.junit.TestKeys.testCreateKey(TestKeys.java:82)
at iaik.tss.test.junit.TestKeys.testGetPubKey(TestKeys.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at iaik.tss.test.junit.TestMain.allTests(TestMain.java:64)
at iaik.tss.test.junit.TestMain.main(TestMain.java:91)
21) testCreateIdentity(iaik.tss.test.junit.TestIdentityCreation)junit.framework.AssertionFailedError:
client: CollateIdentityRequest failed
at iaik.tss.test.junit.TestIdentityCreation.testCreateIdentity(TestIdentityCreation.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at iaik.tss.test.junit.TestMain.allTests(TestMain.java:64)
at iaik.tss.test.junit.TestMain.main(TestMain.java:91)
FAILURES!!!
Tests run: 54, Failures: 21, Errors: 1
----------------JUNIT OUTPUT END--------------
|