Hello everyone,
I've been having problems with running the JUnit tests for TSS Wrapper
0.2.5 and I am really running out of ideas here. (I am quite positive that
there must be something wrong with my linux network/port settings but since
I am really new to linux I am short in ideas of what I might be doing
wrong.)
Anyone else seen the problem I describe below before? I am using Fedora Core
6 and I have SELinux turned off while iptables (version 1.3.5) and ip6tables
(also version 1.3.5) are both running.
-----------------------------------------------------------------------------------------
When I run "make run_tests" I get the following: - Show quoted text -
LD_LIBRARY_PATH=output/lib
CLASSPATH=output/jars/internal_jtss_wrapper.jar:output/jars/iaik_jtss_wrapper.jar:output/jars/iaik_jtss_wrapper_test.jar:/home/inectarios/Environment_Installations/java/junit4.1/junit-
4.1.jar \
java iaik.tss.test.junit.TestMain
.TSPI call error:
error code: 0x3103
error message: TSS layer: Core service connection failed
at iaik.tss.impl.jni.TcBaseObject.handleRetCode(TcBaseObject.java
:102)
at iaik.tss.impl.jni.TcContext.connectAlternative (TcContext.java
:160)
at iaik.tss.impl.jni.TcContext.connect (TcContext.java:114)
at iaik.tss.test.junit.TestTakeOwnership.testTakeOwnership(
TestTakeOwnership.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java :25)
at java.lang.reflect.Method.invoke (Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect ( TestResult.java:110)
at junit.framework.TestResult.runProtected (TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java :228)
at junit.framework.TestSuite.run(TestSuite.java:223)
at junit.framework.TestSuite.runTest(TestSuite.java:228)
at junit.framework.TestSuite.run(TestSuite.java:223)
at junit.textui.TestRunner.doRun(TestRunner.java :115)
at junit.textui.TestRunner.doRun(TestRunner.java :108)
at junit.textui.TestRunner.run(TestRunner.java:76)
at iaik.tss.test.junit.TestMain.allTests(TestMain.java:64)
at iaik.tss.test.junit.TestMain.main (TestMain.java:91)
F.F.F...F.F.F.F.TSPI call error:
error code: 0x3103
error message: TSS layer: Core service connection failed
..
..(several lines
..
FAILURES!!!
Tests run: 54, Failures: 17, Errors: 33
|