avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Carey <sc...@richrelevance.com>
Subject Re: TestSaslDigestMd5 testcase failed
Date Fri, 20 May 2011 17:07:23 GMT
That is probably what is causing this issue, the IBM crypto implementation is different, SASL
may be too.   I'm not sure what code or configuration has to change to get the SASL RPC to
work on IBM's JVM.

On 5/20/11 1:39 AM, "stan lee" <lee.stan065@gmail.com<mailto:lee.stan065@gmail.com>>
wrote:

Hi Doug,

I am using IBM JDK as below:
java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr9ifix-20110211_02(SR9+IZ94423))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20101124_69295 (JIT
enabled, AOT enabled)
J9VM - 20101124_069295
JIT  - r9_20101028_17488ifx2
GC   - 20101027_AA)
JCL  - 20110211_02
Thanks!
Stan Lee

On Thu, May 19, 2011 at 5:00 PM, Doug Cutting <cutting@apache.org<mailto:cutting@apache.org>>
wrote:
What version of Java?

Doug

On 05/19/2011 04:49 AM, stan lee wrote:
> Hi Doug,
>
> below is information about my server env:
>
> # cat /proc/version
> Linux version 2.6.18-194.26.1.el5
> (_mockbuild@x86-004.build.bos.redhat.com_<mailto:_mockbuild@x86-004.build.bos.redhat.com_>
> <mailto:mockbuild@x86-004.build.bos.redhat.com<mailto:mockbuild@x86-004.build.bos.redhat.com>>)
(gcc version 4.1.2
> 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Oct 29 14:21:16 EDT 2010
>
> # uname -a
> Linux svltest150.svl.ibm.com<http://svltest150.svl.ibm.com/> <http://svltest150.svl.ibm.com<http://svltest150.svl.ibm.com/>>
> 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010 x86_64 x86_64
> x86_64 GNU/Linux
> Thanks!
>
> Stan
>
> On Wed, May 18, 2011 at 4:49 PM, Doug Cutting <cutting@apache.org<mailto:cutting@apache.org>
> <mailto:cutting@apache.org<mailto:cutting@apache.org>>> wrote:
>
>     What platform are you running the tests on?
>
>     Doug
>
>     On 05/18/2011 09:18 AM, stan lee wrote:
>     > Hi Guys,
>     >
>     > I am a new commer to Avro and I am trying to build and run
>     testcases fro
>     > Avro 1.5.1 myself.  Everything goes well until run the testcase
>     > TestSaslDigestMd5(actually I run "mvn test" under lang/java
>     directory):
>     >
>     > Running org.apache.avro.ipc.TestSaslDigestMd5
>     > Tests run: 9, Failures: 1, Errors: 6, Skipped: 0, Time elapsed: 1.211
>     > sec <<< FAILURE!
>     >
>     >
>     -------------------------------------------------------------------------------
>     > Test set: org.apache.avro.ipc.TestSaslDigestMd5
>     >
>     -------------------------------------------------------------------------------
>     > Tests run: 9, Failures: 1, Errors: 6, Skipped: 0, Time elapsed: 1.211
>     > sec <<< FAILURE!
>     > testAnonymousClient(org.apache.avro.ipc.TestSaslDigestMd5)  Time
>     > elapsed: 0.989 sec  <<< ERROR!
>     > javax.security.sasl.SaslException: Fail:
>     > javax.security.sasl.SaslException: DIGEST-MD5: digest response format
>     > violation. Nonexistent realm: avro-test-realm
>     >         at
>     >
>     org.apache.avro.ipc.SaslSocketTransceiver.open(SaslSocketTransceiver.java:160)
>     >         at
>     >
>     org.apache.avro.ipc.SaslSocketTransceiver.<init>(SaslSocketTransceiver.java:76)
>     >         at
>     >
>     org.apache.avro.ipc.TestSaslDigestMd5.testStartServer(TestSaslDigestMd5.java:100)
>     >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     >         at
>     >
>     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>     >         at
>     >
>     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>     >         at java.lang.reflect.Method.invoke(Method.java:611)
>     >         at
>     >
>     org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>     >         at
>     >
>     org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>     >         at
>     >
>     org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>     >         at
>     >
>     org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>     >         at
>     >
>     org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
>     >         at
>     >
>     org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
>     >         at
>     >
>     org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
>     >         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>     >         at
>     org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>     >         at
>     org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>     >         at
>     org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>     >         at
>     org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>     >         at
>     >
>     org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     >         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>     >         at
>     >
>     org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
>     >         at
>     >
>     org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
>     >         at
>     >
>     org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
>     >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     >         at
>     >
>     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>     >         at
>     >
>     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>     >         at java.lang.reflect.Method.invoke(Method.java:611)
>     >         at
>     >
>     org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
>     >         at $Proxy0.invoke(Unknown Source)
>     >         at
>     >
>     org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
>     >         at
>     >
>     org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74)
>     >         at
>     >
>     org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
>     > testHello(org.apache.avro.ipc.TestSaslDigestMd5)  Time elapsed: 0.003
>     > sec  <<< ERROR!
>     > java.lang.NullPointerException
>     >         at
>     >
>     org.apache.avro.TestProtocolGeneric.testHello(TestProtocolGeneric.java:117)
>     >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     >         at
>     >
>     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>     >         at
>     >
>     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>     >         at java.lang.reflect.Method.invoke(Method.java:611)
>     >         at
>     >
>     org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>     >         at
>     >
>     org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>     >         at
>     >
>     org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>     >         at
>     >
>     org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>     >         at
>     >
>     org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     >         at
>     >
>     org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
>     >         at
>     >
>     org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
>     >         at
>     >
>     org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
>     >         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>     >         at
>     org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>     >         at
>     org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>     >         at
>     org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>     >         at
>     org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>     >         at
>     >
>     org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     >         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>     >         at
>     >
>     org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
>     >         at
>     >
>     org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
>     >         at
>     >
>     org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
>     >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     >         at
>     >
>     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>     >         at
>     >
>     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>     >         at java.lang.reflect.Method.invoke(Method.java:611)
>     >         at
>     >
>     org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
>     >         at $Proxy0.invoke(Unknown Source)
>     >         at
>     >
>     org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
>     >         at
>     >
>     org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74)
>     >         at
>     >
>     org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
>     >
>     > Is there anybody who met such problem before? Do I need to prepare
>     > anything before running this testcase? Thanks very much!
>     >
>     > Stan Lee
>
>


Mime
View raw message