-
Notifications
You must be signed in to change notification settings - Fork 322
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
[SKIP SOF-TEST] github: free some disc space #9766
Conversation
We're getting GitHub workflow failures like: docker: failed to register layer: write /usr/lib/x86_64-linux-gnu/libz3.so.4: no space left on device. e.g. in https://github.com/thesofproject/sof/actions/runs/12651056289/job/35250849879?pr=9702 This patch frees some space before running tests. Signed-off-by: Guennadi Liakhovetski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lyakh ! Seems the free space is fluctuating and this will help (and seems to be used by other projects ). Not sure how longterm sustainable it is to maintain a list of cleanup actions, but I can't see this hurting either to make SOF at least a bit less susceptble to fluctuation in available free space in the runners.
@kv2019i should we verify if this hasn't been caused by a change on our side? E.g. one of the docker images became too large? Or we somehow download too many of them? We haven't seen such failures before, have we? |
@lyakh I'm really not an expert here, but it does seem our disk space usage has probably crept up. The SLA guarantees 14GB of space for standard public Ubuntu runners, but in practise there is usually a bit more space available (and more can be free with actions like this patch). In worst case we might need to split our workflow jobs per platforms so that we don't need to install full SDK for every job. This is obviously quite a bit of work to do (both initially and to maintain), but an option at least. |
We're getting GitHub workflow failures like:
docker: failed to register layer: write /usr/lib/x86_64-linux-gnu/libz3.so.4: no space left on device.
e.g. in
https://github.com/thesofproject/sof/actions/runs/12651056289/job/35250849879?pr=9702 This patch frees some space before running tests.