-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
System.IO.IOException: No space left on device #8166
Comments
@pemistahl , your concern is valid, failed github worker leaves no chance to add any debug step. the easy thing to try is adding "df -h" as a first step, it will show how much space is avaialable before build. |
@pemistahl , I forked your repo and added "df -h" in the very beginning https://github.com/ilia-shipitsin/grex/actions/runs/5976435738/job/16214256839#step:4:13 as you can see, there's 22Gb free. can you try to add "du" somewhere before build fails (as well as "df -h" step in the beginning)? (because for failed build github agent is not functional) |
it is interesting that build succeeded in my fork https://github.com/ilia-shipitsin/grex/actions I talked to my colleagues, they told me that "sometimes" vm is provisioned with small disk. it is bug. I suggest to wait for "df -h" output from you. Whether it shows enough space or not. |
Hi @ilia-shipitsin, thanks a lot for your quick response. It turns out that the Maturin GitHub action is responsible for this problem. It is not the runner's fault. I've opened a bug report there already. So I think this issue here can be closed. |
Description
A GitHub workflow of mine tried to produce 61 Python extension modules for a Rust program. The very last one failed with the following stacktrace:
I have never encountered something like this before. I read that there is gigabytes of space available for the runner, so how did I manage to consume all the available space with my workflow? Is it the Rust or Python toolchains that were installed by the workflow? What can I do to prevent this problem in the future? Is 61 Python modules simply too much?
Platforms affected
Runner images affected
Image version and build link
https://github.com/pemistahl/grex/actions/runs/5962663607
Is it regression?
I think so.
Expected behavior
I expected all Python extension modules to be built and uploaded successfully.
Actual behavior
The build of the very last extension module has failed because of too few disk space.
Repro steps
See the workflow: https://github.com/pemistahl/grex/actions/runs/5962663607
The text was updated successfully, but these errors were encountered: