Comments (8)
@sk593 Should be done. Can you try again?
(xref: https://github.com/kubernetes-sigs/controller-tools/releases/tag/envtest-v1.23.5)
Just confirmed that the fix works. We'll look into using a newer Kubernetes version to avoid similar issues in the future. Thanks for the quick turnaround!
from controller-runtime.
Can you share the exact setup-envtest command your running?
from controller-runtime.
Context: we merged this PR yesterday: #2811 (comment)
But all envtest binaries in controller tools are available for the same OS/ARCH permutations.
from controller-runtime.
Sure, we're running into issues with the makefile. This code in test.mk
where we try to download the setup-envtest package is causing the error: https://github.com/radius-project/radius/blob/66aad2c07b0793a1c59088b4868a83596ca3e448/build/test.mk#L50. Because the setup-envtest package doesnt get installed correctly, the tests that use the package fail.
This is how we use the setup-envtest package in our code: https://github.com/radius-project/radius/blob/main/test/ucp/kubeenv/testenv.go. And this is the test it gets used in: https://github.com/radius-project/radius/blob/4cacb5872861e0fcce74a9109f0cdecd361d80ed/pkg/ucp/queue/apiserver/client_test.go#L100
This started happening after #2811 was merged and only for linux which is interesting. Previous versions of the package are working as expected and I tested on a darwin machine that downloaded the binary completely fine.
from controller-runtime.
@sk593 will be fixed by: kubernetes-sigs/controller-tools#979
Basically setup-envtest@latest now gets the binaries from controller-tools releases instead of GCS. We only published v1.23+.
Might be worth considering using a newer Kubernetes version than 1.23 for your tests. I have absolutely no idea why this woul only happen on linux, we published the same versions for all OS/architecture combinations.
from controller-runtime.
@sk593 Should be done. Can you try again?
(xref: https://github.com/kubernetes-sigs/controller-tools/releases/tag/envtest-v1.23.5)
from controller-runtime.
No problem. We basically just created envtest binaries for relatively recent versions at the new location (controller-tools). We stopped at 1.24 :)
/close
from controller-runtime.
@sbueringer: Closing this issue.
In response to this:
No problem. We basically just created envtest binaries for relatively recent versions at the new location (controller-tools). We stopped at 1.24 :)
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
from controller-runtime.
Related Issues (20)
- Find one scalable pattern to wrap clients, and deprecate others
- Watch resources by GroupVersionKind not only by object HOT 4
- Support users options to export go schedule related runtime metrics
- Restmapper: Use aggregated discovery if available HOT 1
- cache contained <nil> HOT 5
- Informer fails to sync, timeout waiting for API HOT 1
- Bad log message HOT 11
- `pkg/manager/internal.go` - panic on log HOT 4
- controller_runtime_reconcile_errors_total metric value is not getting updated for reconcile errors
- Fake client does not preserve TypeMeta for PartialObjectMetadata after request HOT 5
- Controller-runtime does not compile with client-go 1.31 with version v0.18.5 HOT 17
- Feature: Allow ManagerOptions to be marshalled
- Does not compile with apimachinery 1.31 HOT 8
- How to use new Watches() function ? HOT 2
- When watching a resource in multiple namespaces, cluster-wide rbac is needed HOT 2
- Rely on API Priority and Fairness (APF) instead of client-side rate limiting HOT 2
- incorrect check for duplicate controller names HOT 5
- Cannot install @latest version v0.19.0 due to dependencies issues HOT 4
- Ability to watch resources in a particular namespace in predicate when cache is watching all namespaces HOT 2
- client.Status().Update() causes pod Metadata update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from controller-runtime.