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

Move program data files onto persistent storage #5032

Merged
merged 16 commits into from
Aug 22, 2019

Conversation

tstromberg
Copy link
Contributor

@tstromberg tstromberg commented Aug 9, 2019

With this PR, minikube start is about 2 seconds slower on my MacBook Pro. There will be a follow-up PR that substantially increases performance by reusing these files rather than overwriting them each run, but I wanted to keep this PR on the smaller side.

Notable Changes

  • Binaries are stored in /var/lib/minikube/binaries (persistent) rather than /usr/bin
  • Images are stored in /var/lib/minikube/images (persistent) rather than /tmp
  • etcd data is stored in /var/lib/minikube/etcd instead of /data/minikube - leaving /data entirely for user data.
  • apiserver timeout error now reveals if the process ever came online to assist with debugging.
  • kubelet process is killed before upgrading the binary
  • sshrunner.Copy no longer removes targets, leaving room for the future persistence PR. It's also been simplified using errgroup.
  • Minor constants refactoring relating to affected paths. For example, constants referencing VM paths now have a "Guest" prefix:(constants.AddonsPath -> constants.GuestAddonsDir)

This PR closes #4097 and #3718
This PR helps with #3760 - but more work remains.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 9, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tstromberg

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

The pull request process is described 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 9, 2019
@tstromberg tstromberg changed the title Move program data files (images, binaries, certs) to /var/lib/minikube Move program data files onto persistent storage Aug 9, 2019
@medyagh
Copy link
Member

medyagh commented Aug 9, 2019

haven't reviewed yet but form the smells of it I could tell this is amazing !

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 9, 2019
@tstromberg tstromberg added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 14, 2019
@tstromberg tstromberg removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 16, 2019
@medyagh
Copy link
Member

medyagh commented Aug 16, 2019

one lint

pkg/minikube/bootstrapper/certs_test.go:66:2: undeclared name: `f` (typecheck)
	f.SetCommandToOutput(cmdMap)
	^
Makefile:308: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1

@medyagh
Copy link
Member

medyagh commented Aug 16, 2019

the fail for none test seems to be related to this PR: as I haven't seen it else where:

* Aug 16 23:00:16 kvm-integration-slave systemd[1]: Stopped kubelet: The Kubernetes Node Agent.
* 
X Error getting machine logs: unable to fetch logs for: kube-scheduler
* 
* Sorry that minikube crashed. 

@medyagh
Copy link
Member

medyagh commented Aug 18, 2019

/retest this please

@tstromberg
Copy link
Contributor Author

Current failures:

  • KVM_Linux: TestContainerd/GvisorRestart: Error configuring auth on host: OS type not recognized
  • VirtualBox_Linux: TestVersionUpgrade: Wait failed: waiting for component=etcd: timed out waiting for the condition
  • none_Linux: TestVersionUpgrade: Wait failed: waiting for k8s-app=kube-proxy: timed out waiting for the condition

I suspect that these are flakes, but it worries me to see multiple TestVersionUpgrade failures, especially as the etcd folder has moved, so I will confirm locally.

@tstromberg
Copy link
Contributor Author

tstromberg commented Aug 21, 2019

  • TestVersionUpgrade on none still fails:X Wait failed: waiting for k8s-app=kube-proxy: timed out waiting for the condition. I haven't been able to duplicate this in local testing.
  • VirtualBox passed,
  • KVM failed with unrelated flakes:
    TestDocker: Unable to start VM: detecting provisioner: OS type not recognized
    TestContainerd/GvisorRestart: Temporary Error: Error configuring auth on host: OS type not recognized
    TestStartStop/group/cni: Temporary Error: Error configuring auth on host: OS type not recognized

// AddonsPath is the default path of the addons configuration
const AddonsPath = "/etc/kubernetes/addons"
// GetProfileFile returns the Minikube profile config file
func GetProfileFile(profile string, miniHome ...string) string {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe rename to ProfileFile(...)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These unused functions must have been added by a bad merge. Removing.

// FilesPath is the default path of files
const FilesPath = "/files"
// GetProfilePath returns the Minikube profile path of config file
func GetProfilePath(profile string, miniHome ...string) string {
Copy link
Member

Choose a reason for hiding this comment

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

Same here, get rid of Get..

@TravisBuddy
Copy link

Travis tests have failed

Hey @tstromberg,
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
ok
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
ok  	k8s.io/minikube/cmd/minikube/cmd	0.070s	coverage: 15.7% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.047s	coverage: 18.9% of statements
ok  	k8s.io/minikube/pkg/drivers	0.009s	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.031s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	2.766s	coverage: 72.9% of statements
ERROR: logging before flag.Parse: I0822 00:27:50.787773   11525 vm_assets.go:205] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.787982   11525 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788067   11525 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788106   11525 vm_assets.go:205] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788259   11525 vm_assets.go:205] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788297   11525 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788371   11525 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3888 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788474   11525 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 3932 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788539   11525 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3145 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788753   11525 vm_assets.go:205] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788807   11525 vm_assets.go:205] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788851   11525 vm_assets.go:205] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.788989   11525 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789037   11525 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789171   11525 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789225   11525 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789347   11525 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789506   11525 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789583   11525 vm_assets.go:205] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789656   11525 vm_assets.go:205] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789725   11525 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789803   11525 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.789975   11525 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3056 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790043   11525 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790227   11525 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 671 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790304   11525 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790366   11525 vm_assets.go:205] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790410   11525 vm_assets.go:205] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790454   11525 vm_assets.go:205] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 754 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790504   11525 vm_assets.go:205] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790624   11525 vm_assets.go:205] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.790810   11525 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.799578   11525 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.799681   11525 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.799732   11525 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.799881   11525 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.800017   11525 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-config.toml with 1789 bytes
ERROR: logging before flag.Parse: I0822 00:27:50.800049   11525 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-containerd-shim.toml with 90 bytes
--- FAIL: TestGenerateKubeletConfig (0.00s)
    --- FAIL: TestGenerateKubeletConfig/newest_cri_runtime (0.00s)
        kubeadm_test.go:141: unexpected diff:
            --- Expected
            +++ Got
            @@ -5,3 +5,3 @@
             ExecStart=
            -ExecStart=/var/lib/minikube/binaries/v1.15.2/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver=cgroupfs --client-ca-file=/var/lib/minikube/certs/ca.crt --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --container-runtime=remote --container-runtime-endpoint=/var/run/crio/crio.sock --fail-swap-on=false --hostname-override=minikube --image-service-endpoint=/var/run/crio/crio.sock --kubeconfig=/etc/kubernetes/kubelet.conf --pod-manifest-path=/etc/kubernetes/manifests --runtime-request-timeout=15m
            +ExecStart=/var/lib/minikube/binaries/v1.16.0-beta.1/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver=cgroupfs --client-ca-file=/var/lib/minikube/certs/ca.crt --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --container-runtime=remote --container-runtime-endpoint=/var/run/crio/crio.sock --fail-swap-on=false --hostname-override=minikube --image-service-endpoint=/var/run/crio/crio.sock --kubeconfig=/etc/kubernetes/kubelet.conf --pod-manifest-path=/etc/kubernetes/manifests --runtime-request-timeout=15m
             
--- FAIL: TestGenerateConfig (0.02s)
    --- FAIL: TestGenerateConfig/default_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/crio_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/options_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -29,3 +29,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -36,3 +36,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/crio-options-gates_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd-api-port_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd-pod-network-cidr_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/image-repository_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -30,3 +30,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
FAIL
coverage: 30.0% of statements
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.090s
ok  	k8s.io/minikube/pkg/minikube/cluster	0.509s	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.008s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.011s	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.033s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.030s	coverage: 12.0% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.027s	coverage: 77.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.009s	coverage: 70.3% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.007s	coverage: 42.9% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.034s	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.054s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.295s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.006s	coverage: 8.4% of statements
TravisBuddy Request Identifier: bee3bcf0-c473-11e9-9094-9f1a962f5d6e

@TravisBuddy
Copy link

Travis tests have failed

Hey @tstromberg,
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
pkg/drivers/none/none.go:236:49: expected ';', found 'if' (typecheck)
		if !strings.Contains(out.String(), "dead") && if !strings.Contains(out.String(), "failed") {
		                                              ^
pkg/minikube/bootstrapper/kubeadm/kubeadm.go:460:5: undeclared name: `version` (typecheck)
	if version.LT(semver.MustParse("1.11.0")) {
	   ^
pkg/minikube/bootstrapper/kubeadm/kubeadm.go:461:3: cmd declared but not used (typecheck)
		cmd := fmt.Sprintf("%s reset", invokeKubeadm(k8s.KubernetesVersion))
		^
Makefile:323: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
# k8s.io/minikube/pkg/drivers/none
pkg/drivers/none/none.go:236:49: syntax error: unexpected if, expecting expression
FAIL	k8s.io/minikube/cmd/minikube/cmd [build failed]
FAIL	k8s.io/minikube/cmd/minikube/cmd/config [build failed]
ok  	k8s.io/minikube/pkg/drivers	0.008s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.062s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.036s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	2.992s	coverage: 72.9% of statements
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm [build failed]
FAIL	k8s.io/minikube/pkg/minikube/cluster [build failed]
ok  	k8s.io/minikube/pkg/minikube/config	0.033s	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.009s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.042s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.041s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.026s	coverage: 12.0% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	14.621s	coverage: 77.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.008s	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.006s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.011s	coverage: 81.8% of statements
FAIL	k8s.io/minikube/pkg/minikube/service [build failed]
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.266s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.004s	coverage: 8.4% of statements
FAIL	k8s.io/minikube/pkg/minikube/tunnel [build failed]
ok  	k8s.io/minikube/pkg/util	0.614s	coverage: 61.6% 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: 35c38fd0-c474-11e9-9094-9f1a962f5d6e

@TravisBuddy
Copy link

Travis tests have failed

Hey @tstromberg,
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
pkg/minikube/bootstrapper/kubeadm/kubeadm.go:460:5: undeclared name: `version` (typecheck)
	if version.LT(semver.MustParse("1.11.0")) {
	   ^
pkg/minikube/bootstrapper/kubeadm/kubeadm.go:461:3: cmd declared but not used (typecheck)
		cmd := fmt.Sprintf("%s reset", invokeKubeadm(k8s.KubernetesVersion))
		^
Makefile:323: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
# k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm
pkg/minikube/bootstrapper/kubeadm/kubeadm.go:460:5: undefined: version
FAIL	k8s.io/minikube/cmd/minikube/cmd [build failed]
ERROR: logging before flag.Parse: I0822 00:32:29.920551   10443 vm_assets.go:205] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.920877   10443 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.920939   10443 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921001   10443 vm_assets.go:205] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921210   10443 vm_assets.go:205] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921245   10443 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921336   10443 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3888 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921417   10443 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 3932 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921479   10443 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3145 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921751   10443 vm_assets.go:205] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921810   10443 vm_assets.go:205] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.921876   10443 vm_assets.go:205] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922072   10443 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922124   10443 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922315   10443 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922401   10443 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922579   10443 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922775   10443 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922839   10443 vm_assets.go:205] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.922904   10443 vm_assets.go:205] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.923425   10443 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.923715   10443 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.924352   10443 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3056 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.924477   10443 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.924936   10443 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 671 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.925010   10443 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.925099   10443 vm_assets.go:205] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.925163   10443 vm_assets.go:205] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.925266   10443 vm_assets.go:205] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 754 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.925360   10443 vm_assets.go:205] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.925759   10443 vm_assets.go:205] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.925996   10443 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.926182   10443 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.926267   10443 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.926373   10443 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.926989   10443 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.927177   10443 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-config.toml with 1789 bytes
ERROR: logging before flag.Parse: I0822 00:32:29.927243   10443 vm_assets.go:205] 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.071s
ok  	k8s.io/minikube/pkg/drivers	0.009s	coverage: 19.6% of statements
# k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm [k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm.test]
pkg/minikube/bootstrapper/kubeadm/kubeadm.go:460: undefined: version in version.LT
ok  	k8s.io/minikube/pkg/drivers/kvm	0.079s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.024s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	2.050s	coverage: 72.9% of statements
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm [build failed]
ok  	k8s.io/minikube/pkg/minikube/cluster	0.286s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.044s	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.010s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.051s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.028s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.031s	coverage: 12.0% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	14.625s	coverage: 77.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.009s	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.008s	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.028s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.150s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.004s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	2.006s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	1.541s	coverage: 61.6% 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: 71084a90-c474-11e9-9094-9f1a962f5d6e

@TravisBuddy
Copy link

Travis tests have failed

Hey @tstromberg,
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
ok
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
ok  	k8s.io/minikube/cmd/minikube/cmd	0.074s	coverage: 15.7% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.039s	coverage: 18.9% of statements
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	4.177s	coverage: 72.9% of statements
ERROR: logging before flag.Parse: I0822 00:39:33.296583   11583 vm_assets.go:205] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.296967   11583 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.297084   11583 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.297146   11583 vm_assets.go:205] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.297340   11583 vm_assets.go:205] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.297418   11583 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.297553   11583 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3888 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.297702   11583 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 3932 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.297826   11583 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3145 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.298145   11583 vm_assets.go:205] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.298265   11583 vm_assets.go:205] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.298341   11583 vm_assets.go:205] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.298577   11583 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.298686   11583 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.298874   11583 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.298961   11583 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.299174   11583 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.299386   11583 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.299504   11583 vm_assets.go:205] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.299625   11583 vm_assets.go:205] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.299764   11583 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.299881   11583 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300147   11583 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3056 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300271   11583 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300485   11583 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 671 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300587   11583 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300656   11583 vm_assets.go:205] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300718   11583 vm_assets.go:205] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300789   11583 vm_assets.go:205] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 754 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.300874   11583 vm_assets.go:205] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.301056   11583 vm_assets.go:205] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.301287   11583 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.305560   11583 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.305906   11583 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.305989   11583 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.306191   11583 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.306389   11583 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-config.toml with 1789 bytes
ERROR: logging before flag.Parse: I0822 00:39:33.306473   11583 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-containerd-shim.toml with 90 bytes
--- FAIL: TestGenerateKubeletConfig (0.00s)
    --- FAIL: TestGenerateKubeletConfig/newest_cri_runtime (0.00s)
        kubeadm_test.go:141: unexpected diff:
            --- Expected
            +++ Got
            @@ -5,3 +5,3 @@
             ExecStart=
            -ExecStart=/var/lib/minikube/binaries/v1.15.2/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver=cgroupfs --client-ca-file=/var/lib/minikube/certs/ca.crt --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --container-runtime=remote --container-runtime-endpoint=/var/run/crio/crio.sock --fail-swap-on=false --hostname-override=minikube --image-service-endpoint=/var/run/crio/crio.sock --kubeconfig=/etc/kubernetes/kubelet.conf --pod-manifest-path=/etc/kubernetes/manifests --runtime-request-timeout=15m
            +ExecStart=/var/lib/minikube/binaries/v1.16.0-beta.1/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver=cgroupfs --client-ca-file=/var/lib/minikube/certs/ca.crt --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --container-runtime=remote --container-runtime-endpoint=/var/run/crio/crio.sock --fail-swap-on=false --hostname-override=minikube --image-service-endpoint=/var/run/crio/crio.sock --kubeconfig=/etc/kubernetes/kubelet.conf --pod-manifest-path=/etc/kubernetes/manifests --runtime-request-timeout=15m
             
--- FAIL: TestGenerateConfig (0.02s)
    --- FAIL: TestGenerateConfig/default_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/crio_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/options_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -29,3 +29,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -36,3 +36,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/crio-options-gates_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd-api-port_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd-pod-network-cidr_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/image-repository_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -30,3 +30,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
FAIL
coverage: 29.6% of statements
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.089s
ok  	k8s.io/minikube/pkg/minikube/cluster	0.683s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.022s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.029s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.019s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.039s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.038s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.039s	coverage: 12.0% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.046s	coverage: 77.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.010s	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.017s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.040s	coverage: 81.8% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.037s	coverage: 35.9% of statements
--- FAIL: TestNewSSHClient (0.42s)
    ssh_mock.go:173: Listening on 127.0.0.1:44985
    ssh_mock.go:83: Accepting...
    ssh_mock.go:83: Accepting...
    ssh_mock.go:132: exec request received: &{Type:exec WantReply:true Payload:[0 0 0 3 102 111 111] ch:0xc0001320c0 mux:<nil>}
    sshutil_test.go:60: Error running "foo": wait: remote command exited without exit status or exit signal
    ssh_mock.go:189: Stopping
FAIL
coverage: 75.0% of statements
FAIL	k8s.io/minikube/pkg/minikube/sshutil	0.431s
ok  	k8s.io/minikube/pkg/minikube/translate	0.005s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.822s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	0.870s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.011s	coverage: 0.0% of statements
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 16
TravisBuddy Request Identifier: 6189cf70-c475-11e9-9094-9f1a962f5d6e

@TravisBuddy
Copy link

Travis tests have failed

Hey @tstromberg,
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
ok
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
ok  	k8s.io/minikube/cmd/minikube/cmd	0.083s	coverage: 15.7% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.049s	coverage: 18.9% of statements
ok  	k8s.io/minikube/pkg/drivers	0.009s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.048s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/assets	0.031s	coverage: 61.8% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	2.816s	coverage: 72.9% of statements
ERROR: logging before flag.Parse: I0822 00:49:14.929106   11557 vm_assets.go:205] Created asset deploy/addons/addon-manager.yaml.tmpl with 1452 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.929398   11557 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-dp.yaml.tmpl with 1605 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.929469   11557 vm_assets.go:205] Created asset deploy/addons/dashboard/dashboard-svc.yaml.tmpl with 979 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.929513   11557 vm_assets.go:205] Created asset deploy/addons/storageclass/storageclass.yaml.tmpl with 271 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.929718   11557 vm_assets.go:205] Created asset deploy/addons/storage-provisioner/storage-provisioner.yaml.tmpl with 1755 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.929763   11557 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-gluster-ns.yaml.tmpl with 230 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.929834   11557 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/glusterfs-daemonset.yaml.tmpl with 3888 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.929944   11557 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/heketi-deployment.yaml.tmpl with 3932 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.930019   11557 vm_assets.go:205] Created asset deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl with 3145 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.930351   11557 vm_assets.go:205] Created asset deploy/addons/heapster/influx-grafana-rc.yaml.tmpl with 2540 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.930441   11557 vm_assets.go:205] Created asset deploy/addons/heapster/grafana-svc.yaml.tmpl with 1085 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.930532   11557 vm_assets.go:205] Created asset deploy/addons/heapster/influxdb-svc.yaml.tmpl with 1048 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.930787   11557 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-rc.yaml.tmpl with 1651 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.930885   11557 vm_assets.go:205] Created asset deploy/addons/heapster/heapster-svc.yaml.tmpl with 1006 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.931107   11557 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-rc.yaml.tmpl with 2209 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.931229   11557 vm_assets.go:205] Created asset deploy/addons/efk/elasticsearch-svc.yaml.tmpl with 947 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.931421   11557 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-rc.yaml.tmpl with 2096 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.931636   11557 vm_assets.go:205] Created asset deploy/addons/efk/fluentd-es-configmap.yaml.tmpl with 9863 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.931758   11557 vm_assets.go:205] Created asset deploy/addons/efk/kibana-rc.yaml.tmpl with 1606 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.931910   11557 vm_assets.go:205] Created asset deploy/addons/efk/kibana-svc.yaml.tmpl with 1011 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932025   11557 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-configmap.yaml.tmpl with 1281 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932174   11557 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-rbac.yaml.tmpl with 2575 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932413   11557 vm_assets.go:205] Created asset deploy/addons/ingress/ingress-dp.yaml.tmpl with 3056 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932521   11557 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-apiservice.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932747   11557 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-deployment.yaml.tmpl with 671 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932815   11557 vm_assets.go:205] Created asset deploy/addons/metrics-server/metrics-server-service.yaml.tmpl with 401 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932891   11557 vm_assets.go:205] Created asset deploy/addons/registry/registry-rc.yaml.tmpl with 748 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.932963   11557 vm_assets.go:205] Created asset deploy/addons/registry/registry-svc.yaml.tmpl with 333 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.933036   11557 vm_assets.go:205] Created asset deploy/addons/registry/registry-proxy.yaml.tmpl with 754 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.933122   11557 vm_assets.go:205] Created asset deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl with 2868 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.933631   11557 vm_assets.go:205] Created asset deploy/addons/freshpod/freshpod-rc.yaml.tmpl with 1437 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.934247   11557 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-driver-installer.yaml.tmpl with 2487 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.934455   11557 vm_assets.go:205] Created asset deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl with 2111 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.934587   11557 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-dp-and-svc.yaml.tmpl with 1942 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.934694   11557 vm_assets.go:205] Created asset deploy/addons/logviewer/logviewer-rbac.yaml.tmpl with 1064 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.935200   11557 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-pod.yaml.tmpl with 1944 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.935499   11557 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-config.toml with 1789 bytes
ERROR: logging before flag.Parse: I0822 00:49:14.935577   11557 vm_assets.go:205] Created asset deploy/addons/gvisor/gvisor-containerd-shim.toml with 90 bytes
--- FAIL: TestGenerateKubeletConfig (0.00s)
    --- FAIL: TestGenerateKubeletConfig/newest_cri_runtime (0.00s)
        kubeadm_test.go:141: unexpected diff:
            --- Expected
            +++ Got
            @@ -5,3 +5,3 @@
             ExecStart=
            -ExecStart=/var/lib/minikube/binaries/v1.15.2/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver=cgroupfs --client-ca-file=/var/lib/minikube/certs/ca.crt --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --container-runtime=remote --container-runtime-endpoint=/var/run/crio/crio.sock --fail-swap-on=false --hostname-override=minikube --image-service-endpoint=/var/run/crio/crio.sock --kubeconfig=/etc/kubernetes/kubelet.conf --pod-manifest-path=/etc/kubernetes/manifests --runtime-request-timeout=15m
            +ExecStart=/var/lib/minikube/binaries/v1.16.0-beta.1/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver=cgroupfs --client-ca-file=/var/lib/minikube/certs/ca.crt --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --container-runtime=remote --container-runtime-endpoint=/var/run/crio/crio.sock --fail-swap-on=false --hostname-override=minikube --image-service-endpoint=/var/run/crio/crio.sock --kubeconfig=/etc/kubernetes/kubelet.conf --pod-manifest-path=/etc/kubernetes/manifests --runtime-request-timeout=15m
             
--- FAIL: TestGenerateConfig (0.01s)
    --- FAIL: TestGenerateConfig/default_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/crio_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/options_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -29,3 +29,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -36,3 +36,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
            controllerManager:
              extraArgs:
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                scheduler-name: "mini-scheduler"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/crio-options-gates_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -32,3 +32,3 @@
                 scheduler-name: "mini-scheduler"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -39,3 +39,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/crio/crio.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
                fail-no-swap: "true"
                feature-gates: "a=b"
            controllerManager:
              extraArgs:
                feature-gates: "a=b"
                kube-api-burst: "32"
            scheduler:
              extraArgs:
                feature-gates: "a=b"
                scheduler-name: "mini-scheduler"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd-api-port_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 12345
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:12345
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/containerd-pod-network-cidr_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -22,3 +22,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -29,3 +29,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /run/containerd/containerd.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
    --- FAIL: TestGenerateConfig/image-repository_v1.16 (0.00s)
        kubeadm_test.go:274: unexpected diff:
            --- Expected
            +++ Got
            @@ -23,3 +23,3 @@
                 enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            -certificatesDir: /var/lib/minikube/certs/
            +certificatesDir: /var/lib/minikube/certs
             clusterName: kubernetes
            @@ -30,3 +30,3 @@
               local:
            -    dataDir: /data/minikube
            +    dataDir: /var/lib/minikube/etcd
             kubernetesVersion: v1.16.0
            
            ===== [RAW OUTPUT] =====
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: InitConfiguration
            localAPIEndpoint:
              advertiseAddress: 1.1.1.1
              bindPort: 8443
            bootstrapTokens:
              - groups:
                  - system:bootstrappers:kubeadm:default-node-token
                ttl: 24h0m0s
                usages:
                  - signing
                  - authentication
            nodeRegistration:
              criSocket: /var/run/dockershim.sock
              name: mk
              taints: []
            ---
            apiVersion: kubeadm.k8s.io/v1beta1
            kind: ClusterConfiguration
            imageRepository: test/repo
            apiServer:
              extraArgs:
                enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
            certificatesDir: /var/lib/minikube/certs
            clusterName: kubernetes
            controlPlaneEndpoint: localhost:8443
            dns:
              type: CoreDNS
            etcd:
              local:
                dataDir: /var/lib/minikube/etcd
            kubernetesVersion: v1.16.0
            networking:
              dnsDomain: cluster.local
              podSubnet: ""
              serviceSubnet: 10.96.0.0/12
            ---
            apiVersion: kubelet.config.k8s.io/v1beta1
            kind: KubeletConfiguration
            imageGCHighThresholdPercent: 100
            evictionHard:
              nodefs.available: "0%"
              nodefs.inodesFree: "0%"
              imagefs.available: "0%"
FAIL
coverage: 29.6% of statements
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.097s
ok  	k8s.io/minikube/pkg/minikube/cluster	0.190s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.038s	coverage: 76.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.012s	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.038s	coverage: 75.6% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.035s	coverage: 1.5% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	0.031s	coverage: 12.0% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.034s	coverage: 77.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.015s	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.007s	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.032s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/sshutil	0.254s	coverage: 75.0% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.007s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.984s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	1.765s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.004s	coverage: 0.0% of statements
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 16
TravisBuddy Request Identifier: bc99eca0-c476-11e9-9094-9f1a962f5d6e

@TravisBuddy
Copy link

Travis tests have failed

Hey @tstromberg,
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
ok
= boilerplate ===========================================================
ok
= schema_check ==========================================================
ok
= go test ===============================================================
ok  	k8s.io/minikube/cmd/minikube/cmd	0.060s	coverage: 15.7% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.052s	coverage: 18.9% of statements
ok  	k8s.io/minikube/pkg/drivers	0.025s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.035s	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.125s	coverage: 72.9% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/kubeadm	0.066s	coverage: 29.6% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.513s	coverage: 54.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.027s	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.011s	coverage: 56.7% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.042s	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.028s	coverage: 12.0% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.032s	coverage: 77.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.010s	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.012s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.049s	coverage: 81.8% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.049s	coverage: 35.9% of statements
--- FAIL: TestNewSSHClient (0.86s)
    ssh_mock.go:173: Listening on 127.0.0.1:41353
    ssh_mock.go:83: Accepting...
    ssh_mock.go:83: Accepting...
    ssh_mock.go:132: exec request received: &{Type:exec WantReply:true Payload:[0 0 0 3 102 111 111] ch:0xc0001320c0 mux:<nil>}
    sshutil_test.go:60: Error running "foo": wait: remote command exited without exit status or exit signal
    ssh_mock.go:189: Stopping
FAIL
coverage: 75.0% of statements
FAIL	k8s.io/minikube/pkg/minikube/sshutil	0.869s
ok  	k8s.io/minikube/pkg/minikube/translate	0.021s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.923s	coverage: 64.5% of statements
ok  	k8s.io/minikube/pkg/util	1.100s	coverage: 61.6% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.003s	coverage: 0.0% of statements
Makefile:229: recipe for target 'test' failed
make: *** [test] Error 16
TravisBuddy Request Identifier: 28a41250-c480-11e9-9094-9f1a962f5d6e

@medyagh
Copy link
Member

medyagh commented Aug 22, 2019

awww thanks @TravisBuddy

@tstromberg
Copy link
Contributor Author

Unrelated flakes, merging.

@tstromberg tstromberg merged commit 86e67d8 into kubernetes:master Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cache add: transferring cached image: Process exited with status 137 from signal KILL
4 participants