-
Notifications
You must be signed in to change notification settings - Fork 187
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
Create dedicated namespaces per test case in reconcilers tests #849
Comments
We also need to delete all test objects before we delete the namespace. |
I would like to take a look to this issue, can anyone assign it to me? |
When I try to
Here is the detail of the error producing that test failure
It does feel the test is trying to download that
Cheers. |
@snebel29 do you mind sharing more details about your development environment? Are you on Linux/Darwin? Feel free to ask questions on the contributors channel. |
Hi @pjbgf $ go version
go version go1.18.2 darwin/amd64 $ kustomize version
{Version:kustomize/v4.5.7 GitCommit:56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7 BuildDate:2022-08-02T16:28:01Z GoOs:darwin GoArch:amd64} $ pkg-config --version
0.29.2 $ docker --version
Docker version 20.10.15, build fd82621d35 It is worth to mention that under the hood, the docker runtime is implemented using colima project. $ colima status
INFO[0000] colima is running
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType:
INFO[0000] socket: unix:///Users/myuser/.colima/default/docker.sock Basically I just did checkout the repository then ran I'll open a thread in the slack channel that you have shared, to avoid polluting this issue. Thanks in advance. |
For the record the culprit of the error was found to be registry client falling back on docker {
"auths": {},
"credsStore": "desktop",
"currentContext": "colima"
} Full details on slack. |
Create dedicated namespaces per test case, then delete the whole NS at the end. This will help avoid the case where we fail to stop the kube-apiserver.
for example:
https://github.com/fluxcd/helm-controller/blob/5d28aa42505641652648e338afc9c1ec4e8dfb55/internal/reconcile/install_test.go#L183
The text was updated successfully, but these errors were encountered: