You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/07/06 11:48:46 UTC
[flink] branch release-1.14 updated: [FLINK-28329][Tests] Output the top 15 directories in terms of used disk space
This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.14 by this push:
new 35e43a97c80 [FLINK-28329][Tests] Output the top 15 directories in terms of used disk space
35e43a97c80 is described below
commit 35e43a97c80965f4db6436b0b70958c83688c1c9
Author: MartijnVisser <ma...@apache.org>
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