[
https://issues.apache.org/jira/browse/KUDU-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230832#comment-15230832
]
stack commented on KUDU-1394:
-----------------------------
Hey [~danburkert] Ran into this. I tried adding binutils and addr2line to my
path:
{code}
kalashnikov:release stack$ export
PATH=/usr/local/Cellar/go/1.5.1/libexec/pkg/tool/darwin_amd64/:$PATH
kalashnikov:release stack$ addr2line
usage: addr2line binary
reads addresses from standard input and writes two lines for each:
function name
file:line
{code}
... but I still seem to fail.
{code}
1 [==========] Running 4 tests from 1 test case.
2 [----------] Global test environment set-up.
3 [----------] 4 tests from TestPstackWatcher
4 [ RUN ] TestPstackWatcher.TestPstackWatcherCancellation
5 [ OK ] TestPstackWatcher.TestPstackWatcherCancellation (1 ms)
6 [ RUN ] TestPstackWatcher.TestWait
7 WARNING: Logging before InitGoogleLogging() is written to STDERR
8 W0407 11:23:22.790910 528384 pstack_watcher.cc:80] Unable to print pstack
from watcher: Service unavailable: Neither gdb, pstack, nor gstack appears to
be installed.
9 [ OK ] TestPstackWatcher.TestWait (21 ms)
10 [ RUN ] TestPstackWatcher.TestDumpStacks
11
/Users/stack/Downloads/kudu/apache-kudu-incubating-0.8.0/src/kudu/util/pstack_watcher-test.cc:50:
Failure
12 Failed
13 Bad status: Service unavailable: Neither gdb, pstack, nor gstack appears to
be installed.
14 [ FAILED ] TestPstackWatcher.TestDumpStacks (7 ms)
15 [ RUN ] TestPstackWatcher.TestPstackWatcherRunning
16 W0407 11:23:23.310084 528384 pstack_watcher.cc:80] Unable to print pstack
from watcher: Service unavailable: Neither gdb, pstack, nor gstack appears to
be installed.
17
/Users/stack/Downloads/kudu/apache-kudu-incubating-0.8.0/src/kudu/util/pstack_watcher-test.cc:79:
Failure
18 Failed
19 Expected to find substring 'BEGIN STACKS'. Got: ''
20 [ FAILED ] TestPstackWatcher.TestPstackWatcherRunning (512 ms)
21 [----------] 4 tests from TestPstackWatcher (541 ms total)
22
23 [----------] Global test environment tear-down
24 [==========] 4 tests from 1 test case ran. (541 ms total)
25 [ PASSED ] 2 tests.
26 [ FAILED ] 2 tests, listed below:
27 [ FAILED ] TestPstackWatcher.TestDumpStacks
28 [ FAILED ] TestPstackWatcher.TestPstackWatcherRunning
29
30 2 FAILED TESTS
{code}
Installing gdb got the above to pass (so need is required too?)
> unit tests fail on OS X 10.11 El Cap
> ------------------------------------
>
> Key: KUDU-1394
> URL: https://issues.apache.org/jira/browse/KUDU-1394
> Project: Kudu
> Issue Type: Bug
> Reporter: Dan Burkert
>
> Some of the unit tests fail on OS X El Cap. Reproduced by [~misty] and
> myself. [Sample failure
> log|https://s3.amazonaws.com/uploads.hipchat.com/108018/847788/g419wZvy6rObEnu/client-test.txt].
> Only seems to happen when running through ctest, not when executing the
> test binary directly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)