-
Notifications
You must be signed in to change notification settings - Fork 211
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
Unexpected EOF log and vulnerability report no data #1792
Comments
@chary1112004 is the pod still running can you get it output |
You mean about |
I mean for the scan-job |
yes, scan-job is in status Completed 0/1. However I do not store log of this pod. |
I'm facing the same issue, possibly related to #591. It seems the pod is terminated before the stdout buffer is flushed, resulting in the unexpected EOF. I tried both setting scanJobCompressLogs to
... omitted
{
"VulnerabilityID": "DLA-3412-1",
"VendorIDs": [
"DLA-3412-1"
],
"PkgID": "tzdata@2021a-0+deb10u6",
"PkgName": "tzdata",
"PkgIdentifier": {
"PURL": "pkg:deb/debian/tzdata@2021a-0%2Bdeb10u6?arch=all\u0026distro=debian-% The other issue suggests adding a sleep to allow the full report to be outputted, but it seems this cannot be configured. Probably a better solution would be to use |
The trivy command is completed and as it is the main process the entire container is stopped before the stdout buffer is cleared, resulting in malformed output. Fixes aquasecurity#1792.
The trivy command is completed and as it is the main process the entire container is stopped before the stdout buffer is cleared, resulting in malformed output. Fixes aquasecurity#1792.
The trivy command is completed and as it is the main process the entire container is stopped before the stdout buffer is cleared, resulting in malformed output. Fixes aquasecurity#1792.
The trivy command is completed and as it is the main process the entire container is stopped before the stdout buffer is cleared, resulting in malformed output. Fixes aquasecurity#1792.
Having the same issue here although my error is a bit different
|
The trivy command is completed and as it is the main process the entire container is stopped before the stdout buffer is cleared, resulting in malformed output. Fixes aquasecurity#1792.
What steps did you take and what happened:
Hi,
We are facing issue the vulnerability report no data and log file contains Unexpected EOF
value file:
Any suggestion to resolve this issue would be very much appreciated!
Thanks!
Environment:
trivy-operator version
): 0.20.1kubectl version
): 1.25The text was updated successfully, but these errors were encountered: