Skip to content
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

Error installing kubetest2 #137

Closed
SameerMahajan-GSLab opened this issue Jun 1, 2021 · 3 comments
Closed

Error installing kubetest2 #137

SameerMahajan-GSLab opened this issue Jun 1, 2021 · 3 comments
Labels
sig/testing Categorizes an issue or PR as relevant to SIG Testing.

Comments

@SameerMahajan-GSLab
Copy link

From the instructions to install kubetest2 I am running:

GO111MODULE=on go get sigs.k8s.io/kubetest2/...@latest

when I get error

go get: can't request version "latest" of pattern "sigs.k8s.io/kubetest2/..." that includes the main module (sigs.k8s.io/kubetest2)

what am I missing?

@amwat
Copy link
Contributor

amwat commented Jun 1, 2021

Most likely you might be running this from the main working directory of a checkout of kubetest2 repo itself?

can you try running it from outside a go module project working directory? #118 (comment)

@SameerMahajan-GSLab
Copy link
Author

Thanks @amwat that helped. How do you run k8s e2e tests with kubetest2? Pardon my questions as I am a newbie.

@amwat
Copy link
Contributor

amwat commented Jun 2, 2021

No worries!

There's some docs over at https://github.com/kubernetes/community/blob/2bf70285c638872f0e1e8650ab6ce1df6a4ba25c/contributors/devel/sig-testing/e2e-tests-kubetest2.md#testing-against-an-existing-cluster

the user documentation in this repo is really lacking! (#134)

/close

since the original issue seems to be resolved

@amwat amwat closed this as completed Jun 2, 2021
@spiffxp spiffxp added the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Projects
None yet
Development

No branches or pull requests

3 participants