Skip to content

[BUG] Strange "No space left on device" IOExceptions on GitHub runners?!? #26351

Answered by jens-maus
jens-maus asked this question in Actions
Discussion options

You must be logged in to vote

@brightran ,

Thanks for the hint and link, I will try to create an appropiate ticket ASAP.

However, I was actually able to workaround the disk space issue by ensuring that the runner OS environment is cleaned up as much as possible right before the actual build step is executed. After that cleanup the runners seem to have ~33GB of disk space available (compared to ~20GB) and thus my build jobs proceed now without any issues.

See here for the relevant workflow steps I added to cleanup the whole environment:

https://github.com/jens-maus/RaspberryMatic/blob/d5044bef3307bc61166377c162569de1a61cf332/.github/workflows/ci.yml#L34-L40

This includes:

  1. removal of the /swapfile
  2. cleanup of the apt cache

Replies: 13 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment