-
Notifications
You must be signed in to change notification settings - Fork 607
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
Grype failed to load vulnerability database: database metadata not found #1885
Comments
Hi @Atharex, thanks for the report. I think we will need more information to help you troubleshoot this. This doesn't look like a network error reaching the Grype DB's servers. It looks like an error on the filesystem. Can you share some more details about the Azure setup? What Linux distribution, etc? It would probably be worthwhile to add "-vv" to your Grype command line for more verbose logging. You might also want to try adding a "grype db update" command to the top of your pipeline and see if the failures continue. Just a hunch, but do you by chance have multiple Grype processes running simultaneously on the same underlying volume? |
Same issue with grype installed via brew on mac sonoma.
|
Thanks @djclarkson - if you try and run it again are you still seeing the timeout? In the meantime we're looking at logs for our CDN to see where/when the requests are being dropped for certain users |
Bumping as this is still an intermittent issue. Last week, Friday this was working as expected. This morning, Monday, any Grype scan we do we get this error:
|
@walton-io thanks for the bump - we're working with our hosting provider to try and identify the situations that cause these drops Context deadline exceeded is a client timeout and doesn't really tell you a lot about the servers response. I've included a link to the config and fields in the readme that you can tweak to give the client more time Lines 755 to 761 in 1ab36b4
|
What happened:
Running Grype on an Azure DevOps Pipeline task occasionally fails with the following error:
Rerunning the pipeline several times eventually brings it to completion, yet this transient error prevents us from relying on grype scanning automation.
What you expected to happen:
The pipeline to run consistently successfully
How to reproduce it (as minimally and precisely as possible):
Run an Azure DevOps pipeline task where Grype is used (my current version is v0.77.4)
Environment:
grype version
: v.0.77.4cat /etc/os-release
or similar): Linux, amd64The text was updated successfully, but these errors were encountered: