-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
0.11.0 - operator-sdk test fails due to redefined flags #2167
Comments
Hi @patelajayp, Note that the v0.11.0 is not supporting the go version 1.13+. Could you try to use the latest release of the SDK(0.12) and let us know if you still facing any issue with? |
I upgraded my operator-sdk version to:
and am still having the same issue. |
Hi @patelajayp, Following some tips that I hope that help you to solve it.
If you still facing the issue try to use @AlexNPavel you have more knowledge over the test-framework. Could you give a hand here? |
@camilamacedo86 - As Ajay mentioned, we've updated our project to 0.12.0 and are still hitting the same issue. It looks like two dependencies are declaring the same flag, but I'm unsure how to tell which ones they both are. We've also validated and/or tried all of your tips. Here's the output with
|
@camilamacedo86 - So I did a bit more digging and was finally able to debug the end-to-end tests in Goland. It looks like there's a package in controller-runtime that defines the
I'd imagine that this must be causing a problem for all 0.12.0 projects since they use |
Hmm. We have e2e tests in our CI system that run the e2e framework and those tests are still passing. So something funky is going on here. Thanks for raising this issue! I'll dig into this. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
I have run into this as well.
Environment operator-sdk version: "operator-sdk version: v0.9.0, commit: 560208d" go version: "go version go1.13.5 linux/amd64" Kubernetes version information:"Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:11:31Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}" Are you writing your operator in ansible, helm, or go? |
Hi @thebithead, Note that the version 0.9.0 is not compatible with the Go |
If this is still an issue, please reopen. |
Hi @thebithead, Just to let you know we discussed it in the bug triaged and we decide to close since shows that the same will no be faced if you are using the 1.13+ go version and the latest version of SDK. However, if you still facing this issue please let us know for we are able to re-open this one and please provide the data regards your latest test/check as well. |
I was able to replicate the problem using Go version 1.12. But I wanted to
go forward, not backwards.
…On Mon, Mar 9, 2020 at 3:04 PM Camila Macedo ***@***.***> wrote:
Hi @thebithead <https://github.com/thebithead>,
Just to let you know we discussed it in the bug triaged and we decide to
close since shows that the same will no be faced if you are using the 1.13+
go version and the latest version of SDK. However, if you still facing this
issue please let us know for we are able to re-open this one and please
provide the data regards your latest test/check as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2167?email_source=notifications&email_token=AAKUNZYGHYVPLIRNRKE3DHTRGU4SNA5CNFSM4JJ6MO7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOIU33Q#issuecomment-596725230>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKUNZ3LWSX3XZQ23K42LN3RGU4SNANCNFSM4JJ6MO7A>
.
--
*Tom Gates*
Software Engineer
*www.nuodb.com* <http://www.nuodb.com/>
c: (603) 865-7134
t: @nuodb <https://twitter.com/nuodb>
f: *facebook.com/NUODB <https://www.facebook.com/NUODB>*
The information contained in this email is confidential and proprietary and
intended for the sole use of the intended recipient. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this email in error, please notify the
sender and delete all copies.
|
Hi @thebithead the Go version 1.12. is not supportable with the latest version. Then, issue can really occur with if you are using Go version 1.12. So, I understand that all is fine when you are using the go 1.13+ and the latest, Am I right? |
No. I was able to replicate the problem using SDK version 0.9.0 and Go
version 1.12.
I did not (yet) try using the latest SDK version.
…On Mon, Mar 9, 2020 at 4:10 PM Camila Macedo ***@***.***> wrote:
Hi @thebithead <https://github.com/thebithead> the Go version 1.12. is
not supportable with the latest version. Then, issue can really occur with
if you are using Go version 1.12. So, I understand that all is fine when
you are using the go 1.13+ and the latest, Am I right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2167?email_source=notifications&email_token=AAKUNZ67BVNIOPXPZSXGD3TRGVEMRA5CNFSM4JJ6MO7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOI4FQY#issuecomment-596755139>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKUNZYONDPLHTPMGONJ34TRGVEMRANCNFSM4JJ6MO7A>
.
--
*Tom Gates*
Software Engineer
*www.nuodb.com* <http://www.nuodb.com/>
c: (603) 865-7134
t: @nuodb <https://twitter.com/nuodb>
f: *facebook.com/NUODB <https://www.facebook.com/NUODB>*
The information contained in this email is confidential and proprietary and
intended for the sole use of the intended recipient. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this email in error, please notify the
sender and delete all copies.
|
FWIW, I think this is now solved by #2731 |
Bug Report
What did you do?
Ran
operator-sdk test local ./test/e2e/ --no-setup --namespace sdktest
to test operator locallyWhat did you expect to see?
Tests to run and pass
What did you see instead? Under which circumstances?
Failed with the following error:
Environment
"v0.11.0", commit: "39c65c36159a9c249e5f3c178205cc6e86c16f8d", go version: "go1.12.7 darwin/amd64"
go version go1.13.1 darwin/amd64
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T16:54:35Z", GoVersion:"go1.12.7", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.11-eks-5876d6", GitCommit:"5876d6b7429820450950ade17fe7b4bf5ccada7f", GitTreeState:"clean", BuildDate:"2019-09-24T20:54:25Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"}
Go
The text was updated successfully, but these errors were encountered: