You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't look exactly the same, but I've run into this error most often when running out of memory during linking. This sort of fits with the error message in link to the "first failed run":
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 63 MB
@jgallagher , @davepacheco - any chance this error looks familiar? Any known changes to linkage?
I didn't see any such errors during my recent work on the lookup API. I used to see these more often until I switched to a system with more memory and added a swap device.
That all sounds good -- and also it seems likely we're going to run into this again. We probably don't need to do anything now but it maybe should be on our radar to think about moving away from GitHub Actions.
Sure thing! It's certainly possible we'll run into this again, but based on https://github.com/easimon/maximize-build-space there's a fair bit more room to grow beyond what #880 did; I just grabbed what looked like the biggest bang-for-the-buck without impacting build times too much. I don't know what the growth over time of "disk space used in CI" is, but if we bump into this again in N months, we might be able to squeeze another x*N months out by using more of its techniques (for x somewhere around 1).
Activity
bnaecker commentedon Apr 4, 2022
It doesn't look exactly the same, but I've run into this error most often when running out of memory during linking. This sort of fits with the error message in link to the "first failed run":
jgallagher commentedon Apr 4, 2022
@bnaecker Where do you see that error? But certainly "link failed due to not enough disk space" sounds like a potential cause.
bnaecker commentedon Apr 4, 2022
@jgallagher That's at the bottom of this page: https://github.com/oxidecomputer/omicron/actions/runs/2078057645, under the "Annotations" section for the
build-and-test (ubuntu-18.04)run. I.e., not the captured output from the run.davepacheco commentedon Apr 4, 2022
I didn't see any such errors during my recent work on the lookup API. I used to see these more often until I switched to a system with more memory and added a swap device.
jgallagher commentedon Apr 4, 2022
Any objecting to adding an "output disk space" step to CI a la 12d3296? Might narrow down if the flake looks space related.
smklein commentedon Apr 4, 2022
I think that's a great idea, more visibility in the build would help.
jgallagher commentedon Apr 5, 2022
Maybe a bit more of a smoking gun that this is disk space related:
https://github.com/oxidecomputer/omicron/actions/runs/2097859388 is a failure on
main. The pre-build step that reports disk usage claims there's 32GiB free. We made it through building (including linking), and the job appears to have died while running tests. The annotations on the run itself includejgallagher commentedon Apr 6, 2022
It looks like #880 fixed this:
Rustworkflow onmain.Based on that I'm going to close this, but please reopen if you disagree or want to keep an eye on it for longer.
smklein commentedon Apr 6, 2022
Thanks @jgallagher for following through on this! Very much appreciated
davepacheco commentedon Apr 6, 2022
That all sounds good -- and also it seems likely we're going to run into this again. We probably don't need to do anything now but it maybe should be on our radar to think about moving away from GitHub Actions.
davepacheco commentedon Apr 6, 2022
Thanks for digging in and fixing this, @jgallagher!
jgallagher commentedon Apr 6, 2022
Sure thing! It's certainly possible we'll run into this again, but based on https://github.com/easimon/maximize-build-space there's a fair bit more room to grow beyond what #880 did; I just grabbed what looked like the biggest bang-for-the-buck without impacting build times too much. I don't know what the growth over time of "disk space used in CI" is, but if we bump into this again in N months, we might be able to squeeze another x*N months out by using more of its techniques (for
xsomewhere around 1).