goharbor / perf

performance test scripts and data
Apache License 2.0
20 stars 16 forks source link

prepare artifact error #3

Closed chlins closed 3 years ago

chlins commented 3 years ago

Harbor deployed with http mode.

version: v2.0.1

$ HARBOR_SIZE=small HARBOR_URL=http://admin:Harbor12345@192.168.25.56:31114 go run mage.go prepare
INFO[0008] GoError: failed to push 192.168.25.56:31114/project-1619059710385-013/repository-001:v01, error: failed to do request: Head "https://192.168.25.56:31114/v2/cpaas-system/repository-001/blobs/sha256:4a969632bc3938f5b516bb39eb3a9d098b698179bfde42a512b499786cb4246f": http: server gave HTTP response to HTTPS client  source=console
INFO[0008] GoError: failed to push 192.168.25.56:31114/project-1619059710385-013/repository-001:v02, error: failed to do request: Head "https://192.168.25.56:31114/v2/cpaas-system/repository-001/blobs/sha256:b4edb9e6688f4f5efe5a186240b73287c9435bd529b6ab39b509f02e7482ba05": http: server gave HTTP response to HTTPS client  source=console
INFO[0008] GoError: failed to push 192.168.25.56:31114/project-1619059710385-013/repository-001:v03, error: failed to do request: Head "https://192.168.25.56:31114/v2/cpaas-system/repository-001/blobs/sha256:9cc3a79d2828d644a90300491d6b7df84fd33bf951e8636505522f82a32ac453": http: server gave HTTP response to HTTPS client  source=console
heww commented 3 years ago

Closed by https://github.com/heww/xk6-harbor/commit/763e178b450f873e077c56cdd1d1b73f33fbaead

Please use K6_ALWAYS_UPDATE=true HARBOR_SIZE=small HARBOR_URL=http://admin:Harbor12345@192.168.25.56:31114 go run mage.go prepare to fetch the latest k6 and reprepare the user data.