|
From: Carolin L. <car...@un...> - 2006-08-04 07:09:56
|
Hi,
I installed sun java 1.5 which solved my previous problem, but now, I
have another one:
diufpc266 jTssWrapperPBuilt_0.2.2 # make run_tests
LD_LIBRARY_PATH=output/lib
CLASSPATH=output/jars/internal_jtss_wrapper.jar:outpu
t/jars/iaik_jtss_wrapper.jar:output/jars/iaik_jtss_wrapper_test.jar:/usr/share/j
unit/lib/junit.jar java iaik.tss.test.junit.TestMain
.9:04:56:259 [INFO] TestTakeOwnership::testTakeOwnership (70): TPM
ownership al
ready taken
...................9:04:58:100 [INFO] TestTpm::testCreateEK (104):
createEn
dorsementKey command is disabled
....9:04:58:294 [INFO] TestTpm::testCertifySelfTest (284):
TPM_ORD_CertifyS
elfTest is not supported by this TPM
.................
.....TSPI call error:
error code: 0x1
error message: TPM layer: Authentication failed
at
iaik.tss.impl.jni.TcBaseObject.handleRetCode(TcBaseObject.java:98)
at iaik.tss.impl.jni.TcRsaKey.certifyKey(TcRsaKey.java:234)
at
iaik.tss.test.junit.TestKeys.testCertifyKeyWithoutNonce(TestKeys.java
:460)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at junit.textui.TestRunner.run(TestRunner.java:72)
at iaik.tss.test.junit.TestMain.allTests(TestMain.java:46)
at iaik.tss.test.junit.TestMain.main(TestMain.java:71)
F.....
Time: 34.878
There was 1 failure:
1)
testCertifyKeyWithoutNonce(iaik.tss.test.junit.TestKeys)junit.framework.AssertionFailedError:
certify key (without nonce) failed
at
iaik.tss.test.junit.TestKeys.testCertifyKeyWithoutNonce(TestKeys.java:463)
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:46)
at iaik.tss.test.junit.TestMain.main(TestMain.java:71)
FAILURES!!!
Tests run: 51, Failures: 1, Errors: 0
I run it as root with TPM emulator version 0.4 and trousers version 0.2.7.
Furthermore I do no understand, why jTss says, that the ownership has
been already taken when I start the emulator with the "startup=clear"
option...I think this should not happen...
Bye
Carolin
|