From ebc66ac886c1dc745a2b117f7d0eb69dc74a472f Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 8 Mar 2021 13:05:58 -0800 Subject: [PATCH] Add some disk space checks in happy and sad paths. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- .github/kokoro/db-full.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/kokoro/db-full.sh b/.github/kokoro/db-full.sh index 7130f11d..792c1b5d 100755 --- a/.github/kokoro/db-full.sh +++ b/.github/kokoro/db-full.sh @@ -65,6 +65,12 @@ echo "----------------------------------------" echo "A failure occurred during Database build." echo "----------------------------------------" rm $tmp + + echo "========================================" + echo " Disk space in failure path" + echo "----------------------------------------" + du -sh + exit $DATABASE_RET fi ) @@ -188,3 +194,8 @@ echo "----------------------------------------" make clean_piplists ) echo "----------------------------------------" + +echo "========================================" +echo " Final disk space after cleanup" +echo "----------------------------------------" +du -sh