zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Brower <jimrabro...@gmail.com>
Subject Unit tests failing for modified C client
Date Wed, 26 Oct 2016 21:29:10 GMT
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

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