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

Support non-default docker endpoints #9510

Merged
merged 19 commits into from
Nov 17, 2020

Conversation

ilya-zuyev
Copy link
Contributor

@ilya-zuyev ilya-zuyev commented Oct 21, 2020

Fixes #9463
This PR adds support of non-default docker configurations, defined by environment valirables DOCKER_HOST, DOCKER_CERT_PATH, and DOCKER_TLS_VERIFY.

Right now docker driver always uses the default values, and does not support docker damon runnig on external/VM host, or local docker daemon running on unix socker other that /var/run/docker.sock

Tested on Linux docker machine:

ilyaz@skeletron --- z/minikube ‹master› » docker-machine create --driver virtualbox --virtualbox-cpu-count "2" --virtualbox-memory 4048  minik                                                                                         130 ↵
Running pre-create checks...
Creating machine...
(minik) Copying /home/ilyaz/.docker/machine/cache/boot2docker.iso to /home/ilyaz/.docker/machine/machines/minik/boot2docker.iso...
(minik) Creating VirtualBox VM...
(minik) Creating SSH key...
(minik) Starting the VM...
(minik) Check network to re-create if needed...
(minik) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env minik


ilyaz@skeletron --- z/minikube ‹master› » docker-machine env minik                                                                                                                                                                       1 ↵
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.114:2376"
export DOCKER_CERT_PATH="/home/ilyaz/.docker/machine/machines/minik"
export DOCKER_MACHINE_NAME="minik"
# Run this command to configure your shell: 
# eval $(docker-machine env minik)

ilyaz@skeletron --- z/minikube ‹master› » eval $(docker-machine env minik)

ilyaz@skeletron --- z/minikube ‹master› » env | grep DOCKER
DOCKER_TLS_VERIFY=1
DOCKER_HOST=tcp://192.168.99.114:2376
DOCKER_CERT_PATH=/home/ilyaz/.docker/machine/machines/minik
DOCKER_MACHINE_NAME=minik

Before:

ilyaz@skeletron --- z/minikube ‹master› » out/minikube-master start --driver=docker
* minikube v1.14.0 on Ubuntu 20.10
* Using the docker driver based on user configuration

X Exiting due to PROVIDER_DOCKER_NOT_RUNNING: "docker version --format -" exit status 1: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
* Suggestion: Start the Docker service
* Documentation: https://minikube.sigs.k8s.io/docs/drivers/docker/

After:

ilyaz@skeletron --- z/minikube ‹master› » out/minikube-pr start --driver=docker                                                                                                                                                         63 ↵
* minikube v1.14.0 on Ubuntu 20.10
* Using the docker driver based on user configuration
* Starting control plane node minikube in cluster minikube
* Pulling base image ...
* Downloading Kubernetes v1.19.2 preload ...
    > preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4: 486.33 MiB
* Creating docker container (CPUs=2, Memory=3848MB) ...
! Listening to 0.0.0.0 on external docker host 192.168.99.114. Please be advised
* Preparing Kubernetes v1.19.2 on Docker 19.03.8 ...
* Verifying Kubernetes components...
* Enabled addons: storage-provisioner, default-storageclass

! /home/ilyaz/google-cloud-sdk/bin/kubectl is version 1.16.13-dispatcher, which may have incompatibilites with Kubernetes 1.19.2.
* Want kubectl v1.19.2? Try 'minikube kubectl -- get pods -A'
* Done! kubectl is now configured to use "minikube" by default
ilyaz@skeletron --- z/minikube ‹master› » docker ps
CONTAINER ID        IMAGE                                 COMMAND                  CREATED             STATUS              PORTS                                                                                              NAMES
4ce8dfe285f1        gcr.io/k8s-minikube/kicbase:v0.0.13   "/usr/local/bin/entr…"   44 seconds ago      Up 43 seconds       0.0.0.0:32771->22/tcp, 0.0.0.0:32770->2376/tcp, 0.0.0.0:32769->5000/tcp, 0.0.0.0:32768->8443/tcp   minikube
ilyaz@skeletron --- z/minikube ‹master› » 

the docker-env command updated to save the original environment if set, and restore it back on --unset

ilyaz@skeletron --- z/minikube ‹gh_9463_non_dev_dockerhost› » for s in bash cmd powershell emacs none; do echo shell=$s; out/minikube-pr docker-env --shell=$s; echo; done                                                             130 ↵
shell=bash
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.114:32770"
export DOCKER_CERT_PATH="/home/ilyaz/.minikube/certs"
export MINIKUBE_EXISTING_DOCKER_TLS_VERIFY="1"
export MINIKUBE_EXISTING_DOCKER_HOST="tcp://192.168.99.114:2376"
export MINIKUBE_EXISTING_DOCKER_CERT_PATH="/home/ilyaz/.docker/machine/machines/minik"
export MINIKUBE_ACTIVE_DOCKERD="minikube"

# To point your shell to minikube's docker-daemon, run:
# eval $(minikube -p minikube docker-env)

shell=cmd
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://192.168.99.114:32770
SET DOCKER_CERT_PATH=/home/ilyaz/.minikube/certs
SET MINIKUBE_EXISTING_DOCKER_TLS_VERIFY=1
SET MINIKUBE_EXISTING_DOCKER_HOST=tcp://192.168.99.114:2376
SET MINIKUBE_EXISTING_DOCKER_CERT_PATH=/home/ilyaz/.docker/machine/machines/minik
SET MINIKUBE_ACTIVE_DOCKERD=minikube
REM To point your shell to minikube's docker-daemon, run:
REM @FOR /f "tokens=*" %i IN ('minikube -p minikube docker-env') DO @%i

shell=powershell
$Env:DOCKER_TLS_VERIFY = "1"
$Env:DOCKER_HOST = "tcp://192.168.99.114:32770"
$Env:DOCKER_CERT_PATH = "/home/ilyaz/.minikube/certs"
$Env:MINIKUBE_EXISTING_DOCKER_TLS_VERIFY = "1"
$Env:MINIKUBE_EXISTING_DOCKER_HOST = "tcp://192.168.99.114:2376"
$Env:MINIKUBE_EXISTING_DOCKER_CERT_PATH = "/home/ilyaz/.docker/machine/machines/minik"
$Env:MINIKUBE_ACTIVE_DOCKERD = "minikube"
# To point your shell to minikube's docker-daemon, run:
# & minikube -p minikube docker-env | Invoke-Expression

shell=emacs
(setenv "DOCKER_TLS_VERIFY" "1")
(setenv "DOCKER_HOST" "tcp://192.168.99.114:32770")
(setenv "DOCKER_CERT_PATH" "/home/ilyaz/.minikube/certs")
(setenv "MINIKUBE_EXISTING_DOCKER_TLS_VERIFY" "1")
(setenv "MINIKUBE_EXISTING_DOCKER_HOST" "tcp://192.168.99.114:2376")
(setenv "MINIKUBE_EXISTING_DOCKER_CERT_PATH" "/home/ilyaz/.docker/machine/machines/minik")
(setenv "MINIKUBE_ACTIVE_DOCKERD" "minikube")
;; To point your shell to minikube's docker-daemon, run:
;; (with-temp-buffer (shell-command "minikube -p minikube docker-env" (current-buffer)) (eval-buffer))

shell=none
DOCKER_TLS_VERIFY=1
DOCKER_HOST=tcp://192.168.99.114:32770
DOCKER_CERT_PATH=/home/ilyaz/.minikube/certs
MINIKUBE_EXISTING_DOCKER_TLS_VERIFY=1
MINIKUBE_EXISTING_DOCKER_HOST=tcp://192.168.99.114:2376
MINIKUBE_EXISTING_DOCKER_CERT_PATH=/home/ilyaz/.docker/machine/machines/minik
MINIKUBE_ACTIVE_DOCKERD=minikube

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 21, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @ilya-zuyev. Thanks for your PR.

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

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

I understand the commands that are listed here.

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

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 21, 2020
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@TravisBuddy
Copy link

Travis tests have failed

Hey @ilya-zuyev,
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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.14.6.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.14.6.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.3/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.14.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="f019408622bb3f9dc307b05164654bd2b29e0839" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./test.sh
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
ok
= go mod ================================================================
ok
= boilerplate ===========================================================
boilerplate missing: /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/drivers/kic/oci/env.go
consider running: /home/travis/gopath/src/github.com/kubernetes/minikube/hack/boilerplate/fix.sh
Makefile:316: recipe for target 'test' failed
make: *** [test] Error 8

2nd Build

View build log

make test
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.14.6.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.14.6.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.3/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.14.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="f019408622bb3f9dc307b05164654bd2b29e0839" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./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 golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200810185219-7d42fed1b770
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/spf13/afero v1.2.2
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading k8s.io/klog/v2 v2.3.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading k8s.io/kubectl v0.17.3
go: downloading google.golang.org/api v0.25.0
go: downloading k8s.io/api v0.17.3
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading github.com/go-logr/logr v0.2.0
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/json-iterator/go v1.1.9
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading k8s.io/kubernetes v1.18.5
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/prometheus/common v0.9.1
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/golang/protobuf v1.4.2
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading go.uber.org/atomic v1.4.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/google/go-querystring v1.0.0
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/miekg/dns v1.1.27
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
--- FAIL: TestGenerateDockerScripts (0.01s)
    --- FAIL: TestGenerateDockerScripts/dockerdriver (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:dockerdriver driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/bash (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/ipv6 (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:ipv6 driver:kvm2 hostIP:fe80::215:5dff:fe00:a903 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/powershell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy-lower (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy-lower driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD no_proxy",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset no_proxy;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset no_proxy;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset no_proxy;\n"
    --- FAIL: TestGenerateDockerScripts/powershell-no-proxy-idempotent (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell-no-proxy-idempotent driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD Env:\\no_proxy`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\no_proxy`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            Remove-Item Env:\\no_proxy
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\nRemove-Item Env:\\\\no_proxy\n"
    --- FAIL: TestGenerateDockerScripts/sh-no-proxy-add (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:sh-no-proxy-add driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/noneshell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:none} profile:noneshell driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"DOCKER_TLS_VERIFY",
            + 	"DOCKER_HOST",
            + 	"DOCKER_CERT_PATH",
            + 	"MINIKUBE_ACTIVE_DOCKERD",
              	"",
              }, "\n")
            
            
            raw output:
            DOCKER_TLS_VERIFY
            DOCKER_HOST
            DOCKER_CERT_PATH
            MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "DOCKER_TLS_VERIFY\nDOCKER_HOST\nDOCKER_CERT_PATH\nMINIKUBE_ACTIVE_DOCKERD\n"
--- FAIL: TestGeneratePodmanScripts (0.00s)
    --- FAIL: TestGeneratePodmanScripts/bash (0.00s)
        podman-env_test.go:76: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 client:0xc000963290}) mismatch (-want +got):
              string(
            - 	"unset PODMAN_VARLINK_BRIDGE MINIKUBE_ACTIVE_PODMAN\n",
            + 	"unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n",
              )
            
            
            raw output:
            unset PODMAN_VARLINK_BRIDGE;
            unset MINIKUBE_ACTIVE_PODMAN;
            
            quoted: "unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n"
E1021 06:15:29.171643   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1021 06:15:29.172029   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1021 06:15:29.172144   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1021 06:15:29.172353   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1021 06:15:29.172453   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1021 06:15:29.172791   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1021 06:15:29.172905   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
E1021 06:15:29.173053   12159 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
FAIL
coverage: 17.8% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd	4.176s
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.039s	coverage: 21.2% of statements
ok  	k8s.io/minikube/pkg/addons	0.049s	coverage: 49.1% of statements
ok  	k8s.io/minikube/pkg/drivers	0.008s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.008s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kic/oci	0.019s	coverage: 8.8% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.028s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	0.675s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.138s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.006s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.012s	coverage: 82.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.068s	coverage: 14.5% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.053s	coverage: 4.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.215s	coverage: 68.1% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.053s	coverage: 36.7% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.027s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.020s	coverage: 37.6% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.005s	coverage: 58.6% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.022s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.030s	coverage: 81.2% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.008s	coverage: 49.3% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.075s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.102s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/mustload	0.064s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.019s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.019s	coverage: 66.0% of statements
ok  	k8s.io/minikube/pkg/minikube/out/register	0.008s	coverage: 54.5% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.032s	coverage: 21.1% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.011s	coverage: 68.7% of statements
ok  	k8s.io/minikube/pkg/minikube/reason	0.009s	coverage: 80.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.068s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.011s	coverage: 94.3% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.033s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/style	0.006s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.026s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.024s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.916s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	1.514s	coverage: 75.7% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.006s	coverage: 22.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.003s	coverage: 0.0% of statements
FAIL
Makefile:316: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: 1c3c7180-1365-11eb-8230-47bfa5f272e1

@TravisBuddy
Copy link

Travis tests have failed

Hey @ilya-zuyev,
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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="0de04a6da1870a1c7e921862264815f4f00bb8cb" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./test.sh
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
ok
= go mod ================================================================
ok
= boilerplate ===========================================================
boilerplate missing: /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/drivers/kic/oci/env.go
consider running: /home/travis/gopath/src/github.com/kubernetes/minikube/hack/boilerplate/fix.sh
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 8

2nd Build

View build log

make test
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="0de04a6da1870a1c7e921862264815f4f00bb8cb" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./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 k8s.io/klog v1.0.0
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200810185219-7d42fed1b770
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading k8s.io/kubernetes v1.18.5
go: downloading k8s.io/klog/v2 v2.3.0
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/google/go-querystring v1.0.0
go: downloading k8s.io/api v0.17.3
go: downloading github.com/pkg/errors v0.9.1
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading k8s.io/client-go v0.17.3
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading k8s.io/kubectl v0.17.3
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/docker/go-connections v0.4.0
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading google.golang.org/grpc v1.29.1
go: downloading google.golang.org/api v0.25.0
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/go-logr/logr v0.2.0
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/spf13/afero v1.2.2
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20201020145846-c0da14b4bffe
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/fatih/color v1.9.0
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/json-iterator/go v1.1.9
go: downloading github.com/prometheus/common v0.9.1
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/miekg/dns v1.1.27
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading go.uber.org/atomic v1.4.0
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
--- FAIL: TestGenerateDockerScripts (0.00s)
    --- FAIL: TestGenerateDockerScripts/dockerdriver (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:dockerdriver driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/bash (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/ipv6 (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:ipv6 driver:kvm2 hostIP:fe80::215:5dff:fe00:a903 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/powershell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy-lower (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy-lower driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD no_proxy",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset no_proxy;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset no_proxy;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset no_proxy;\n"
    --- FAIL: TestGenerateDockerScripts/powershell-no-proxy-idempotent (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell-no-proxy-idempotent driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD Env:\\no_proxy`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\no_proxy`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            Remove-Item Env:\\no_proxy
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\nRemove-Item Env:\\\\no_proxy\n"
    --- FAIL: TestGenerateDockerScripts/sh-no-proxy-add (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:sh-no-proxy-add driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/noneshell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:none} profile:noneshell driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"DOCKER_TLS_VERIFY",
            + 	"DOCKER_HOST",
            + 	"DOCKER_CERT_PATH",
            + 	"MINIKUBE_ACTIVE_DOCKERD",
              	"",
              }, "\n")
            
            
            raw output:
            DOCKER_TLS_VERIFY
            DOCKER_HOST
            DOCKER_CERT_PATH
            MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "DOCKER_TLS_VERIFY\nDOCKER_HOST\nDOCKER_CERT_PATH\nMINIKUBE_ACTIVE_DOCKERD\n"
--- FAIL: TestGeneratePodmanScripts (0.00s)
    --- FAIL: TestGeneratePodmanScripts/bash (0.00s)
        podman-env_test.go:76: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 client:0xc000c33710}) mismatch (-want +got):
              string(
            - 	"unset PODMAN_VARLINK_BRIDGE MINIKUBE_ACTIVE_PODMAN\n",
            + 	"unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n",
              )
            
            
            raw output:
            unset PODMAN_VARLINK_BRIDGE;
            unset MINIKUBE_ACTIVE_PODMAN;
            
            quoted: "unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n"
E1023 05:28:12.643369   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1023 05:28:12.643824   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1023 05:28:12.643967   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1023 05:28:12.644159   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1023 05:28:12.644256   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1023 05:28:12.644455   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1023 05:28:12.644552   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
E1023 05:28:12.644711   12057 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
FAIL
coverage: 17.8% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd	5.017s
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.039s	coverage: 21.2% of statements
ok  	k8s.io/minikube/pkg/addons	0.040s	coverage: 49.1% of statements
ok  	k8s.io/minikube/pkg/drivers	0.009s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.005s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kic/oci	0.014s	coverage: 8.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.036s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	1.202s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.106s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.011s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.004s	coverage: 82.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.073s	coverage: 14.5% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.032s	coverage: 4.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.156s	coverage: 68.1% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.049s	coverage: 36.7% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.028s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.021s	coverage: 40.1% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.014s	coverage: 58.6% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.031s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.026s	coverage: 81.2% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.007s	coverage: 49.3% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.042s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.072s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/mustload	0.069s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.022s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.026s	coverage: 66.0% of statements
ok  	k8s.io/minikube/pkg/minikube/out/register	0.009s	coverage: 54.5% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.013s	coverage: 21.1% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.010s	coverage: 68.7% of statements
ok  	k8s.io/minikube/pkg/minikube/reason	0.008s	coverage: 80.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.081s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.027s	coverage: 94.3% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.037s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/style	0.005s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.059s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.007s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.907s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	1.182s	coverage: 75.7% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.008s	coverage: 22.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.007s	coverage: 0.0% of statements
FAIL
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: cb547af0-14f0-11eb-aff7-dd8cbeb067cc

@TravisBuddy
Copy link

Travis tests have failed

Hey @ilya-zuyev,
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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="01baccc9ad10cca2c4dfcf3fe5bc5fa59dd32303" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./test.sh
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
ok
= go mod ================================================================
ok
= boilerplate ===========================================================
boilerplate missing: /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/drivers/kic/oci/env.go
consider running: /home/travis/gopath/src/github.com/kubernetes/minikube/hack/boilerplate/fix.sh
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 8

2nd Build

View build log

make test
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="01baccc9ad10cca2c4dfcf3fe5bc5fa59dd32303" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./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.20200810185219-7d42fed1b770
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading github.com/magiconair/properties v1.8.1
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading k8s.io/apimachinery v0.17.3
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading k8s.io/api v0.17.3
go: downloading github.com/spf13/cobra v1.0.0
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/google/go-querystring v1.0.0
go: downloading k8s.io/klog/v2 v2.3.0
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading google.golang.org/api v0.25.0
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/spf13/afero v1.2.2
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/prometheus/common v0.9.1
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/miekg/dns v1.1.27
go: downloading k8s.io/kubernetes v1.18.5
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/spf13/cast v1.3.1
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/otiai10/copy v1.0.2
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/go-logr/logr v0.2.0
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/beorn7/perks v1.0.1
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/google/gofuzz v1.1.0
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/fatih/color v1.9.0
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20201020145846-c0da14b4bffe
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading go.uber.org/atomic v1.4.0
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/json-iterator/go v1.1.9
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading github.com/pmezard/go-difflib v1.0.0
--- FAIL: TestGenerateDockerScripts (0.01s)
    --- FAIL: TestGenerateDockerScripts/dockerdriver (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:dockerdriver driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/bash (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/ipv6 (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:ipv6 driver:kvm2 hostIP:fe80::215:5dff:fe00:a903 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/powershell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy-lower (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy-lower driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD no_proxy",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset no_proxy;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset no_proxy;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset no_proxy;\n"
    --- FAIL: TestGenerateDockerScripts/powershell-no-proxy-idempotent (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell-no-proxy-idempotent driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD Env:\\no_proxy`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\no_proxy`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            Remove-Item Env:\\no_proxy
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\nRemove-Item Env:\\\\no_proxy\n"
    --- FAIL: TestGenerateDockerScripts/sh-no-proxy-add (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:sh-no-proxy-add driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/noneshell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:none} profile:noneshell driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"DOCKER_TLS_VERIFY",
            + 	"DOCKER_HOST",
            + 	"DOCKER_CERT_PATH",
            + 	"MINIKUBE_ACTIVE_DOCKERD",
              	"",
              }, "\n")
            
            
            raw output:
            DOCKER_TLS_VERIFY
            DOCKER_HOST
            DOCKER_CERT_PATH
            MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "DOCKER_TLS_VERIFY\nDOCKER_HOST\nDOCKER_CERT_PATH\nMINIKUBE_ACTIVE_DOCKERD\n"
--- FAIL: TestGeneratePodmanScripts (0.00s)
    --- FAIL: TestGeneratePodmanScripts/bash (0.00s)
        podman-env_test.go:76: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 client:0xc000e2bc20}) mismatch (-want +got):
              string(
            - 	"unset PODMAN_VARLINK_BRIDGE MINIKUBE_ACTIVE_PODMAN\n",
            + 	"unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n",
              )
            
            
            raw output:
            unset PODMAN_VARLINK_BRIDGE;
            unset MINIKUBE_ACTIVE_PODMAN;
            
            quoted: "unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n"
E1023 05:57:22.727817   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1023 05:57:22.728270   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1023 05:57:22.728392   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1023 05:57:22.728561   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1023 05:57:22.728647   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1023 05:57:22.728805   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1023 05:57:22.728904   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
E1023 05:57:22.729072   12110 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
FAIL
coverage: 17.8% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd	4.739s
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.042s	coverage: 21.2% of statements
ok  	k8s.io/minikube/pkg/addons	0.085s	coverage: 49.1% of statements
ok  	k8s.io/minikube/pkg/drivers	0.009s	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/kic/oci	0.014s	coverage: 8.6% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.036s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	1.074s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.126s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.013s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.004s	coverage: 82.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.076s	coverage: 14.5% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.035s	coverage: 4.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.176s	coverage: 68.1% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.046s	coverage: 36.7% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.038s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.026s	coverage: 39.3% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.011s	coverage: 58.6% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.045s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.030s	coverage: 81.2% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.009s	coverage: 49.3% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.045s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.081s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/mustload	0.068s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.022s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.024s	coverage: 66.0% of statements
ok  	k8s.io/minikube/pkg/minikube/out/register	0.007s	coverage: 54.5% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.015s	coverage: 21.1% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.012s	coverage: 68.7% of statements
ok  	k8s.io/minikube/pkg/minikube/reason	0.009s	coverage: 80.0% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.032s	coverage: 75.5% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.069s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.022s	coverage: 94.3% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.032s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/style	0.003s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.041s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.008s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.898s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	1.247s	coverage: 75.7% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.007s	coverage: 22.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.009s	coverage: 0.0% of statements
FAIL
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: d1cfe2d0-14f4-11eb-aff7-dd8cbeb067cc

@TravisBuddy
Copy link

Travis tests have failed

Hey @ilya-zuyev,
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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="2e9709eafa9a52783d29691cfcf824ad7794f99c" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./test.sh
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
ok
= go mod ================================================================
ok
= boilerplate ===========================================================
boilerplate missing: /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/drivers/kic/oci/env.go
consider running: /home/travis/gopath/src/github.com/kubernetes/minikube/hack/boilerplate/fix.sh
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 8
travis_time:end:0486b846:start=1603501770926654314,finish=1603501994320728169,duration=223394073855,event=script

2nd Build

View build log

make test
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="2e9709eafa9a52783d29691cfcf824ad7794f99c" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./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.20200810185219-7d42fed1b770
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading k8s.io/client-go v0.17.3
go: downloading k8s.io/api v0.17.3
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/spf13/cobra v1.0.0
go: downloading google.golang.org/api v0.25.0
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/magiconair/properties v1.8.1
go: downloading k8s.io/klog/v2 v2.3.0
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading github.com/google/uuid v1.1.1
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/spf13/afero v1.2.2
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading k8s.io/kubernetes v1.18.5
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/go-logr/logr v0.2.0
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/otiai10/copy v1.0.2
go: downloading k8s.io/kubectl v0.17.3
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading go.uber.org/zap v1.10.0
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/google/go-querystring v1.0.0
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading github.com/docker/go-units v0.4.0
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/golang/protobuf v1.4.2
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20201020145846-c0da14b4bffe
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/spf13/cast v1.3.1
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/docker/distribution v2.7.1+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/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading go.uber.org/atomic v1.4.0
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/json-iterator/go v1.1.9
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/miekg/dns v1.1.27
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading github.com/prometheus/common v0.9.1
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
--- FAIL: TestGenerateDockerScripts (0.01s)
    --- FAIL: TestGenerateDockerScripts/dockerdriver (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:dockerdriver driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/bash (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/ipv6 (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:ipv6 driver:kvm2 hostIP:fe80::215:5dff:fe00:a903 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/powershell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy-lower (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy-lower driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD no_proxy",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset no_proxy;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset no_proxy;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset no_proxy;\n"
    --- FAIL: TestGenerateDockerScripts/powershell-no-proxy-idempotent (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell-no-proxy-idempotent driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD Env:\\no_proxy`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\no_proxy`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            Remove-Item Env:\\no_proxy
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\nRemove-Item Env:\\\\no_proxy\n"
    --- FAIL: TestGenerateDockerScripts/sh-no-proxy-add (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:sh-no-proxy-add driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/noneshell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:none} profile:noneshell driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"DOCKER_TLS_VERIFY",
            + 	"DOCKER_HOST",
            + 	"DOCKER_CERT_PATH",
            + 	"MINIKUBE_ACTIVE_DOCKERD",
              	"",
              }, "\n")
            
            
            raw output:
            DOCKER_TLS_VERIFY
            DOCKER_HOST
            DOCKER_CERT_PATH
            MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "DOCKER_TLS_VERIFY\nDOCKER_HOST\nDOCKER_CERT_PATH\nMINIKUBE_ACTIVE_DOCKERD\n"
--- FAIL: TestGeneratePodmanScripts (0.00s)
    --- FAIL: TestGeneratePodmanScripts/bash (0.00s)
        podman-env_test.go:76: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 client:0xc000a7e960}) mismatch (-want +got):
              string(
            - 	"unset PODMAN_VARLINK_BRIDGE MINIKUBE_ACTIVE_PODMAN\n",
            + 	"unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n",
              )
            
            
            raw output:
            unset PODMAN_VARLINK_BRIDGE;
            unset MINIKUBE_ACTIVE_PODMAN;
            
            quoted: "unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n"
E1024 01:12:06.956900   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1024 01:12:06.957424   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1024 01:12:06.957564   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1024 01:12:06.957752   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1024 01:12:06.957854   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1024 01:12:06.958040   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1024 01:12:06.958143   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
E1024 01:12:06.958320   12088 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
FAIL
coverage: 17.8% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd	4.524s
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.042s	coverage: 21.2% of statements
ok  	k8s.io/minikube/pkg/addons	0.040s	coverage: 49.1% of statements
ok  	k8s.io/minikube/pkg/drivers	0.007s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.003s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kic/oci	0.018s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.049s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	0.651s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.102s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.005s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.015s	coverage: 82.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.091s	coverage: 14.5% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.042s	coverage: 4.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.197s	coverage: 68.1% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.070s	coverage: 36.7% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.049s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.022s	coverage: 39.3% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.006s	coverage: 58.6% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.033s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.032s	coverage: 81.2% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.009s	coverage: 49.3% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.059s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.084s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/mustload	0.062s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.021s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.020s	coverage: 66.0% of statements
ok  	k8s.io/minikube/pkg/minikube/out/register	0.019s	coverage: 54.5% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.015s	coverage: 21.1% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.011s	coverage: 68.7% of statements
ok  	k8s.io/minikube/pkg/minikube/reason	0.008s	coverage: 80.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.063s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.009s	coverage: 94.3% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.040s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/style	0.012s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.031s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.008s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.828s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	0.995s	coverage: 75.7% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.012s	coverage: 22.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.010s	coverage: 0.0% of statements
FAIL
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 32
travis_time:end:325e5ed4:start=1603501811231767706,finish=1603501977412393205,duration=166180625499,event=script
TravisBuddy Request Identifier: a9b3f400-1597-11eb-94fa-edf6748ec8ed

@TravisBuddy
Copy link

Travis tests have failed

Hey @ilya-zuyev,
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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.2 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="e90b7e9590031dedcd05f1a2487a3a9579951bda" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./test.sh
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
ok
= go mod ================================================================
ok
= boilerplate ===========================================================
boilerplate missing: /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/drivers/kic/oci/env.go
consider running: /home/travis/gopath/src/github.com/kubernetes/minikube/hack/boilerplate/fix.sh
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 8
travis_time:end:26627814:start=1603863439699914869,finish=1603863647077264191,duration=207377349322,event=script

2nd Build

View build log

make test
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.2 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="e90b7e9590031dedcd05f1a2487a3a9579951bda" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./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 k8s.io/apimachinery v0.17.3
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading k8s.io/kubernetes v1.18.5
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200810185219-7d42fed1b770
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading k8s.io/api v0.17.3
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading google.golang.org/api v0.25.0
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/fatih/color v1.9.0
go: downloading k8s.io/klog/v2 v2.3.0
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading github.com/pkg/errors v0.9.1
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: downloading github.com/go-logr/logr v0.2.0
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20201020145846-c0da14b4bffe
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/spf13/afero v1.2.2
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/golang/protobuf v1.4.2
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/miekg/dns v1.1.27
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/prometheus/common v0.9.1
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading go.uber.org/atomic v1.4.0
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading github.com/json-iterator/go v1.1.9
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/google/go-querystring v1.0.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
--- FAIL: TestGenerateDockerScripts (0.01s)
    --- FAIL: TestGenerateDockerScripts/dockerdriver (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:dockerdriver driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/bash (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/ipv6 (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:ipv6 driver:kvm2 hostIP:fe80::215:5dff:fe00:a903 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/powershell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy-lower (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy-lower driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD no_proxy",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset no_proxy;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset no_proxy;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset no_proxy;\n"
    --- FAIL: TestGenerateDockerScripts/powershell-no-proxy-idempotent (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell-no-proxy-idempotent driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	`Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD Env:\\no_proxy`,
            + 	`Remove-Item Env:\\DOCKER_TLS_VERIFY`,
            + 	`Remove-Item Env:\\DOCKER_HOST`,
            + 	`Remove-Item Env:\\DOCKER_CERT_PATH`,
            + 	`Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD`,
            + 	`Remove-Item Env:\\no_proxy`,
              	"",
              }, "\n")
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            Remove-Item Env:\\no_proxy
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\nRemove-Item Env:\\\\no_proxy\n"
    --- FAIL: TestGenerateDockerScripts/sh-no-proxy-add (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:sh-no-proxy-add driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              strings.Join({
            - 	"unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY",
            + 	"unset DOCKER_TLS_VERIFY;",
            + 	"unset DOCKER_HOST;",
            + 	"unset DOCKER_CERT_PATH;",
            + 	"unset MINIKUBE_ACTIVE_DOCKERD;",
            + 	"unset NO_PROXY;",
              	"",
              }, "\n")
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/noneshell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:none} profile:noneshell driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              strings.Join({
            - 	"DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD",
            + 	"DOCKER_TLS_VERIFY",
            + 	"DOCKER_HOST",
            + 	"DOCKER_CERT_PATH",
            + 	"MINIKUBE_ACTIVE_DOCKERD",
              	"",
              }, "\n")
            
            
            raw output:
            DOCKER_TLS_VERIFY
            DOCKER_HOST
            DOCKER_CERT_PATH
            MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "DOCKER_TLS_VERIFY\nDOCKER_HOST\nDOCKER_CERT_PATH\nMINIKUBE_ACTIVE_DOCKERD\n"
--- FAIL: TestGeneratePodmanScripts (0.00s)
    --- FAIL: TestGeneratePodmanScripts/bash (0.00s)
        podman-env_test.go:76: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 client:0xc000d2c000}) mismatch (-want +got):
              string(
            - 	"unset PODMAN_VARLINK_BRIDGE MINIKUBE_ACTIVE_PODMAN\n",
            + 	"unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n",
              )
            
            
            raw output:
            unset PODMAN_VARLINK_BRIDGE;
            unset MINIKUBE_ACTIVE_PODMAN;
            
            quoted: "unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n"
E1028 05:43:47.426458   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1028 05:43:47.426953   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1028 05:43:47.427073   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1028 05:43:47.427233   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1028 05:43:47.427319   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1028 05:43:47.427476   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1028 05:43:47.427561   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
E1028 05:43:47.427709   12124 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
FAIL
coverage: 17.9% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd	4.261s
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.042s	coverage: 21.0% of statements
ok  	k8s.io/minikube/pkg/addons	0.088s	coverage: 49.1% of statements
ok  	k8s.io/minikube/pkg/drivers	0.010s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.005s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kic/oci	0.018s	coverage: 8.4% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.031s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	0.843s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.166s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.013s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.004s	coverage: 82.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.090s	coverage: 14.5% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.054s	coverage: 4.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.210s	coverage: 68.1% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.060s	coverage: 36.7% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.038s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.024s	coverage: 39.3% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.005s	coverage: 58.6% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.038s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.039s	coverage: 81.2% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.007s	coverage: 49.3% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.043s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.095s	coverage: 35.9% of statements
ok  	k8s.io/minikube/pkg/minikube/mustload	0.060s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.020s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.020s	coverage: 66.0% of statements
ok  	k8s.io/minikube/pkg/minikube/out/register	0.007s	coverage: 54.5% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.014s	coverage: 21.1% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.010s	coverage: 68.7% of statements
ok  	k8s.io/minikube/pkg/minikube/reason	0.009s	coverage: 80.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.071s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.021s	coverage: 94.3% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.032s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/style	0.005s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.037s	coverage: 6.5% of statements
ok  	k8s.io/minikube/pkg/minikube/translate	0.006s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/tunnel	1.657s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	0.953s	coverage: 75.7% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.010s	coverage: 22.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.002s	coverage: 0.0% of statements
FAIL
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 32
travis_time:end:16fdb770:start=1603863714225508652,finish=1603863877887937675,duration=163662429023,event=script
TravisBuddy Request Identifier: ec738000-18e2-11eb-86f8-31dd4df69769

pkg/drivers/kic/kic.go Outdated Show resolved Hide resolved
// TODO: comment
func DockerMachineHost(driver string) string {
// IsExternalRuntimeHost returns whether or not the OCI runtime is running on an external/virtual host
// For Podman driver it's always false for now
Copy link
Collaborator

Choose a reason for hiding this comment

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

the rules for podman should be the same as for docker, when it comes to external vs. local
only the default transport differs, if it is tcp: or ssh: (as opposed to unix: for the local socket)

eventually it is going to end up looking very similar, once we get rid of the legacy protocols
then it will always be the same unix socket, possibly tunneled over a ssh connection first...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. I just want to reduce the scope of this PR and implement support of external docker endpoints here, and later do the same for Podman.

Copy link
Member

@medyagh medyagh Nov 6, 2020

Choose a reason for hiding this comment

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

I am okay with adding that in a following up PR, once we add support for non default podman

@TravisBuddy
Copy link

Travis tests have failed

Hey @ilya-zuyev,
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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.2 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="db4d8ed23781ce475de1561a7fc39ce78c7ee167" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./test.sh
= make lint =============================================================
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed out/linters/golangci-lint
ok
= go mod ================================================================
ok
= boilerplate ===========================================================
boilerplate missing: /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/drivers/kic/oci/env.go
consider running: /home/travis/gopath/src/github.com/kubernetes/minikube/hack/boilerplate/fix.sh
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 8
travis_time:end:0577ca16:start=1604108017367064876,finish=1604108236016572998,duration=218649508122,event=script

2nd Build

View build log

make test
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.15.2.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.3/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.14.2 -X k8s.io/minikube/pkg/version.isoVersion=v1.14.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="db4d8ed23781ce475de1561a7fc39ce78c7ee167" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" ./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.20200810185219-7d42fed1b770
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading k8s.io/api v0.17.3
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading k8s.io/klog/v2 v2.3.0
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/docker/go-units v0.4.0
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/go-logr/logr v0.2.0
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading go.uber.org/zap v1.10.0
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading github.com/google/uuid v1.1.1
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/golang/protobuf v1.4.2
go: downloading go.uber.org/multierr v1.1.0
go: downloading go.uber.org/atomic v1.4.0
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.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 google.golang.org/api v0.25.0
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/spf13/cast v1.3.1
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/spf13/afero v1.2.2
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/imdario/mergo v0.3.9
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20201020145846-c0da14b4bffe
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v5 v5.0.0
go: downloading github.com/google/go-cmp v0.5.2
go: downloading k8s.io/kubernetes v1.18.5
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/google/go-querystring v1.0.0
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/miekg/dns v1.1.27
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/prometheus/common v0.9.1
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading github.com/json-iterator/go v1.1.9
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/hashicorp/go-version v1.2.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading k8s.io/component-base v0.17.3
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
--- FAIL: TestGenerateDockerScripts (0.01s)
    --- FAIL: TestGenerateDockerScripts/dockerdriver (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:dockerdriver driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              (
              	"""
            - 	unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD
            + 	unset DOCKER_TLS_VERIFY;
            + 	unset DOCKER_HOST;
            + 	unset DOCKER_CERT_PATH;
            + 	unset MINIKUBE_ACTIVE_DOCKERD;
              	"""
              )
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/bash (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              (
              	"""
            - 	unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD
            + 	unset DOCKER_TLS_VERIFY;
            + 	unset DOCKER_HOST;
            + 	unset DOCKER_CERT_PATH;
            + 	unset MINIKUBE_ACTIVE_DOCKERD;
              	"""
              )
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/ipv6 (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:ipv6 driver:kvm2 hostIP:fe80::215:5dff:fe00:a903 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              (
              	"""
            - 	unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD
            + 	unset DOCKER_TLS_VERIFY;
            + 	unset DOCKER_HOST;
            + 	unset DOCKER_CERT_PATH;
            + 	unset MINIKUBE_ACTIVE_DOCKERD;
              	"""
              )
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\n"
    --- FAIL: TestGenerateDockerScripts/powershell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:false}) mismatch (-want +got):
              (
              	"""
            - 	Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD
            + 	Remove-Item Env:\\DOCKER_TLS_VERIFY
            + 	Remove-Item Env:\\DOCKER_HOST
            + 	Remove-Item Env:\\DOCKER_CERT_PATH
            + 	Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
              	"""
              )
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              (
              	"""
            - 	unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY
            + 	unset DOCKER_TLS_VERIFY;
            + 	unset DOCKER_HOST;
            + 	unset DOCKER_CERT_PATH;
            + 	unset MINIKUBE_ACTIVE_DOCKERD;
            + 	unset NO_PROXY;
              	"""
              )
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/bash-no-proxy-lower (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:bash-no-proxy-lower driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              (
              	"""
            - 	unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD no_proxy
            + 	unset DOCKER_TLS_VERIFY;
            + 	unset DOCKER_HOST;
            + 	unset DOCKER_CERT_PATH;
            + 	unset MINIKUBE_ACTIVE_DOCKERD;
            + 	unset no_proxy;
              	"""
              )
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset no_proxy;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset no_proxy;\n"
    --- FAIL: TestGenerateDockerScripts/powershell-no-proxy-idempotent (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:powershell} profile:powershell-no-proxy-idempotent driver:hyperv hostIP:192.168.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              (
              	"""
            - 	Remove-Item Env:\\DOCKER_TLS_VERIFY Env:\\DOCKER_HOST Env:\\DOCKER_CERT_PATH Env:\\MINIKUBE_ACTIVE_DOCKERD Env:\\no_proxy
            + 	Remove-Item Env:\\DOCKER_TLS_VERIFY
            + 	Remove-Item Env:\\DOCKER_HOST
            + 	Remove-Item Env:\\DOCKER_CERT_PATH
            + 	Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            + 	Remove-Item Env:\\no_proxy
              	"""
              )
            
            
            raw output:
            Remove-Item Env:\\DOCKER_TLS_VERIFY
            Remove-Item Env:\\DOCKER_HOST
            Remove-Item Env:\\DOCKER_CERT_PATH
            Remove-Item Env:\\MINIKUBE_ACTIVE_DOCKERD
            Remove-Item Env:\\no_proxy
            
            quoted: "Remove-Item Env:\\\\DOCKER_TLS_VERIFY\nRemove-Item Env:\\\\DOCKER_HOST\nRemove-Item Env:\\\\DOCKER_CERT_PATH\nRemove-Item Env:\\\\MINIKUBE_ACTIVE_DOCKERD\nRemove-Item Env:\\\\no_proxy\n"
    --- FAIL: TestGenerateDockerScripts/sh-no-proxy-add (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:bash} profile:sh-no-proxy-add driver:kvm2 hostIP:127.0.0.1 port:2376 certsDir:/certs noProxy:true}) mismatch (-want +got):
              (
              	"""
            - 	unset DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD NO_PROXY
            + 	unset DOCKER_TLS_VERIFY;
            + 	unset DOCKER_HOST;
            + 	unset DOCKER_CERT_PATH;
            + 	unset MINIKUBE_ACTIVE_DOCKERD;
            + 	unset NO_PROXY;
              	"""
              )
            
            
            raw output:
            unset DOCKER_TLS_VERIFY;
            unset DOCKER_HOST;
            unset DOCKER_CERT_PATH;
            unset MINIKUBE_ACTIVE_DOCKERD;
            unset NO_PROXY;
            
            quoted: "unset DOCKER_TLS_VERIFY;\nunset DOCKER_HOST;\nunset DOCKER_CERT_PATH;\nunset MINIKUBE_ACTIVE_DOCKERD;\nunset NO_PROXY;\n"
    --- FAIL: TestGenerateDockerScripts/noneshell (0.00s)
        docker-env_test.go:256: unsetScript({EnvConfig:{Shell:none} profile:noneshell driver:docker hostIP:127.0.0.1 port:32842 certsDir:/certs noProxy:false}) mismatch (-want +got):
              (
              	"""
            - 	DOCKER_TLS_VERIFY DOCKER_HOST DOCKER_CERT_PATH MINIKUBE_ACTIVE_DOCKERD
            + 	DOCKER_TLS_VERIFY
            + 	DOCKER_HOST
            + 	DOCKER_CERT_PATH
            + 	MINIKUBE_ACTIVE_DOCKERD
              	"""
              )
            
            
            raw output:
            DOCKER_TLS_VERIFY
            DOCKER_HOST
            DOCKER_CERT_PATH
            MINIKUBE_ACTIVE_DOCKERD
            
            quoted: "DOCKER_TLS_VERIFY\nDOCKER_HOST\nDOCKER_CERT_PATH\nMINIKUBE_ACTIVE_DOCKERD\n"
--- FAIL: TestGeneratePodmanScripts (0.00s)
    --- FAIL: TestGeneratePodmanScripts/bash (0.00s)
        podman-env_test.go:76: unsetScript({EnvConfig:{Shell:bash} profile:bash driver:kvm2 client:0xc0001c6900}) mismatch (-want +got):
              string(
            - 	"unset PODMAN_VARLINK_BRIDGE MINIKUBE_ACTIVE_PODMAN\n",
            + 	"unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n",
              )
            
            
            raw output:
            unset PODMAN_VARLINK_BRIDGE;
            unset MINIKUBE_ACTIVE_PODMAN;
            
            quoted: "unset PODMAN_VARLINK_BRIDGE;\nunset MINIKUBE_ACTIVE_PODMAN;\n"
E1031 01:52:24.115318   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1031 01:52:24.115837   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E1031 01:52:24.115970   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1031 01:52:24.116158   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=localhost:3128 to docker env.
E1031 01:52:24.116413   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1031 01:52:24.116584   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.
E1031 01:52:24.116673   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
E1031 01:52:24.116812   12054 out.go:142] [unset errFile]: ! Local proxy ignored: not passing HTTP_PROXY=http://127.0.0.1:3128 to docker env.
FAIL
coverage: 17.8% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd	4.347s
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.039s	coverage: 21.0% of statements
ok  	k8s.io/minikube/pkg/addons	0.107s	coverage: 50.9% of statements
ok  	k8s.io/minikube/pkg/drivers	0.015s	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.016s	coverage: 10.2% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.054s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	0.837s	coverage: 55.1% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.118s	coverage: 62.4% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.010s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.023s	coverage: 82.0% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.089s	coverage: 14.5% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.050s	coverage: 4.2% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.130s	coverage: 68.1% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.066s	coverage: 36.7% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.055s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.021s	coverage: 39.3% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.006s	coverage: 58.6% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.028s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.048s	coverage: 81.2% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.005s	coverage: 49.3% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.043s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.103s	coverage: 35.8% of statements
ok  	k8s.io/minikube/pkg/minikube/mustload	0.059s	coverage: 10.5% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.019s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.030s	coverage: 66.0% of statements
ok  	k8s.io/minikube/pkg/minikube/out/register	0.006s	coverage: 54.5% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.015s	coverage: 21.1% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.010s	coverage: 68.7% of statements
ok  	k8s.io/minikube/pkg/minikube/reason	0.008s	coverage: 80.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.082s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.016s	coverage: 94.3% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.034s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/style	0.004s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.031s	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.726s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	0.690s	coverage: 75.7% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.013s	coverage: 22.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.005s	coverage: 0.0% of statements
FAIL
Makefile:315: recipe for target 'test' failed
make: *** [test] Error 32
travis_time:end:07617b8c:start=1604109031903174537,finish=1604109193982604922,duration=162079430385,event=script
TravisBuddy Request Identifier: 7e3cafc0-1b1d-11eb-ae51-b75871e10011

@ilya-zuyev ilya-zuyev changed the title [WIP] Support non-default docker endpoints Support non-default docker endpoints Nov 2, 2020
@ilya-zuyev ilya-zuyev marked this pull request as ready for review November 2, 2020 05:37
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 2, 2020
@medyagh
Copy link
Member

medyagh commented Nov 5, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 5, 2020
@medyagh
Copy link
Member

medyagh commented Nov 5, 2020

@ilya-zuyev please ensure running make lint for the lint error
and also make generate-doc for the docs

@minikube-pr-bot
Copy link

kvm2 Driver
error collecting results for kvm2 driver: timing run 0 with Minikube (PR 9510): timing cmd: [/home/performance-monitor/.minikube/minikube-binaries/9510/minikube start --driver=kvm2]: starting cmd: fork/exec /home/performance-monitor/.minikube/minikube-binaries/9510/minikube: exec format error
docker Driver
error collecting results for docker driver: timing run 0 with Minikube (PR 9510): timing cmd: [/home/performance-monitor/.minikube/minikube-binaries/9510/minikube start --driver=docker]: starting cmd: fork/exec /home/performance-monitor/.minikube/minikube-binaries/9510/minikube: exec format error

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 73.2s 71.2s 73.5s
Average time for minikube: 72.6s

Times for Minikube (PR 9510): 60.1s 55.6s 61.0s
Average time for Minikube (PR 9510): 58.9s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9510) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 0.0s     | 0.0s               |
|                           9.11 |          |                    |
| * Using the kvm2 driver based  | 0.0s     | 0.0s               |
| on user configuration          |          |                    |
| * Starting control plane node  | 0.0s     | 0.0s               |
| minikube in cluster minikube   |          |                    |
| * Creating kvm2 VM (CPUs=2,    | 31.9s    | 34.0s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.2 | 38.7s    | 22.9s              |
| on Docker 19.03.12 ...         |          |                    |
| * Verifying Kubernetes         | 1.5s     | 1.4s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.3s     | 0.6s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
|                                | 0.0s     | 0.0s               |
| * Want kubectl v1.19.2? Try    |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 46.6s 51.3s 49.9s
Average time for minikube: 49.3s

Times for Minikube (PR 9510): 29.1s 28.1s 28.1s
Average time for Minikube (PR 9510): 28.4s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9510) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 0.2s     | 0.2s               |
|                           9.11 |          |                    |
| * Using the docker driver      | 0.1s     | 0.1s               |
| based on user configuration    |          |                    |
| * Starting control plane node  | 0.1s     | 0.1s               |
| minikube in cluster minikube   |          |                    |
| * Creating docker container    | 9.2s     | 9.1s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.2 | 38.5s    |                    |
| on Docker 19.03.13 ...         |          |                    |
| * Verifying Kubernetes         | 1.1s     | 1.0s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     |                    |
| default-storageclass,          |          |                    |
| storage-provisioner            |          |                    |
|                                | 0.0s     | 0.0s               |
| * Want kubectl v1.19.2? Try    |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 74.2s 77.5s 71.7s
Average time for minikube: 74.5s

Times for Minikube (PR 9510): 70.3s 69.2s 72.1s
Average time for Minikube (PR 9510): 70.5s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9510) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 0.1s     | 0.0s               |
|                           9.11 |          |                    |
| * Using the kvm2 driver based  | 0.0s     | 0.0s               |
| on user configuration          |          |                    |
| * Starting control plane node  | 0.0s     | 0.0s               |
| minikube in cluster minikube   |          |                    |
| * Creating kvm2 VM (CPUs=2,    | 33.8s    | 31.0s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.2 | 38.5s    | 37.8s              |
| on Docker 19.03.12 ...         |          |                    |
| * Verifying Kubernetes         | 1.4s     | 1.5s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.7s     |                    |
| default-storageclass,          |          |                    |
| storage-provisioner            |          |                    |
|                                | 0.0s     | 0.0s               |
| * Want kubectl v1.19.2? Try    |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 43.4s 40.9s 44.0s
Average time for minikube: 42.7s

Times for Minikube (PR 9510): 43.0s 43.4s 45.6s
Average time for Minikube (PR 9510): 44.0s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9510) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 0.2s     | 0.2s               |
|                           9.11 |          |                    |
| * Using the docker driver      | 0.1s     | 0.1s               |
| based on user configuration    |          |                    |
| * Starting control plane node  | 0.1s     | 0.1s               |
| minikube in cluster minikube   |          |                    |
| * Creating docker container    | 8.9s     | 8.9s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.2 | 32.2s    | 33.4s              |
| on Docker 19.03.13 ...         |          |                    |
| * Verifying Kubernetes         | 1.1s     | 1.3s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     | 0.1s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
|                                | 0.0s     | 0.0s               |
| * Want kubectl v1.19.2? Try    |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 71.9s 75.3s 70.2s
Average time for minikube: 72.5s

Times for Minikube (PR 9510): 71.7s 75.1s 73.2s
Average time for Minikube (PR 9510): 73.3s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9510) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 0.0s     | 0.0s               |
|                           9.11 |          |                    |
| * Using the kvm2 driver based  | 0.0s     | 0.0s               |
| on user configuration          |          |                    |
| * Starting control plane node  | 0.0s     | 0.0s               |
| minikube in cluster minikube   |          |                    |
| * Creating kvm2 VM (CPUs=2,    | 33.5s    | 33.5s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.2 | 37.2s    | 37.9s              |
| on Docker 19.03.12 ...         |          |                    |
| * Verifying Kubernetes         | 1.4s     | 1.5s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.3s     | 0.4s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
|                                | 0.0s     | 0.0s               |
| * Want kubectl v1.19.2? Try    |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 44.6s 45.6s 43.0s
Average time for minikube: 44.4s

Times for Minikube (PR 9510): 43.4s 44.1s 42.1s
Average time for Minikube (PR 9510): 43.2s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9510) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 0.2s     | 0.2s               |
|                           9.11 |          |                    |
| * Using the docker driver      | 0.1s     | 0.1s               |
| based on user configuration    |          |                    |
| * Starting control plane node  | 0.1s     | 0.1s               |
| minikube in cluster minikube   |          |                    |
| * Creating docker container    | 8.9s     | 9.1s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.2 | 34.0s    | 32.5s              |
| on Docker 19.03.13 ...         |          |                    |
| * Verifying Kubernetes         | 1.1s     | 1.1s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     | 0.1s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
|                                | 0.0s     | 0.0s               |
| * Want kubectl v1.19.2? Try    |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

@codecov-io
Copy link

Codecov Report

Merging #9510 (76c62af) into master (ac898f8) will increase coverage by 0.29%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9510      +/-   ##
==========================================
+ Coverage   29.47%   29.76%   +0.29%     
==========================================
  Files         173      174       +1     
  Lines       10736    10835      +99     
==========================================
+ Hits         3164     3225      +61     
- Misses       7123     7155      +32     
- Partials      449      455       +6     
Impacted Files Coverage Δ
cmd/minikube/cmd/start.go 9.38% <0.00%> (ø)
pkg/drivers/kic/oci/cli_runner.go 0.00% <ø> (ø)
pkg/drivers/kic/oci/network.go 0.00% <ø> (ø)
pkg/minikube/bootstrapper/certs.go 40.59% <0.00%> (-0.18%) ⬇️
pkg/minikube/driver/driver.go 57.69% <0.00%> (-2.31%) ⬇️
pkg/minikube/driver/endpoint.go 0.00% <0.00%> (ø)
pkg/minikube/mustload/mustload.go 5.97% <0.00%> (ø)
pkg/drivers/kic/oci/env.go 12.50% <12.50%> (ø)
cmd/minikube/cmd/docker-env.go 38.13% <41.17%> (+0.86%) ⬆️
cmd/minikube/cmd/start_flags.go 47.07% <50.00%> (+0.03%) ⬆️
... and 6 more

@ilya-zuyev ilya-zuyev added this to the v1.16.0-candidate milestone Nov 10, 2020
Copy link
Member

@medyagh medyagh left a comment

Choose a reason for hiding this comment

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

thanks for this PR ! this will solve a lot of limitations

@medyagh medyagh merged commit 8b39f56 into kubernetes:master Nov 17, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ilya-zuyev, 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 Nov 17, 2020
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.

Allow minikube to run in a non-default docker host
8 participants