building on Debian I get a failure on "Running JUnit test-pki-util" cd dogtag-pki.git/build/core/base/util/test && mkdir -p reports cd dogtag-pki.git/build/core/base/util/test && /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djunit.reports.dir=reports -classpath :/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-jdk14.jar:dogtag-pki.git/build/core/dist/pki-nsutil.jar:dogtag-pki.git/build/core/dist/pki-cmsutil.jar:/usr/share/java/jss4.jar:/usr/share/java/ldapjdk.jar:/usr/share/java/commons-codec.jar:/usr/share/java/hamcrest-core.jar:/usr/share/java/junit4.jar:/home/tjaalton/src/pkg-freeipa/dogtag-pki.git/build/core/test/classes com.netscape.test.TestRunner com.netscape.cmsutil.crypto.KeyIDCodecTest com.netscape.security.util.BMPStringTest com.netscape.security.util.IA5StringTest com.netscape.security.util.PrintableStringTest com.netscape.security.util.TeletexStringTest com.netscape.security.util.UniversalStringTest com.netscape.security.util.UTF8StringTest com.netscape.security.x509.GenericValueConverterTest com.netscape.security.x509.IA5StringConverterTest com.netscape.security.x509.PrintableConverterTest TestRunner: Test FAILED and then an example from the results: <testcase classname="com.netscape.security.x509.PrintableConverterTest" name="testControlCharacters" time="0.001"> <failure message="java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;" type="java.lang.NoSuchMethodError">java.lang.NoSuchMethodError: java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer; at com.netscape.security.x509.PrintableConverterTest.testControlCharacters(PrintableConverterTest.java:73) how to fix that? -- t
Hi Timo, This is because, these tests have been moved [1] into JSS [2]. You will need to install jss >=4.6.0 in order to pickup these tests. [1] https://github.com/dogtagpki/pki/pull/237/files#diff-ff19d2165756efe40fdc00e... [2] https://github.com/dogtagpki/jss/commit/c08fb6fff7ce34b534f5e052250aecc9b979... Regards, --Dinesh On Fri, 2019-08-09 at 12:39 +0300, Timo Aaltonen wrote:
building on Debian I get a failure on "Running JUnit test-pki-util"
cd dogtag-pki.git/build/core/base/util/test && mkdir -p reports cd dogtag-pki.git/build/core/base/util/test && /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djunit.reports.dir=reports -classpath :/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j- jdk14.jar:dogtag-pki.git/build/core/dist/pki-nsutil.jar:dogtag- pki.git/build/core/dist/pki- cmsutil.jar:/usr/share/java/jss4.jar:/usr/share/java/ldapjdk.jar:/usr /share/java/commons-codec.jar:/usr/share/java/hamcrest- core.jar:/usr/share/java/junit4.jar:/home/tjaalton/src/pkg- freeipa/dogtag-pki.git/build/core/test/classes com.netscape.test.TestRunner com.netscape.cmsutil.crypto.KeyIDCodecTest com.netscape.security.util.BMPStringTest com.netscape.security.util.IA5StringTest com.netscape.security.util.PrintableStringTest com.netscape.security.util.TeletexStringTest com.netscape.security.util.UniversalStringTest com.netscape.security.util.UTF8StringTest com.netscape.security.x509.GenericValueConverterTest com.netscape.security.x509.IA5StringConverterTest com.netscape.security.x509.PrintableConverterTest TestRunner: Test FAILED
and then an example from the results:
<testcase classname="com.netscape.security.x509.PrintableConverterTest" name="testControlCharacters" time="0.001"> <failure message="java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;" type="java.lang.NoSuchMethodError">java.lang.NoSuchMethodError: java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer; at com.netscape.security.x509.PrintableConverterTest.testControlCharacte rs(PrintableConverterTest.java:73)
how to fix that?
On 22.8.2019 19.54, Dinesh Prasanth Moluguwan Krishnamoorthy wrote:
Hi Timo,
This is because, these tests have been moved [1] into JSS [2].
You will need to install jss >=4.6.0 in order to pickup these tests.
[1] https://github.com/dogtagpki/pki/pull/237/files#diff-ff19d2165756efe40fdc00e...
[2] https://github.com/dogtagpki/jss/commit/c08fb6fff7ce34b534f5e052250aecc9b979...
Yes, #237 was the result of my email and the following discussion on irc. -- t
participants (2)
-
Dinesh Prasanth Moluguwan Krishnamoorthy -
Timo Aaltonen