Closed vscoder closed 2 years ago
I am getting the same errors. Any idea?
I have the same issue. Don't know further :(
Same issue in here!
This is because errors.As
and errors.Is
were introduced in Go 1.13
https://github.com/golang/go/blob/master/api/go1.13.txt#L46-L47
I recommend to download and install Go 1.13.11
wget https://dl.google.com/go/go1.13.11.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.13.11.linux-amd64.tar.gz
and then follow the official instructions from kubetest to install it
https://github.com/kubernetes/test-infra/tree/master/kubetest
i.e. clone that repository and run GO111MODULE=on go install ./kubetest
otherwise you will find other compatibility issues.
Unfortuantely, even after these, I wasn't able to run kubetest --extract=v1.13.0
as I'm now getting the following error
kubetest --extract=v1.13.0
2020/05/19 14:50:11 Warning: Couldn't find directory src/k8s.io/kubernetes under any of GOPATH /home/vagrant/go, defaulting to /home/vagrant/go/src/k8s.io/kubernetes
2020/05/19 14:50:11 Warning: Couldn't find directory src/sigs.k8s.io/cloud-provider-azure under any of GOPATH /home/vagrant/go, defaulting to /home/vagrant/go/src/k8s.io/cloud-provider-azure
2020/05/19 14:50:11 Warning: Couldn't find directory src/k8s.io/kubernetes under any of GOPATH /home/vagrant/go, defaulting to /home/vagrant/go/src/k8s.io/kubernetes
2020/05/19 14:50:11 util.go:68: curl https://get.k8s.io
2020/05/19 14:50:12 extract_k8s.go:288: U=https://storage.googleapis.com/kubernetes-release/release R=v1.13.0 get-kube.sh
2020/05/19 14:50:12 process.go:153: Running: /tmp/get-kube106596808
Downloading kubernetes release v1.13.0
from https://storage.googleapis.com/kubernetes-release/release/v1.13.0/kubernetes.tar.gz
to /home/vagrant/kubernetes.tar.gz
WARNING: Could not open the configuration file: [/home/vagrant/.config/gcloud/configurations/config_default].
ERROR: (gcloud.auth.print-access-token) You do not currently have an active account selected.
Please run:
$ gcloud auth login
[...]
Definitely this 16-e2e-tests.md needs to be reviewed.
Hi @vscoder @blasterspike @dkhopade @rainmanh @wilkej
Please see close notes on #123
Thanks
Hello.
Thank you for your project, it is very interesting and useful. But when I followed the instructions, I came across a little problem.
When I ran installation of kubetest, how described in 16-e2e-tests.md, I got an error:
and
kubetest
was not installed, contrary to expectations.Thank you for your attention.