You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Markus Pohle <ap...@webunity.de> on 2007/05/23 16:58:41 UTC
ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0 64bit
Hi All,
tried to build ApacheDS 1.5 from SVN as descriped here:
http://directory.apache.org/apacheds/1.5/building-trunks.html
Used AIX 5.3 PPC64 with IBM JDK 1.5 64Bit and Maven 2.0.4.
At the End of "mvn install" command I do get the following error
message and the build was not successfull.
Any Ideas?
TIA,
Markus
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
Tests run: 8, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 4.198
sec <<< FAILURE!
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest
java.security.NoSuchAlgorithmException: Cannot find any provider
supporting AES/CTS/NoPadding
at javax.crypto.Cipher.getInstance(Unknown Source)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.processCipher(AesCtsSha1Encryption.java:182)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.encrypt(AesCtsSha1Encryption.java:143)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine.deriveRandom(EncryptionEngine.java:71)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.deriveKey(AesCtsSha1Encryption.java:155)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.getDecryptedData(AesCtsSha1Encryption.java:93)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.decrypt(CipherTextHandler.java:185)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.unseal(CipherTextHandler.java:159)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest.testAes128GoodPasswordDecrypt(CipherTextHandlerTest.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not found
at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown Source)
at javax.crypto.Cipher$a_.a(Unknown Source)
... 35 more
java.security.NoSuchAlgorithmException: Cannot find any provider
supporting AES/CTS/NoPadding
at javax.crypto.Cipher.getInstance(Unknown Source)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.processCipher(AesCtsSha1Encryption.java:182)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.encrypt(AesCtsSha1Encryption.java:143)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine.deriveRandom(EncryptionEngine.java:71)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.deriveKey(AesCtsSha1Encryption.java:155)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.getEncryptedData(AesCtsSha1Encryption.java:126)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.encrypt(CipherTextHandler.java:177)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.seal(CipherTextHandler.java:130)
at
org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest.testAes128GoodPasswordEncrypt(CipherTextHandlerTest.java:297)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not found
at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown Source)
at javax.crypto.Cipher$a_.a(Unknown Source)
... 35 more
Tests run: 9, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.7
sec <<< FAILURE!
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.089
sec <<< FAILURE!
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.DesStringToKeyTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.478 sec
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.NFoldTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest
Tests run: 8, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.339
sec <<< FAILURE!
Running org.apache.directory.server.kerberos.shared.keytab.KeytabTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.594 sec
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest
Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.125
sec <<< FAILURE!
Running
org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest
Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.676
sec <<< FAILURE!
Results :
Failed tests:
testFirstAesVector(org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest)
testLastAesVector(org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest)
testGenerateArcFourKey(org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest)
testGenerateRc4Key(org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest)
testRandomKeyFactory(org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest)
Tests in error:
testTestVectorsTripleDesKerberosKey1(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
testTestVectorsTripleDesKerberosKey2(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
testTestVectorsTripleDesKerberosKey3(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
testTestVectorsTripleDesKerberosKey4(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
testTestVectorsTripleDesKerberosKey5(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
testTripleDesGoodPasswordDecrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
testTripleDesGoodPasswordEncrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
testAes128GoodPasswordDecrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
testAes128GoodPasswordEncrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
testAes128Cipher(org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest)
testAes256Cipher(org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest)
testTripleDesKerberosKey(org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest)
testArcFourHmacKerberosKey(org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest)
testKerberosKeyFactory(org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest)
Tests run: 63, Failures: 5, Errors: 14, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13 minutes 59 seconds
[INFO] Finished at: Wed May 23 14:25:37 CEST 2007
[INFO] Final Memory: 30M/64M
[INFO]
------------------------------------------------------------------------
root@r15l07 [/home/root/apacheds-trunk]>
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0
64bit
Posted by Emmanuel Lecharny <el...@apache.org>.
Enrique Rodriguez a écrit :
> On 5/23/07, Enrique Rodriguez <en...@gmail.com> wrote:
>
>> On 5/23/07, Emmanuel Lecharny <el...@apache.org> wrote:
>> > ...
>> > Maven profile sounds a good short term solution to me. As Alex
>> says, we
>> > should find a way to build the server with any JVM asap, and then
>> spend
>> > some time finding a better solution for IBM JRE.
>
>
> OK, I went through and added checks in individual tests based on the
> installed JRE. This is more fine-tuned than just commenting out tests
> or setting up a profile, since all the tests will run by default if
> you are using the Sun JRE with unlimited policy. This also allowed me
> to understand more of the details about differences between the JREs.
just great !
>
> You guys with IBM JRE's can 'svn up' and re-build.
thanks a lot for this effort Enrique !
What about Harmony JRE? Just kidding... ;)
Emmanuel
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0 64bit
Posted by Enrique Rodriguez <en...@gmail.com>.
On 5/23/07, Enrique Rodriguez <en...@gmail.com> wrote:
> On 5/23/07, Emmanuel Lecharny <el...@apache.org> wrote:
> > ...
> > Maven profile sounds a good short term solution to me. As Alex says, we
> > should find a way to build the server with any JVM asap, and then spend
> > some time finding a better solution for IBM JRE.
OK, I went through and added checks in individual tests based on the
installed JRE. This is more fine-tuned than just commenting out tests
or setting up a profile, since all the tests will run by default if
you are using the Sun JRE with unlimited policy. This also allowed me
to understand more of the details about differences between the JREs.
You guys with IBM JRE's can 'svn up' and re-build.
HTH,
Enrique
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0 64bit
Posted by Enrique Rodriguez <en...@gmail.com>.
On 5/23/07, Emmanuel Lecharny <el...@apache.org> wrote:
> Hi Enrique,
>
> I confirm this is an issue with IBM JRE (I have the very same pb on my
> linux box).
>
> Maven profile sounds a good short term solution to me. As Alex says, we
> should find a way to build the server with any JVM asap, and then spend
> some time finding a better solution for IBM JRE.
Any chance you can comment out the failing tests, since you have the
IBM JRE already installed? I'm using 2 machines right now to merge
the SASL branch, hopefully done in the next 1 hr. I can get to this
issue this evening or tomorrow, depending on how SASL goes.
Enrique
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0
64bit
Posted by Emmanuel Lecharny <el...@apache.org>.
Hi Enrique,
I confirm this is an issue with IBM JRE (I have the very same pb on my
linux box).
Maven profile sounds a good short term solution to me. As Alex says, we
should find a way to build the server with any JVM asap, and then spend
some time finding a better solution for IBM JRE.
btw, I switcehd to Sun JVM 6 just to be able to build the server, sadly,
not something possible for those under AIX :(
Emmanuel
Alex Karasulu a écrit :
> Or for a shorter term work around could you either disable the tests that
> cause this failure. Or
> perhaps just enable them as you did before to detect if the crypto
> functionality is present and
> if not bypass the test? This might be a nice quick fix then we can
> take #4
> as an option for the
> long term?
>
> Alex
>
> On 5/23/07, Enrique Rodriguez <en...@gmail.com> wrote:
>
>>
>> On 5/23/07, Alex Karasulu <ak...@apache.org> wrote:
>> > Hmmm this may be an issue of some tests using SUN specific
>> classes. Enrique
>> > what do you think?
>>
>> The IBM JRE's are notorious for not shipping with some widely used
>> crypto. Web services have the same problem. This isn't an issue that
>> "unlimited strength" policy will fix.
>>
>> We have a couple options I'll throw out there:
>>
>> 1) We can require ApacheDS to build on certain VMs (just noting it as
>> an option ...).
>>
>> 2) We can require users of the IBM JRE to install a provider that
>> does support CTS mode, RC4/ARCFOUR, and possibly something else,
>> judging from the errors. Installing a provider is easy; one line in a
>> config file and a provider JAR in the right place. I would write
>> instructions for setting this up.
>>
>> Something like:
>>
>> $ cd /opt/ibm/java2-x86_64-50/jre/lib/ext
>> $ wget http://www.bouncycastle.org/download/bcprov-jdk15-136.jar
>> $ cd /opt/ibm/java2-x86_64-50/jre/lib/security
>> $ vi java.security
>>
>> Add this line after the other providers, for example at position 6:
>>
>> security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
>>
>> 3) I can rework the Kerberos tests to use a Maven 2 profile,
>> something like -Dkerberos, like we do with integration and performance
>> tests. I can then group any tests using CTS mode, RC4/ARCFOUR,
>> AES-256, etc., to run using this profile.
>>
>> 4) I can modify the exception hierarchy to handle more missing cases.
>> Likely this is limited to 2-3 classes, so might not be too big of a
>> deal. Similarly the tests would get updated. The big issue here, for
>> me, is getting the right dev & test environment setup. If it's not
>> the platform but just the IBM JRE then that's easy; I install an IBM
>> JRE locally.
>>
>> I'm thinking out loud here; pretty much the answer is to handle this
>> in the exception hierarchy (#4). Timing could be later this week or
>> early next.
>>
>> Will 'maven.test.skip' hold things over for a few days? Or the
>> provider install in #2?
>>
>> $ mvn -Dmaven.test.skip=true clean install
>>
>> Enrique
>>
>> Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not
>> found
>> at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown
>> Source)
>> at javax.crypto.Cipher$a_.a(Unknown Source)
>> ... 35 more
>> java.security.NoSuchAlgorithmException: Cannot find any provider
>> supporting AES/CTS/NoPadding
>>
>
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0 64bit
Posted by Alex Karasulu <ak...@apache.org>.
Or for a shorter term work around could you either disable the tests that
cause this failure. Or
perhaps just enable them as you did before to detect if the crypto
functionality is present and
if not bypass the test? This might be a nice quick fix then we can take #4
as an option for the
long term?
Alex
On 5/23/07, Enrique Rodriguez <en...@gmail.com> wrote:
>
> On 5/23/07, Alex Karasulu <ak...@apache.org> wrote:
> > Hmmm this may be an issue of some tests using SUN specific
> classes. Enrique
> > what do you think?
>
> The IBM JRE's are notorious for not shipping with some widely used
> crypto. Web services have the same problem. This isn't an issue that
> "unlimited strength" policy will fix.
>
> We have a couple options I'll throw out there:
>
> 1) We can require ApacheDS to build on certain VMs (just noting it as
> an option ...).
>
> 2) We can require users of the IBM JRE to install a provider that
> does support CTS mode, RC4/ARCFOUR, and possibly something else,
> judging from the errors. Installing a provider is easy; one line in a
> config file and a provider JAR in the right place. I would write
> instructions for setting this up.
>
> Something like:
>
> $ cd /opt/ibm/java2-x86_64-50/jre/lib/ext
> $ wget http://www.bouncycastle.org/download/bcprov-jdk15-136.jar
> $ cd /opt/ibm/java2-x86_64-50/jre/lib/security
> $ vi java.security
>
> Add this line after the other providers, for example at position 6:
>
> security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
>
> 3) I can rework the Kerberos tests to use a Maven 2 profile,
> something like -Dkerberos, like we do with integration and performance
> tests. I can then group any tests using CTS mode, RC4/ARCFOUR,
> AES-256, etc., to run using this profile.
>
> 4) I can modify the exception hierarchy to handle more missing cases.
> Likely this is limited to 2-3 classes, so might not be too big of a
> deal. Similarly the tests would get updated. The big issue here, for
> me, is getting the right dev & test environment setup. If it's not
> the platform but just the IBM JRE then that's easy; I install an IBM
> JRE locally.
>
> I'm thinking out loud here; pretty much the answer is to handle this
> in the exception hierarchy (#4). Timing could be later this week or
> early next.
>
> Will 'maven.test.skip' hold things over for a few days? Or the
> provider install in #2?
>
> $ mvn -Dmaven.test.skip=true clean install
>
> Enrique
>
> Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not
> found
> at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown Source)
> at javax.crypto.Cipher$a_.a(Unknown Source)
> ... 35 more
> java.security.NoSuchAlgorithmException: Cannot find any provider
> supporting AES/CTS/NoPadding
>
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0 64bit
Posted by Enrique Rodriguez <en...@gmail.com>.
On 5/23/07, Alex Karasulu <ak...@apache.org> wrote:
> Hmmm this may be an issue of some tests using SUN specific classes. Enrique
> what do you think?
The IBM JRE's are notorious for not shipping with some widely used
crypto. Web services have the same problem. This isn't an issue that
"unlimited strength" policy will fix.
We have a couple options I'll throw out there:
1) We can require ApacheDS to build on certain VMs (just noting it as
an option ...).
2) We can require users of the IBM JRE to install a provider that
does support CTS mode, RC4/ARCFOUR, and possibly something else,
judging from the errors. Installing a provider is easy; one line in a
config file and a provider JAR in the right place. I would write
instructions for setting this up.
Something like:
$ cd /opt/ibm/java2-x86_64-50/jre/lib/ext
$ wget http://www.bouncycastle.org/download/bcprov-jdk15-136.jar
$ cd /opt/ibm/java2-x86_64-50/jre/lib/security
$ vi java.security
Add this line after the other providers, for example at position 6:
security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
3) I can rework the Kerberos tests to use a Maven 2 profile,
something like -Dkerberos, like we do with integration and performance
tests. I can then group any tests using CTS mode, RC4/ARCFOUR,
AES-256, etc., to run using this profile.
4) I can modify the exception hierarchy to handle more missing cases.
Likely this is limited to 2-3 classes, so might not be too big of a
deal. Similarly the tests would get updated. The big issue here, for
me, is getting the right dev & test environment setup. If it's not
the platform but just the IBM JRE then that's easy; I install an IBM
JRE locally.
I'm thinking out loud here; pretty much the answer is to handle this
in the exception hierarchy (#4). Timing could be later this week or
early next.
Will 'maven.test.skip' hold things over for a few days? Or the
provider install in #2?
$ mvn -Dmaven.test.skip=true clean install
Enrique
Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not found
at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown Source)
at javax.crypto.Cipher$a_.a(Unknown Source)
... 35 more
java.security.NoSuchAlgorithmException: Cannot find any provider
supporting AES/CTS/NoPadding
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0 64bit
Posted by Alex Karasulu <ak...@apache.org>.
Hmmm this may be an issue of some tests using SUN specific classes. Enrique
what do you think?
Alex
On 5/23/07, Emmanuel Lecharny <el...@gmail.com> wrote:
>
> Hi Markus,
>
> can you check this page :
>
> http://directory.apache.org/apacheds/1.0/kerberos-and-unlimited-strength-policy.html
> ?
>
> It may help (not sure, but maybe)
>
> Emmaanuel
>
> On 5/23/07, Markus Pohle <ap...@webunity.de> wrote:
> >
> > Hi All,
> >
> > tried to build ApacheDS 1.5 from SVN as descriped here:
> > http://directory.apache.org/apacheds/1.5/building-trunks.html
> >
> > Used AIX 5.3 PPC64 with IBM JDK 1.5 64Bit and Maven 2.0.4.
> >
> > At the End of "mvn install" command I do get the following error
> > message and the build was not successfull.
> >
> > Any Ideas?
> >
> > TIA,
> > Markus
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
> > Tests run: 8, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 4.198
> > sec <<< FAILURE!
> > Running
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest
> > java.security.NoSuchAlgorithmException: Cannot find any provider
> > supporting AES/CTS/NoPadding
> > at javax.crypto.Cipher.getInstance(Unknown Source)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.processCipher
> (AesCtsSha1Encryption.java:182)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.encrypt
> (AesCtsSha1Encryption.java:143)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine.deriveRandom
> (EncryptionEngine.java:71)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.deriveKey
> (AesCtsSha1Encryption.java:155)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.getDecryptedData
> (AesCtsSha1Encryption.java:93)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.decrypt
> (CipherTextHandler.java:185)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.unseal
> (CipherTextHandler.java:159)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest.testAes128GoodPasswordDecrypt
> (CipherTextHandlerTest.java:264)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > at
> > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java
> :213)
> > at
> >
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
> AbstractDirectoryTestSuite.java:138)
> > at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> AbstractDirectoryTestSuite.java:125)
> > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
> SurefireBooter.java:290)
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
> :818)
> > Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not
> found
> > at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown
> Source)
> > at javax.crypto.Cipher$a_.a(Unknown Source)
> > ... 35 more
> > java.security.NoSuchAlgorithmException: Cannot find any provider
> > supporting AES/CTS/NoPadding
> > at javax.crypto.Cipher.getInstance(Unknown Source)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.processCipher
> (AesCtsSha1Encryption.java:182)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.encrypt
> (AesCtsSha1Encryption.java:143)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine.deriveRandom
> (EncryptionEngine.java:71)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.deriveKey
> (AesCtsSha1Encryption.java:155)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.getEncryptedData
> (AesCtsSha1Encryption.java:126)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.encrypt
> (CipherTextHandler.java:177)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.seal
> (CipherTextHandler.java:130)
> > at
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest.testAes128GoodPasswordEncrypt
> (CipherTextHandlerTest.java:297)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > at
> > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java
> :213)
> > at
> >
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
> AbstractDirectoryTestSuite.java:138)
> > at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> AbstractDirectoryTestSuite.java:125)
> > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:64)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:615)
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
> SurefireBooter.java:290)
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
> :818)
> > Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not
> found
> > at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown
> Source)
> > at javax.crypto.Cipher$a_.a(Unknown Source)
> > ... 35 more
> > Tests run: 9, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.7
> > sec <<< FAILURE!
> > Running
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.089
> > sec <<< FAILURE!
> > Running
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.DesStringToKeyTest
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.478sec
> > Running
> > org.apache.directory.server.kerberos.shared.crypto.encryption.NFoldTest
> > Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076sec
> > Running
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest
> > Tests run: 8, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.339
> > sec <<< FAILURE!
> > Running org.apache.directory.server.kerberos.shared.keytab.KeytabTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.594sec
> > Running
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest
> > Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.125
> > sec <<< FAILURE!
> > Running
> >
> org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest
> > Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.676
> > sec <<< FAILURE!
> >
> > Results :
> >
> > Failed tests:
> >
> > testFirstAesVector(
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest
> )
> >
> > testLastAesVector(
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest
> )
> >
> > testGenerateArcFourKey(
> org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest
> )
> >
> > testGenerateRc4Key(
> org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest
> )
> >
> > testRandomKeyFactory(
> org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest
> )
> >
> > Tests in error:
> >
> > testTestVectorsTripleDesKerberosKey1(
> org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
> )
> >
> > testTestVectorsTripleDesKerberosKey2(
> org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
> )
> >
> > testTestVectorsTripleDesKerberosKey3(
> org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
> )
> >
> > testTestVectorsTripleDesKerberosKey4(
> org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
> )
> >
> > testTestVectorsTripleDesKerberosKey5(
> org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
> )
> >
> > testTripleDesGoodPasswordDecrypt(
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest
> )
> >
> > testTripleDesGoodPasswordEncrypt(
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest
> )
> >
> > testAes128GoodPasswordDecrypt(
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest
> )
> >
> > testAes128GoodPasswordEncrypt(
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest
> )
> >
> > testAes128Cipher(
> org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest)
> >
> > testAes256Cipher(
> org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest)
> >
> > testTripleDesKerberosKey(
> org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest
> )
> >
> > testArcFourHmacKerberosKey(
> org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest
> )
> >
> > testKerberosKeyFactory(
> org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest
> )
> >
> > Tests run: 63, Failures: 5, Errors: 14, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 13 minutes 59 seconds
> > [INFO] Finished at: Wed May 23 14:25:37 CEST 2007
> > [INFO] Final Memory: 30M/64M
> > [INFO]
> > ------------------------------------------------------------------------
> > root@r15l07 [/home/root/apacheds-trunk]>
> >
> >
> >
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
Re: ApacheDS 1.5 Maven Build Error on AIX 5.3 with IBM JDK 1.5.0 64bit
Posted by Emmanuel Lecharny <el...@gmail.com>.
Hi Markus,
can you check this page :
http://directory.apache.org/apacheds/1.0/kerberos-and-unlimited-strength-policy.html
?
It may help (not sure, but maybe)
Emmaanuel
On 5/23/07, Markus Pohle <ap...@webunity.de> wrote:
>
> Hi All,
>
> tried to build ApacheDS 1.5 from SVN as descriped here:
> http://directory.apache.org/apacheds/1.5/building-trunks.html
>
> Used AIX 5.3 PPC64 with IBM JDK 1.5 64Bit and Maven 2.0.4.
>
> At the End of "mvn install" command I do get the following error
> message and the build was not successfull.
>
> Any Ideas?
>
> TIA,
> Markus
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest
> Tests run: 8, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 4.198
> sec <<< FAILURE!
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest
> java.security.NoSuchAlgorithmException: Cannot find any provider
> supporting AES/CTS/NoPadding
> at javax.crypto.Cipher.getInstance(Unknown Source)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.processCipher(AesCtsSha1Encryption.java:182)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.encrypt(AesCtsSha1Encryption.java:143)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine.deriveRandom(EncryptionEngine.java:71)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.deriveKey(AesCtsSha1Encryption.java:155)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.getDecryptedData(AesCtsSha1Encryption.java:93)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.decrypt(CipherTextHandler.java:185)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.unseal(CipherTextHandler.java:159)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest.testAes128GoodPasswordDecrypt(CipherTextHandlerTest.java:264)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not found
> at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown Source)
> at javax.crypto.Cipher$a_.a(Unknown Source)
> ... 35 more
> java.security.NoSuchAlgorithmException: Cannot find any provider
> supporting AES/CTS/NoPadding
> at javax.crypto.Cipher.getInstance(Unknown Source)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.processCipher(AesCtsSha1Encryption.java:182)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.encrypt(AesCtsSha1Encryption.java:143)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine.deriveRandom(EncryptionEngine.java:71)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.deriveKey(AesCtsSha1Encryption.java:155)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesCtsSha1Encryption.getEncryptedData(AesCtsSha1Encryption.java:126)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.encrypt(CipherTextHandler.java:177)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.seal(CipherTextHandler.java:130)
> at
> org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest.testAes128GoodPasswordEncrypt(CipherTextHandlerTest.java:297)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Caused by: java.security.NoSuchAlgorithmException: Cipher mode: CTS not found
> at com.ibm.crypto.provider.AESCipher.engineSetMode(Unknown Source)
> at javax.crypto.Cipher$a_.a(Unknown Source)
> ... 35 more
> Tests run: 9, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.7
> sec <<< FAILURE!
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.089
> sec <<< FAILURE!
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.DesStringToKeyTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.478 sec
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.NFoldTest
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest
> Tests run: 8, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.339
> sec <<< FAILURE!
> Running org.apache.directory.server.kerberos.shared.keytab.KeytabTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.594 sec
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest
> Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.125
> sec <<< FAILURE!
> Running
> org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest
> Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.676
> sec <<< FAILURE!
>
> Results :
>
> Failed tests:
>
> testFirstAesVector(org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest)
>
> testLastAesVector(org.apache.directory.server.kerberos.shared.crypto.encryption.AesEncryptionTest)
>
> testGenerateArcFourKey(org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest)
>
> testGenerateRc4Key(org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest)
>
> testRandomKeyFactory(org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactoryTest)
>
> Tests in error:
>
> testTestVectorsTripleDesKerberosKey1(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
>
> testTestVectorsTripleDesKerberosKey2(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
>
> testTestVectorsTripleDesKerberosKey3(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
>
> testTestVectorsTripleDesKerberosKey4(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
>
> testTestVectorsTripleDesKerberosKey5(org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryptionTest)
>
> testTripleDesGoodPasswordDecrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
>
> testTripleDesGoodPasswordEncrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
>
> testAes128GoodPasswordDecrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
>
> testAes128GoodPasswordEncrypt(org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandlerTest)
>
> testAes128Cipher(org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest)
>
> testAes256Cipher(org.apache.directory.server.kerberos.shared.crypto.encryption.KeyTypeTest)
>
> testTripleDesKerberosKey(org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest)
>
> testArcFourHmacKerberosKey(org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest)
>
> testKerberosKeyFactory(org.apache.directory.server.kerberos.shared.crypto.encryption.KerberosKeyFactoryTest)
>
> Tests run: 63, Failures: 5, Errors: 14, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13 minutes 59 seconds
> [INFO] Finished at: Wed May 23 14:25:37 CEST 2007
> [INFO] Final Memory: 30M/64M
> [INFO]
> ------------------------------------------------------------------------
> root@r15l07 [/home/root/apacheds-trunk]>
>
>
>
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com