Skip to content
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

The SBOM column having SBOM.COMPLETED, when SBOM generation completed. #20459

Closed
zyyw opened this issue May 21, 2024 · 0 comments · Fixed by #20460
Closed

The SBOM column having SBOM.COMPLETED, when SBOM generation completed. #20459

zyyw opened this issue May 21, 2024 · 0 comments · Fixed by #20460

Comments

@zyyw
Copy link
Contributor

zyyw commented May 21, 2024

How to reproduce?
Install Harbor via harbor-helm main branch with imagePullPolicy: Always, and then enable SBOM auto generation in library project. After that, docker push an image to library project. The SBOM column will display something like below:
Screenshot 2024-05-21 at 8 56 29 AM

In addition to that, this ci job: https://github.com/goharbor/harbor/actions/runs/9157625561/job/25174362483?pr=20450 report something similar:

10:59:27 An error was thrown in afterAll
10:59:27 Error: Expected ' SBOM.COMPLETED, ' to be 'SBOM Detail'.
10:59:27 at <Jasmine>
10:59:27 at apply (http://localhost:9876/_karma_webpack_/webpack:/src/appproject/repository/artifact/sbom-scanning/sbom-scan.component.spec.ts:188:33)
10:59:27 at _ZoneDelegate.invoke (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone.js:368:26)
10:59:27 at ProxyZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:273:39)
10:59:27 Chrome Headless 125.0.6422.60 (Linux x86_64): Executed 312 of 460 ERROR (0 secs / 8.104 secs)
10:59:27 Chrome Headless 125.0.6422.60 (Linux x86_64) ERROR
10:59:27 An error was thrown in afterAll
10:59:27 Error: Expected ' SBOM.COMPLETED, ' to be 'SBOM Detail'.   <=================== here
10:59:27 at <Jasmine>
10:59:27 at apply (http://localhost:9876/_karma_webpack_/webpack:/src/appproject/repository/artifact/sbom-scanning/sbom-scan.component.spec.ts:188:33)
10:59:27 at _ZoneDelegate.invoke (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone.js:368:26)
10:59:27 at ProxyZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:273:39)
10:59:27 Chrome Headless 125.0.6422.60 (Linux x86_64): Executed 312 of 460 ERROR (9.175 secs / 8.104 secs)
10:59:27 ✔ Browser application bundle generation complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants