-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Rootfs fails randomly when scanning folders with jar files #3921
Comments
Hello @javierfreire I can't reproduce this issue( i got only Also i saw that you used Regards, Dmitriy |
Thanks for your attention. Same error using
|
thanks a lot, i will investigation more and write to you! |
I have the same error. After starting trivy for about 3-4 times it works =) It fails every time at a different module scan: PS: I use trivy fs . for a node project |
I am using this code now to retry untill it works:
Thats the output:
|
Thanks @axi92 ! I was able to reproduce the error. |
I found out that if I enable scan.slow = true it does not fail. |
Hello @axi92 , @javierfreire We merged #4061 Until new release you can use canary build. Best Regards, Dmitriy |
Thank you!! |
Description
Since Trivy 0.38.0 (we can't reproduce it in release 0.37.3), rootfs fails randomly. The failure occurs while walking through folders with jar files.
The file that doesn't find is different in each execution, and sometimes it works fine:
What did you expect to happen?
Always it must end correctly.
What happened instead?
It fails randomly.
Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
To reproduce it, you can download the Bitnami Wildfly OVA, and extract it using
7z
.The text was updated successfully, but these errors were encountered: