aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-08-01 10:35:06 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-08-01 12:55:30 +0200
commite2852b6de7e44020f94d1adc10312d2f1f7f20bf (patch)
tree3db24ceb0d4fd97fa6565bfbda2d82825e2b3201 /tools
parentc073e43488dccdd94a078d28e8b2c0d6c2008acf (diff)
pre-populate xdg-cache-home
Diffstat (limited to 'tools')
-rw-r--r--tools/internal_ci/helper_scripts/prepare_build_linux_rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_linux_rc b/tools/internal_ci/helper_scripts/prepare_build_linux_rc
index 049db33ec3..e69750f809 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