Fix kokoro asan run (#4655)
With a change in the VM, the kokoro asan run is failing because it does not have the correct permissions. Adding the ptrace capability will hopefully fix that.
This commit is contained in:
Родитель
64328e94db
Коммит
438096e0c2
|
@ -26,7 +26,9 @@ COMPILER=$2
|
|||
TOOL=$3
|
||||
BUILD_SHA=${KOKORO_GITHUB_COMMIT:-$KOKORO_GITHUB_PULL_REQUEST_COMMIT}
|
||||
|
||||
# "--privileged" is required to run ptrace in the asan builds.
|
||||
docker run --rm -i \
|
||||
--privileged \
|
||||
--volume "${ROOT_DIR}:${ROOT_DIR}" \
|
||||
--volume "${KOKORO_ARTIFACTS_DIR}:${KOKORO_ARTIFACTS_DIR}" \
|
||||
--workdir "${ROOT_DIR}" \
|
||||
|
|
Загрузка…
Ссылка в новой задаче