Registry operator fails on unit tests #1519
Labels
area/registry
Devfile registry for stacks and infrastructure
kind/bug
Something isn't working
severity/blocker
Issues that prevent developers from working
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area registry
What versions of software are you using?
Go project
Operating System and version: N/A
Go Pkg Version: 1.19
Bug Summary
Describe the bug:
The unit tests on failing for the registry operator when doing a fresh install of
sigs.k8s.io/controller-runtime/tools/setup-envtest
for setting up the testing environment. The failures only seem to happen if the latest version installed during fresh installs.To Reproduce:
sigs.k8s.io/controller-runtime/tools/setup-envtest
is not installed, generally by removing the ignoredbin
directory from past runsmake test
Expected behavior
Running should successfully run all unit test cases for registry operator.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
None at the moment, aside from fix or updating Go version for the module, there is an open issue kubernetes-sigs/controller-runtime#2744 to address this, if it is resolved it might be possible to restore the
latest
tag.Suggestion on how to fix the bug
Replace
latest
with the latest capped version number which is compatible with Go 1.19: Makefile#L262The text was updated successfully, but these errors were encountered: