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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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]
> ------------------------------------------------------------------------
> [EMAIL PROTECTED] [/home/root/apacheds-trunk]>
>
>
>


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to