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

Tests of tox itself require a lot of disk space #3308

Closed
ziima opened this issue Jul 14, 2024 · 3 comments
Closed

Tests of tox itself require a lot of disk space #3308

ziima opened this issue Jul 14, 2024 · 3 comments

Comments

@ziima
Copy link
Contributor

ziima commented Jul 14, 2024

Issue

Running the tests of the tox itself I run into No space left on device because I run out of space in /tmp. When I added --basetemp={envtmpdir} to the tox's tox.ini, I was able to observe that the temporary directory reached the size of 3.3 GB. It seems that temporary files are not removed during the test run, but only at the end of the run. I suggest to make tmp cleaning more aggressive and wipe used files right away.

Environment

Provide at least:

  • OS: Debian testing 6.8.12-1

Tested with tox 4.11.4 and or main branch.

Minimal example

tox run -e py312
# or
python3 ./src/tox/__main__.py run -e py312
@gaborbernat
Copy link
Member

PR welcome.

@kemzeb
Copy link
Contributor

kemzeb commented Jul 15, 2024

Duplicate of #3278

@ziima
Copy link
Contributor Author

ziima commented Jul 15, 2024

Missed that. Thanks.

@ziima ziima closed this as completed Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants