warn about kokoro worker without mounted /tmpfs. (#30711)

Also allow debugging of available disk space.
pull/30716/head
Jan Tattermusch 2 years ago committed by GitHub
parent a6d67ab6db
commit 892320ad0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/internal_ci/helper_scripts/prepare_build_linux_rc

@ -42,3 +42,9 @@ export DOCKERHUB_ORGANIZATION=grpctesting
git submodule update --init
python3 -m pip install six
# check whether /tmpfs is mounted correctly
(mount | grep -q 'on /tmpfs ') || (mount; echo 'BAD KOKORO WORKER WARNING: it seems that /tmpfs volume with scratch disk is not mounted in the kokoro worker. This can result in unexpected "out of disk space" errors.')
# Uncomment the following line to debug "out of disk space" errors by print available disk space every 30seconds in the background
# bash -c "while true; do echo 'periodic background disk usage check:'; df -h / /tmpfs; sleep 30; done;" &

Loading…
Cancel
Save