From a33970455712b9d5a67cc66bb049d94ad4c4b543 Mon Sep 17 00:00:00 2001 From: MartijnVisser Date: Thu, 30 Jun 2022 14:19:44 +0200 Subject: [PATCH] [FLINK-28329][Tests] Output the top 15 directories in terms of used disk space --- flink-end-to-end-tests/test-scripts/test-runner-common.sh | 5 ++++- tools/ci/controller_utils.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flink-end-to-end-tests/test-scripts/test-runner-common.sh b/flink-end-to-end-tests/test-scripts/test-runner-common.sh index c0614c1fa36..e557734a4c8 100644 --- a/flink-end-to-end-tests/test-scripts/test-runner-common.sh +++ b/flink-end-to-end-tests/test-scripts/test-runner-common.sh @@ -109,7 +109,10 @@ function log_environment_info { jps echo "Disk information" - df -hH + df -h + + echo "##[group]Top 15 biggest directories in terms of used disk space" + du -a . | sort -n -r | head -n 15 if sudo -n true 2>/dev/null; then echo "Allocated ports" diff --git a/tools/ci/controller_utils.sh b/tools/ci/controller_utils.sh index 8700379a9e9..810be4d77b9 100644 --- a/tools/ci/controller_utils.sh +++ b/tools/ci/controller_utils.sh @@ -25,7 +25,7 @@ print_system_info() { cat /proc/meminfo echo "Disk information" - df -hH + df -h echo "Running build as" whoami