summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-01-08 10:50:32 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2020-01-08 11:42:46 +0100
commit203a323d5a16da27b6f1e6d93f5e0ef6dadf9a33 (patch)
tree4b792cefc1f8d5502183f540892d30d031be0525
parent9fd5200799807c31324131164e49e2b40c456b75 (diff)
downloadefl-devs/stefan/ci-debug-asan.tar.gz
ci: travis: enable ptrace capabilities to our docker runsdevs/stefan/ci-debug-asan
ASAN leak sanitizer needs ptrace capabilities to run. It seems the removal sudo true brings up this issue for us. https://github.com/google/sanitizers/issues/764 https://github.com/travis-ci/travis-ci/issues/9033 It fixes the recent breaks in our ASAN enabled job durign our cron builds.
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 58baa2ccf9..028cfe9b2d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,7 +94,7 @@ before_script:
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
docker pull stefanschmidt1/ci-support-files:$DISTRO
docker version
- docker run --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash
+ docker run --cap-add SYS_PTRACE --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash
fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" == "" ]]; then