istio.io: Istio.io make test.kube.presubmit fails

I suspect there is an issue between darwin and linux directories.

make test.kube.presubmit                                                                                                                                                        
If you suffer an unexpected failure, please reference: https://github.com/istio/istio/wiki/Troubleshooting-Development-Environment
Building with the build container: gcr.io/istio-testing/build-tools:master-2020-02-26T14-59-03.
Using docker credential directory /Users/ericvn/.docker.
Using local Kubernetes configuration /Users/ericvn/.kube
Unable to find image 'gcr.io/istio-testing/build-tools:master-2020-02-26T14-59-03' locally
master-2020-02-26T14-59-03: Pulling from istio-testing/build-tools
6ffc23df7e19: Pull complete
306f330a0416: Pull complete
e32a0415c137: Pull complete
5c394834f168: Pull complete
57827e4a8169: Pull complete
f22d22724b84: Pull complete
209968ba0220: Pull complete
453a78a6e724: Pull complete
0bacadadc13d: Pull complete
f182657cc288: Pull complete
626f141041ed: Pull complete
bda83d4a7b03: Pull complete
a2a1810bc1ee: Pull complete
Digest: sha256:7021e2c3e5dfb61c2e1571df251daa017f3f5ec260e4e19ae3e95f7ab25c5426
Status: Downloaded newer image for gcr.io/istio-testing/build-tools:master-2020-02-26T14-59-03
bin/init.sh
ISTIOIO_GO=/work
ISTIO_GO=/go/src/istio.io/istio
ISTIO_REMOTE=origin
ISTIO_BRANCH=master
/go/src/istio.io/istio not found. Cloning Istio repository ...
Cloning into '/go/src/istio.io/istio'...
remote: Enumerating objects: 55, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 218149 (delta 15), reused 6 (delta 2), pack-reused 218094
Receiving objects: 100% (218149/218149), 150.90 MiB | 10.65 MiB/s, done.
Resolving deltas: 100% (134798/134798), done.
Reset branch 'master'
Your branch is up to date with 'origin/master'.
Istio already up-to-date with origin/master
go: downloading istio.io/api v0.0.0-20200227124350-5ce1c9cc553f
Installing go-junit-report...
go: downloading github.com/jstemmer/go-junit-report v0.9.1
PATH=/usr/local/go/bin:/gobin:/usr/local/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/work/out/darwin_amd64 go test -p 1  ./tests/... -timeout 30m \
--istio.test.select -postsubmit,-flaky \
--istio.test.env kube \
 --istio.test.work_dir=/work/out/darwin_amd64 --istio.test.hub=docker.io/ericvn --istio.test.tag=ericvn --istio.test.kube.config=~/.kube/config \
2>&1 | tee >(/usr/bin/go-junit-report > /work/out/darwin_amd64/junit.xml)
go: downloading istio.io/istio v0.0.0-20200219230945-34ee61d95048
go: downloading istio.io/api v0.0.0-20200218013118-7fd43ea7fc2b
2020-02-27T17:24:46.978661Z	warn	unable to resolve LOCAL_OUT. Dir /go/out/linux_amd64 does not exist
2020-02-27T17:24:47.068594Z	info	tf	Test run dir: /work/out/darwin_amd64/configuration-3cce7dbff5974e69b
2020-02-27T17:24:47.080372Z	error	tf	Error during test framework init: failed to create rest config. invalid configuration: unable to read certificate-authority /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem for istio-1/bpal1ljw03girhs176gg due to open /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem: no such file or directory
FAIL	istio.io/istio.io/tests/configuration	0.116s
2020-02-27T17:24:52.222827Z	warn	unable to resolve LOCAL_OUT. Dir /go/out/linux_amd64 does not exist
2020-02-27T17:24:52.302201Z	info	tf	Test run dir: /work/out/darwin_amd64/examples-f9fc686dc8fb43f59a602e
2020-02-27T17:24:52.311770Z	error	tf	Error during test framework init: failed to create rest config. invalid configuration: unable to read certificate-authority /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem for istio-1/bpal1ljw03girhs176gg due to open /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem: no such file or directory
FAIL	istio.io/istio.io/tests/examples	0.106s
2020-02-27T17:24:57.798252Z	warn	unable to resolve LOCAL_OUT. Dir /go/out/linux_amd64 does not exist
2020-02-27T17:24:57.867461Z	info	tf	Test run dir: /work/out/darwin_amd64/security-320a4da4c3664e40b58e16
2020-02-27T17:24:57.874973Z	error	tf	Error during test framework init: failed to create rest config. invalid configuration: unable to read certificate-authority /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem for istio-1/bpal1ljw03girhs176gg due to open /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem: no such file or directory
FAIL	istio.io/istio.io/tests/security	0.089s
2020-02-27T17:25:03.316160Z	warn	unable to resolve LOCAL_OUT. Dir /go/out/linux_amd64 does not exist
2020-02-27T17:25:03.392344Z	info	tf	Test run dir: /work/out/darwin_amd64/trafficmanagement-3a08ecc858804
2020-02-27T17:25:03.401000Z	error	tf	Error during test framework init: failed to create rest config. invalid configuration: unable to read certificate-authority /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem for istio-1/bpal1ljw03girhs176gg due to open /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem: no such file or directory
FAIL	istio.io/istio.io/tests/trafficmanagement	0.098s
2020-02-27T17:25:08.410691Z	warn	unable to resolve LOCAL_OUT. Dir /go/out/linux_amd64 does not exist
2020-02-27T17:25:08.492993Z	info	tf	Test run dir: /work/out/darwin_amd64/trafficmanagement-ingress-dceed
2020-02-27T17:25:08.501586Z	error	tf	Error during test framework init: failed to create rest config. invalid configuration: unable to read certificate-authority /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem for istio-1/bpal1ljw03girhs176gg due to open /Users/ericvn/.bluemix/plugins/container-service/clusters/istio-1-bpal1ljw03girhs176gg/ca-wdc04-istio-1.pem: no such file or directory
FAIL	istio.io/istio.io/tests/trafficmanagement/ingress	0.109s
FAIL

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

So with #7075 and a fresh kind cluster, I can run the tests locally on my Mac using: env -u HUB && TAG=latest TEST_ENV=kind ADDITIONAL_CONTAINER_OPTIONS="--network host" make test.kube.presubmit