From e2852b6de7e44020f94d1adc10312d2f1f7f20bf Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Tue, 1 Aug 2017 10:35:06 +0200 Subject: [PATCH] pre-populate xdg-cache-home --- tools/internal_ci/helper_scripts/prepare_build_linux_rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/internal_ci/helper_scripts/prepare_build_linux_rc b/tools/internal_ci/helper_scripts/prepare_build_linux_rc index 049db33ec36..e69750f8099 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_linux_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_linux_rc @@ -24,6 +24,10 @@ ulimit -n 32768 echo 'DOCKER_OPTS="${DOCKER_OPTS} --graph=/tmpfs/docker"' | sudo tee --append /etc/default/docker sudo service docker restart +# Populate xdg-cache-home to workaround https://github.com/grpc/grpc/issues/11968 +sudo mkdir -p /tmp/xdg-cache-home +PYTHONWARNINGS=ignore XDG_CACHE_HOME=/tmp/xdg-cache-home sudo -E pip install coverage==4.4 + # Download Docker images from DockerHub export DOCKERHUB_ORGANIZATION=grpctesting