-
Notifications
You must be signed in to change notification settings - Fork 58
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
Advice for how to debug startup issues #259
Comments
Looks like we die in https://github.com/devcontainers/ci/blob/main/github-action/src/main.ts#L151 |
This turned out to be a stuck devcontainer in CI that couldn't be restarted on any subsequent job. I removed it with docker in a shell script, and was able to get CI jobs passing again. It would be great if there was a better way to make sure old containers were properly cleaned up in CI. |
@humphd I'm hitting this issue as well. Any idea how to fix this? |
We ended-up running a python script at the start of our CI job that does a bunch of docker cleanup (e.g., kill old containers, make sure there's enough disk space) so things work properly once the dev container needs to run. |
I'm trying to debug a new startup error we're seeing in a self-hosted GitHub Actions CI runner (Linux X64 ubuntu-22.04). This workflow has been running great for weeks (we've been loving the
devcontainers/ci
action!), but all of a sudden it refuses to work. The error is really opaque (to me):The build stage that precedes this completes without issue, but for whatever reason it dies trying to start a container. I also know it isn't a disk space issue.
We can't reproduce locally, so it's something about this CI environment I guess. Any advice on how to dig into this deeper?
The text was updated successfully, but these errors were encountered: