Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log disk usage in CI #4769

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

captbaritone
Copy link
Contributor

@captbaritone captbaritone commented Aug 12, 2024

Trying to debug CI failures caused by running out of disk.

Running Rust tests on Ubuntu is what's failing reliability. Specifically, it fails when compiling the tests. Right before I run tests (which compiles tests as a side effect). The disk usage reported is:

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        73G   55G   18G  76% /
tmpfs           7.9G  172K  7.9G   1% /dev/shm
tmpfs           3.2G  1.1M  3.2G   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/sda15      105M  6.1M   99M   6% /boot/efi
/dev/sdb1        74G  4.1G   66G   6% /mnt
tmpfs           1.6G   12K  1.6G   1% /run/user/1001

So we should still have 18BG to play with on the main disk, assuming that's where compiler artifacts will be written?

If I run CARGO_TARGET_DIR=~/tmp/cargo-test cargo test --features vendored on my local machine (mac). Only 4.2 G of stuff is written to ~/tmp/cargo-test, which seems like it shouldn't be a problem given we have 18G free...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants