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

Update server-tests.yaml #4725

Merged
merged 4 commits into from
Sep 2, 2024
Merged

Conversation

Chris-Petty
Copy link
Contributor

Crudely seeing if cargo clean will clear out some space. That said, I'd assume it's a fresh ubuntu runner anyway and would be starting from nothing. So this is a stab in the dark...

Other things to look at:

actions/runner-images#2840
actions/runner-images#2875 (leads to https://github.com/marketplace/actions/free-disk-space-ubuntu)
https://stackoverflow.com/questions/75536771/github-runner-out-of-disk-space-after-building-docker-image

@Chris-Petty
Copy link
Contributor Author

image
yep nothing to clean as suspected. Will try the free-disk-space-ubuntu thing, basically all threads I can find suggest doing what this action does anyway (nuke a bunch of tooling directories for other tools e.g. .NET, Android...

@Chris-Petty
Copy link
Contributor Author

Ooo that did the trick. Has added a few minutes to the action running time though. Better than running for several minutes and aborting though!

@lache-melvin lache-melvin self-assigned this Sep 2, 2024
Copy link
Contributor

@lache-melvin lache-melvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it thanks Chris! Hopefully at some point we could get this a bit more efficient again, but definitely good to get CI passing again 😅

@Chris-Petty Chris-Petty merged commit 31e56fc into develop Sep 2, 2024
1 check passed
@Chris-Petty Chris-Petty deleted the xxxx-fix-test-action-out-of-memory branch September 2, 2024 03:24
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

Successfully merging this pull request may close these issues.

2 participants