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

Internal build issue: PR builds intermittently fail with no space left on device #1322

Closed
ryandawsonuk opened this issue Jan 8, 2020 · 6 comments
Assignees
Labels
bug triage Needs to be triaged and prioritised accordingly
Milestone

Comments

@ryandawsonuk
Copy link
Contributor

Seen for example at #1298 (comment)
and #1315 (comment)

Happens when you run multiple builds in quick succession. If you delete the old build jobs then the next one works. Seems to be the ephemeral storage that is being used for logging. Istio logs quite a lot and we log a lot anyway in our E2E tests, which we run multiple times within kind for different platforms.

Looks like a fairly common one to hit with JX anyway - jenkins-x/jx#3243 and jenkins-x/jx#5622

@ryandawsonuk ryandawsonuk added bug triage Needs to be triaged and prioritised accordingly labels Jan 8, 2020
@ryandawsonuk
Copy link
Contributor Author

Could also be that https://github.com/SeldonIO/seldon-core/blob/master/jenkins-x-integration.yml#L49 means the images are being stored on ephemeral storage

@ryandawsonuk
Copy link
Contributor Author

I was listing and deleting completed pipeline jobs one by one but possibly jx gc would do it. Didn't actually try that before.

@ryandawsonuk
Copy link
Contributor Author

Also hitting this on #1316 Happening even after cleaning up old jobs.

This was referenced Jan 8, 2020
@ryandawsonuk
Copy link
Contributor Author

This seems to have worked as tests passed on #1323. Didn't do any cleanup prior to that so the changes in that PR seem to be what has fixed it.

Re cleanup, we may occasionally want to run jx gc and also jx get build pods followed by kubectl delete pod <pod> for any completed ones. Unfortunately the jx gc command alone doesn't do this. Old pods do get automatically cleaned up but typically not fast enough.

@ryandawsonuk
Copy link
Contributor Author

Separate issue - the gh-pages branch seems to somehow be tracking master.

@axsaucedo axsaucedo added this to the 1.1 milestone Jan 16, 2020
@axsaucedo
Copy link
Contributor

@ryandawsonuk should we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs to be triaged and prioritised accordingly
Projects
None yet
Development

No branches or pull requests

2 participants