Skip to content

Commit 5fc7172

Browse files
authored
Add disk space output to debug occasional test failures (rust-lang#2905)
Despite freeing up disk space early on, we saw occasional failures like https://github.com/model-checking/kani/actions/runs/7030685174/job/19130721957 that look like running out of disk space. This change should be reverted once we have diagnosed the problem.
1 parent 725bc77 commit 5fc7172

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/kani-regression.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ cargo kani --manifest-path "$FEATURES_MANIFEST_PATH" --harness trivial_success
101101
cargo clean --manifest-path "$FEATURES_MANIFEST_PATH"
102102

103103
# Check that documentation compiles.
104+
echo "Current disk usage:"
105+
df -h
104106
echo "Starting doc tests:"
105107
cargo doc --workspace --no-deps --exclude std
108+
echo "Disk usage after documentation build:"
109+
df -h
106110

107111
echo
108112
echo "All Kani regression tests completed successfully."

0 commit comments

Comments
 (0)