Rodrigo Trujillo created AVRO-1221:
--------------------------------------
Summary: Avro 1.7.2 IPC REALM test fails with IBM Javas
Key: AVRO-1221
URL: https://issues.apache.org/jira/browse/AVRO-1221
Project: Avro
Issue Type: Bug
Components: java
Affects Versions: 1.7.2
Environment: 64 bits
Red Hat Enterprise Linux Server release 6.3 (Santiago)
IBM Java 1.6.0 (SR11) or IBM Java 1.7.0
Maven 3.0.3
Reporter: Rodrigo Trujillo
I downloaded Avro stable version 1.7.2 and could build it successfully. But it
fails when I try to run the tests with IBM Java. The tests build and compile
flawlessly with Sun Java.
The failure is in IPC, in the test file:
avro-src-1.7.2/lang/java/ipc/src/test/java/org/apache/avro/ipc/TestSaslDigestMd5.java
It occurs when the REALM is set:
DIGEST_MD5_PROPS.put("com.sun.security.sasl.digest.realm", REALM);
Maven return:
"""
Results :
Failed tests: testUndeclaredError(org.apache.avro.ipc.TestSaslDigestMd5)
Tests in error:
testAnonymousClient(org.apache.avro.ipc.TestSaslDigestMd5): Fail:
javax.security.sasl.SaslException: DIGEST-MD5: digest response format
violation. Nonexistent realm: avro-test-realm
testHello(org.apache.avro.ipc.TestSaslDigestMd5)
testEcho(org.apache.avro.ipc.TestSaslDigestMd5)
testEchoBytes(org.apache.avro.ipc.TestSaslDigestMd5)
testError(org.apache.avro.ipc.TestSaslDigestMd5)
org.apache.avro.ipc.TestSaslDigestMd5
Tests run: 287, Failures: 1, Errors: 6, Skipped: 4
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Avro Java .................................. SUCCESS [3.554s]
[INFO] Apache Avro ....................................... SUCCESS [38.981s]
[INFO] Apache Avro Compiler .............................. SUCCESS [3.408s]
[INFO] Apache Avro Maven Plugin .......................... SUCCESS [3.420s]
[INFO] Apache Avro IPC ................................... FAILURE [1:46.459s]
[INFO] Trevni Java ....................................... SKIPPED
[INFO] Trevni Java Core .................................. SKIPPED
"""
I were able to fix this changing "sun" by "ibm".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira