zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Han <h...@cloudera.com>
Subject Re: Unit tests failing for modified C client
Date Thu, 27 Oct 2016 16:09:48 GMT
It's not obvious to me what went wrong without seeing what's actually
changed. Jim, maybe you could send a git PR to
https://issues.apache.org/jira/browse/ZOOKEEPER-2122 if your patch is in
reasonable good shape so others can help?

On Wed, Oct 26, 2016 at 2:29 PM, Jim Brower <jimrabrower@gmail.com> wrote:

> Hi, I'm trying to add ssl support to the Zookeeper C client. The tests that
> I initiate with
> "ant test-core-cppunit" are failing. When I run the tests on the commit
> before my changes,
> the tests succeed. I'm wondering if anyone can demystify the following
> errors for me.
>
> In particular, I don't understand what './testfile' is supposed to be, as I
> can't find reference to it
> anywhere in the repo. I'm also not sure if that's what is leading to the
> segv.
>
> I'd greatly appreciate any help, as I'm a stuck on this.
>
>
>      [exec] make[1]: Leaving directory '/home/jrbrower/zookeeper/
> zookeeper/build/test/test-cppunit'
>      [exec] make  check-TESTS
>      [exec] make[1]: Entering directory '/home/jrbrower/zookeeper/
> zookeeper/build/test/test-cppunit'
>      [exec] File './testfile' failed to open.
>      [exec] /bin/bash: line 5: 31811 Segmentation fault
>  ZKROOT=/home/jrbrower/zookeeper/zookeeper/src/c/../..
> CLASSPATH=$CLASSPATH:$CLOVER_HOME/lib/clover.jar ${dir}$tst
>      [exec]  ZooKeeper server startedRunning
>      [exec] Zookeeper_init::testBasicFAIL: zktest-st
>      [exec]  ZooKeeper server startedRunning
>      [exec] Zookeeper_init::testBasicFAIL: zktest-mt
>      [exec] ==========================================
>      [exec] 2 of 2 tests failed
>      [exec] Please report to user@zookeeper.apache.org
>      [exec] ==========================================
>      [exec] Makefile:1734: recipe for target 'check-TESTS' failed
>      [exec] make[1]: Leaving directory '/home/jrbrower/zookeeper/
> zookeeper/build/test/test-cppunit'
>      [exec] Makefile:1990: recipe for target 'check-am' failed
>      [exec] File './testfile' failed to open.
>      [exec] /bin/bash: line 5: 31859 Segmentation fault
>  ZKROOT=/home/jrbrower/zookeeper/zookeeper/src/c/../..
> CLASSPATH=$CLASSPATH:$CLOVER_HOME/lib/clover.jar ${dir}$tst
>      [exec] make[1]: *** [check-TESTS] Error 1
>      [exec] make: *** [check-am] Error 2
>



-- 
Cheers
Michael.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message