[ 
https://issues.apache.org/jira/browse/ARROW-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401371#comment-16401371
 ] 

Wes McKinney commented on ARROW-2318:
-------------------------------------

It looks like the Boost libraries in the 16.04 apt repos can't be used with the 
clang-5.0 from apt, so that's awesome. I thought I would try the vendored Boost 
build, but that's broken: ARROW-2320. 

[~pcmoritz] it turns out that clang-5.0 is not necessary to reproduce this 
failure -- it fails with gcc 5.4.0 too. Here's the modified build script:

{code}
#!/usr/bin/env bash

set -ex

git clone https://github.com/apache/arrow.git
mkdir -p arrow/cpp/build
pushd arrow/cpp/build

# export CC=clang-5.0
# export CXX=clang++-5.0

cmake -DARROW_PLASMA=on \
      -DARROW_BOOST_USE_SHARED=on \
      -DCMAKE_BUILD_TYPE=release \
      ..
make -j8

./release/client_tests
./release/client_tests
./release/client_tests
./release/client_tests
./release/client_tests
{code}

I'm running this with:

{code}
docker build -t arrow-plasma-debug .
docker run --shm-size=2g --rm -t -i -v $PWD:/io arrow-plasma-debug 
/io/build_and_test.sh
{code}

and it fails with

{code}
[100%] Built target array-test
+ ./release/client_tests
[==========] Running 7 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 7 tests from TestPlasmaStore
[ RUN      ] TestPlasmaStore.DeleteTest
Connection to IPC socket failed for pathname /tmp/store, retrying 50 more times
[       OK ] TestPlasmaStore.DeleteTest (103 ms)
[ RUN      ] TestPlasmaStore.ContainsTest
[       OK ] TestPlasmaStore.ContainsTest (2 ms)
[ RUN      ] TestPlasmaStore.GetTest
[       OK ] TestPlasmaStore.GetTest (2 ms)
[ RUN      ] TestPlasmaStore.MultipleGetTest
[       OK ] TestPlasmaStore.MultipleGetTest (2 ms)
[ RUN      ] TestPlasmaStore.AbortTest
[       OK ] TestPlasmaStore.AbortTest (3 ms)
[ RUN      ] TestPlasmaStore.MultipleClientTest
[       OK ] TestPlasmaStore.MultipleClientTest (2 ms)
[ RUN      ] TestPlasmaStore.ManyObjectTest
/arrow/cpp/src/plasma/test/client_tests.cc:289: Failure
      Expected: has_object
      Which is: false
To be equal to: true
[  FAILED  ] TestPlasmaStore.ManyObjectTest (10 ms)
[----------] 7 tests from TestPlasmaStore (124 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 1 test case ran. (124 ms total)
[  PASSED  ] 6 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] TestPlasmaStore.ManyObjectTest

 1 FAILED TEST
{code}

> [C++] TestPlasmaStore.MultipleClientTest is flaky (hangs) in release builds
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-2318
>                 URL: https://issues.apache.org/jira/browse/ARROW-2318
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.9.0
>
>
> Here's my setup:
> * Ubuntu 16.04
> * clang 5.0 (gcc 5.4.0 base toolchain)
> I can reliably get {{release/client_tests}} to hang. I hit this while looking 
> at a possible 0.9.0 release candidate



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to