test-infra: kubetest fails to download
What happened:
kubetest fails to download.
What you expected to happen:
kubetest to be downloaded and installed.
How to reproduce it (as minimally and precisely as possible):
$ go version
go version go1.13rc1 linux/amd64
$ GO111MODULE=on go get -v -u k8s.io/test-infra/kubetest
go: finding k8s.io/test-infra latest
go: finding golang.org/x/crypto latest
go: finding golang.org/x/time latest
go: finding golang.org/x/oauth2 latest
go: finding golang.org/x/sys latest
go: finding github.com/jmespath/go-jmespath latest
go: finding golang.org/x/net latest
go: finding google.golang.org/genproto latest
go: finding k8s.io/apimachinery latest
go: finding github.com/modern-go/concurrent latest
go: finding k8s.io/api latest
go: finding k8s.io/utils latest
get "k8s.io/utils": found meta tag get.metaImport{Prefix:"k8s.io/utils", VCS:"git", RepoRoot:"https://github.com/kubernetes/utils"} at //k8s.io/utils?go-get=1
get "k8s.io/client-go": found meta tag get.metaImport{Prefix:"k8s.io/client-go", VCS:"git", RepoRoot:"https://github.com/kubernetes/client-go"} at //k8s.io/client-go?go-get=1
get "google.golang.org/grpc": found meta tag get.metaImport{Prefix:"google.golang.org/grpc", VCS:"git", RepoRoot:"https://github.com/grpc/grpc-go"} at //google.golang.org/grpc?go-get=1
go get: github.com/aws/aws-k8s-tester@v0.0.0-20190114231546-b411acf57dfe updating to
github.com/aws/aws-k8s-tester@v0.4.3 requires
k8s.io/client-go@v2.0.0-alpha.0.0.20190112054256-b831b8de7155+incompatible: invalid pseudo-version: preceding tag (v2.0.0-alpha.0) not found
Please provide links to example occurrences, if any: N/A
Anything else we need to know?: N/A
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 16 (11 by maintainers)
Yes, this is a reliable way to do now.
go get/installdoes not usereplacedirectives I guess.@PiotrSikora FYI
or use this e2e.go file (modified from hack/e2e.go in the k/k repo)
your best bet is probably to just clone test-infra w/o go get and then
go install ./kubetestfrom the clone.