-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unit tests are not working locally (go 1.17.5) #2567
Comments
Hey @camilamacedo86 I would like to solve it. Thanks :) |
Excuse me, I couldn't reproduce the problem you faced. I followed the same procedure you described, but in my case, all tests are passing. Below is the output of the command
My go version is 1.17.6 though. |
Following the output you provided in the issue description, the problem is occurring at line 68 of |
Yes. I see many issues here: However, I found the issue here already. |
Not really, I am using Mac and it is passing for me locally. Here is the info -
|
HI @Abhra303, If I remove the race conditional option such as : https://github.com/kubernetes-sigs/kubebuilder/pull/2581/files it works for me locally, would you like to help us investigate why that occurs? My go env:
|
Maybe it can be related to the go version: |
Hello @camilamacedo86 , I think this is related to go version So, I think you should upgrade the go tool. Thanks :) |
Thank you for checking that. |
What broke? What's expected?
The make test is not working locally
That fails when we run
go test -race ./pkg/...
Reproducing this issue
It was reported on the channel that someone was not able to run the tests.
the tests are called in the CI and works see: https://github.com/kubernetes-sigs/kubebuilder/runs/5605172452?check_suite_focus=true#step:5:1
However, I tried to run with;
And also faced issues:
then, we need to check why to solve it or add the guidance in the Contribution doc
KubeBuilder (CLI) Version
master
PROJECT version
No response
Plugin versions
No response
Other versions
No response
Extra Labels
/kind regression
The text was updated successfully, but these errors were encountered: