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

Exit if --kubernetes-version is older than the oldest supported version #4759

Merged
merged 6 commits into from
Sep 5, 2019
Merged

Exit if --kubernetes-version is older than the oldest supported version #4759

merged 6 commits into from
Sep 5, 2019

Conversation

serhatcetinkaya
Copy link
Contributor

This pull request is intended as a fix for the issue described in #4673.
If the version specified by the user is less than constants.OldestKubernetesVersion we print a warning to the user but continue execution, if the specified version is less than v1.9.0 we exit with a proper message.
Can you please review @medyagh :)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 14, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @serhatcetinkaya. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: serhatcetinkaya
To complete the pull request process, please assign ra489
You can assign the PR to them by writing /assign @ra489 in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 14, 2019
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Contributor

@tstromberg tstromberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minikube-bot OK to test

exit.WithCode(exit.Data, "Unable to parse oldest Kubernetes version from constants: %v", err)
}

superOldVersionLimit := semver.Version{Major: 1, Minor: 9, Patch: 0}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR!

If possible, I would rather not have two effective "oldest" constants. The intent of constants.OldestKubernetesVersion was to have a constant that defined the oldest possible version. If v1.9.x works, the variable should reflect that state.

Do you mind updating constants.OldestKubernetesVersion to v1.9.0 so that the intent is met and the logic simple? If it happens to fail tests, we can stick with v1.10.x and add a --force flag so that users can still bypass the check.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Thomas, thanks for the review.

As far as I understand this is the behavior requested in the original issue #4673. According to your input we can remove the check for superOldVersionLimit and just return a warning (without exit) to the user if the specified version is less than constants.OldestKubernetesVersion.

Can you check this comment to make things clear about what needs to be done #4673 (comment)

Copy link
Member

@medyagh medyagh Jul 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @serhatcetinkaya sorry for the confusion, I think I contributed to the confusion ! my fault !

Thomas is right, rethinking this I believe it would be hard to maintain two separate versions of supported kuberentes.

the original reason we created this issue was someone was trying to start an oddly old kubernetes by mistake (1.2 instead of 1.12)

here is my current new suggestion based on @tstromberg input:

we need to exit on oldest supported kubernets version however we need to infrom the user in the exit message, that to override this check please add "--force" so they can still run whatever version they want ( which we don't support at their own risk )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@serhatcetinkaya - Yes, that sounds like the right way to go. I spoke to Medya about this yesterday and he seemed willing to accept it as well. I've added my thoughts to the bug. Thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification @medyagh @tstromberg, I am working on this, I will submit as soon as I finish.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huzzah! start.go now has support for a --force flag. If you change the logic to use it - I think we should merge this ASAP.

if viper.GetBool(force) {
  out.WarningT("Kubernetes {{.version}} is not supported by this release of minikube", ...)
} else {
  exit.WithCode(exit.Data, "Sorry, Kubernetes {{.version}} is not supported by this release of minikube")
}

Please let me know if you need any help.

@RA489
Copy link

RA489 commented Jul 16, 2019

@minikube-bot OK to test

@medyagh medyagh changed the title Compare specified kubernetes version with oldest supported version WIP: Compare specified kubernetes version with oldest supported version Jul 17, 2019
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 17, 2019
@TravisBuddy
Copy link

Travis tests have failed

Hey @serhatcetinkaya,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
./test.sh
= go mod ================================================================
ok
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
cmd/minikube/cmd/start.go:853:8: WithCode not declared by package exit (typecheck)
		exit.WithCode(exit.Data, "Unable to parse oldest Kubernetes version from constants: %v", err)
		     ^
cmd/minikube/cmd/start.go:862:3: undeclared name: `console` (typecheck)
		console.ErrT(console.Conflict, "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}", console.Arg{"specified": nvs, "oldest": constants.OldestKubernetesVersion})
		^
Makefile:323: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
# k8s.io/minikube/cmd/minikube/cmd [k8s.io/minikube/cmd/minikube/cmd.test]
cmd/minikube/cmd/start.go:853: undefined: exit.WithCode
cmd/minikube/cmd/start.go:858: undefined: exit.WithCode
cmd/minikube/cmd/start.go:862: undefined: console in console.ErrT
FAIL	k8s.io/minikube/cmd/minikube/cmd [build failed]
ERROR: logging before flag.Parse: I0901 16:47:47.909062   10701 vm_assets.go:204] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.909358   10701 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.909432   10701 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.909501   10701 vm_assets.go:204] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.909689   10701 vm_assets.go:204] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.909741   10701 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.909843   10701 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3935 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.909945   10701 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 4045 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.910036   10701 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3236 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.910286   10701 vm_assets.go:204] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.910368   10701 vm_assets.go:204] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.910444   10701 vm_assets.go:204] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.910687   10701 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.910761   10701 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.910926   10701 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.911025   10701 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.911182   10701 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.911451   10701 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.914862   10701 vm_assets.go:204] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.914985   10701 vm_assets.go:204] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.915249   10701 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.915471   10701 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.918537   10701 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3045 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.918695   10701 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.918989   10701 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 660 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.919068   10701 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.919151   10701 vm_assets.go:204] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.919225   10701 vm_assets.go:204] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.922645   10701 vm_assets.go:204] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 878 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.922765   10701 vm_assets.go:204] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.922942   10701 vm_assets.go:204] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.923226   10701 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.923460   10701 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.923544   10701 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.923622   10701 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.923794   10701 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.924004   10701 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-config.toml with 1790 bytes
ERROR: logging before flag.Parse: I0901 16:47:47.924056   10701 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-containerd-shim.toml with 90 bytes
--- FAIL: TestUnsetConfig (0.00s)
    unset_test.go:30: Failed to set the property "cpus"
    unset_test.go:35: Failed to read config "specified key could not be found in config"
    unset_test.go:39: Expected cpus to be 1 but got 
    unset_test.go:44: Failed to unset property "create /home/travis/.minikube/config/config.json: open /home/travis/.minikube/config/config.json: no such file or directory"
FAIL
coverage: 18.9% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd/config	0.063s
ok  	k8s.io/minikube/pkg/drivers	0.018s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.043s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.035s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	3.698s	coverage: 72.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.077s	coverage: 29.5% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.232s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.025s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.011s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.010s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.043s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.053s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.031s	coverage: 11.3% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.035s	coverage: 81.5% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.009s	coverage: 70.3% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.011s	coverage: 42.9% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.007s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.048s	coverage: 81.8% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.040s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.278s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.005s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	2.138s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	0.795s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.010s	coverage: 59.1% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.008s	coverage: 0.0% of statements
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 20
TravisBuddy Request Identifier: 599bb650-ccd8-11e9-a9d8-278aeb0f3435

@serhatcetinkaya
Copy link
Contributor Author

serhatcetinkaya commented Sep 1, 2019

Hi, sorry for the long delay. I added an if check to control --force flag and take action accordingly. However, I noticed a strange thing; when I try to build it fails with following error:

➜  minikube git:(master) ✗ MINIKUBE_BUILD_IN_DOCKER=y make cross
docker run --rm -e GOCACHE=/app/.cache -e IN_DOCKER=1 --user 501:20 -w /app -v /Users/serhatcetinkaya/workspace/minikube:/app -v /Users/serhatcetinkaya/go:/go --entrypoint /bin/bash k8s.gcr.io/kube-cross:v1.12.9-1 -c '/usr/bin/make out/minikube-linux-amd64'
Unable to find image 'k8s.gcr.io/kube-cross:v1.12.9-1' locally
v1.12.9-1: Pulling from kube-cross
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
16a3d8aca6cd: Pull complete
e0ec5610455a: Pull complete
96d705baf026: Pull complete
28bcdfdf2e97: Pull complete
c0e213211a87: Pull complete
8484dd64d83a: Pull complete
0a2bb18ece41: Pull complete
ce095b3f0e42: Pull complete
c04dacc9a7b7: Pull complete
72a4df4fe9f4: Pull complete
Digest: sha256:290ba56289b9a587ab5d2d53962ef78e3318237b4a9ea8a90b312ca8e9841b12
Status: Downloaded newer image for k8s.gcr.io/kube-cross:v1.12.9-1
GOOS="linux" GOARCH="amd64" go build -tags "container_image_ostree_stub containers_image_openpgp" -ldflags="-X k8s.io/minikube/pkg/version.version=v1.4.0-beta.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.4.0-beta.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="578e32559b5af90eb26e7dbf8ee819c7fed39a70-dirty"" -a -o out/minikube-linux-amd64 k8s.io/minikube/cmd/minikube
go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
go: git.apache.org/thrift.git@v0.0.0-20180902110319-2566ecd5d999: git fetch -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128:
	fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Connection refused
go: error loading module requirements
make: *** [Makefile:145: out/minikube-linux-amd64] Error 1
make: *** [out/minikube-linux-amd64] Error 2

I guess this is because of a vote to use the Github repos as primary repo and this one is moved to Github. Do you have any solutions for this ?

@TravisBuddy
Copy link

Travis tests have failed

Hey @serhatcetinkaya,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
./test.sh
= go mod ================================================================
ok
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
cmd/minikube/cmd/start.go:853:8: WithCode not declared by package exit (typecheck)
		exit.WithCode(exit.Data, "Unable to parse oldest Kubernetes version from constants: %v", err)
		     ^
cmd/minikube/cmd/start.go:857:3: undeclared name: `console` (typecheck)
		console.ErrT(console.Conflict, "Specified Kubernetes version {{.specified}} is less than the oldest supported version: {{.oldest}}", console.Arg{"specified": nvs, "oldest": constants.OldestKubernetesVersion})
		^
Makefile:323: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
# k8s.io/minikube/cmd/minikube/cmd [k8s.io/minikube/cmd/minikube/cmd.test]
cmd/minikube/cmd/start.go:853: undefined: exit.WithCode
cmd/minikube/cmd/start.go:857: undefined: console in console.ErrT
cmd/minikube/cmd/start.go:859: undefined: console in console.Arg
cmd/minikube/cmd/start.go:861: undefined: exit.WithCode
cmd/minikube/cmd/start.go:861: undefined: console in console.Arg
FAIL	k8s.io/minikube/cmd/minikube/cmd [build failed]
ERROR: logging before flag.Parse: I0901 17:37:12.209649   10843 vm_assets.go:204] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.209838   10843 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.209897   10843 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.209955   10843 vm_assets.go:204] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210121   10843 vm_assets.go:204] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210159   10843 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210246   10843 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3935 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210333   10843 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 4045 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210396   10843 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3236 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210615   10843 vm_assets.go:204] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210677   10843 vm_assets.go:204] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210740   10843 vm_assets.go:204] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210921   10843 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.210975   10843 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.211124   10843 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.211203   10843 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.211341   10843 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.211523   10843 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.211587   10843 vm_assets.go:204] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.211970   10843 vm_assets.go:204] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.212074   10843 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.212251   10843 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.212924   10843 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3045 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.212992   10843 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.213293   10843 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 660 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.213347   10843 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.213420   10843 vm_assets.go:204] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.213478   10843 vm_assets.go:204] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.213530   10843 vm_assets.go:204] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 878 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.213687   10843 vm_assets.go:204] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.214139   10843 vm_assets.go:204] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.214385   10843 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.214570   10843 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.214645   10843 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.214712   10843 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.215254   10843 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.215420   10843 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-config.toml with 1790 bytes
ERROR: logging before flag.Parse: I0901 17:37:12.215468   10843 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-containerd-shim.toml with 90 bytes
--- FAIL: TestUnsetConfig (0.00s)
    unset_test.go:30: Failed to set the property "cpus"
    unset_test.go:35: Failed to read config "specified key could not be found in config"
    unset_test.go:39: Expected cpus to be 1 but got 
    unset_test.go:44: Failed to unset property "create /home/travis/.minikube/config/config.json: open /home/travis/.minikube/config/config.json: no such file or directory"
FAIL
coverage: 18.9% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd/config	0.045s
ok  	k8s.io/minikube/pkg/drivers	0.009s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.028s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.029s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	2.356s	coverage: 72.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.068s	coverage: 29.5% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.632s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.021s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.022s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.007s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.038s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.027s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.038s	coverage: 11.3% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.038s	coverage: 81.5% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.009s	coverage: 70.3% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.012s	coverage: 42.9% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.014s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.039s	coverage: 81.8% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.034s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.857s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.014s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	2.053s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	1.794s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.005s	coverage: 59.1% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.002s	coverage: 0.0% of statements
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 20
TravisBuddy Request Identifier: 3d6ba970-ccdf-11e9-a9d8-278aeb0f3435

@TravisBuddy
Copy link

Travis tests have failed

Hey @serhatcetinkaya,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
./test.sh
= go mod ================================================================
ok
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
cmd/minikube/cmd/start.go:853:8: WithCode not declared by package exit (typecheck)
		exit.WithCode(exit.Data, "Unable to parse oldest Kubernetes version from constants: %v", err)
		     ^
Makefile:323: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
# k8s.io/minikube/cmd/minikube/cmd [k8s.io/minikube/cmd/minikube/cmd.test]
cmd/minikube/cmd/start.go:853: undefined: exit.WithCode
cmd/minikube/cmd/start.go:861: undefined: exit.WithCode
FAIL	k8s.io/minikube/cmd/minikube/cmd [build failed]
ERROR: logging before flag.Parse: I0901 17:53:37.410405   10849 vm_assets.go:204] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.410795   10849 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.410863   10849 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.410904   10849 vm_assets.go:204] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.411230   10849 vm_assets.go:204] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.411287   10849 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.411378   10849 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3935 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.411485   10849 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 4045 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.411576   10849 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3236 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.411982   10849 vm_assets.go:204] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.412122   10849 vm_assets.go:204] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.412261   10849 vm_assets.go:204] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.412596   10849 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.412777   10849 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.413067   10849 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.413537   10849 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.416045   10849 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.416304   10849 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.416496   10849 vm_assets.go:204] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.416715   10849 vm_assets.go:204] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.416856   10849 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.417008   10849 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.417271   10849 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3045 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.417414   10849 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.417673   10849 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 660 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.417774   10849 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.417891   10849 vm_assets.go:204] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.417996   10849 vm_assets.go:204] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.418109   10849 vm_assets.go:204] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 878 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.418243   10849 vm_assets.go:204] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.418485   10849 vm_assets.go:204] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.418749   10849 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.419076   10849 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.419290   10849 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.419445   10849 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.419714   10849 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.419995   10849 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-config.toml with 1790 bytes
ERROR: logging before flag.Parse: I0901 17:53:37.420134   10849 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-containerd-shim.toml with 90 bytes
--- FAIL: TestUnsetConfig (0.00s)
    unset_test.go:30: Failed to set the property "cpus"
    unset_test.go:35: Failed to read config "specified key could not be found in config"
    unset_test.go:39: Expected cpus to be 1 but got 
    unset_test.go:44: Failed to unset property "create /home/travis/.minikube/config/config.json: open /home/travis/.minikube/config/config.json: no such file or directory"
FAIL
coverage: 18.9% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd/config	0.066s
ok  	k8s.io/minikube/pkg/drivers	0.013s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.049s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.041s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	3.355s	coverage: 72.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.086s	coverage: 29.5% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.700s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.026s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.009s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.008s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.052s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.037s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.034s	coverage: 11.3% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.033s	coverage: 81.5% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.033s	coverage: 70.3% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.005s	coverage: 42.9% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.027s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.013s	coverage: 81.8% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.058s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.350s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.006s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	2.195s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	2.266s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.004s	coverage: 59.1% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.002s	coverage: 0.0% of statements
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 20
TravisBuddy Request Identifier: 8d45a390-cce1-11e9-a9d8-278aeb0f3435

@TravisBuddy
Copy link

Travis tests have failed

Hey @serhatcetinkaya,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
./test.sh
= go mod ================================================================
ok
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
cmd/minikube/cmd/start.go:853:93: cannot use err (variable of type error) as out.V value in argument to exit.WithCodeT (typecheck)
		exit.WithCodeT(exit.Data, "Unable to parse oldest Kubernetes version from constants: %v", err)
		                                                                                          ^
Makefile:323: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
# k8s.io/minikube/cmd/minikube/cmd [k8s.io/minikube/cmd/minikube/cmd.test]
cmd/minikube/cmd/start.go:853: cannot use err (type error) as type out.V in argument to exit.WithCodeT
FAIL	k8s.io/minikube/cmd/minikube/cmd [build failed]
ERROR: logging before flag.Parse: I0901 17:57:17.890233   10769 vm_assets.go:204] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.890546   10769 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.890620   10769 vm_assets.go:204] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.890653   10769 vm_assets.go:204] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.890866   10769 vm_assets.go:204] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.890921   10769 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891010   10769 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3935 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891100   10769 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 4045 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891186   10769 vm_assets.go:204] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3236 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891531   10769 vm_assets.go:204] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891633   10769 vm_assets.go:204] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891685   10769 vm_assets.go:204] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891880   10769 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.891964   10769 vm_assets.go:204] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.892204   10769 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.892602   10769 vm_assets.go:204] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.893276   10769 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.893501   10769 vm_assets.go:204] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.893648   10769 vm_assets.go:204] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.893820   10769 vm_assets.go:204] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.893893   10769 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.894051   10769 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.894667   10769 vm_assets.go:204] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3045 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.894745   10769 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.894955   10769 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 660 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.895020   10769 vm_assets.go:204] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.895073   10769 vm_assets.go:204] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.895143   10769 vm_assets.go:204] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.895246   10769 vm_assets.go:204] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 878 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.895452   10769 vm_assets.go:204] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.896137   10769 vm_assets.go:204] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.896429   10769 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.896636   10769 vm_assets.go:204] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.896754   10769 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.896846   10769 vm_assets.go:204] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.897362   10769 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.897714   10769 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-config.toml with 1790 bytes
ERROR: logging before flag.Parse: I0901 17:57:17.897795   10769 vm_assets.go:204] Created asset deploy/addons/gvisor/gvisor-containerd-shim.toml with 90 bytes
--- FAIL: TestUnsetConfig (0.00s)
    unset_test.go:30: Failed to set the property "cpus"
    unset_test.go:35: Failed to read config "specified key could not be found in config"
    unset_test.go:39: Expected cpus to be 1 but got 
    unset_test.go:44: Failed to unset property "create /home/travis/.minikube/config/config.json: open /home/travis/.minikube/config/config.json: no such file or directory"
FAIL
coverage: 18.9% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd/config	0.046s
ok  	k8s.io/minikube/pkg/drivers	0.011s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.027s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.038s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	2.669s	coverage: 72.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.072s	coverage: 29.5% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.768s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.018s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.015s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.024s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.083s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.024s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.042s	coverage: 11.3% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.030s	coverage: 81.5% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.008s	coverage: 70.3% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.006s	coverage: 42.9% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.011s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.013s	coverage: 81.8% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.035s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.264s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.008s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.985s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	2.093s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.004s	coverage: 59.1% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.002s	coverage: 0.0% of statements
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 20
TravisBuddy Request Identifier: 0c9c0ee0-cce2-11e9-a9d8-278aeb0f3435

@TravisBuddy
Copy link

Travis tests have failed

Hey @serhatcetinkaya,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN=/home/travis/gopath/bin go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.12.9.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
./test.sh
= go mod ================================================================
ok
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
cmd/minikube/cmd/start.go:861: File is not `goimports`-ed (goimports)
		  exit.WithCodeT(exit.Data, "Sorry, Kubernetes {{.version}} is not supported by this release of minikube", out.V{"version": nvs})
Makefile:323: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
ok  	k8s.io/minikube/cmd/minikube/cmd	0.079s	coverage: 15.4% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.054s	coverage: 18.9% of statements
ok  	k8s.io/minikube/pkg/drivers	0.031s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.028s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.029s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	3.093s	coverage: 72.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.078s	coverage: 29.5% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.556s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.023s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.009s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.006s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.044s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.033s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.030s	coverage: 11.3% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.030s	coverage: 77.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.011s	coverage: 70.3% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.010s	coverage: 42.9% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.010s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.013s	coverage: 81.8% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.040s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.583s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.010s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	2.055s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	1.535s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.004s	coverage: 59.1% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.002s	coverage: 0.0% of statements
ok
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 4
TravisBuddy Request Identifier: 919ae200-cce3-11e9-a9d8-278aeb0f3435

@tstromberg tstromberg changed the title WIP: Compare specified kubernetes version with oldest supported version Exit if --kubernetes-version is older than the oldest supported version Sep 5, 2019
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 5, 2019
@tstromberg
Copy link
Contributor

Looks great. Thank you!

@tstromberg tstromberg merged commit 3457782 into kubernetes:master Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants