-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Harbor scan giving error for fluent/fluentd:v1.16.2-windows-ltsc2019-1.0 #19405
Comments
Could you please provide the trivy log when this error happen? |
This may not be an issue related to using trivy within Harbor but a trivy issue itself. Reason:
While there is no issue when running the following command within the same env:
@psandeep09 , you may open an issue in the trivy repository: |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue. |
Getting below error while scanning
NOTE: time out increased to 10min
Version: 20.10.21
API version: 1.41
Go version: go1.18.1
Git commit: 20.10.21-0ubuntu1~18.04.3
Built: Thu Apr 27 05:50:21 2023
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.21
API version: 1.41 (minimum version 1.12)
Go version: go1.18.1
Git commit: 20.10.21-0ubuntu1
18.04.318.04.2Built: Thu Apr 27 05:36:22 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.9-0ubuntu1
GitCommit:
runc:
Version: 1.1.4-0ubuntu1~18.04.2
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:
2023-09-29T06:10:06Z [INFO] [/pkg/scan/job.go:387]: { "uuid": "2519c55f-1ba6-11ec-9ea7-0242ac190004", "name": "Trivy", "description": "The Trivy scanner adapter", "url": "http://trivy-adapter:8080", "disabled": false, "is_default": true, "health": "healthy", "auth": "", "access_credential": "[HIDDEN]", "skip_certVerify": false, "use_internal_addr": true, "adapter": "Trivy", "vendor": "Aqua Security", "version": "v0.44.0", "create_time": "2021-09-22T13:08:14.261233Z", "update_time": "2021-09-22T13:08:14.261236Z" } 2023-09-29T06:10:06Z [INFO] [/pkg/scan/job.go:387]: { "registry": { "url": "http://core:8080", "authorization": "[HIDDEN]" }, "artifact": { "namespace_id": 2, "repository": "generic/fluentd", "tag": "v1.16.2-windows-ltsc2019-1.0", "digest": "sha256:626e545cd261d03664150519020268c56575fab85658a6b9875c93dd0d281dc3", "mime_type": "application/vnd.docker.distribution.manifest.v2+json" } } 2023-09-29T06:10:06Z [INFO] [/pkg/scan/job.go:167]: Report mime types: [application/vnd.security.vulnerability.report; version=1.1] 2023-09-29T06:10:06Z [INFO] [/pkg/scan/job.go:224]: Get report for mime type: application/vnd.security.vulnerability.report; version=1.1 2023-09-29T06:10:08Z [INFO] [/pkg/scan/job.go:245]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2023-09-29T06:10:13Z [INFO] [/pkg/scan/job.go:245]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2023-09-29T06:10:18Z [INFO] [/pkg/scan/job.go:245]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2023-09-29T06:10:23Z [INFO] [/pkg/scan/job.go:245]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2023-09-29T06:10:28Z [INFO] [/pkg/scan/job.go:245]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2023-09-29T06:10:33Z [INFO] [/pkg/scan/job.go:245]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2023-09-29T06:10:38Z [INFO] [/pkg/scan/job.go:245]: Report with mime type application/vnd.security.vulnerability.report; version=1.1 is not ready yet, retry after 5 seconds 2023-09-29T06:10:43Z [ERROR] [/pkg/scan/job.go:294]: check scan report with mime type application/vnd.security.vulnerability.report; version=1.1: running trivy wrapper: running trivy: exit status 1: 2023-09-29T06:10:08.504Z �[34mINFO�[0m Need to update DB 2023-09-29T06:10:08.504Z �[34mINFO�[0m DB Repository: ghcr.io/aquasecurity/trivy-db 2023-09-29T06:10:08.504Z �[34mINFO�[0m Downloading DB... 2023-09-29T06:10:10.639Z �[34mINFO�[0m Vulnerability scanning is enabled 2023-09-29T06:10:22.567Z �[34mINFO�[0m JAR files found 2023-09-29T06:10:22.567Z �[34mINFO�[0m Java DB Repository: ghcr.io/aquasecurity/trivy-java-db:1 2023-09-29T06:10:22.567Z �[34mINFO�[0m Downloading the Java DB... 2023-09-29T06:10:36.705Z �[34mINFO�[0m The Java DB is cached for 3 days. If you want to update the database more frequently, the '--reset' flag clears the DB cache. 2023-09-29T06:10:36.706Z �[34mINFO�[0m Analyzing JAR files takes a while... 2023-09-29T06:10:41.163Z �[31mFATAL�[0m image scan error: scan error: scan failed: failed analysis: analyze error: pipeline error: failed to analyze layer (sha256:3815419b43d609eaa84829f57b0cc883960894f363d2fdd87c6a6c25b0383701): post analysis error: post analysis error: walk dir error: file open error: open /tmp/analyzer-fs-1350997865/file-1777464628: permission denied : general response handler: unexpected status code: 500, expected: 200
The text was updated successfully, but these errors were encountered: