Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inaccurate log messege when push accessory fail #20573

Closed
stonezdj opened this issue Jun 11, 2024 · 0 comments · Fixed by #20650
Closed

Inaccurate log messege when push accessory fail #20573

stonezdj opened this issue Jun 11, 2024 · 0 comments · Fixed by #20650
Assignees

Comments

@stonezdj
Copy link
Contributor

When the push accessory failed, it got the following error message

2024-06-11T07:13:13Z [INFO] [/pkg/scan/job.go:232]: Get report for mime type: application/vnd.security.sbom.report+json; version=1.0
2024-06-11T07:13:15Z [ERROR] [/pkg/scan/sbom/sbom.go:108]: error when create accessory from image could not parse reference: http://core:8080/sample/alpine@sha256:f71371ca77c9bf486c31376fc07b79c7c6e33f60806b7c4d9cb9acac3b552189
2024-06-11T07:13:15Z [ERROR] [/pkg/scan/job.go:310]: Failed to convert vulnerability data to new schema for report dcad060f-4ec9-40b4-a2b0-3da2e2fcb993, error could not parse reference: http://core:8080/sample/alpine@sha256:f71371ca77c9bf486c31376fc07b79c7c6e33f60806b7c4d9cb9acac3b552189
@stonezdj stonezdj self-assigned this Jun 11, 2024
stonezdj added a commit to stonezdj/harbor that referenced this issue Jun 24, 2024
  fixes goharbor#20573
  remove s from additions/sboms in the link

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
stonezdj added a commit to stonezdj/harbor that referenced this issue Jul 2, 2024
  fixes goharbor#20573
  remove s from additions/sboms in the link

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
stonezdj added a commit to stonezdj/harbor that referenced this issue Jul 4, 2024
  fixes goharbor#20573
  remove s from additions/sboms in the link

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
stonezdj added a commit to stonezdj/harbor that referenced this issue Jul 4, 2024
  fixes goharbor#20573
  remove s from additions/sboms in the link

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
zyyw pushed a commit that referenced this issue Jul 4, 2024
Change the log message when PostScan failed.

  fixes #20573
  remove s from additions/sboms in the link

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants