[Bug] Trivy Image Scanning Issue #5420
Replies: 4 comments 4 replies
-
The occurrence is consistent across both the secret and vulnerability scanners. Remarkably, it sporadically resolves itself after repeated attempts, only to reoccur upon executing the 'trivy image --reset' command. |
Beta Was this translation helpful? Give feedback.
-
Hello @AshkanRafiee Can you share your image to investigate this problem? And 1 more question - do you use local or remote image? Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
-
Hi, @DmitriyLewen Conversely, during remote scanning, the problem surfaced during the initial scan. However, upon subsequent scans without executing the 'reset' command, the issue appeared to resolve itself, and the scans were successfully completed without errors. |
Beta Was this translation helpful? Give feedback.
-
Created #5440 for this issue. |
Beta Was this translation helpful? Give feedback.
-
Description
I am reporting a bug that I encountered when using Trivy for image scanning.
Desired Behavior
I expected Trivy to complete the image scanning process without errors.
Actual Behavior
The scan process failed with the following error message:
2023-10-21T10:11:20.240+0330 FATAL image scan error: scan error: scan failed: failed analysis: analyze error: pipeline error: failed to analyze layer (sha256:blablabla): walk error: failed to process the file: failed to analyze file: failed to analyze usr/lib/gcc/x86_64-linux-gnu/12/cc1: unable to open usr/lib/gcc/x86_64-linux-gnu/12/cc1: failed to open: unable to read the file: stream error: stream ID 19; INTERNAL_ERROR; received from peer
Reproduction Steps
Target
Container Image
Scanner
None
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Ubuntu 2204
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions