-
Notifications
You must be signed in to change notification settings - Fork 27
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
How to troubleshoot, getting stuck after first line of ...Storing image for indexing
#21
Comments
The image is semi-large (and not a target for downsizing at the moment, as it's a GitHub Actions runner image with preinstalled software), weighing in at just above 1.5 GBs. As shown in the
|
By enabling debugging with... # [...]
with:
# [...]
debug: true
verbose-debug: true ...I now get: ...Storing image for indexing
DEBUG copying image to /tmp/docker-scout/sha256/28eea48eb8069e86aaeb059e0c184213495f01f22b705fe50dc78e57c05e4c8e/d43bdf25-9519-41fc-9752-d258de503d3a
Error: The operation was canceled. |
I am trying to reproduce it locally using the
...but (while it is slow) it works for me locally (taking around 10 minutes to complete the first time). On the second local attempt the SBOM seems cached and it only took 12 seconds. |
It doesn't seem like I would be exceeding the timeouts of GitHub Actions: |
@MPV thanks for raising this detailed issue. Unfortunately, I'm not able to re-create this issue myself. Would it be possible for you to create a sample repo that re-creates this issue? |
I have a theory that this kind of error in GHA could potentially happen when the runner runs out of memory (process oom killed) or out of disk. I'll see if I can dig some more. Did you find any large images to try reproducing it with? I have yet to look and find large (1-2GB+) public ones. |
Just to confirm, I've been able to solve/workaround the issues seen above by running on a larger runner. The default |
Is there a way to let Docker Scout check an SBOM instead of making (yet another local disk) copy of the image? EDIT: it seems I raised a separate upstream issue on that: |
My job gets stuck/fails (repeatedly after reruns/retries) after outputting:
...Storing image for indexing
I'm using it like this:
And this is what it looks like when it gets stuck:
Followed by:
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
The text was updated successfully, but these errors were encountered: