Skip to content

Commit

Permalink
ARROW-7880: [CI][R] R sanitizer job is not really working
Browse files Browse the repository at this point in the history
Closes #6450 from nealrichardson/fix-r-sanitizer and squashes the following commits:

0c953b2 <Neal Richardson> Delete commented code
6af1820 <Neal Richardson> Try setting ARROW_HOME
29a6c85 <Neal Richardson> Try to get r-sanitize job back on track

Authored-by: Neal Richardson <neal.p.richardson@gmail.com>
Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
  • Loading branch information
nealrichardson committed Feb 19, 2020
1 parent 45d7eaf commit e1aeaf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/docker/ubuntu-18.04-r-sanitizer.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ RUN echo "MAKEFLAGS=-j$(R --slave -e 'cat(parallel::detectCores())')" >> /usr/lo
ENV ARROW_DEPENDENCY_SOURCE=SYSTEM \
ARROW_FLIGHT=OFF \
ARROW_GANDIVA=OFF \
ARROW_HOME=/usr/local \
ARROW_HDFS=OFF \
ARROW_INSTALL_NAME_RPATH=OFF \
ARROW_NO_DEPRECATED_API=ON \
Expand Down
1 change: 1 addition & 0 deletions ci/scripts/r_sanitize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ source_dir=${1}/r
${R_BIN} CMD INSTALL ${source_dir}
pushd ${source_dir}/tests

export TEST_R_WITH_ARROW=TRUE
export UBSAN_OPTIONS="print_stacktrace=1,suppressions=/arrow/r/tools/ubsan.supp"
${R_BIN} < testthat.R

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ services:
- ${REPO}:amd64-ubuntu-18.04-r-sanitizer
environment:
<<: *ccache
LIBARROW_BUILD: 'false'
volumes: *ubuntu-volumes
command: >
/bin/bash -c "
Expand Down

0 comments on commit e1aeaf5

Please sign in to comment.