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

docker/podman: warn if allocated memory is below limit #8718

Merged
merged 16 commits into from
Jul 20, 2020

Conversation

medyagh
Copy link
Member

@medyagh medyagh commented Jul 14, 2020

closes #8540 and #7980

1

Before This PR setting memory Memory=50000000MB

$ minikube start --driver=docker --memory=50000000mb
😄  minikube v1.12.0-beta.1 on Darwin 10.15.5
👍  Starting control plane node minikube in cluster minikube
🔥  Creating docker container (CPUs=2, Memory=50000000MB) ...
🐳  Preparing Kubernetes v1.18.3 on Docker 19.03.2 ...
... 
...(continues happily without knowing)
...

After this PR setting memory to higher than what is available:

./out/minikube start --driver=docker --memory=50000000mb
make: `out/minikube' is up to date.
medya@~/workspace/minikube (check_docker_deskop) $ ./out/minikube start --driver=docker --memory=50000000mb
😄  minikube v1.12.0 on Darwin 10.15.5
✨  Using the docker driver based on user configuration
💡  Docker for Desktop has only 3436MB memory but you specified 50000000mb

Exits with Usage Error

2

Before this PR with less than 2 GB memory in docker desktop

(goes un-detected)


medya@~/workspace/minikube (check_docker_deskop) $ minikube start --driver=docker 
😄  minikube v1.12.0-beta.1 on Darwin 10.15.5
✨  Using the docker driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating docker container (CPUs=2, Memory=1739MB) ...
🐳  Preparing Kubernetes v1.18.3 on Docker 19.03.2 ...
🔎  Verifying Kubernetes components...
🌟  Enabled addons: default-storageclass, storage-pro

After this PR with less than 2 GB memory in docker desktop

12.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="9acc975e176445267e20b644c0f180b667c05065-dirty"" -o out/minikube k8s.io/minikube/cmd/minikube
😄  minikube v1.12.0 on Darwin 10.15.5
✨  Using the docker driver based on user configuration
📌  Requested memory allocation (1739MB) is less than the recommended minimum 2000MB. Kubernetes may crash unexpectedly.
💡  Increase memory to at least 2.5 GB or more:

        Docker for Desktop > Settings > Resources > Memory


👍  Starting control plane node minikube in cluster minikube
🔥  Creating docker container (CPUs=2, Memory=1739MB) ...
🐳  Preparing Kubernetes v1.18.3 on Docker 19.03.2 ...
🔎  Verifying Kubernetes components...
🌟  Enabled addons: default-storageclass, storage-provisioner
🏄  Done! kubectl is now configured to use "minikube"

3

Suggest user to increase docker desktop memory if user has at least 8 GB system memory

After this PR

😄  minikube v1.12.0 on Darwin 10.15.5
✨  Using the docker driver based on user configuration
💡  Your system has 16384MB memory but Docker has only 2745MB. For a better performance increase to at least 3 GB.

        Docker for Desktop  > Settings > Resources > Memory


👍  Starting control plane node minikube in cluster minikube
🔥  Creating docker container (CPUs=2, Memory=2697MB) ...
🐳  Preparing Kubernetes v1.18.3 on Docker 19.03.2 ...
🔎  Verifying Kubernetes components...
🌟  Enabled addons: default-storageclass, storage-provisioner
🏄  Done! kubectl is now configured to use "minikube"````

4 CPU

Before this PR with 1 CPU in docker

😄  minikube v1.12.0 on Darwin 10.15.5
✨  Using the docker driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating docker container (CPUs=2, Memory=2697MB) ...
🤦  StartHost failed, but will try again: creating host: create: creating: create kic node: create container: not enough CPUs is available for container
🤷  docker "minikube" container is missing, will recreate.
🔥  Creating docker container (CPUs=2, Memory=2697MB) ...
😿  Failed to start docker container. "minikube start" may fix it: recreate: creating host: create: creating: create kic node: create container: not enough CPUs is available for container

💥  docker doesn't have enough CPUs. 
❗  Please consider changing your Docker Desktop's resources.
📘  https://docs.docker.com/config/containers/resource_constraints/
💡  Ensure your docker system has enough CPUs. The minimum allowed is 2 CPUs.

After this PR with a docker desktop with only 1 CPUs

😄  minikube v1.12.0 on Darwin 10.15.5
✨  Using the docker driver based on user configuration
💥  Your Docker Desktop has less than 2 CPUs. Increase CPUs for Docker Desktop. 

        Docker icon > Settings > Resources > CPUs


📘  https://docs.docker.com/config/containers/resource_constraints/
💡  Ensure your Docker for Desktop system has enough CPUs. The minimum allowed is 2 CPUs

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 14, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 14, 2020
@TravisBuddy
Copy link

Travis tests have failed

Hey @medyagh,
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.14.4.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.14.4.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
MINIKUBE_LDFLAGS="-X k8s.io/minikube/pkg/version.version=v1.12.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.12.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="9e3a91f7e2e88a9001b82c836594799579194663"" ./test.sh
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.26.0'
golangci/golangci-lint info found version: 1.26.0 for v1.26.0/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
cmd/minikube/cmd/start.go:766:67: captLocal: `CPUs' should not be capitalized (gocritic)
func myabeAdviceDockerResources(containerLimit int, sysLimit int, CPUs int, drvName string) {
                                                                  ^
Makefile:390: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 1
= go mod ================================================================
ok
= boilerplate ===========================================================
ok
Makefile:274: recipe for target 'test' failed
make: *** [test] Error 4
TravisBuddy Request Identifier: daaed0c0-c565-11ea-af19-3b271fec1f42

@medyagh
Copy link
Member Author

medyagh commented Jul 14, 2020

this PR made this windows integration machine be revlead

2020-07-14T00:22:41.0201512Z                 -- stdout --
2020-07-14T00:22:41.0214135Z                 	* Using the docker driver based on user configuration
2020-07-14T00:22:41.0217251Z                 	* Your system has 32767mb memory but Docker has only 1991mb. For a better performance increase to at least 3 GB.
2020-07-14T00:22:41.0219411Z                 	
2020-07-14T00:22:41.0222682Z                 		Docker Icon > Settings > Resources > Memory
2020-07-14T00:22:41.0225083Z                 	
2020-07-14T00:22:41.0228294Z                 	
2020-07-14T00:22:41.0231464Z                 
2020-07-14T00:22:41.0234903Z                 -- /stdout --
2020-07-14T00:22:41.0236746Z                 ** stderr ** 
2020-07-14T00:22:41.0239765Z                 	* docker service has only 1991mb memory but you specified 2800mb
2020-07-14T00:22:41.0242136Z                 
2020-07-14T00:22:41.0245030Z                 ** /stderr **

I had forgotten to increase the memory in one of the windows CI machines.

cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start_flags.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 14, 2020
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
@@ -813,12 +817,28 @@ func validateMemorySize() {
out.T(out.Notice, "Requested memory allocation ({{.requested}}MB) is less than the recommended minimum {{.recommended}}MB. Kubernetes may crash unexpectedly.",
out.V{"requested": req, "recommended": minRecommendedMem})
}

if driver.IsDockerDesktop(drvName) {
if containerLimit < 1991 {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this re-use minRecommendedMem?

Copy link
Member Author

Choose a reason for hiding this comment

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

docker info for when it is 2 GB:
Total Memory: 1.945GiB

cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start_flags.go Outdated Show resolved Hide resolved
pkg/minikube/driver/driver.go Outdated Show resolved Hide resolved
pkg/minikube/driver/driver.go Outdated Show resolved Hide resolved
pkg/minikube/driver/driver.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
@medyagh medyagh requested a review from tstromberg July 15, 2020 21:34
@TravisBuddy
Copy link

Travis tests have failed

Hey @medyagh,
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.14.4.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.14.4.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
MINIKUBE_LDFLAGS="-X k8s.io/minikube/pkg/version.version=v1.12.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.12.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="2b62a27f8e0031d11c7420120a2cd63616c471ce"" ./test.sh
= schema_check ==========================================================
go: downloading github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
ok
= go test ===============================================================
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading k8s.io/api v0.17.3
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/otiai10/copy v1.0.2
go: downloading golang.org/x/text v0.3.2
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading google.golang.org/api v0.25.0
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/spf13/afero v1.2.2
go: downloading go.opencensus.io v0.22.3
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading github.com/spf13/cast v1.3.1
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading k8s.io/kubernetes v1.17.3
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/prometheus/client_golang v1.1.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/google/gofuzz v1.0.0
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/prometheus/common v0.6.0
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/json-iterator/go v1.1.8
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/prometheus/procfs v0.0.5
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/magiconair/properties v1.8.1
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading github.com/google/go-cmp v0.4.1
go: downloading go.uber.org/zap v1.10.0
go: downloading k8s.io/kube-proxy v0.17.3
go: downloading github.com/miekg/dns v1.1.4
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading k8s.io/kubelet v0.17.3
go: downloading github.com/beorn7/perks v1.0.1
go: downloading go.uber.org/atomic v1.4.0
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
ok  	k8s.io/minikube/cmd/minikube/cmd	3.649s	coverage: 19.8% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.166s	coverage: 21.5% of statements
ok  	k8s.io/minikube/pkg/addons	0.068s	coverage: 53.5% of statements
ok  	k8s.io/minikube/pkg/drivers	0.008s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.009s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kic/oci	0.013s	coverage: 0.0% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.022s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	0.415s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.101s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.014s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.011s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.079s	coverage: 16.7% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.023s	coverage: 4.3% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.163s	coverage: 70.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.032s	coverage: 40.1% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.031s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.019s	coverage: 34.9% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.007s	coverage: 58.8% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.023s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.031s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.007s	coverage: 51.9% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.041s	coverage: 1.3% of statements
127.0.0.1:33777
I0715 21:39:43.420895   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:43.428386   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:43.428511   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:43.428604   13805 start.go:163] duration metric: libmachine.API.Create for "" took 93.135µs
I0715 21:39:43.428618   13805 start.go:204] post-start starting for "mock-machine-0.60466029" (driver="mock")
I0715 21:39:43.428624   13805 start.go:207] post-start completed in 483ns
I0715 21:39:43.429008   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.60466029/config.json ...
I0715 21:39:43.429152   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.60466029/config.json: {Name:mk6ddc543c25830eb7ac50c7a49e88d46a6e6ce3 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:43.429328   13805 start.go:125] duration metric: createHost completed in 8.403507ms
I0715 21:39:43.429437   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:43.429905   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:43.429972   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:43.430030   13805 start.go:163] duration metric: libmachine.API.Create for "" took 57.993µs
I0715 21:39:43.430041   13805 start.go:204] post-start starting for "mock-machine-0.94050909" (driver="mock")
I0715 21:39:43.430048   13805 start.go:207] post-start completed in 198ns
I0715 21:39:43.430129   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.94050909/config.json ...
I0715 21:39:43.430202   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.94050909/config.json: {Name:mk78c32e77703666961199d16ed44e30d673518f Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:43.430322   13805 start.go:125] duration metric: createHost completed in 873.293µs
I0715 21:39:43.430357   13805 start.go:241] acquiring machines lock for mock-machine-0.94050909: {Name:mkc9313f9b920c92bfcf38f6c1baea0890d54339 Clock:{} Delay:500ms Timeout:15m0s Cancel:<nil>}
I0715 21:39:43.430417   13805 start.go:245] acquired machines lock for "mock-machine-0.94050909" in 47.035µs
I0715 21:39:43.430431   13805 start.go:89] Skipping create...Using existing machine configuration
I0715 21:39:43.430445   13805 fix.go:53] fixHost starting: mock-machine-0.94050909
I0715 21:39:43.430489   13805 fix.go:105] recreateIfNeeded on mock-machine-0.94050909: state=Running err=<nil>
W0715 21:39:43.430500   13805 fix.go:131] unexpected machine state, will restart: <nil>
W0715 21:39:43.430605   13805 out.go:100] [unset outFile]: * Updating the running mock "mock-machine-0.94050909" bare metal machine ...
I0715 21:39:43.430617   13805 fix.go:55] fixHost completed within 175.57µs
I0715 21:39:43.430626   13805 start.go:76] releasing machines lock for "mock-machine-0.94050909", held for 192.91µs
I0715 21:39:43.430715   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:43.431219   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:43.431274   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:43.431358   13805 start.go:163] duration metric: libmachine.API.Create for "" took 62.544µs
I0715 21:39:43.431365   13805 start.go:204] post-start starting for "mock-machine-0.66456005" (driver="mock")
I0715 21:39:43.431371   13805 start.go:207] post-start completed in 464ns
I0715 21:39:43.431444   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.66456005/config.json ...
I0715 21:39:43.431504   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.66456005/config.json: {Name:mke9f832495ee2041ca0860dbdc6cdf6f7fe6ca4 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:43.431609   13805 start.go:125] duration metric: createHost completed in 884.157µs
I0715 21:39:43.431630   13805 start.go:241] acquiring machines lock for mock-machine-0.66456005: {Name:mkc9313f9b920c92bfcf38f6c1baea0890d54339 Clock:{} Delay:500ms Timeout:15m0s Cancel:<nil>}
I0715 21:39:43.431671   13805 start.go:245] acquired machines lock for "mock-machine-0.66456005" in 30.237µs
I0715 21:39:43.431682   13805 start.go:89] Skipping create...Using existing machine configuration
I0715 21:39:43.431687   13805 fix.go:53] fixHost starting: mock-machine-0.66456005
I0715 21:39:43.431734   13805 fix.go:105] recreateIfNeeded on mock-machine-0.66456005: state=Error err=machine does not exist
I0715 21:39:43.431748   13805 fix.go:110] machineExists: false. err=machine does not exist
W0715 21:39:43.431847   13805 out.go:100] [unset outFile]: * mock "mock-machine-0.66456005" bare metal machine is missing, will recreate.
I0715 21:39:43.431864   13805 delete.go:123] DEMOLISHING mock-machine-0.66456005 ...
Stopping "mock-machine-0.66456005"...
Error getting machine state: machine does not exist
Machine "mock-machine-0.66456005" was stopped.
I0715 21:39:43.431955   13805 stop.go:64] duration metric: stop complete within 80.154µs
W0715 21:39:43.432074   13805 out.go:100] [unset outFile]: * Deleting "mock-machine-0.66456005" in mock ...
W0715 21:39:43.432109   13805 delete.go:138] delete failed (probably ok) <nil>
I0715 21:39:43.432116   13805 fix.go:117] Sleeping 1 second for extra luck!
I0715 21:39:44.432289   13805 start.go:122] createHost starting for "mock-machine-0.66456005" (driver="mock")
W0715 21:39:44.432822   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.432937   13805 start.go:158] libmachine.API.Create for "mock-machine-0.66456005" (driver="mock")
I0715 21:39:44.433012   13805 start.go:163] duration metric: libmachine.API.Create for "mock-machine-0.66456005" took 75.705µs
I0715 21:39:44.433021   13805 start.go:204] post-start starting for "mock-machine-0.43771419" (driver="mock")
I0715 21:39:44.433026   13805 start.go:207] post-start completed in 200ns
I0715 21:39:44.433136   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.43771419/config.json ...
I0715 21:39:44.433200   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.43771419/config.json: {Name:mkd4c174a1c92f327e52ec29d72116fb28c28943 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.433314   13805 start.go:125] duration metric: createHost completed in 999.876µs
W0715 21:39:44.433348   13805 fix.go:131] unexpected machine state, will restart: <nil>
I0715 21:39:44.433367   13805 fix.go:55] fixHost completed within 1.00168049s
I0715 21:39:44.433376   13805 start.go:76] releasing machines lock for "mock-machine-0.66456005", held for 1.00169372s
I0715 21:39:44.433405   13805 start.go:241] acquiring machines lock for mock-machine-0.43771419-mock-machine-0.43771419: {Name:mkc9313f9b920c92bfcf38f6c1baea0890d54339 Clock:{} Delay:500ms Timeout:15m0s Cancel:<nil>}
I0715 21:39:44.433453   13805 start.go:245] acquired machines lock for "mock-machine-0.43771419-mock-machine-0.43771419" in 34.909µs
I0715 21:39:44.433464   13805 start.go:85] Provisioning new machine with config: &{Name:mock-machine-0.43771419 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage: Memory:0 CPUs:0 DiskSize:0 Driver:mock HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[MOCK_MAKE_IT_PROVISION=true] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR: HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork: KVMQemuURI: KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot: UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:false HostOnlyNicType: NatNicType: KubernetesConfig:{KubernetesVersion: ClusterName: APIServerName: APIServerNames:[] APIServerIPs:[] DNSDomain: ContainerRuntime: CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR: ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:0 NodeName:} Nodes:[{Name:minikube IP:127.0.0.1 Port:0 KubernetesVersion: ControlPlane:false Worker:false} {Name:mock-machine-0.66456005 IP:127.0.0.1 Port:0 KubernetesVersion: ControlPlane:false Worker:false}] Addons:map[] VerifyComponents:map[]} &{Name:mock-machine-0.43771419 IP:127.0.0.1 Port:0 KubernetesVersion: ControlPlane:false Worker:false}
I0715 21:39:44.433527   13805 start.go:122] createHost starting for "mock-machine-0.43771419" (driver="mock")
W0715 21:39:44.433913   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.433971   13805 start.go:158] libmachine.API.Create for "mock-machine-0.43771419" (driver="mock")
I0715 21:39:44.434029   13805 start.go:163] duration metric: libmachine.API.Create for "mock-machine-0.43771419" took 57.219µs
I0715 21:39:44.434035   13805 start.go:204] post-start starting for "mock-machine-0.42463750" (driver="mock")
I0715 21:39:44.434039   13805 start.go:207] post-start completed in 213ns
I0715 21:39:44.434122   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.42463750/config.json ...
I0715 21:39:44.434178   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.42463750/config.json: {Name:mk5c28cc0682c9f96626ea46d206ac7fec5c9669 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.434294   13805 start.go:125] duration metric: createHost completed in 751.682µs
I0715 21:39:44.434300   13805 start.go:76] releasing machines lock for "mock-machine-0.43771419-mock-machine-0.43771419", held for 836.806µs
I0715 21:39:44.434391   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.434878   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.434960   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.435054   13805 start.go:163] duration metric: libmachine.API.Create for "" took 93.958µs
I0715 21:39:44.435068   13805 start.go:204] post-start starting for "mock-machine-0.68682307" (driver="mock")
I0715 21:39:44.435097   13805 start.go:207] post-start completed in 173ns
I0715 21:39:44.435197   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.68682307/config.json ...
I0715 21:39:44.435277   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.68682307/config.json: {Name:mk2afa6b0c71ee45c24cdc5b7949513757acdbc9 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.435448   13805 start.go:125] duration metric: createHost completed in 1.047112ms
I0715 21:39:44.435472   13805 start.go:241] acquiring machines lock for mock-machine-0.68682307: {Name:mkc9313f9b920c92bfcf38f6c1baea0890d54339 Clock:{} Delay:500ms Timeout:15m0s Cancel:<nil>}
I0715 21:39:44.435532   13805 start.go:245] acquired machines lock for "mock-machine-0.68682307" in 46.133µs
I0715 21:39:44.435546   13805 start.go:89] Skipping create...Using existing machine configuration
I0715 21:39:44.435576   13805 fix.go:53] fixHost starting: mock-machine-0.68682307
I0715 21:39:44.435625   13805 fix.go:105] recreateIfNeeded on mock-machine-0.68682307: state=Stopped err=<nil>
W0715 21:39:44.435656   13805 fix.go:131] unexpected machine state, will restart: <nil>
W0715 21:39:44.435785   13805 out.go:100] [unset outFile]: * Restarting existing mock bare metal machine for "mock-machine-0.68682307" ...
I0715 21:39:44.435896   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.68682307/config.json ...
I0715 21:39:44.436045   13805 fix.go:55] fixHost completed within 487.68µs
I0715 21:39:44.436051   13805 start.go:76] releasing machines lock for "mock-machine-0.68682307", held for 506.081µs
I0715 21:39:44.436130   13805 start.go:241] acquiring machines lock for : {Name:mkc9313f9b920c92bfcf38f6c1baea0890d54339 Clock:{} Delay:500ms Timeout:15m0s Cancel:<nil>}
I0715 21:39:44.436179   13805 start.go:245] acquired machines lock for "" in 39.708µs
I0715 21:39:44.436185   13805 start.go:85] Provisioning new machine with config: &{Name: KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage: Memory:0 CPUs:0 DiskSize:0 Driver:mock HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[MOCK_MAKE_IT_PROVISION=true] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR: HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork: KVMQemuURI: KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot: UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:false HostOnlyNicType: NatNicType: KubernetesConfig:{KubernetesVersion: ClusterName: APIServerName: APIServerNames:[] APIServerIPs:[] DNSDomain: ContainerRuntime: CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR: ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:0 NodeName:} Nodes:[{Name:minikube IP:127.0.0.1 Port:0 KubernetesVersion: ControlPlane:false Worker:false}] Addons:map[] VerifyComponents:map[]} &{Name:minikube IP: Port:0 KubernetesVersion: ControlPlane:false Worker:false}
I0715 21:39:44.436227   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.436557   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.436607   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.436681   13805 start.go:163] duration metric: libmachine.API.Create for "" took 74.536µs
I0715 21:39:44.436690   13805 start.go:204] post-start starting for "mock-machine-0.06563702" (driver="mock")
I0715 21:39:44.436694   13805 start.go:207] post-start completed in 182ns
I0715 21:39:44.436800   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.06563702/config.json ...
I0715 21:39:44.436859   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.06563702/config.json: {Name:mkeb6354d0fcebef79aa7fdf0ac5cf6d9e772cad Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.436952   13805 start.go:125] duration metric: createHost completed in 718.946µs
I0715 21:39:44.436966   13805 start.go:76] releasing machines lock for "", held for 781.122µs
I0715 21:39:44.437040   13805 start.go:241] acquiring machines lock for -minikube: {Name:mkc9313f9b920c92bfcf38f6c1baea0890d54339 Clock:{} Delay:500ms Timeout:15m0s Cancel:<nil>}
I0715 21:39:44.437083   13805 start.go:245] acquired machines lock for "-minikube" in 27.027µs
I0715 21:39:44.437093   13805 start.go:85] Provisioning new machine with config: &{Name: KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage: Memory:0 CPUs:0 DiskSize:0 Driver:mock HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[FOO=BAR] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR: HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork: KVMQemuURI: KVMGPU:false KVMHidden:false DockerOpt:[param=value] DisableDriverMounts:false NFSShare:[] NFSSharesRoot: UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:false HostOnlyNicType: NatNicType: KubernetesConfig:{KubernetesVersion: ClusterName: APIServerName: APIServerNames:[] APIServerIPs:[] DNSDomain: ContainerRuntime: CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR: ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:false EnableDefaultCNI:false CNI: NodeIP: NodePort:0 NodeName:} Nodes:[] Addons:map[] VerifyComponents:map[]} &{Name:minikube IP: Port:0 KubernetesVersion: ControlPlane:false Worker:false}
I0715 21:39:44.437139   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.437420   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.437482   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.437538   13805 start.go:163] duration metric: libmachine.API.Create for "" took 56.517µs
I0715 21:39:44.437546   13805 start.go:204] post-start starting for "mock-machine-0.15651925" (driver="mock")
I0715 21:39:44.437551   13805 start.go:207] post-start completed in 91ns
I0715 21:39:44.437628   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.15651925/config.json ...
I0715 21:39:44.437676   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.15651925/config.json: {Name:mk87f8fc22e4a8ecd2c1a389429fcc02af589461 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.437799   13805 start.go:125] duration metric: createHost completed in 653.758µs
I0715 21:39:44.437809   13805 start.go:76] releasing machines lock for "-minikube", held for 717.035µs
I0715 21:39:44.437864   13805 stop.go:36] StopHost: mock-machine-0.15651925
I0715 21:39:44.437932   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.441071   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.441141   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.441206   13805 start.go:163] duration metric: libmachine.API.Create for "" took 64.366µs
I0715 21:39:44.441215   13805 start.go:204] post-start starting for "mock-machine-0.09696952" (driver="mock")
I0715 21:39:44.441221   13805 start.go:207] post-start completed in 186ns
I0715 21:39:44.441298   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.09696952/config.json ...
I0715 21:39:44.441364   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.09696952/config.json: {Name:mk778ba88a31e81dddf74d683930034d49d23e06 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.441480   13805 start.go:125] duration metric: createHost completed in 3.535618ms
I0715 21:39:44.441494   13805 stop.go:36] StopHost: mock-machine-0.09696952
W0715 21:39:44.441640   13805 out.go:100] [unset outFile]: * Stopping "mock-machine-0.09696952" in mock ...
Stopping "mock-machine-0.09696952"...
Machine "mock-machine-0.09696952" was stopped.
I0715 21:39:44.441720   13805 stop.go:64] duration metric: stop complete within 70.695µs
I0715 21:39:44.441813   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.442179   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.442244   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.442303   13805 start.go:163] duration metric: libmachine.API.Create for "" took 59.112µs
I0715 21:39:44.442325   13805 start.go:204] post-start starting for "mock-machine-0.30091186" (driver="mock")
I0715 21:39:44.442334   13805 start.go:207] post-start completed in 184ns
I0715 21:39:44.442407   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.30091186/config.json ...
I0715 21:39:44.442467   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.30091186/config.json: {Name:mk8a91033f0b10daa6799fcf4854dcacb7198b51 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.442573   13805 start.go:125] duration metric: createHost completed in 741.016µs
W0715 21:39:44.442721   13805 out.go:100] [unset outFile]: * Deleting "mock-machine-0.30091186" in mock ...
I0715 21:39:44.442796   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.443148   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.443210   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.443290   13805 start.go:163] duration metric: libmachine.API.Create for "" took 80.839µs
I0715 21:39:44.443318   13805 start.go:204] post-start starting for "mock-machine-0.51521263" (driver="mock")
I0715 21:39:44.443334   13805 start.go:207] post-start completed in 162ns
I0715 21:39:44.443433   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.51521263/config.json ...
I0715 21:39:44.443503   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.51521263/config.json: {Name:mk202ee844179447b89f37a45cf68e44e43f1f02 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.443633   13805 start.go:125] duration metric: createHost completed in 827.136µs
I0715 21:39:44.443701   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.444029   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.444090   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.444170   13805 start.go:163] duration metric: libmachine.API.Create for "" took 80.104µs
I0715 21:39:44.444186   13805 start.go:204] post-start starting for "mock-machine-0.81363996" (driver="mock")
I0715 21:39:44.444197   13805 start.go:207] post-start completed in 420ns
I0715 21:39:44.444284   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.81363996/config.json ...
I0715 21:39:44.444350   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.81363996/config.json: {Name:mkc2be3cb704ea891cb96629b70d4676ad815260 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.444480   13805 start.go:125] duration metric: createHost completed in 765.552µs
I0715 21:39:44.444549   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.444878   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.444938   13805 start.go:158] libmachine.API.Create for "" (driver="mock")
I0715 21:39:44.445024   13805 start.go:163] duration metric: libmachine.API.Create for "" took 85.773µs
I0715 21:39:44.445040   13805 start.go:204] post-start starting for "mock-machine-0.21426387" (driver="mock")
I0715 21:39:44.445052   13805 start.go:207] post-start completed in 119ns
I0715 21:39:44.445137   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.21426387/config.json ...
I0715 21:39:44.445202   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.21426387/config.json: {Name:mke6036283be621705f6adee345fff99abad3e6c Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.445323   13805 start.go:125] duration metric: createHost completed in 761.276µs
I0715 21:39:44.445454   13805 start.go:122] createHost starting for "minikube" (driver="mock")
W0715 21:39:44.445803   13805 out.go:100] [unset outFile]: * Running on localhost (CPUs=2, Memory=7976MB, Disk=69422MB) ...
I0715 21:39:44.445864   13805 start.go:158] libmachine.API.Create for "mock-machine-0.21426387" (driver="mock")
I0715 21:39:44.445947   13805 start.go:163] duration metric: libmachine.API.Create for "mock-machine-0.21426387" took 82.591µs
I0715 21:39:44.445964   13805 start.go:204] post-start starting for "mock-machine-0.38065719" (driver="mock")
I0715 21:39:44.445975   13805 start.go:207] post-start completed in 99ns
I0715 21:39:44.446062   13805 profile.go:150] Saving config to /tmp/minipath670456337/.minikube/profiles/mock-machine-0.38065719/config.json ...
I0715 21:39:44.446131   13805 lock.go:35] WriteFile acquiring /tmp/minipath670456337/.minikube/profiles/mock-machine-0.38065719/config.json: {Name:mkf988907caabdf9fb34626373aceb305160fc5b Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0715 21:39:44.446266   13805 start.go:125] duration metric: createHost completed in 792.52µs
I0715 21:39:44.446323   13805 stop.go:36] StopHost: mock-machine-0.38065719
W0715 21:39:44.446471   13805 out.go:100] [unset outFile]: * Stopping "mock-machine-0.38065719" in mock ...
Stopping "mock-machine-0.38065719"...
Machine "mock-machine-0.38065719" was stopped.
I0715 21:39:44.446566   13805 stop.go:64] duration metric: stop complete within 75.313µs
I0715 21:39:44.717465   13805 host.go:65] Checking if "mock-machine-0.38065719" exists ...
Using SSH client type: native
&{{{<nil> 0 [] [] []} root [] 0xbe4f20 <nil>  [] 0s} localhost 40821 <nil> <nil>}
--- FAIL: TestCreateSSHShell (0.28s)
    ssh_mock.go:193: Listening on 127.0.0.1:40821
    ssh_mock.go:83: Serving ...
    ssh_mock.go:87: [loop 1] Accepting for &{0xc000248dd0 map[] false  0 {map[]} false 0xc000227300 0xc000244240}...
    api_mock.go:62: MockAPI.Load: &{ConfigVersion:0 Driver:0xc000a50000 DriverName: HostOptions:<nil> Name: RawDriver:[]} - <nil>
    driver_mock.go:49: MockDriver.GetState called from /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/machine/cluster_test.go#457: returning "Running"
    ssh_mock.go:87: [loop 2] Accepting for &{0xc000248dd0 map[] false  0 {map[]} false 0xc000227300 0xc000244240}...
    ssh_mock.go:175: pty request received: &{Type:pty-req WantReply:true Payload:[0 0 0 5 120 116 101 114 109 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 53 0 0 0 1 0] ch:0xc0003eae40 mux:<nil>}
    ssh_mock.go:149: exec request received: &{Type:exec WantReply:true Payload:[0 0 0 4 101 120 105 116] ch:0xc0003eae40 mux:<nil>}
    ssh_mock.go:161: returning output for exit ...
    ssh_mock.go:169: setting exit-status for exit ...
    ssh_mock.go:171: SendRequest failed: EOF
I0715 21:39:44.723087   13805 fix.go:209] guest clock: 1594849184.0000
I0715 21:39:44.723120   13805 fix.go:222] Guest: 2020-07-15 21:39:44 +0000 UTC Remote: 2020-07-15 21:39:44.723065067 +0000 UTC m=+1.365093613 (delta=-723.065067ms)
I0715 21:39:44.723581   13805 filesync.go:118] Scanning /tmp/minipath214306923/.minikube/addons for local assets ...
I0715 21:39:44.723729   13805 filesync.go:141] local asset: /tmp/minipath214306923/.minikube/addons/dir1/file1.txt -> file1.txt in /etc/kubernetes/addons
I0715 21:39:44.723764   13805 filesync.go:141] local asset: /tmp/minipath214306923/.minikube/addons/dir1/file2.txt -> file2.txt in /etc/kubernetes/addons
I0715 21:39:44.723801   13805 filesync.go:141] local asset: /tmp/minipath214306923/.minikube/addons/dir2/file1.txt -> file1.txt in /etc/kubernetes/addons
I0715 21:39:44.724420   13805 filesync.go:118] Scanning /tmp/minipath944676046/.minikube/files for local assets ...
I0715 21:39:44.724501   13805 filesync.go:141] local asset: /tmp/minipath944676046/.minikube/files/dir1/file1.txt -> file1.txt in /dir1
I0715 21:39:44.724545   13805 filesync.go:141] local asset: /tmp/minipath944676046/.minikube/files/dir1/file2.txt -> file2.txt in /dir1
I0715 21:39:44.724592   13805 filesync.go:141] local asset: /tmp/minipath944676046/.minikube/files/dir2/file1.txt -> file1.txt in /dir2
FAIL
coverage: 37.6% of statements
FAIL	k8s.io/minikube/pkg/minikube/machine	1.403s
ok  	k8s.io/minikube/pkg/minikube/notify	0.015s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.062s	coverage: 64.8% of statements
ok  	k8s.io/minikube/pkg/minikube/out/register	0.009s	coverage: 62.2% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.240s	coverage: 33.8% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.011s	coverage: 91.7% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.010s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.011s	coverage: 75.5% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.064s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.010s	coverage: 97.1% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.035s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.044s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.004s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.745s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	1.255s	coverage: 77.9% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.005s	coverage: 18.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.009s	coverage: 0.0% of statements
FAIL
Makefile:274: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: d2d87b60-c6e3-11ea-aa06-e17841301e13

@tstromberg tstromberg changed the title docker/podman: warn if memory is above limit docker/podman: warn if allocated memory is below limit Jul 15, 2020
@medyagh
Copy link
Member Author

medyagh commented Jul 15, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jul 15, 2020
@minikube-pr-bot
Copy link

kvm2 Driver
docker Driver

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [60.46762601100001 64.734510063 64.397124597]
Average time for minikube: 63.19975355700001

Times for Minikube (PR 8718): [62.627652054999984 62.970327809000004 63.356936265]
Average time for Minikube (PR 8718): 62.984972043

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8718) |
+--------------------------------+-----------+--------------------+
| * minikube v1.12.0 on Debian   |  0.058550 |           0.056353 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020585 |           0.019616 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.003198 |           0.003205 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.720181 |          40.260436 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.3 | 21.072910 |          20.951756 |
| on Docker 19.03.12 ...         |           |                    |
| * Verifying Kubernetes         |  1.234332 |           1.346751 |
| components...                  |           |                    |
| * Enabled addons:              |  0.009293 |           0.266991 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.077560 |           0.074759 |
| configured to use "minikube"   |           |                    |
|                                |  0.003145 |           0.005104 |
+--------------------------------+-----------+--------------------+

docker Driver

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [64.50478838899998 63.875236003 63.128440411]
Average time for minikube: 63.83615493433333

Times for Minikube (PR 8718): [62.971556731999996 64.296524759 64.17082851699999]
Average time for Minikube (PR 8718): 63.81297000266667

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8718) |
+--------------------------------+-----------+--------------------+
| * minikube v1.12.0 on Debian   |  0.061087 |           0.061012 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020422 |           0.019934 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.003194 |           0.003743 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.955451 |          41.393105 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.3 | 20.859385 |          20.459805 |
| on Docker 19.03.12 ...         |           |                    |
| * Verifying Kubernetes         |  1.608659 |           1.602012 |
| components...                  |           |                    |
| * Enabled addons:              |  0.255493 |           0.195841 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.069022 |           0.073767 |
| configured to use "minikube"   |           |                    |
|                                |  0.003442 |           0.003751 |
+--------------------------------+-----------+--------------------+

docker Driver

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [62.278951860999996 62.252869716000006 61.718710540000004]
Average time for minikube: 62.08351070566666

Times for Minikube (PR 8718): [62.65889518600001 62.251427324999995 61.837026172]
Average time for Minikube (PR 8718): 62.24911622766666

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8718) |
+--------------------------------+-----------+--------------------+
| * minikube v1.12.1 on Debian   |  0.051047 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.041229 |           0.017497 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.003022 |           0.002945 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.242456 |          40.738635 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.3 | 20.099120 |          19.928242 |
| on Docker 19.03.12 ...         |           |                    |
| * Verifying Kubernetes         |  1.210118 |           1.277422 |
| components...                  |           |                    |
| * Enabled addons:              |  0.347594 |           0.152937 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.084637 |           0.070808 |
| configured to use "minikube"   |           |                    |
|                                |  0.004288 |           0.004789 |
+--------------------------------+-----------+--------------------+

docker Driver

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [65.306564905 62.551247136 65.07034912]
Average time for minikube: 64.30938705366667

Times for Minikube (PR 8718): [64.11718042499999 63.489435939 65.06925279200001]
Average time for Minikube (PR 8718): 64.22528971866666

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8718) |
+--------------------------------+-----------+--------------------+
| * minikube v1.12.1 on Debian   |  0.053849 |           0.054510 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.017727 |           0.018577 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.002942 |           0.003078 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.642820 |          41.574490 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.3 | 22.047489 |          20.824383 |
| on Docker 19.03.12 ...         |           |                    |
| * Verifying Kubernetes         |  1.349938 |           1.292928 |
| components...                  |           |                    |
| * Enabled addons:              |  0.118104 |           0.380541 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.072992 |           0.072863 |
| configured to use "minikube"   |           |                    |
|                                |  0.003525 |           0.003919 |
+--------------------------------+-----------+--------------------+

docker Driver

@medyagh medyagh merged commit 2086bcb into kubernetes:master Jul 20, 2020
@medyagh medyagh deleted the check_docker_deskop branch March 2, 2021 21:29
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker driver: check docker-desktop has enough cpu/ram on Mac/Windows
6 participants