From 336e421c1ae285b27938dc94f6793bf158b102ba Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Tue, 12 Nov 2024 10:26:23 -0300 Subject: [PATCH] Add an extra step in order to debug disk usage Recent executions of this test on llvm-snapshots have been failing on due to exhaustion of disk space. Print the disk usage at the end of the execution in order to help debug this issue. --- tests/integration-test-suite/test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration-test-suite/test.sh b/tests/integration-test-suite/test.sh index 95598a0..47a7823 100755 --- a/tests/integration-test-suite/test.sh +++ b/tests/integration-test-suite/test.sh @@ -52,6 +52,11 @@ rlJournalStart rlPhaseEnd rlPhaseStartCleanup + # Some steps of this test have been failing due to not having enough + # disk space. Print the disk usage at the end in order to help debugging which + # partition is full. + rlRun "df -h -t btrfs -t ext4 -t tmpfs -t xfs" 0 "Debug disk usage in overall" + rlRun "du -h -d1 $TmpDir" 0 "Debug disk usage by this test" rlRun "popd" rlRun "rm -rf $TmpDir" 0 "Removing tmp directory" rlPhaseEnd