Kokoro: Log disk utilization in status message
Use 'df' to print the disk utilization whenever we print a task status. This is to help try to identify spurious out-of-disk flakes we've been seeing. Change-Id: If26527923e2af720786626a6248699927eb5f430 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90642 Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
parent
c4051b1ad4
commit
5d2c892a05
|
@ -30,6 +30,12 @@ else
|
||||||
TMP_DIR=/tmp
|
TMP_DIR=/tmp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "*****************************************************************"
|
||||||
|
echo "* build.sh"
|
||||||
|
echo "*"
|
||||||
|
echo "* df:"
|
||||||
|
df
|
||||||
|
echo "*****************************************************************"
|
||||||
|
|
||||||
# --privileged is required for some sanitizer builds, as they seem to require PTRACE privileges
|
# --privileged is required for some sanitizer builds, as they seem to require PTRACE privileges
|
||||||
docker run --rm -i \
|
docker run --rm -i \
|
||||||
|
|
|
@ -50,6 +50,9 @@ function status {
|
||||||
echo ""
|
echo ""
|
||||||
echo "*****************************************************************"
|
echo "*****************************************************************"
|
||||||
echo "* $@"
|
echo "* $@"
|
||||||
|
echo "*"
|
||||||
|
echo "* df:"
|
||||||
|
df
|
||||||
echo "*****************************************************************"
|
echo "*****************************************************************"
|
||||||
echo ""
|
echo ""
|
||||||
task_begin $@
|
task_begin $@
|
||||||
|
|
Loading…
Reference in New Issue