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 driver: add fall back image in docker hub #8320

Merged
merged 2 commits into from
May 29, 2020

Conversation

medyagh
Copy link
Member

@medyagh medyagh commented May 29, 2020

No description provided.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 29, 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 May 29, 2020
@medyagh medyagh changed the title add docker hub fall back image docker driver: add fall back image in docker hub May 29, 2020
// github packages docker does _NOT_ support pulling by sha as mentioned in the docs:
// https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages
BaseImageFallBack = fmt.Sprintf("docker.pkg.github.com/kubernetes/minikube/kicbase:%s", Version)
BaseImageFallBack2 = fmt.Sprintf("docker.pkg.github.com/kubernetes/minikube/kicbase:%s", Version)
Copy link

@priyawadhwa priyawadhwa May 29, 2020

Choose a reason for hiding this comment

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

I think it would be cleaner to create an array of images, and then go through them in order until we find one that works

var BaseImages = []string{
 fmt.Sprintf("gcr.io/k8s-minikube/kicbase:%s@sha256:%s", Version, baseImageSHA),
 fmt.Sprintf("kicbase/stable:%s@sha256:%s", Version, baseImageSHA),
 fmt.Sprintf("docker.pkg.github.com/kubernetes/minikube/kicbase:%s", Version)
}

Copy link
Member Author

Choose a reason for hiding this comment

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

sounds good the problem is when looping over the array, would need to detect if there is not any more fallback to return the error, seems like a good idea for a follow up refactor

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree, this should definitely be a slice.

@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.13.8.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.13.8.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.10.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.10.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="7627e927402c52ea4937487bcbdea78d64422012"" ./test.sh
= schema_check ==========================================================
go: downloading github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: extracting github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: extracting github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
go: extracting github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
go: finding github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: finding github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: finding github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
ok
= go test ===============================================================
go: downloading github.com/pkg/errors v0.9.1
go: downloading k8s.io/client-go v0.17.3
go: downloading k8s.io/api v0.17.3
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: extracting github.com/pkg/errors v0.9.1
go: downloading k8s.io/apimachinery v0.17.3
go: extracting k8s.io/apimachinery v0.17.3
go: extracting github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: extracting k8s.io/client-go v0.17.3
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: extracting github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: extracting golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
go: extracting github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: extracting github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: extracting github.com/spf13/cobra v1.0.0
go: downloading github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: downloading k8s.io/kubernetes v1.17.3
go: extracting github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: extracting github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/docker/go-units v0.4.0
go: extracting github.com/docker/go-units v0.4.0
go: downloading google.golang.org/api v0.9.0
go: extracting github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: extracting github.com/otiai10/copy v1.0.2
go: extracting github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/spf13/viper v1.6.1
go: extracting k8s.io/api v0.17.3
go: extracting github.com/spf13/pflag v1.0.5
go: extracting github.com/spf13/viper v1.6.1
go: extracting github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9
go: extracting golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/google/go-containerregistry v0.0.0-20200131185320-aec8da010de2
go: downloading k8s.io/klog v1.0.0
go: extracting golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9
go: extracting k8s.io/klog v1.0.0
go: downloading golang.org/x/text v0.3.2
go: extracting sigs.k8s.io/yaml v1.1.0
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: extracting github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading gopkg.in/ini.v1 v1.51.1
go: extracting github.com/google/go-containerregistry v0.0.0-20200131185320-aec8da010de2
go: downloading cloud.google.com/go v0.45.1
go: extracting gopkg.in/ini.v1 v1.51.1
go: downloading github.com/davecgh/go-spew v1.1.1
go: extracting github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: extracting github.com/spf13/cast v1.3.1
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting github.com/davecgh/go-spew v1.1.1
go: downloading github.com/spf13/afero v1.2.2
go: extracting github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/go-version v1.1.0
go: extracting github.com/hashicorp/go-version v1.1.0
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: extracting github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/hashicorp/hcl v1.0.0
go: extracting github.com/hashicorp/hcl v1.0.0
go: extracting github.com/spf13/afero v1.2.2
go: downloading github.com/blang/semver v3.5.0+incompatible
go: extracting github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
go: extracting cloud.google.com/go v0.45.1
go: extracting github.com/blang/semver v3.5.0+incompatible
go: extracting github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: extracting github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: extracting github.com/subosito/gotenv v1.2.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: extracting github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting github.com/gogo/protobuf v1.3.1
go: extracting github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/aws/aws-sdk-go v1.27.1
go: extracting github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/google/gofuzz v1.0.0
go: extracting k8s.io/kubernetes v1.17.3
go: extracting github.com/google/gofuzz v1.0.0
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: extracting golang.org/x/text v0.3.2
go: extracting github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/mattn/go-isatty v0.0.11
go: downloading github.com/json-iterator/go v1.1.8
go: downloading github.com/hashicorp/go-cleanhttp v0.5.0
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: extracting google.golang.org/api v0.9.0
go: downloading k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: extracting github.com/mattn/go-isatty v0.0.11
go: extracting github.com/aws/aws-sdk-go v1.27.1
go: extracting github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/ulikunitz/xz v0.5.5
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: extracting github.com/hashicorp/go-cleanhttp v0.5.0
go: extracting github.com/googleapis/gax-go/v2 v2.0.5
go: extracting github.com/json-iterator/go v1.1.8
go: downloading golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading google.golang.org/grpc v1.26.0
go: extracting github.com/hashicorp/go-safetemp v1.0.0
go: extracting k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading golang.org/x/net v0.0.0-20200301022130-244492dfa37a
go: extracting github.com/ulikunitz/xz v0.5.5
go: extracting github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: extracting github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24
go: extracting github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: extracting golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: extracting github.com/libvirt/libvirt-go v3.4.0+incompatible
go: extracting google.golang.org/grpc v1.26.0
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/docker/go-connections v0.4.0
go: extracting github.com/fsnotify/fsnotify v1.4.7
go: extracting sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: extracting github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading k8s.io/component-base v0.17.3
go: extracting github.com/googleapis/gnostic v0.3.0
go: extracting golang.org/x/net v0.0.0-20200301022130-244492dfa37a
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/pelletier/go-toml v1.6.0
go: downloading github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef
go: extracting google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24
go: downloading github.com/golang/protobuf v1.3.2
go: extracting github.com/docker/go-connections v0.4.0
go: extracting github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/prometheus/client_golang v1.1.0
go: extracting github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading k8s.io/kubelet v0.17.3
go: extracting github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef
go: extracting github.com/pelletier/go-toml v1.6.0
go: extracting github.com/mattn/go-runewidth v0.0.7
go: extracting github.com/magiconair/properties v1.8.1
go: extracting k8s.io/component-base v0.17.3
go: extracting github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/imdario/mergo v0.3.8
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: downloading gopkg.in/yaml.v2 v2.2.8
go: extracting github.com/prometheus/client_golang v1.1.0
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading go.opencensus.io v0.22.0
go: extracting k8s.io/kubelet v0.17.3
go: extracting github.com/golang/protobuf v1.3.2
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: downloading github.com/prometheus/procfs v0.0.5
go: extracting gopkg.in/yaml.v2 v2.2.8
go: extracting github.com/imdario/mergo v0.3.8
go: downloading github.com/opencontainers/image-spec v1.0.1
go: extracting github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: extracting golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/cheggaaa/pb v1.0.27
go: extracting k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: extracting github.com/prometheus/procfs v0.0.5
go: extracting github.com/google/uuid v1.1.1
go: extracting github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/prometheus/common v0.6.0
go: extracting k8s.io/kubectl v0.17.3
go: extracting go.opencensus.io v0.22.0
go: downloading k8s.io/kube-proxy v0.17.3
go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: downloading github.com/miekg/dns v1.1.4
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: extracting github.com/opencontainers/image-spec v1.0.1
go: extracting github.com/cheggaaa/pb v1.0.27
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: extracting github.com/russross/blackfriday/v2 v2.0.1
go: extracting gopkg.in/inf.v0 v0.9.1
go: downloading github.com/google/go-cmp v0.3.2-0.20191028172631-481baca67f93
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: extracting github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: extracting github.com/prometheus/common v0.6.0
go: extracting github.com/hashicorp/golang-lru v0.5.3
go: extracting github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: extracting github.com/miekg/dns v1.1.4
go: extracting k8s.io/kube-proxy v0.17.3
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: extracting github.com/cheggaaa/pb/v3 v3.0.1
go: extracting github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/fatih/color v1.7.0
go: extracting github.com/google/go-cmp v0.3.2-0.20191028172631-481baca67f93
go: extracting github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: extracting github.com/mitchellh/go-testing-interface v1.0.0
go: extracting github.com/sirupsen/logrus v1.4.2
go: downloading github.com/mattn/go-colorable v0.1.2
go: extracting github.com/fatih/color v1.7.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting k8s.io/cluster-bootstrap v0.17.3
go: extracting github.com/VividCortex/ewma v1.1.1
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: extracting github.com/mattn/go-colorable v0.1.2
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting github.com/docker/docker-credential-helpers v0.6.3
go: extracting github.com/beorn7/perks v1.0.1
go: extracting github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: extracting github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: extracting github.com/docker/distribution v2.7.1+incompatible
go: finding github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: finding github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: finding github.com/pkg/errors v0.9.1
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: finding github.com/docker/go-units v0.4.0
go: finding github.com/spf13/cobra v1.0.0
go: finding github.com/olekukonko/tablewriter v0.0.4
go: finding github.com/blang/semver v3.5.0+incompatible
go: finding k8s.io/client-go v0.17.3
go: finding github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: finding github.com/spf13/viper v1.6.1
go: finding github.com/libvirt/libvirt-go v3.4.0+incompatible
go: finding golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073
go: finding github.com/mattn/go-runewidth v0.0.7
go: finding github.com/imdario/mergo v0.3.8
go: finding k8s.io/api v0.17.3
go: finding github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: finding github.com/mattn/go-isatty v0.0.11
go: finding github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: finding github.com/spf13/pflag v1.0.5
go: finding k8s.io/apimachinery v0.17.3
go: finding github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: finding golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9
go: finding github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: finding github.com/gogo/protobuf v1.3.1
go: finding github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: finding github.com/google/go-containerregistry v0.0.0-20200131185320-aec8da010de2
go: finding github.com/google/uuid v1.1.1
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: finding github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: finding github.com/hashicorp/hcl v1.0.0
go: finding github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
go: finding github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: finding github.com/magiconair/properties v1.8.1
go: finding cloud.google.com/go v0.45.1
go: finding github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: finding github.com/shirou/gopsutil v2.18.12+incompatible
go: finding github.com/mitchellh/mapstructure v1.1.2
go: finding github.com/google/gofuzz v1.0.0
go: finding github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: finding sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: finding k8s.io/klog v1.0.0
go: finding golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
go: finding github.com/pelletier/go-toml v1.6.0
go: finding golang.org/x/text v0.3.2
go: finding github.com/docker/distribution v2.7.1+incompatible
go: finding github.com/cenkalti/backoff v2.2.1+incompatible
go: finding github.com/cpuguy83/go-md2man/v2 v2.0.0
go: finding github.com/otiai10/copy v1.0.2
go: finding github.com/golang/protobuf v1.3.2
go: finding github.com/spf13/afero v1.2.2
go: finding gopkg.in/inf.v0 v0.9.1
go: finding github.com/docker/docker-credential-helpers v0.6.3
go: finding github.com/googleapis/gnostic v0.3.0
go: finding github.com/spf13/cast v1.3.1
go: finding github.com/russross/blackfriday/v2 v2.0.1
go: finding golang.org/x/net v0.0.0-20200301022130-244492dfa37a
go: finding github.com/prometheus/client_golang v1.1.0
go: finding github.com/spf13/jwalterweatherman v1.1.0
go: finding github.com/googleapis/gax-go/v2 v2.0.5
go: finding github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: finding gopkg.in/yaml.v2 v2.2.8
go: finding k8s.io/kubernetes v1.17.3
go: finding github.com/cheggaaa/pb/v3 v3.0.1
go: finding google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24
go: finding github.com/opencontainers/go-digest v1.0.0-rc1
go: finding golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: finding github.com/subosito/gotenv v1.2.0
go: finding google.golang.org/api v0.9.0
go: finding google.golang.org/grpc v1.26.0
go: finding github.com/shurcooL/sanitized_anchor_name v1.0.0
go: finding gopkg.in/ini.v1 v1.51.1
go: finding github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: finding go.opencensus.io v0.22.0
go: finding github.com/VividCortex/ewma v1.1.1
go: finding github.com/docker/go-connections v0.4.0
go: finding k8s.io/component-base v0.17.3
go: finding k8s.io/kubectl v0.17.3
go: finding github.com/json-iterator/go v1.1.8
go: finding github.com/beorn7/perks v1.0.1
go: finding github.com/fatih/color v1.7.0
go: finding github.com/modern-go/reflect2 v1.0.1
go: finding github.com/mattn/go-colorable v0.1.2
go: finding github.com/opencontainers/image-spec v1.0.1
go: finding github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: finding github.com/hashicorp/golang-lru v0.5.3
go: finding golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: finding github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: finding github.com/prometheus/common v0.6.0
go: finding github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: finding github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: finding github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/sirupsen/logrus v1.4.2
go: finding github.com/prometheus/procfs v0.0.5
go: finding k8s.io/cluster-bootstrap v0.17.3
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding sigs.k8s.io/yaml v1.1.0
go: finding k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: finding github.com/mitchellh/go-wordwrap v1.0.0
go: finding github.com/aws/aws-sdk-go v1.27.1
go: finding github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef
go: finding k8s.io/kube-proxy v0.17.3
go: finding k8s.io/kubelet v0.17.3
go: finding github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: finding github.com/hashicorp/go-cleanhttp v0.5.0
go: finding github.com/miekg/dns v1.1.4
go: finding github.com/hashicorp/go-safetemp v1.0.0
go: finding github.com/hashicorp/go-version v1.1.0
go: finding github.com/mitchellh/go-homedir v1.1.0
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding github.com/ulikunitz/xz v0.5.5
go: finding k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: finding github.com/google/go-cmp v0.3.2-0.20191028172631-481baca67f93
go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: finding github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: finding github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading github.com/pmezard/go-difflib v1.0.0
go: extracting github.com/pmezard/go-difflib v1.0.0
go: extracting github.com/evanphx/json-patch v4.5.0+incompatible
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/evanphx/json-patch v4.5.0+incompatible
ok  	k8s.io/minikube/cmd/minikube/cmd	6.112s	coverage: 20.6% of statements
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.153s	coverage: 21.6% of statements
E0529 19:00:12.761284   11600 out.go:102] [unset errFile]: * 
E0529 19:00:12.761471   11600 out.go:102] [unset errFile]: X Error getting primary control plane: remove /tmp/profile753572135/.minikube/profiles/config.json: no such file or directory
E0529 19:00:12.761491   11600 out.go:102] [unset errFile]: * 
E0529 19:00:12.761513   11600 out.go:102] [unset errFile]: * minikube is exiting due to an error. If the above message is not useful, open an issue:
E0529 19:00:12.761530   11600 out.go:102] [unset errFile]:   - https://github.com/kubernetes/minikube/issues/new/choose
FAIL	k8s.io/minikube/pkg/addons	0.032s
ok  	k8s.io/minikube/pkg/drivers	0.007s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.007s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.057s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	0.681s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.064s	coverage: 63.2% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.009s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.014s	coverage: 88.9% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.078s	coverage: 16.9% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.016s	coverage: 3.8% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.134s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.040s	coverage: 40.6% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.017s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.013s	coverage: 37.3% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.006s	coverage: 58.8% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.050s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.004s	coverage: 51.9% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.037s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.400s	coverage: 38.7% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.011s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.079s	coverage: 67.4% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	0.205s	coverage: 54.7% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.016s	coverage: 91.7% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.007s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.010s	coverage: 75.5% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.087s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.017s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.021s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.027s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.927s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	0.884s	coverage: 77.9% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.014s	coverage: 18.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.001s	coverage: 0.0% of statements
FAIL
Makefile:271: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: cf339fa0-a1de-11ea-b485-534d9f3e4954

@codecov-commenter
Copy link

Codecov Report

Merging #8320 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #8320   +/-   ##
=======================================
  Coverage   34.37%   34.37%           
=======================================
  Files         147      147           
  Lines        9469     9469           
=======================================
  Hits         3255     3255           
  Misses       5814     5814           
  Partials      400      400           

@medyagh medyagh merged commit 7d6ea69 into kubernetes:master May 29, 2020
@medyagh medyagh deleted the add_dockerhub_img branch March 2, 2021 21:27
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants