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

Build runs out of space #534

Closed
essobedo opened this issue Oct 22, 2024 · 0 comments · Fixed by #536
Closed

Build runs out of space #534

essobedo opened this issue Oct 22, 2024 · 0 comments · Fixed by #536
Assignees

Comments

@essobedo
Copy link
Contributor

essobedo commented Oct 22, 2024

The build fails with the next error when I try to add a new integration test:

You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 66 MB

See for more details https://github.com/apache/camel-karaf/actions/runs/11455788955

@essobedo essobedo self-assigned this Oct 22, 2024
essobedo added a commit that referenced this issue Oct 22, 2024
essobedo added a commit that referenced this issue Oct 22, 2024
essobedo added a commit that referenced this issue Oct 22, 2024
essobedo added a commit that referenced this issue Oct 22, 2024
essobedo added a commit that referenced this issue Oct 22, 2024
essobedo added a commit that referenced this issue Oct 22, 2024
essobedo added a commit that referenced this issue Oct 23, 2024
essobedo added a commit that referenced this issue Oct 23, 2024
essobedo added a commit that referenced this issue Oct 23, 2024
essobedo added a commit that referenced this issue Oct 23, 2024
essobedo added a commit that referenced this issue Oct 23, 2024
essobedo added a commit that referenced this issue Oct 23, 2024
essobedo added a commit that referenced this issue Oct 23, 2024
## Motivation

The build runs out of disk space which prevents adding new integration tests

## Modifications:

* Free up some disk space by:
  * following the workaround described [in this ticket](actions/runner-images#2840 (comment))
  * removing pre-pulled docker images
* Add a new System property `camel.karaf.itest.keep.docker.images` to indicate whether the docker images should be removed after the test. Locally, you can leverage the Maven property `keep.docker.images.on.exit` to keep them or not. By default, the docker images are cleaned up to prevent the disk space leak
* Extend the forked process exit timeout to ensure that pax-exam can stop properly
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 a pull request may close this issue.

1 participant