This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.15 by this push:
new 0c4ea69bbe2 [FLINK-28329][Tests] Output the top 15 directories in
terms of used disk space
0c4ea69bbe2 is described below
commit 0c4ea69bbe2ebf06f74ede15ae7f7d3e10a876c7
Author: MartijnVisser <[email protected]>
AuthorDate: Thu Jun 30 14:19:44 2022 +0200
[FLINK-28329][Tests] Output the top 15 directories in terms of used disk
space
(cherry picked from commit a33970455712b9d5a67cc66bb049d94ad4c4b543)
---
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